./Ultimate.py --spec ../../sv-benchmarks/c/properties/no-overflow.prp --file ../../sv-benchmarks/c/Juliet_Test/CWE191_Integer_Underflow__int_fgets_postdec_12_bad.i --full-output --architecture 64bit -------------------------------------------------------------------------------- Checking for overflows Using default analysis Version d790fecc Calling Ultimate with: /usr/bin/java -Dosgi.configuration.area=/tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_462fc317-88a7-4e6f-abf0-e82f1d3df7d3/bin/ukojak-verify-ENZ3QT5qd3/data/config -Xmx15G -Xms4m -jar /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_462fc317-88a7-4e6f-abf0-e82f1d3df7d3/bin/ukojak-verify-ENZ3QT5qd3/plugins/org.eclipse.equinox.launcher_1.6.800.v20240513-1750.jar -data @noDefault -ultimatedata /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_462fc317-88a7-4e6f-abf0-e82f1d3df7d3/bin/ukojak-verify-ENZ3QT5qd3/data -tc /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_462fc317-88a7-4e6f-abf0-e82f1d3df7d3/bin/ukojak-verify-ENZ3QT5qd3/config/KojakReach.xml -i ../../sv-benchmarks/c/Juliet_Test/CWE191_Integer_Underflow__int_fgets_postdec_12_bad.i -s /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_462fc317-88a7-4e6f-abf0-e82f1d3df7d3/bin/ukojak-verify-ENZ3QT5qd3/config/svcomp-Overflow-64bit-Kojak_Default.epf --cacsl2boogietranslator.entry.function main --witnessprinter.witness.directory /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_462fc317-88a7-4e6f-abf0-e82f1d3df7d3/bin/ukojak-verify-ENZ3QT5qd3 --witnessprinter.witness.filename witness --witnessprinter.write.witness.besides.input.file false --witnessprinter.graph.data.specification CHECK( init(main()), LTL(G ! overflow) ) --witnessprinter.graph.data.producer Kojak --witnessprinter.graph.data.architecture 64bit --witnessprinter.graph.data.programhash 1456520146b55fc1e958217ef7509552426c75ec92eb783b51ac67cf97945b6b --- Real Ultimate output --- This is Ultimate 0.3.0-dev-d790fec [2024-11-25 05:08:41,221 INFO L188 SettingsManager]: Resetting all preferences to default values... [2024-11-25 05:08:41,334 INFO L114 SettingsManager]: Loading settings from /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_462fc317-88a7-4e6f-abf0-e82f1d3df7d3/bin/ukojak-verify-ENZ3QT5qd3/config/svcomp-Overflow-64bit-Kojak_Default.epf [2024-11-25 05:08:41,345 WARN L101 SettingsManager]: Preference file contains the following unknown settings: [2024-11-25 05:08:41,345 WARN L103 SettingsManager]: * de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck.Interpolating solver [2024-11-25 05:08:41,382 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2024-11-25 05:08:41,383 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2024-11-25 05:08:41,383 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ALWAYS [2024-11-25 05:08:41,384 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2024-11-25 05:08:41,384 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2024-11-25 05:08:41,384 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2024-11-25 05:08:41,384 INFO L153 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2024-11-25 05:08:41,385 INFO L153 SettingsManager]: * Overapproximate operations on floating types=true [2024-11-25 05:08:41,385 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2024-11-25 05:08:41,385 INFO L153 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2024-11-25 05:08:41,385 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2024-11-25 05:08:41,385 INFO L153 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2024-11-25 05:08:41,385 INFO L153 SettingsManager]: * Check absence of signed integer overflows=ASSERTandASSUME [2024-11-25 05:08:41,386 INFO L153 SettingsManager]: * Check unreachability of reach_error function=false [2024-11-25 05:08:41,386 INFO L153 SettingsManager]: * Check if freed pointer was valid=false [2024-11-25 05:08:41,386 INFO L153 SettingsManager]: * Behaviour of calls to undefined functions=OVERAPPROXIMATE_BEHAVIOUR [2024-11-25 05:08:41,386 INFO L153 SettingsManager]: * Use constant arrays=true [2024-11-25 05:08:41,386 INFO L151 SettingsManager]: Preferences of CodeCheck differ from their defaults: [2024-11-25 05:08:41,386 INFO L153 SettingsManager]: * Timeout in seconds=1000000 [2024-11-25 05:08:41,387 INFO L153 SettingsManager]: * Theory for external solver=ALL [2024-11-25 05:08:41,387 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2024-11-25 05:08:41,387 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2024-11-25 05:08:41,387 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2024-11-25 05:08:41,387 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2024-11-25 05:08:41,387 INFO L153 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopHeads [2024-11-25 05:08:41,388 INFO L153 SettingsManager]: * Trace refinement strategy=PENGUIN [2024-11-25 05:08:41,388 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2024-11-25 05:08:41,388 INFO L153 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode Applying setting for plugin de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator: Entry function -> main Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Witness directory -> /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_462fc317-88a7-4e6f-abf0-e82f1d3df7d3/bin/ukojak-verify-ENZ3QT5qd3 Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Witness filename -> witness Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Write witness besides input file -> false Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data specification -> CHECK( init(main()), LTL(G ! overflow) ) Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data producer -> Kojak Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data architecture -> 64bit Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data programhash -> 1456520146b55fc1e958217ef7509552426c75ec92eb783b51ac67cf97945b6b [2024-11-25 05:08:41,679 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2024-11-25 05:08:41,689 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2024-11-25 05:08:41,691 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2024-11-25 05:08:41,692 INFO L270 PluginConnector]: Initializing CDTParser... [2024-11-25 05:08:41,693 INFO L274 PluginConnector]: CDTParser initialized [2024-11-25 05:08:41,694 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_462fc317-88a7-4e6f-abf0-e82f1d3df7d3/bin/ukojak-verify-ENZ3QT5qd3/../../sv-benchmarks/c/Juliet_Test/CWE191_Integer_Underflow__int_fgets_postdec_12_bad.i [2024-11-25 05:08:44,733 INFO L533 CDTParser]: Created temporary CDT project at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_462fc317-88a7-4e6f-abf0-e82f1d3df7d3/bin/ukojak-verify-ENZ3QT5qd3/data/ca3bd7e38/9cb72e47fc1d4a59a0a0eafab3705c95/FLAGa245bc8f3 [2024-11-25 05:08:45,188 INFO L384 CDTParser]: Found 1 translation units. [2024-11-25 05:08:45,189 INFO L180 CDTParser]: Scanning /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_462fc317-88a7-4e6f-abf0-e82f1d3df7d3/sv-benchmarks/c/Juliet_Test/CWE191_Integer_Underflow__int_fgets_postdec_12_bad.i [2024-11-25 05:08:45,213 INFO L427 CDTParser]: About to delete temporary CDT project at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_462fc317-88a7-4e6f-abf0-e82f1d3df7d3/bin/ukojak-verify-ENZ3QT5qd3/data/ca3bd7e38/9cb72e47fc1d4a59a0a0eafab3705c95/FLAGa245bc8f3 [2024-11-25 05:08:45,229 INFO L435 CDTParser]: Successfully deleted /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_462fc317-88a7-4e6f-abf0-e82f1d3df7d3/bin/ukojak-verify-ENZ3QT5qd3/data/ca3bd7e38/9cb72e47fc1d4a59a0a0eafab3705c95 [2024-11-25 05:08:45,231 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2024-11-25 05:08:45,233 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2024-11-25 05:08:45,235 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2024-11-25 05:08:45,235 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2024-11-25 05:08:45,240 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2024-11-25 05:08:45,241 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 25.11 05:08:45" (1/1) ... [2024-11-25 05:08:45,242 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@30f449e6 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 25.11 05:08:45, skipping insertion in model container [2024-11-25 05:08:45,242 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 25.11 05:08:45" (1/1) ... [2024-11-25 05:08:45,297 INFO L175 MainTranslator]: Built tables and reachable declarations [2024-11-25 05:08:46,529 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-25 05:08:46,540 INFO L200 MainTranslator]: Completed pre-run [2024-11-25 05:08:46,626 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-25 05:08:46,802 INFO L204 MainTranslator]: Completed translation [2024-11-25 05:08:46,803 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 25.11 05:08:46 WrapperNode [2024-11-25 05:08:46,803 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2024-11-25 05:08:46,804 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2024-11-25 05:08:46,805 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2024-11-25 05:08:46,805 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2024-11-25 05:08:46,812 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 25.11 05:08:46" (1/1) ... [2024-11-25 05:08:46,842 INFO L184 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 25.11 05:08:46" (1/1) ... [2024-11-25 05:08:46,881 INFO L138 Inliner]: procedures = 498, calls = 32, calls flagged for inlining = 3, calls inlined = 3, statements flattened = 80 [2024-11-25 05:08:46,882 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2024-11-25 05:08:46,882 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2024-11-25 05:08:46,883 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2024-11-25 05:08:46,883 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2024-11-25 05:08:46,891 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 25.11 05:08:46" (1/1) ... [2024-11-25 05:08:46,892 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 25.11 05:08:46" (1/1) ... [2024-11-25 05:08:46,896 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 25.11 05:08:46" (1/1) ... [2024-11-25 05:08:46,901 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 25.11 05:08:46" (1/1) ... [2024-11-25 05:08:46,914 INFO L184 PluginConnector]: Executing the observer ReplaceArrayAssignments from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 25.11 05:08:46" (1/1) ... [2024-11-25 05:08:46,915 INFO L184 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 25.11 05:08:46" (1/1) ... [2024-11-25 05:08:46,917 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 25.11 05:08:46" (1/1) ... [2024-11-25 05:08:46,920 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 25.11 05:08:46" (1/1) ... [2024-11-25 05:08:46,921 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 25.11 05:08:46" (1/1) ... [2024-11-25 05:08:46,924 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2024-11-25 05:08:46,925 INFO L112 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2024-11-25 05:08:46,925 INFO L270 PluginConnector]: Initializing RCFGBuilder... [2024-11-25 05:08:46,925 INFO L274 PluginConnector]: RCFGBuilder initialized [2024-11-25 05:08:46,926 INFO L184 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 25.11 05:08:46" (1/1) ... [2024-11-25 05:08:46,933 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2024-11-25 05:08:46,953 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_462fc317-88a7-4e6f-abf0-e82f1d3df7d3/bin/ukojak-verify-ENZ3QT5qd3/z3 [2024-11-25 05:08:46,967 INFO L229 MonitoredProcess]: Starting monitored process 1 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_462fc317-88a7-4e6f-abf0-e82f1d3df7d3/bin/ukojak-verify-ENZ3QT5qd3/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (exit command is (exit), workingDir is null) [2024-11-25 05:08:46,975 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_462fc317-88a7-4e6f-abf0-e82f1d3df7d3/bin/ukojak-verify-ENZ3QT5qd3/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (1)] Waiting until timeout for monitored process [2024-11-25 05:08:46,997 INFO L130 BoogieDeclarations]: Found specification of procedure printIntLine [2024-11-25 05:08:46,998 INFO L138 BoogieDeclarations]: Found implementation of procedure printIntLine [2024-11-25 05:08:46,998 INFO L130 BoogieDeclarations]: Found specification of procedure globalReturnsTrueOrFalse [2024-11-25 05:08:46,998 INFO L138 BoogieDeclarations]: Found implementation of procedure globalReturnsTrueOrFalse [2024-11-25 05:08:46,998 INFO L130 BoogieDeclarations]: Found specification of procedure printLine [2024-11-25 05:08:46,998 INFO L138 BoogieDeclarations]: Found implementation of procedure printLine [2024-11-25 05:08:46,998 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2024-11-25 05:08:46,998 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2024-11-25 05:08:46,999 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2024-11-25 05:08:46,999 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int [2024-11-25 05:08:47,135 INFO L234 CfgBuilder]: Building ICFG [2024-11-25 05:08:47,137 INFO L260 CfgBuilder]: Building CFG for each procedure with an implementation [2024-11-25 05:08:47,290 INFO L? ?]: Removed 24 outVars from TransFormulas that were not future-live. [2024-11-25 05:08:47,290 INFO L283 CfgBuilder]: Performing block encoding [2024-11-25 05:08:47,328 INFO L307 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2024-11-25 05:08:47,328 INFO L312 CfgBuilder]: Removed 0 assume(true) statements. [2024-11-25 05:08:47,329 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 25.11 05:08:47 BoogieIcfgContainer [2024-11-25 05:08:47,329 INFO L131 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2024-11-25 05:08:47,330 INFO L112 PluginConnector]: ------------------------CodeCheck---------------------------- [2024-11-25 05:08:47,330 INFO L270 PluginConnector]: Initializing CodeCheck... [2024-11-25 05:08:47,341 INFO L274 PluginConnector]: CodeCheck initialized [2024-11-25 05:08:47,341 INFO L184 PluginConnector]: Executing the observer CodeCheckObserver from plugin CodeCheck for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 25.11 05:08:47" (1/1) ... [2024-11-25 05:08:47,350 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-11-25 05:08:47,401 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-25 05:08:47,414 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 44 states to 36 states and 44 transitions. [2024-11-25 05:08:47,414 INFO L276 IsEmpty]: Start isEmpty. Operand 36 states and 44 transitions. [2024-11-25 05:08:47,419 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 17 [2024-11-25 05:08:47,420 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-25 05:08:47,421 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-25 05:08:47,557 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-25 05:08:47,778 INFO L134 CoverageAnalysis]: Checked inductivity of 2 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 2 trivial. 0 not checked. [2024-11-25 05:08:47,891 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-25 05:08:47,892 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 51 states to 40 states and 51 transitions. [2024-11-25 05:08:47,892 INFO L276 IsEmpty]: Start isEmpty. Operand 40 states and 51 transitions. [2024-11-25 05:08:47,893 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 18 [2024-11-25 05:08:47,893 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-25 05:08:47,893 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-25 05:08:47,943 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-25 05:08:48,080 INFO L134 CoverageAnalysis]: Checked inductivity of 2 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 2 trivial. 0 not checked. [2024-11-25 05:08:48,282 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-25 05:08:48,283 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 59 states to 45 states and 59 transitions. [2024-11-25 05:08:48,283 INFO L276 IsEmpty]: Start isEmpty. Operand 45 states and 59 transitions. [2024-11-25 05:08:48,284 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 18 [2024-11-25 05:08:48,284 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-25 05:08:48,284 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-25 05:08:48,331 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-25 05:08:48,468 INFO L134 CoverageAnalysis]: Checked inductivity of 2 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 2 trivial. 0 not checked. [2024-11-25 05:08:48,529 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-25 05:08:48,530 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 61 states to 47 states and 61 transitions. [2024-11-25 05:08:48,530 INFO L276 IsEmpty]: Start isEmpty. Operand 47 states and 61 transitions. [2024-11-25 05:08:48,531 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 19 [2024-11-25 05:08:48,531 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-25 05:08:48,532 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-25 05:08:48,587 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-25 05:08:48,587 INFO L357 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-11-25 05:08:48,632 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-25 05:08:48,741 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-25 05:08:48,741 INFO L357 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-11-25 05:08:48,772 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-25 05:08:48,804 WARN L473 CodeCheckObserver]: This program is UNSAFE, Check terminated with 4 iterations. [2024-11-25 05:08:48,843 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck CFG 25.11 05:08:48 ImpRootNode [2024-11-25 05:08:48,843 INFO L131 PluginConnector]: ------------------------ END CodeCheck---------------------------- [2024-11-25 05:08:48,844 INFO L112 PluginConnector]: ------------------------Witness Printer---------------------------- [2024-11-25 05:08:48,844 INFO L270 PluginConnector]: Initializing Witness Printer... [2024-11-25 05:08:48,844 INFO L274 PluginConnector]: Witness Printer initialized [2024-11-25 05:08:48,849 INFO L184 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 25.11 05:08:47" (3/4) ... [2024-11-25 05:08:48,852 INFO L149 WitnessPrinter]: No result that supports witness generation found [2024-11-25 05:08:48,853 INFO L131 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2024-11-25 05:08:48,858 INFO L158 Benchmark]: Toolchain (without parser) took 3621.30ms. Allocated memory is still 117.4MB. Free memory was 89.3MB in the beginning and 49.2MB in the end (delta: 40.1MB). Peak memory consumption was 41.9MB. Max. memory is 16.1GB. [2024-11-25 05:08:48,858 INFO L158 Benchmark]: CDTParser took 0.47ms. Allocated memory is still 117.4MB. Free memory is still 74.6MB. There was no memory consumed. Max. memory is 16.1GB. [2024-11-25 05:08:48,858 INFO L158 Benchmark]: CACSL2BoogieTranslator took 1568.93ms. Allocated memory is still 117.4MB. Free memory was 89.3MB in the beginning and 79.3MB in the end (delta: 10.0MB). Peak memory consumption was 66.5MB. Max. memory is 16.1GB. [2024-11-25 05:08:48,859 INFO L158 Benchmark]: Boogie Procedure Inliner took 77.84ms. Allocated memory is still 117.4MB. Free memory was 79.3MB in the beginning and 77.0MB in the end (delta: 2.3MB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-25 05:08:48,859 INFO L158 Benchmark]: Boogie Preprocessor took 41.78ms. Allocated memory is still 117.4MB. Free memory was 77.0MB in the beginning and 75.8MB in the end (delta: 1.2MB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-25 05:08:48,862 INFO L158 Benchmark]: RCFGBuilder took 403.81ms. Allocated memory is still 117.4MB. Free memory was 75.8MB in the beginning and 60.9MB in the end (delta: 14.9MB). Peak memory consumption was 16.8MB. Max. memory is 16.1GB. [2024-11-25 05:08:48,862 INFO L158 Benchmark]: CodeCheck took 1513.69ms. Allocated memory is still 117.4MB. Free memory was 60.3MB in the beginning and 49.9MB in the end (delta: 10.4MB). Peak memory consumption was 9.0MB. Max. memory is 16.1GB. [2024-11-25 05:08:48,862 INFO L158 Benchmark]: Witness Printer took 9.50ms. Allocated memory is still 117.4MB. Free memory was 49.9MB in the beginning and 49.2MB in the end (delta: 679.5kB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-25 05:08:48,864 INFO L338 ainManager$Toolchain]: ####################### End [Toolchain 1] ####################### --- Results --- * Results from de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck: - StatisticsResult: Ultimate CodeCheck benchmark data CFG has 4 procedures, 36 locations, 4 error locations. Started 1 CEGAR loops. OverallTime: 1.4s, OverallIterations: 4, TraceHistogramMax: 0, PathProgramHistogramMax: 0, EmptinessCheckTime: 0.0s, AutomataDifference: 0.0s, DeadEndRemovalTime: 0.0s, HoareAnnotationTime: 0.0s, InitialAbstractionConstructionTime: 0.0s, HoareTripleCheckerStatistics: 0 mSolverCounterUnknown, 115 SdHoareTripleChecker+Valid, 0.3s IncrementalHoareTripleChecker+Time, 0 mSdLazyCounter, 19 mSDsluCounter, 107 SdHoareTripleChecker+Invalid, 0.2s Time, 0 mProtectedAction, 0 SdHoareTripleChecker+Unchecked, 0 IncrementalHoareTripleChecker+Unchecked, 27 mSDsCounter, 28 IncrementalHoareTripleChecker+Valid, 0 mProtectedPredicate, 81 IncrementalHoareTripleChecker+Invalid, 109 SdHoareTripleChecker+Unknown, 0 mSolverCounterNotChecked, 28 mSolverCounterUnsat, 80 mSDtfsCounter, 81 mSolverCounterSat, 0.0s SdHoareTripleChecker+Time, 0 IncrementalHoareTripleChecker+Unknown, PredicateUnifierStatistics: 0 DeclaredPredicates, 353 GetRequests, 336 SyntacticMatches, 3 SemanticMatches, 14 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 37 ImplicationChecksByTransitivity, 0.3s Time, 0.0s BasicInterpolantAutomatonTime, BiggestAbstraction: size=-1occurred in iteration=-1, InterpolantAutomatonStates: 0, traceCheckStatistics: 0.0s SsaConstructionTime, 0.1s SatisfiabilityAnalysisTime, 0.5s InterpolantComputationTime, 68 NumberOfCodeBlocks, 68 NumberOfCodeBlocksAsserted, 4 NumberOfCheckSat, 47 ConstructedInterpolants, 0 QuantifiedInterpolants, 103 SizeOfPredicates, 0 NumberOfNonLiveVariables, 0 ConjunctsInSsa, 0 ConjunctsInUnsatCore, 3 InterpolantComputations, 3 PerfectInterpolantSequences, 6/6 InterpolantCoveringCapability, InterpolantConsolidationStatistics: No data available, PathInvariantsStatistics: No data available, 0/0 InterpolantCoveringCapability, TotalInterpolationStatistics: No data available, 0.0s DumpTime, AutomataMinimizationStatistics: No data available, HoareAnnotationStatistics: No data available, RefinementEngineStatistics: No data available, ReuseStatistics: No data available, ConComCheckerStatistics: No data available - UnprovableResult [Line: 1573]: Unable to prove that integer overflow can never occur Unable to prove that integer overflow can never occur Reason: overapproximation of atoi at line 1558, overapproximation of fgets at line 1556. Possible FailurePath: [L1522] const int GLOBAL_CONST_TRUE = 1; [L1523] const int GLOBAL_CONST_FALSE = 0; [L1524] const int GLOBAL_CONST_FIVE = 5; [L1525] int globalTrue = 1; [L1526] int globalFalse = 0; [L1527] int globalFive = 5; [L1546] int globalArgc = 0; [L1547] char** globalArgv = ((void *)0); [L1595] CALL printLine("Calling bad()...") VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, \old(line)={4:0}, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1] [L1414] COND TRUE line != ((void *)0) [L1595] RET printLine("Calling bad()...") VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1] [L1596] CALL CWE191_Integer_Underflow__int_fgets_postdec_12_bad() [L1550] int data; [L1551] data = 0 VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, data=0, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1] [L1552] CALL globalReturnsTrueOrFalse() VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1] [L1520] return (rand() % 2); [L1552] RET globalReturnsTrueOrFalse() VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, data=0, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1] [L1552] COND TRUE globalReturnsTrueOrFalse() [L1555] char inputBuffer[(3 * sizeof(data) + 2)] = ""; VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, data=0, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1] [L1556] COND TRUE fgets(inputBuffer, (3 * sizeof(data) + 2), stdin) != ((void *)0) [L1558] data = atoi(inputBuffer) [L1570] CALL globalReturnsTrueOrFalse() VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1] [L1520] return (rand() % 2); [L1570] RET globalReturnsTrueOrFalse() VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, data=-2147483648, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1] [L1570] COND TRUE globalReturnsTrueOrFalse() [L1573] data-- VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1] * Results from de.uni_freiburg.informatik.ultimate.core: - StatisticsResult: Toolchain Benchmarks Benchmark results are: * CDTParser took 0.47ms. Allocated memory is still 117.4MB. Free memory is still 74.6MB. There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 1568.93ms. Allocated memory is still 117.4MB. Free memory was 89.3MB in the beginning and 79.3MB in the end (delta: 10.0MB). Peak memory consumption was 66.5MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 77.84ms. Allocated memory is still 117.4MB. Free memory was 79.3MB in the beginning and 77.0MB in the end (delta: 2.3MB). There was no memory consumed. Max. memory is 16.1GB. * Boogie Preprocessor took 41.78ms. Allocated memory is still 117.4MB. Free memory was 77.0MB in the beginning and 75.8MB in the end (delta: 1.2MB). There was no memory consumed. Max. memory is 16.1GB. * RCFGBuilder took 403.81ms. Allocated memory is still 117.4MB. Free memory was 75.8MB in the beginning and 60.9MB in the end (delta: 14.9MB). Peak memory consumption was 16.8MB. Max. memory is 16.1GB. * CodeCheck took 1513.69ms. Allocated memory is still 117.4MB. Free memory was 60.3MB in the beginning and 49.9MB in the end (delta: 10.4MB). Peak memory consumption was 9.0MB. Max. memory is 16.1GB. * Witness Printer took 9.50ms. Allocated memory is still 117.4MB. Free memory was 49.9MB in the beginning and 49.2MB in the end (delta: 679.5kB). There was no memory consumed. Max. memory is 16.1GB. RESULT: Ultimate could not prove your program: unable to determine feasibility of some traces [2024-11-25 05:08:48,889 INFO L540 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_462fc317-88a7-4e6f-abf0-e82f1d3df7d3/bin/ukojak-verify-ENZ3QT5qd3/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (1)] Forceful destruction successful, exit code 0 Received shutdown request... --- End real Ultimate output --- Execution finished normally Using bit-precise analysis Retrying with bit-precise analysis ### Bit-precise run ### Calling Ultimate with: /usr/bin/java -Dosgi.configuration.area=/tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_462fc317-88a7-4e6f-abf0-e82f1d3df7d3/bin/ukojak-verify-ENZ3QT5qd3/data/config -Xmx15G -Xms4m -jar /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_462fc317-88a7-4e6f-abf0-e82f1d3df7d3/bin/ukojak-verify-ENZ3QT5qd3/plugins/org.eclipse.equinox.launcher_1.6.800.v20240513-1750.jar -data @noDefault -ultimatedata /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_462fc317-88a7-4e6f-abf0-e82f1d3df7d3/bin/ukojak-verify-ENZ3QT5qd3/data -tc /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_462fc317-88a7-4e6f-abf0-e82f1d3df7d3/bin/ukojak-verify-ENZ3QT5qd3/config/KojakReach.xml -i ../../sv-benchmarks/c/Juliet_Test/CWE191_Integer_Underflow__int_fgets_postdec_12_bad.i -s /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_462fc317-88a7-4e6f-abf0-e82f1d3df7d3/bin/ukojak-verify-ENZ3QT5qd3/config/svcomp-Overflow-64bit-Kojak_Bitvector.epf --cacsl2boogietranslator.entry.function main --witnessprinter.witness.directory /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_462fc317-88a7-4e6f-abf0-e82f1d3df7d3/bin/ukojak-verify-ENZ3QT5qd3 --witnessprinter.witness.filename witness --witnessprinter.write.witness.besides.input.file false --witnessprinter.graph.data.specification CHECK( init(main()), LTL(G ! overflow) ) --witnessprinter.graph.data.producer Kojak --witnessprinter.graph.data.architecture 64bit --witnessprinter.graph.data.programhash 1456520146b55fc1e958217ef7509552426c75ec92eb783b51ac67cf97945b6b --- Real Ultimate output --- This is Ultimate 0.3.0-dev-d790fec [2024-11-25 05:08:51,768 INFO L188 SettingsManager]: Resetting all preferences to default values... [2024-11-25 05:08:51,889 INFO L114 SettingsManager]: Loading settings from /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_462fc317-88a7-4e6f-abf0-e82f1d3df7d3/bin/ukojak-verify-ENZ3QT5qd3/config/svcomp-Overflow-64bit-Kojak_Bitvector.epf [2024-11-25 05:08:51,936 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2024-11-25 05:08:51,937 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2024-11-25 05:08:51,937 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ALWAYS [2024-11-25 05:08:51,938 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2024-11-25 05:08:51,938 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2024-11-25 05:08:51,938 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2024-11-25 05:08:51,938 INFO L153 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2024-11-25 05:08:51,939 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2024-11-25 05:08:51,939 INFO L153 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2024-11-25 05:08:51,939 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2024-11-25 05:08:51,939 INFO L153 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2024-11-25 05:08:51,939 INFO L153 SettingsManager]: * Adapt memory model on pointer casts if necessary=true [2024-11-25 05:08:51,939 INFO L153 SettingsManager]: * Use bitvectors instead of ints=true [2024-11-25 05:08:51,939 INFO L153 SettingsManager]: * Check absence of signed integer overflows=ASSERTandASSUME [2024-11-25 05:08:51,940 INFO L153 SettingsManager]: * Memory model=HoenickeLindenmann_4ByteResolution [2024-11-25 05:08:51,940 INFO L153 SettingsManager]: * Check unreachability of reach_error function=false [2024-11-25 05:08:51,940 INFO L153 SettingsManager]: * Check if freed pointer was valid=false [2024-11-25 05:08:51,940 INFO L153 SettingsManager]: * Behaviour of calls to undefined functions=OVERAPPROXIMATE_BEHAVIOUR [2024-11-25 05:08:51,940 INFO L153 SettingsManager]: * Use constant arrays=true [2024-11-25 05:08:51,940 INFO L151 SettingsManager]: Preferences of CodeCheck differ from their defaults: [2024-11-25 05:08:51,941 INFO L153 SettingsManager]: * Timeout in seconds=1000000 [2024-11-25 05:08:51,941 INFO L153 SettingsManager]: * Theory for external solver=ALL [2024-11-25 05:08:51,941 INFO L153 SettingsManager]: * Command for calling external solver=cvc4 --incremental --print-success --lang smt [2024-11-25 05:08:51,941 INFO L153 SettingsManager]: * Choose which separate solver to use for tracechecks=External_ModelsAndUnsatCoreMode [2024-11-25 05:08:51,941 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2024-11-25 05:08:51,941 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2024-11-25 05:08:51,942 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2024-11-25 05:08:51,942 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2024-11-25 05:08:51,942 INFO L153 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopHeads [2024-11-25 05:08:51,942 INFO L153 SettingsManager]: * Trace refinement strategy=WALRUS [2024-11-25 05:08:51,942 INFO L153 SettingsManager]: * Command for external solver=cvc4 --incremental --print-success --lang smt [2024-11-25 05:08:51,942 INFO L153 SettingsManager]: * Use separate solver for trace checks=false [2024-11-25 05:08:51,943 INFO L153 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode Applying setting for plugin de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator: Entry function -> main Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Witness directory -> /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_462fc317-88a7-4e6f-abf0-e82f1d3df7d3/bin/ukojak-verify-ENZ3QT5qd3 Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Witness filename -> witness Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Write witness besides input file -> false Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data specification -> CHECK( init(main()), LTL(G ! overflow) ) Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data producer -> Kojak Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data architecture -> 64bit Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data programhash -> 1456520146b55fc1e958217ef7509552426c75ec92eb783b51ac67cf97945b6b [2024-11-25 05:08:52,272 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2024-11-25 05:08:52,286 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2024-11-25 05:08:52,289 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2024-11-25 05:08:52,292 INFO L270 PluginConnector]: Initializing CDTParser... [2024-11-25 05:08:52,292 INFO L274 PluginConnector]: CDTParser initialized [2024-11-25 05:08:52,298 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_462fc317-88a7-4e6f-abf0-e82f1d3df7d3/bin/ukojak-verify-ENZ3QT5qd3/../../sv-benchmarks/c/Juliet_Test/CWE191_Integer_Underflow__int_fgets_postdec_12_bad.i [2024-11-25 05:08:55,388 INFO L533 CDTParser]: Created temporary CDT project at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_462fc317-88a7-4e6f-abf0-e82f1d3df7d3/bin/ukojak-verify-ENZ3QT5qd3/data/d5d40f600/9232a29da0dd43609bda0491c2e66076/FLAGd4ab75052 [2024-11-25 05:08:56,005 INFO L384 CDTParser]: Found 1 translation units. [2024-11-25 05:08:56,009 INFO L180 CDTParser]: Scanning /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_462fc317-88a7-4e6f-abf0-e82f1d3df7d3/sv-benchmarks/c/Juliet_Test/CWE191_Integer_Underflow__int_fgets_postdec_12_bad.i [2024-11-25 05:08:56,048 INFO L427 CDTParser]: About to delete temporary CDT project at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_462fc317-88a7-4e6f-abf0-e82f1d3df7d3/bin/ukojak-verify-ENZ3QT5qd3/data/d5d40f600/9232a29da0dd43609bda0491c2e66076/FLAGd4ab75052 [2024-11-25 05:08:56,074 INFO L435 CDTParser]: Successfully deleted /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_462fc317-88a7-4e6f-abf0-e82f1d3df7d3/bin/ukojak-verify-ENZ3QT5qd3/data/d5d40f600/9232a29da0dd43609bda0491c2e66076 [2024-11-25 05:08:56,079 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2024-11-25 05:08:56,081 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2024-11-25 05:08:56,085 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2024-11-25 05:08:56,085 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2024-11-25 05:08:56,092 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2024-11-25 05:08:56,093 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 25.11 05:08:56" (1/1) ... [2024-11-25 05:08:56,095 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@6730f19a and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 25.11 05:08:56, skipping insertion in model container [2024-11-25 05:08:56,097 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 25.11 05:08:56" (1/1) ... [2024-11-25 05:08:56,173 INFO L175 MainTranslator]: Built tables and reachable declarations [2024-11-25 05:08:57,125 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-25 05:08:57,142 INFO L200 MainTranslator]: Completed pre-run [2024-11-25 05:08:57,318 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-25 05:08:57,456 INFO L204 MainTranslator]: Completed translation [2024-11-25 05:08:57,456 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 25.11 05:08:57 WrapperNode [2024-11-25 05:08:57,456 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2024-11-25 05:08:57,457 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2024-11-25 05:08:57,457 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2024-11-25 05:08:57,458 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2024-11-25 05:08:57,464 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 25.11 05:08:57" (1/1) ... [2024-11-25 05:08:57,490 INFO L184 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 25.11 05:08:57" (1/1) ... [2024-11-25 05:08:57,510 INFO L138 Inliner]: procedures = 503, calls = 32, calls flagged for inlining = 3, calls inlined = 3, statements flattened = 77 [2024-11-25 05:08:57,510 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2024-11-25 05:08:57,511 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2024-11-25 05:08:57,511 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2024-11-25 05:08:57,511 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2024-11-25 05:08:57,518 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 25.11 05:08:57" (1/1) ... [2024-11-25 05:08:57,518 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 25.11 05:08:57" (1/1) ... [2024-11-25 05:08:57,521 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 25.11 05:08:57" (1/1) ... [2024-11-25 05:08:57,522 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 25.11 05:08:57" (1/1) ... [2024-11-25 05:08:57,529 INFO L184 PluginConnector]: Executing the observer ReplaceArrayAssignments from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 25.11 05:08:57" (1/1) ... [2024-11-25 05:08:57,530 INFO L184 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 25.11 05:08:57" (1/1) ... [2024-11-25 05:08:57,536 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 25.11 05:08:57" (1/1) ... [2024-11-25 05:08:57,539 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 25.11 05:08:57" (1/1) ... [2024-11-25 05:08:57,540 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 25.11 05:08:57" (1/1) ... [2024-11-25 05:08:57,543 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2024-11-25 05:08:57,544 INFO L112 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2024-11-25 05:08:57,544 INFO L270 PluginConnector]: Initializing RCFGBuilder... [2024-11-25 05:08:57,544 INFO L274 PluginConnector]: RCFGBuilder initialized [2024-11-25 05:08:57,546 INFO L184 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 25.11 05:08:57" (1/1) ... [2024-11-25 05:08:57,551 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2024-11-25 05:08:57,565 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_462fc317-88a7-4e6f-abf0-e82f1d3df7d3/bin/ukojak-verify-ENZ3QT5qd3/z3 [2024-11-25 05:08:57,579 INFO L229 MonitoredProcess]: Starting monitored process 1 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_462fc317-88a7-4e6f-abf0-e82f1d3df7d3/bin/ukojak-verify-ENZ3QT5qd3/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (exit command is (exit), workingDir is null) [2024-11-25 05:08:57,586 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_462fc317-88a7-4e6f-abf0-e82f1d3df7d3/bin/ukojak-verify-ENZ3QT5qd3/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (1)] Waiting until timeout for monitored process [2024-11-25 05:08:57,615 INFO L130 BoogieDeclarations]: Found specification of procedure printIntLine [2024-11-25 05:08:57,615 INFO L138 BoogieDeclarations]: Found implementation of procedure printIntLine [2024-11-25 05:08:57,615 INFO L130 BoogieDeclarations]: Found specification of procedure globalReturnsTrueOrFalse [2024-11-25 05:08:57,615 INFO L138 BoogieDeclarations]: Found implementation of procedure globalReturnsTrueOrFalse [2024-11-25 05:08:57,615 INFO L130 BoogieDeclarations]: Found specification of procedure printLine [2024-11-25 05:08:57,615 INFO L138 BoogieDeclarations]: Found implementation of procedure printLine [2024-11-25 05:08:57,615 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~intINTTYPE1 [2024-11-25 05:08:57,616 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2024-11-25 05:08:57,616 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2024-11-25 05:08:57,616 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2024-11-25 05:08:57,797 INFO L234 CfgBuilder]: Building ICFG [2024-11-25 05:08:57,799 INFO L260 CfgBuilder]: Building CFG for each procedure with an implementation [2024-11-25 05:08:57,998 INFO L? ?]: Removed 22 outVars from TransFormulas that were not future-live. [2024-11-25 05:08:57,999 INFO L283 CfgBuilder]: Performing block encoding [2024-11-25 05:08:58,053 INFO L307 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2024-11-25 05:08:58,054 INFO L312 CfgBuilder]: Removed 0 assume(true) statements. [2024-11-25 05:08:58,055 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 25.11 05:08:58 BoogieIcfgContainer [2024-11-25 05:08:58,055 INFO L131 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2024-11-25 05:08:58,056 INFO L112 PluginConnector]: ------------------------CodeCheck---------------------------- [2024-11-25 05:08:58,056 INFO L270 PluginConnector]: Initializing CodeCheck... [2024-11-25 05:08:58,067 INFO L274 PluginConnector]: CodeCheck initialized [2024-11-25 05:08:58,067 INFO L184 PluginConnector]: Executing the observer CodeCheckObserver from plugin CodeCheck for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 25.11 05:08:58" (1/1) ... [2024-11-25 05:08:58,076 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-11-25 05:08:58,127 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-25 05:08:58,140 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 42 states to 34 states and 42 transitions. [2024-11-25 05:08:58,140 INFO L276 IsEmpty]: Start isEmpty. Operand 34 states and 42 transitions. [2024-11-25 05:08:58,144 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 15 [2024-11-25 05:08:58,145 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-25 05:08:58,145 INFO L173 SolverBuilder]: Constructing external solver with command: cvc4 --incremental --print-success --lang smt [2024-11-25 05:08:58,146 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_462fc317-88a7-4e6f-abf0-e82f1d3df7d3/bin/ukojak-verify-ENZ3QT5qd3/cvc4 [2024-11-25 05:08:58,150 INFO L229 MonitoredProcess]: Starting monitored process 2 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_462fc317-88a7-4e6f-abf0-e82f1d3df7d3/bin/ukojak-verify-ENZ3QT5qd3/cvc4 --incremental --print-success --lang smt (exit command is (exit), workingDir is null) [2024-11-25 05:08:58,151 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_462fc317-88a7-4e6f-abf0-e82f1d3df7d3/bin/ukojak-verify-ENZ3QT5qd3/cvc4 --incremental --print-success --lang smt (2)] Waiting until timeout for monitored process [2024-11-25 05:08:58,352 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-25 05:08:58,357 ERROR L568 CodeCheckObserver]: First Tracecheck threw exception Proofs are not supported [2024-11-25 05:08:58,440 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-25 05:08:58,443 INFO L256 TraceCheckSpWp]: Trace formula consists of 51 conjuncts, 3 conjuncts are in the unsatisfiable core [2024-11-25 05:08:58,449 INFO L279 TraceCheckSpWp]: Computing forward predicates... [2024-11-25 05:08:58,541 INFO L134 CoverageAnalysis]: Checked inductivity of 2 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 2 trivial. 0 not checked. [2024-11-25 05:08:58,545 INFO L552 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_462fc317-88a7-4e6f-abf0-e82f1d3df7d3/bin/ukojak-verify-ENZ3QT5qd3/cvc4 --incremental --print-success --lang smt (2)] Ended with exit code 0 [2024-11-25 05:08:58,646 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-25 05:08:58,647 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 48 states to 37 states and 48 transitions. [2024-11-25 05:08:58,647 INFO L276 IsEmpty]: Start isEmpty. Operand 37 states and 48 transitions. [2024-11-25 05:08:58,647 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 16 [2024-11-25 05:08:58,647 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-25 05:08:58,648 INFO L173 SolverBuilder]: Constructing external solver with command: cvc4 --incremental --print-success --lang smt [2024-11-25 05:08:58,648 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_462fc317-88a7-4e6f-abf0-e82f1d3df7d3/bin/ukojak-verify-ENZ3QT5qd3/cvc4 [2024-11-25 05:08:58,653 INFO L229 MonitoredProcess]: Starting monitored process 3 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_462fc317-88a7-4e6f-abf0-e82f1d3df7d3/bin/ukojak-verify-ENZ3QT5qd3/cvc4 --incremental --print-success --lang smt (exit command is (exit), workingDir is null) [2024-11-25 05:08:58,654 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_462fc317-88a7-4e6f-abf0-e82f1d3df7d3/bin/ukojak-verify-ENZ3QT5qd3/cvc4 --incremental --print-success --lang smt (3)] Waiting until timeout for monitored process [2024-11-25 05:08:58,782 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-25 05:08:58,782 ERROR L568 CodeCheckObserver]: First Tracecheck threw exception Proofs are not supported [2024-11-25 05:08:58,815 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-25 05:08:58,817 INFO L256 TraceCheckSpWp]: Trace formula consists of 52 conjuncts, 1 conjuncts are in the unsatisfiable core [2024-11-25 05:08:58,818 INFO L279 TraceCheckSpWp]: Computing forward predicates... [2024-11-25 05:08:58,823 INFO L134 CoverageAnalysis]: Checked inductivity of 2 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 2 trivial. 0 not checked. [2024-11-25 05:08:58,825 ERROR L418 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_462fc317-88a7-4e6f-abf0-e82f1d3df7d3/bin/ukojak-verify-ENZ3QT5qd3/cvc4 --incremental --print-success --lang smt (3)] Exception during sending of exit command (exit): Broken pipe [2024-11-25 05:08:58,826 INFO L552 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_462fc317-88a7-4e6f-abf0-e82f1d3df7d3/bin/ukojak-verify-ENZ3QT5qd3/cvc4 --incremental --print-success --lang smt (3)] Ended with exit code 0 [2024-11-25 05:08:58,844 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-25 05:08:58,845 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 47 states to 36 states and 47 transitions. [2024-11-25 05:08:58,846 INFO L276 IsEmpty]: Start isEmpty. Operand 36 states and 47 transitions. [2024-11-25 05:08:58,847 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 16 [2024-11-25 05:08:58,847 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-25 05:08:58,847 INFO L173 SolverBuilder]: Constructing external solver with command: cvc4 --incremental --print-success --lang smt [2024-11-25 05:08:58,847 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_462fc317-88a7-4e6f-abf0-e82f1d3df7d3/bin/ukojak-verify-ENZ3QT5qd3/cvc4 [2024-11-25 05:08:58,849 INFO L229 MonitoredProcess]: Starting monitored process 4 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_462fc317-88a7-4e6f-abf0-e82f1d3df7d3/bin/ukojak-verify-ENZ3QT5qd3/cvc4 --incremental --print-success --lang smt (exit command is (exit), workingDir is null) [2024-11-25 05:08:58,852 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_462fc317-88a7-4e6f-abf0-e82f1d3df7d3/bin/ukojak-verify-ENZ3QT5qd3/cvc4 --incremental --print-success --lang smt (4)] Waiting until timeout for monitored process [2024-11-25 05:08:58,989 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-25 05:08:58,989 ERROR L568 CodeCheckObserver]: First Tracecheck threw exception Proofs are not supported [2024-11-25 05:08:59,016 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-25 05:08:59,017 INFO L256 TraceCheckSpWp]: Trace formula consists of 52 conjuncts, 3 conjuncts are in the unsatisfiable core [2024-11-25 05:08:59,019 INFO L279 TraceCheckSpWp]: Computing forward predicates... [2024-11-25 05:08:59,052 INFO L134 CoverageAnalysis]: Checked inductivity of 2 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 2 trivial. 0 not checked. [2024-11-25 05:08:59,055 INFO L552 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_462fc317-88a7-4e6f-abf0-e82f1d3df7d3/bin/ukojak-verify-ENZ3QT5qd3/cvc4 --incremental --print-success --lang smt (4)] Ended with exit code 0 [2024-11-25 05:08:59,103 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-25 05:08:59,103 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 49 states to 38 states and 49 transitions. [2024-11-25 05:08:59,104 INFO L276 IsEmpty]: Start isEmpty. Operand 38 states and 49 transitions. [2024-11-25 05:08:59,104 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 17 [2024-11-25 05:08:59,104 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-25 05:08:59,105 INFO L173 SolverBuilder]: Constructing external solver with command: cvc4 --incremental --print-success --lang smt [2024-11-25 05:08:59,105 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_462fc317-88a7-4e6f-abf0-e82f1d3df7d3/bin/ukojak-verify-ENZ3QT5qd3/cvc4 [2024-11-25 05:08:59,107 INFO L229 MonitoredProcess]: Starting monitored process 5 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_462fc317-88a7-4e6f-abf0-e82f1d3df7d3/bin/ukojak-verify-ENZ3QT5qd3/cvc4 --incremental --print-success --lang smt (exit command is (exit), workingDir is null) [2024-11-25 05:08:59,109 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_462fc317-88a7-4e6f-abf0-e82f1d3df7d3/bin/ukojak-verify-ENZ3QT5qd3/cvc4 --incremental --print-success --lang smt (5)] Waiting until timeout for monitored process [2024-11-25 05:08:59,286 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-25 05:08:59,286 INFO L357 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-11-25 05:08:59,384 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-25 05:08:59,472 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-25 05:08:59,472 INFO L357 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-11-25 05:08:59,493 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-25 05:08:59,521 INFO L552 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_462fc317-88a7-4e6f-abf0-e82f1d3df7d3/bin/ukojak-verify-ENZ3QT5qd3/cvc4 --incremental --print-success --lang smt (5)] Ended with exit code 0 [2024-11-25 05:08:59,522 WARN L473 CodeCheckObserver]: This program is UNSAFE, Check terminated with 4 iterations. [2024-11-25 05:08:59,563 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck CFG 25.11 05:08:59 ImpRootNode [2024-11-25 05:08:59,564 INFO L131 PluginConnector]: ------------------------ END CodeCheck---------------------------- [2024-11-25 05:08:59,564 INFO L112 PluginConnector]: ------------------------Witness Printer---------------------------- [2024-11-25 05:08:59,564 INFO L270 PluginConnector]: Initializing Witness Printer... [2024-11-25 05:08:59,565 INFO L274 PluginConnector]: Witness Printer initialized [2024-11-25 05:08:59,567 INFO L184 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 25.11 05:08:58" (3/4) ... [2024-11-25 05:08:59,569 INFO L149 WitnessPrinter]: No result that supports witness generation found [2024-11-25 05:08:59,570 INFO L131 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2024-11-25 05:08:59,572 INFO L158 Benchmark]: Toolchain (without parser) took 3490.37ms. Allocated memory was 117.4MB in the beginning and 243.3MB in the end (delta: 125.8MB). Free memory was 88.9MB in the beginning and 170.6MB in the end (delta: -81.7MB). Peak memory consumption was 50.0MB. Max. memory is 16.1GB. [2024-11-25 05:08:59,575 INFO L158 Benchmark]: CDTParser took 0.65ms. Allocated memory is still 117.4MB. Free memory is still 82.5MB. There was no memory consumed. Max. memory is 16.1GB. [2024-11-25 05:08:59,575 INFO L158 Benchmark]: CACSL2BoogieTranslator took 1371.81ms. Allocated memory is still 117.4MB. Free memory was 88.7MB in the beginning and 67.7MB in the end (delta: 21.1MB). Peak memory consumption was 58.3MB. Max. memory is 16.1GB. [2024-11-25 05:08:59,576 INFO L158 Benchmark]: Boogie Procedure Inliner took 52.85ms. Allocated memory is still 117.4MB. Free memory was 67.7MB in the beginning and 65.2MB in the end (delta: 2.4MB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-25 05:08:59,576 INFO L158 Benchmark]: Boogie Preprocessor took 32.64ms. Allocated memory is still 117.4MB. Free memory was 65.2MB in the beginning and 63.3MB in the end (delta: 1.9MB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-25 05:08:59,576 INFO L158 Benchmark]: RCFGBuilder took 511.26ms. Allocated memory is still 117.4MB. Free memory was 63.3MB in the beginning and 45.2MB in the end (delta: 18.1MB). Peak memory consumption was 16.8MB. Max. memory is 16.1GB. [2024-11-25 05:08:59,577 INFO L158 Benchmark]: CodeCheck took 1507.73ms. Allocated memory was 117.4MB in the beginning and 243.3MB in the end (delta: 125.8MB). Free memory was 45.2MB in the beginning and 170.7MB in the end (delta: -125.5MB). Peak memory consumption was 93.9kB. Max. memory is 16.1GB. [2024-11-25 05:08:59,577 INFO L158 Benchmark]: Witness Printer took 6.40ms. Allocated memory is still 243.3MB. Free memory was 170.7MB in the beginning and 170.6MB in the end (delta: 27.7kB). Peak memory consumption was 8.4MB. Max. memory is 16.1GB. [2024-11-25 05:08:59,582 INFO L338 ainManager$Toolchain]: ####################### End [Toolchain 1] ####################### --- Results --- * Results from de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck: - StatisticsResult: Ultimate CodeCheck benchmark data CFG has 4 procedures, 34 locations, 4 error locations. Started 1 CEGAR loops. OverallTime: 1.4s, OverallIterations: 4, TraceHistogramMax: 0, PathProgramHistogramMax: 0, EmptinessCheckTime: 0.0s, AutomataDifference: 0.0s, DeadEndRemovalTime: 0.0s, HoareAnnotationTime: 0.0s, InitialAbstractionConstructionTime: 0.0s, HoareTripleCheckerStatistics: 0 mSolverCounterUnknown, 105 SdHoareTripleChecker+Valid, 0.2s IncrementalHoareTripleChecker+Time, 0 mSdLazyCounter, 2 mSDsluCounter, 73 SdHoareTripleChecker+Invalid, 0.1s Time, 0 mProtectedAction, 0 SdHoareTripleChecker+Unchecked, 0 IncrementalHoareTripleChecker+Unchecked, 8 mSDsCounter, 16 IncrementalHoareTripleChecker+Valid, 0 mProtectedPredicate, 47 IncrementalHoareTripleChecker+Invalid, 63 SdHoareTripleChecker+Unknown, 0 mSolverCounterNotChecked, 16 mSolverCounterUnsat, 65 mSDtfsCounter, 47 mSolverCounterSat, 0.0s SdHoareTripleChecker+Time, 0 IncrementalHoareTripleChecker+Unknown, PredicateUnifierStatistics: 0 DeclaredPredicates, 334 GetRequests, 328 SyntacticMatches, 0 SemanticMatches, 6 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 0 ImplicationChecksByTransitivity, 0.1s Time, 0.0s BasicInterpolantAutomatonTime, BiggestAbstraction: size=-1occurred in iteration=-1, InterpolantAutomatonStates: 0, traceCheckStatistics: 0.0s SsaConstructionTime, 0.1s SatisfiabilityAnalysisTime, 0.1s InterpolantComputationTime, 60 NumberOfCodeBlocks, 60 NumberOfCodeBlocksAsserted, 4 NumberOfCheckSat, 41 ConstructedInterpolants, 0 QuantifiedInterpolants, 69 SizeOfPredicates, 0 NumberOfNonLiveVariables, 155 ConjunctsInSsa, 7 ConjunctsInUnsatCore, 3 InterpolantComputations, 3 PerfectInterpolantSequences, 6/6 InterpolantCoveringCapability, InterpolantConsolidationStatistics: No data available, PathInvariantsStatistics: No data available, 0/0 InterpolantCoveringCapability, TotalInterpolationStatistics: No data available, 0.0s DumpTime, AutomataMinimizationStatistics: No data available, HoareAnnotationStatistics: No data available, RefinementEngineStatistics: No data available, ReuseStatistics: No data available, ConComCheckerStatistics: No data available - UnprovableResult [Line: 1573]: Unable to prove that integer overflow can never occur Unable to prove that integer overflow can never occur Reason: overapproximation of atoi at line 1558, overapproximation of fgets at line 1556. Possible FailurePath: [L1522] const int GLOBAL_CONST_TRUE = 1; [L1523] const int GLOBAL_CONST_FALSE = 0; [L1524] const int GLOBAL_CONST_FIVE = 5; [L1525] int globalTrue = 1; [L1526] int globalFalse = 0; [L1527] int globalFive = 5; [L1546] int globalArgc = 0; [L1547] char** globalArgv = ((void *)0); [L1595] CALL printLine("Calling bad()...") VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, \old(line)={4:0}, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1] [L1414] COND TRUE line != ((void *)0) [L1595] RET printLine("Calling bad()...") VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1] [L1596] CALL CWE191_Integer_Underflow__int_fgets_postdec_12_bad() [L1550] int data; [L1551] data = 0 VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, data=0, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1] [L1552] CALL globalReturnsTrueOrFalse() VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1] [L1520] return (rand() % 2); [L1552] RET globalReturnsTrueOrFalse() VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, data=0, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1] [L1552] COND TRUE globalReturnsTrueOrFalse() [L1555] char inputBuffer[(3 * sizeof(data) + 2)] = ""; VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, data=0, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1] [L1556] COND TRUE fgets(inputBuffer, (3 * sizeof(data) + 2), stdin) != ((void *)0) [L1558] data = atoi(inputBuffer) [L1570] CALL globalReturnsTrueOrFalse() VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1] [L1520] return (rand() % 2); [L1570] RET globalReturnsTrueOrFalse() VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, data=-2147483648, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1] [L1570] COND TRUE globalReturnsTrueOrFalse() [L1573] data-- VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1] * Results from de.uni_freiburg.informatik.ultimate.core: - StatisticsResult: Toolchain Benchmarks Benchmark results are: * CDTParser took 0.65ms. Allocated memory is still 117.4MB. Free memory is still 82.5MB. There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 1371.81ms. Allocated memory is still 117.4MB. Free memory was 88.7MB in the beginning and 67.7MB in the end (delta: 21.1MB). Peak memory consumption was 58.3MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 52.85ms. Allocated memory is still 117.4MB. Free memory was 67.7MB in the beginning and 65.2MB in the end (delta: 2.4MB). There was no memory consumed. Max. memory is 16.1GB. * Boogie Preprocessor took 32.64ms. Allocated memory is still 117.4MB. Free memory was 65.2MB in the beginning and 63.3MB in the end (delta: 1.9MB). There was no memory consumed. Max. memory is 16.1GB. * RCFGBuilder took 511.26ms. Allocated memory is still 117.4MB. Free memory was 63.3MB in the beginning and 45.2MB in the end (delta: 18.1MB). Peak memory consumption was 16.8MB. Max. memory is 16.1GB. * CodeCheck took 1507.73ms. Allocated memory was 117.4MB in the beginning and 243.3MB in the end (delta: 125.8MB). Free memory was 45.2MB in the beginning and 170.7MB in the end (delta: -125.5MB). Peak memory consumption was 93.9kB. Max. memory is 16.1GB. * Witness Printer took 6.40ms. Allocated memory is still 243.3MB. Free memory was 170.7MB in the beginning and 170.6MB in the end (delta: 27.7kB). Peak memory consumption was 8.4MB. Max. memory is 16.1GB. RESULT: Ultimate could not prove your program: unable to determine feasibility of some traces [2024-11-25 05:08:59,609 INFO L540 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_462fc317-88a7-4e6f-abf0-e82f1d3df7d3/bin/ukojak-verify-ENZ3QT5qd3/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (1)] Forceful destruction successful, exit code 0 Received shutdown request... --- End real Ultimate output --- Execution finished normally Writing output log to file Ultimate.log Result: UNKNOWN: Overapproximated counterexample