./Ultimate.py --spec ../../sv-benchmarks/c/properties/no-overflow.prp --file ../../sv-benchmarks/c/Juliet_Test/CWE190_Integer_Overflow__int_fgets_preinc_04_bad.i --full-output --architecture 64bit -------------------------------------------------------------------------------- Checking for overflows Using default analysis Version a0165632 Calling Ultimate with: /usr/lib/jvm/java-11-openjdk-amd64/bin/java -Dosgi.configuration.area=/tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_e5486d10-2b5e-4afd-9aab-ed6b23c043ef/bin/ukojak-verify-ImItNfHLgk/data/config -Xmx15G -Xms4m -jar /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_e5486d10-2b5e-4afd-9aab-ed6b23c043ef/bin/ukojak-verify-ImItNfHLgk/plugins/org.eclipse.equinox.launcher_1.5.800.v20200727-1323.jar -data @noDefault -ultimatedata /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_e5486d10-2b5e-4afd-9aab-ed6b23c043ef/bin/ukojak-verify-ImItNfHLgk/data -tc /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_e5486d10-2b5e-4afd-9aab-ed6b23c043ef/bin/ukojak-verify-ImItNfHLgk/config/KojakReach.xml -i ../../sv-benchmarks/c/Juliet_Test/CWE190_Integer_Overflow__int_fgets_preinc_04_bad.i -s /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_e5486d10-2b5e-4afd-9aab-ed6b23c043ef/bin/ukojak-verify-ImItNfHLgk/config/svcomp-Overflow-64bit-Kojak_Default.epf --cacsl2boogietranslator.entry.function main --witnessprinter.witness.directory /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_e5486d10-2b5e-4afd-9aab-ed6b23c043ef/bin/ukojak-verify-ImItNfHLgk --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 e62c5e7eb5d493a1c3ac9115513423e1d03eaa034e2953130d1baa63fef12fbf --- Real Ultimate output --- This is Ultimate 0.2.5-dev-a016563 [2024-11-09 01:02:49,464 INFO L188 SettingsManager]: Resetting all preferences to default values... [2024-11-09 01:02:49,562 INFO L114 SettingsManager]: Loading settings from /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_e5486d10-2b5e-4afd-9aab-ed6b23c043ef/bin/ukojak-verify-ImItNfHLgk/config/svcomp-Overflow-64bit-Kojak_Default.epf [2024-11-09 01:02:49,567 WARN L101 SettingsManager]: Preference file contains the following unknown settings: [2024-11-09 01:02:49,568 WARN L103 SettingsManager]: * de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck.Interpolating solver [2024-11-09 01:02:49,600 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2024-11-09 01:02:49,603 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2024-11-09 01:02:49,603 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ALWAYS [2024-11-09 01:02:49,604 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2024-11-09 01:02:49,606 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2024-11-09 01:02:49,606 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2024-11-09 01:02:49,607 INFO L153 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2024-11-09 01:02:49,607 INFO L153 SettingsManager]: * Overapproximate operations on floating types=true [2024-11-09 01:02:49,608 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2024-11-09 01:02:49,610 INFO L153 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2024-11-09 01:02:49,611 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2024-11-09 01:02:49,611 INFO L153 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2024-11-09 01:02:49,611 INFO L153 SettingsManager]: * Allow undefined functions=false [2024-11-09 01:02:49,612 INFO L153 SettingsManager]: * Check absence of signed integer overflows=ASSERTandASSUME [2024-11-09 01:02:49,612 INFO L153 SettingsManager]: * Check unreachability of reach_error function=false [2024-11-09 01:02:49,612 INFO L153 SettingsManager]: * Check if freed pointer was valid=false [2024-11-09 01:02:49,617 INFO L153 SettingsManager]: * Use constant arrays=true [2024-11-09 01:02:49,617 INFO L151 SettingsManager]: Preferences of CodeCheck differ from their defaults: [2024-11-09 01:02:49,618 INFO L153 SettingsManager]: * Timeout in seconds=1000000 [2024-11-09 01:02:49,618 INFO L153 SettingsManager]: * Theory for external solver=ALL [2024-11-09 01:02:49,618 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2024-11-09 01:02:49,619 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2024-11-09 01:02:49,619 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2024-11-09 01:02:49,620 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2024-11-09 01:02:49,620 INFO L153 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopHeads [2024-11-09 01:02:49,621 INFO L153 SettingsManager]: * Trace refinement strategy=PENGUIN [2024-11-09 01:02:49,621 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2024-11-09 01:02:49,621 INFO L153 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode WARNING: An illegal reflective access operation has occurred WARNING: Illegal reflective access by com.sun.xml.bind.v2.runtime.reflect.opt.Injector$1 (file:/tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_e5486d10-2b5e-4afd-9aab-ed6b23c043ef/bin/ukojak-verify-ImItNfHLgk/plugins/com.sun.xml.bind_2.2.0.v201505121915.jar) to method java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int) WARNING: Please consider reporting this to the maintainers of com.sun.xml.bind.v2.runtime.reflect.opt.Injector$1 WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations WARNING: All illegal access operations will be denied in a future release 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_e5486d10-2b5e-4afd-9aab-ed6b23c043ef/bin/ukojak-verify-ImItNfHLgk 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 -> e62c5e7eb5d493a1c3ac9115513423e1d03eaa034e2953130d1baa63fef12fbf [2024-11-09 01:02:49,880 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2024-11-09 01:02:49,924 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2024-11-09 01:02:49,928 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2024-11-09 01:02:49,929 INFO L270 PluginConnector]: Initializing CDTParser... [2024-11-09 01:02:49,930 INFO L274 PluginConnector]: CDTParser initialized [2024-11-09 01:02:49,931 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_e5486d10-2b5e-4afd-9aab-ed6b23c043ef/bin/ukojak-verify-ImItNfHLgk/../../sv-benchmarks/c/Juliet_Test/CWE190_Integer_Overflow__int_fgets_preinc_04_bad.i Unable to find full path for "g++" [2024-11-09 01:02:52,499 INFO L533 CDTParser]: Created temporary CDT project at NULL [2024-11-09 01:02:53,142 INFO L384 CDTParser]: Found 1 translation units. [2024-11-09 01:02:53,147 INFO L180 CDTParser]: Scanning /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_e5486d10-2b5e-4afd-9aab-ed6b23c043ef/sv-benchmarks/c/Juliet_Test/CWE190_Integer_Overflow__int_fgets_preinc_04_bad.i [2024-11-09 01:02:53,191 INFO L427 CDTParser]: About to delete temporary CDT project at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_e5486d10-2b5e-4afd-9aab-ed6b23c043ef/bin/ukojak-verify-ImItNfHLgk/data/f196ac1ac/855091d954414ab7ba29fdcce72e8642/FLAG43ed1b9a4 [2024-11-09 01:02:53,618 INFO L435 CDTParser]: Successfully deleted /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_e5486d10-2b5e-4afd-9aab-ed6b23c043ef/bin/ukojak-verify-ImItNfHLgk/data/f196ac1ac/855091d954414ab7ba29fdcce72e8642 [2024-11-09 01:02:53,621 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2024-11-09 01:02:53,623 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2024-11-09 01:02:53,625 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2024-11-09 01:02:53,626 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2024-11-09 01:02:53,633 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2024-11-09 01:02:53,635 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 09.11 01:02:53" (1/1) ... [2024-11-09 01:02:53,639 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@10d2efb1 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 09.11 01:02:53, skipping insertion in model container [2024-11-09 01:02:53,639 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 09.11 01:02:53" (1/1) ... [2024-11-09 01:02:53,737 INFO L175 MainTranslator]: Built tables and reachable declarations [2024-11-09 01:02:55,177 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-09 01:02:55,201 INFO L200 MainTranslator]: Completed pre-run [2024-11-09 01:02:55,350 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-09 01:02:55,539 INFO L204 MainTranslator]: Completed translation [2024-11-09 01:02:55,540 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 09.11 01:02:55 WrapperNode [2024-11-09 01:02:55,540 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2024-11-09 01:02:55,541 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2024-11-09 01:02:55,541 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2024-11-09 01:02:55,542 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2024-11-09 01:02:55,552 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 09.11 01:02:55" (1/1) ... [2024-11-09 01:02:55,603 INFO L184 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 09.11 01:02:55" (1/1) ... [2024-11-09 01:02:55,634 INFO L138 Inliner]: procedures = 498, calls = 27, calls flagged for inlining = 4, calls inlined = 4, statements flattened = 71 [2024-11-09 01:02:55,635 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2024-11-09 01:02:55,636 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2024-11-09 01:02:55,636 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2024-11-09 01:02:55,636 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2024-11-09 01:02:55,656 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 09.11 01:02:55" (1/1) ... [2024-11-09 01:02:55,657 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 09.11 01:02:55" (1/1) ... [2024-11-09 01:02:55,661 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 09.11 01:02:55" (1/1) ... [2024-11-09 01:02:55,661 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 09.11 01:02:55" (1/1) ... [2024-11-09 01:02:55,668 INFO L184 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 09.11 01:02:55" (1/1) ... [2024-11-09 01:02:55,671 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 09.11 01:02:55" (1/1) ... [2024-11-09 01:02:55,675 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 09.11 01:02:55" (1/1) ... [2024-11-09 01:02:55,679 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 09.11 01:02:55" (1/1) ... [2024-11-09 01:02:55,683 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2024-11-09 01:02:55,684 INFO L112 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2024-11-09 01:02:55,684 INFO L270 PluginConnector]: Initializing RCFGBuilder... [2024-11-09 01:02:55,684 INFO L274 PluginConnector]: RCFGBuilder initialized [2024-11-09 01:02:55,692 INFO L184 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 09.11 01:02:55" (1/1) ... [2024-11-09 01:02:55,714 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2024-11-09 01:02:55,730 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_e5486d10-2b5e-4afd-9aab-ed6b23c043ef/bin/ukojak-verify-ImItNfHLgk/z3 [2024-11-09 01:02:55,755 INFO L229 MonitoredProcess]: Starting monitored process 1 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_e5486d10-2b5e-4afd-9aab-ed6b23c043ef/bin/ukojak-verify-ImItNfHLgk/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (exit command is (exit), workingDir is null) [2024-11-09 01:02:55,759 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_e5486d10-2b5e-4afd-9aab-ed6b23c043ef/bin/ukojak-verify-ImItNfHLgk/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (1)] Waiting until timeout for monitored process [2024-11-09 01:02:55,789 INFO L130 BoogieDeclarations]: Found specification of procedure printLine [2024-11-09 01:02:55,789 INFO L138 BoogieDeclarations]: Found implementation of procedure printLine [2024-11-09 01:02:55,790 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2024-11-09 01:02:55,790 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2024-11-09 01:02:55,790 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2024-11-09 01:02:55,790 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int [2024-11-09 01:02:55,971 INFO L238 CfgBuilder]: Building ICFG [2024-11-09 01:02:55,974 INFO L264 CfgBuilder]: Building CFG for each procedure with an implementation [2024-11-09 01:02:56,205 INFO L? ?]: Removed 20 outVars from TransFormulas that were not future-live. [2024-11-09 01:02:56,205 INFO L287 CfgBuilder]: Performing block encoding [2024-11-09 01:02:56,261 INFO L311 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2024-11-09 01:02:56,261 INFO L316 CfgBuilder]: Removed 0 assume(true) statements. [2024-11-09 01:02:56,262 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 09.11 01:02:56 BoogieIcfgContainer [2024-11-09 01:02:56,262 INFO L131 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2024-11-09 01:02:56,263 INFO L112 PluginConnector]: ------------------------CodeCheck---------------------------- [2024-11-09 01:02:56,263 INFO L270 PluginConnector]: Initializing CodeCheck... [2024-11-09 01:02:56,274 INFO L274 PluginConnector]: CodeCheck initialized [2024-11-09 01:02:56,275 INFO L184 PluginConnector]: Executing the observer CodeCheckObserver from plugin CodeCheck for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 09.11 01:02:56" (1/1) ... [2024-11-09 01:02:56,287 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-11-09 01:02:56,352 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-09 01:02:56,363 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 23 states to 19 states and 23 transitions. [2024-11-09 01:02:56,364 INFO L276 IsEmpty]: Start isEmpty. Operand 19 states and 23 transitions. [2024-11-09 01:02:56,370 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 9 [2024-11-09 01:02:56,370 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-09 01:02:56,371 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-09 01:02:56,534 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-09 01:02:56,723 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2024-11-09 01:02:56,789 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-09 01:02:56,793 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 26 states to 19 states and 22 transitions. [2024-11-09 01:02:56,794 INFO L276 IsEmpty]: Start isEmpty. Operand 19 states and 22 transitions. [2024-11-09 01:02:56,795 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 11 [2024-11-09 01:02:56,795 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-09 01:02:56,795 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-09 01:02:56,854 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-09 01:02:57,000 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2024-11-09 01:02:57,066 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-09 01:02:57,067 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 32 states to 22 states and 27 transitions. [2024-11-09 01:02:57,067 INFO L276 IsEmpty]: Start isEmpty. Operand 22 states and 27 transitions. [2024-11-09 01:02:57,068 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 12 [2024-11-09 01:02:57,068 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-09 01:02:57,069 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-09 01:02:57,110 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-09 01:02:57,111 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-11-09 01:02:57,129 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-09 01:02:57,266 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-09 01:02:57,266 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-11-09 01:02:57,295 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-09 01:02:57,330 WARN L473 CodeCheckObserver]: This program is UNSAFE, Check terminated with 3 iterations. [2024-11-09 01:02:57,380 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck CFG 09.11 01:02:57 ImpRootNode [2024-11-09 01:02:57,381 INFO L131 PluginConnector]: ------------------------ END CodeCheck---------------------------- [2024-11-09 01:02:57,382 INFO L112 PluginConnector]: ------------------------Witness Printer---------------------------- [2024-11-09 01:02:57,383 INFO L270 PluginConnector]: Initializing Witness Printer... [2024-11-09 01:02:57,383 INFO L274 PluginConnector]: Witness Printer initialized [2024-11-09 01:02:57,384 INFO L184 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 09.11 01:02:56" (3/4) ... [2024-11-09 01:02:57,388 INFO L145 WitnessPrinter]: No result that supports witness generation found [2024-11-09 01:02:57,389 INFO L131 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2024-11-09 01:02:57,390 INFO L158 Benchmark]: Toolchain (without parser) took 3767.20ms. Allocated memory is still 161.5MB. Free memory was 125.4MB in the beginning and 70.8MB in the end (delta: 54.6MB). Peak memory consumption was 55.5MB. Max. memory is 16.1GB. [2024-11-09 01:02:57,391 INFO L158 Benchmark]: CDTParser took 0.32ms. Allocated memory is still 115.3MB. Free memory was 82.5MB in the beginning and 82.5MB in the end (delta: 32.1kB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-09 01:02:57,392 INFO L158 Benchmark]: CACSL2BoogieTranslator took 1914.84ms. Allocated memory is still 161.5MB. Free memory was 125.4MB in the beginning and 59.5MB in the end (delta: 65.9MB). Peak memory consumption was 67.1MB. Max. memory is 16.1GB. [2024-11-09 01:02:57,392 INFO L158 Benchmark]: Boogie Procedure Inliner took 93.82ms. Allocated memory is still 161.5MB. Free memory was 59.5MB in the beginning and 127.4MB in the end (delta: -68.0MB). Peak memory consumption was 9.4MB. Max. memory is 16.1GB. [2024-11-09 01:02:57,393 INFO L158 Benchmark]: Boogie Preprocessor took 47.25ms. Allocated memory is still 161.5MB. Free memory was 127.4MB in the beginning and 126.5MB in the end (delta: 916.8kB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-09 01:02:57,394 INFO L158 Benchmark]: RCFGBuilder took 578.50ms. Allocated memory is still 161.5MB. Free memory was 126.5MB in the beginning and 111.6MB in the end (delta: 14.9MB). Peak memory consumption was 14.7MB. Max. memory is 16.1GB. [2024-11-09 01:02:57,396 INFO L158 Benchmark]: CodeCheck took 1118.20ms. Allocated memory is still 161.5MB. Free memory was 111.6MB in the beginning and 70.8MB in the end (delta: 40.8MB). Peak memory consumption was 41.9MB. Max. memory is 16.1GB. [2024-11-09 01:02:57,397 INFO L158 Benchmark]: Witness Printer took 7.20ms. Allocated memory is still 161.5MB. Free memory is still 70.8MB. There was no memory consumed. Max. memory is 16.1GB. [2024-11-09 01:02:57,403 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 2 procedures, 19 locations, 2 error locations. Started 1 CEGAR loops. OverallTime: 1.0s, OverallIterations: 3, TraceHistogramMax: 0, PathProgramHistogramMax: 0, EmptinessCheckTime: 0.0s, AutomataDifference: 0.0s, DeadEndRemovalTime: 0.0s, HoareAnnotationTime: 0.0s, InitialAbstractionConstructionTime: 0.0s, HoareTripleCheckerStatistics: 0 mSolverCounterUnknown, 52 SdHoareTripleChecker+Valid, 0.1s IncrementalHoareTripleChecker+Time, 0 mSdLazyCounter, 8 mSDsluCounter, 48 SdHoareTripleChecker+Invalid, 0.1s Time, 0 mProtectedAction, 0 SdHoareTripleChecker+Unchecked, 0 IncrementalHoareTripleChecker+Unchecked, 10 mSDsCounter, 6 IncrementalHoareTripleChecker+Valid, 0 mProtectedPredicate, 20 IncrementalHoareTripleChecker+Invalid, 26 SdHoareTripleChecker+Unknown, 0 mSolverCounterNotChecked, 6 mSolverCounterUnsat, 38 mSDtfsCounter, 20 mSolverCounterSat, 0.0s SdHoareTripleChecker+Time, 0 IncrementalHoareTripleChecker+Unknown, PredicateUnifierStatistics: 0 DeclaredPredicates, 141 GetRequests, 137 SyntacticMatches, 0 SemanticMatches, 4 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.3s InterpolantComputationTime, 29 NumberOfCodeBlocks, 29 NumberOfCodeBlocksAsserted, 3 NumberOfCheckSat, 16 ConstructedInterpolants, 0 QuantifiedInterpolants, 34 SizeOfPredicates, 0 NumberOfNonLiveVariables, 0 ConjunctsInSsa, 0 ConjunctsInUnsatCore, 2 InterpolantComputations, 2 PerfectInterpolantSequences, 0/0 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 - UnprovableResult [Line: 1571]: Unable to prove that integer overflow can never occur Unable to prove that integer overflow can never occur Reason: overapproximation of atoi at line 1560, overapproximation of large string literal at line 1580, overapproximation of fgets at line 1558. 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); [L1548] static const int STATIC_CONST_TRUE = 1; [L1549] static const int STATIC_CONST_FALSE = 0; [L1580] CALL printLine("Calling bad()...") VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, STATIC_CONST_FALSE=0, STATIC_CONST_TRUE=1, \old(line)={3:0}, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1] [L1414] COND TRUE line != ((void *)0) [L1580] RET printLine("Calling bad()...") VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, STATIC_CONST_FALSE=0, STATIC_CONST_TRUE=1, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1] [L1581] CALL CWE190_Integer_Overflow__int_fgets_preinc_04_bad() [L1552] int data; [L1553] data = 0 VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, STATIC_CONST_FALSE=0, STATIC_CONST_TRUE=1, data=0, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1] [L1554] COND TRUE \read(STATIC_CONST_TRUE) [L1557] char inputBuffer[(3 * sizeof(data) + 2)] = ""; VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, STATIC_CONST_FALSE=0, STATIC_CONST_TRUE=1, data=0, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1] [L1558] COND TRUE fgets(inputBuffer, (3 * sizeof(data) + 2), stdin) != ((void *)0) [L1560] data = atoi(inputBuffer) [L1568] COND TRUE \read(STATIC_CONST_TRUE) VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, STATIC_CONST_FALSE=0, STATIC_CONST_TRUE=1, data=2147483647, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1] [L1571] ++data VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, STATIC_CONST_FALSE=0, STATIC_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.32ms. Allocated memory is still 115.3MB. Free memory was 82.5MB in the beginning and 82.5MB in the end (delta: 32.1kB). There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 1914.84ms. Allocated memory is still 161.5MB. Free memory was 125.4MB in the beginning and 59.5MB in the end (delta: 65.9MB). Peak memory consumption was 67.1MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 93.82ms. Allocated memory is still 161.5MB. Free memory was 59.5MB in the beginning and 127.4MB in the end (delta: -68.0MB). Peak memory consumption was 9.4MB. Max. memory is 16.1GB. * Boogie Preprocessor took 47.25ms. Allocated memory is still 161.5MB. Free memory was 127.4MB in the beginning and 126.5MB in the end (delta: 916.8kB). There was no memory consumed. Max. memory is 16.1GB. * RCFGBuilder took 578.50ms. Allocated memory is still 161.5MB. Free memory was 126.5MB in the beginning and 111.6MB in the end (delta: 14.9MB). Peak memory consumption was 14.7MB. Max. memory is 16.1GB. * CodeCheck took 1118.20ms. Allocated memory is still 161.5MB. Free memory was 111.6MB in the beginning and 70.8MB in the end (delta: 40.8MB). Peak memory consumption was 41.9MB. Max. memory is 16.1GB. * Witness Printer took 7.20ms. Allocated memory is still 161.5MB. Free memory is still 70.8MB. 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-09 01:02:57,441 INFO L552 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_e5486d10-2b5e-4afd-9aab-ed6b23c043ef/bin/ukojak-verify-ImItNfHLgk/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (1)] Ended with 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/lib/jvm/java-11-openjdk-amd64/bin/java -Dosgi.configuration.area=/tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_e5486d10-2b5e-4afd-9aab-ed6b23c043ef/bin/ukojak-verify-ImItNfHLgk/data/config -Xmx15G -Xms4m -jar /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_e5486d10-2b5e-4afd-9aab-ed6b23c043ef/bin/ukojak-verify-ImItNfHLgk/plugins/org.eclipse.equinox.launcher_1.5.800.v20200727-1323.jar -data @noDefault -ultimatedata /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_e5486d10-2b5e-4afd-9aab-ed6b23c043ef/bin/ukojak-verify-ImItNfHLgk/data -tc /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_e5486d10-2b5e-4afd-9aab-ed6b23c043ef/bin/ukojak-verify-ImItNfHLgk/config/KojakReach.xml -i ../../sv-benchmarks/c/Juliet_Test/CWE190_Integer_Overflow__int_fgets_preinc_04_bad.i -s /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_e5486d10-2b5e-4afd-9aab-ed6b23c043ef/bin/ukojak-verify-ImItNfHLgk/config/svcomp-Overflow-64bit-Kojak_Bitvector.epf --cacsl2boogietranslator.entry.function main --witnessprinter.witness.directory /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_e5486d10-2b5e-4afd-9aab-ed6b23c043ef/bin/ukojak-verify-ImItNfHLgk --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 e62c5e7eb5d493a1c3ac9115513423e1d03eaa034e2953130d1baa63fef12fbf --- Real Ultimate output --- This is Ultimate 0.2.5-dev-a016563 [2024-11-09 01:03:00,530 INFO L188 SettingsManager]: Resetting all preferences to default values... [2024-11-09 01:03:00,657 INFO L114 SettingsManager]: Loading settings from /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_e5486d10-2b5e-4afd-9aab-ed6b23c043ef/bin/ukojak-verify-ImItNfHLgk/config/svcomp-Overflow-64bit-Kojak_Bitvector.epf [2024-11-09 01:03:00,724 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2024-11-09 01:03:00,725 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2024-11-09 01:03:00,725 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ALWAYS [2024-11-09 01:03:00,727 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2024-11-09 01:03:00,728 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2024-11-09 01:03:00,729 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2024-11-09 01:03:00,732 INFO L153 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2024-11-09 01:03:00,733 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2024-11-09 01:03:00,736 INFO L153 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2024-11-09 01:03:00,737 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2024-11-09 01:03:00,737 INFO L153 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2024-11-09 01:03:00,738 INFO L153 SettingsManager]: * Adapt memory model on pointer casts if necessary=true [2024-11-09 01:03:00,738 INFO L153 SettingsManager]: * Use bitvectors instead of ints=true [2024-11-09 01:03:00,738 INFO L153 SettingsManager]: * Allow undefined functions=false [2024-11-09 01:03:00,739 INFO L153 SettingsManager]: * Check absence of signed integer overflows=ASSERTandASSUME [2024-11-09 01:03:00,739 INFO L153 SettingsManager]: * Memory model=HoenickeLindenmann_4ByteResolution [2024-11-09 01:03:00,740 INFO L153 SettingsManager]: * Check unreachability of reach_error function=false [2024-11-09 01:03:00,740 INFO L153 SettingsManager]: * Check if freed pointer was valid=false [2024-11-09 01:03:00,742 INFO L153 SettingsManager]: * Use constant arrays=true [2024-11-09 01:03:00,743 INFO L151 SettingsManager]: Preferences of CodeCheck differ from their defaults: [2024-11-09 01:03:00,743 INFO L153 SettingsManager]: * Timeout in seconds=1000000 [2024-11-09 01:03:00,743 INFO L153 SettingsManager]: * Theory for external solver=ALL [2024-11-09 01:03:00,744 INFO L153 SettingsManager]: * Command for calling external solver=cvc4 --incremental --print-success --lang smt [2024-11-09 01:03:00,744 INFO L153 SettingsManager]: * Choose which separate solver to use for tracechecks=External_ModelsAndUnsatCoreMode [2024-11-09 01:03:00,745 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2024-11-09 01:03:00,745 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2024-11-09 01:03:00,745 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2024-11-09 01:03:00,746 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2024-11-09 01:03:00,746 INFO L153 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopHeads [2024-11-09 01:03:00,746 INFO L153 SettingsManager]: * Trace refinement strategy=WALRUS [2024-11-09 01:03:00,747 INFO L153 SettingsManager]: * Command for external solver=cvc4 --incremental --print-success --lang smt [2024-11-09 01:03:00,747 INFO L153 SettingsManager]: * Use separate solver for trace checks=false [2024-11-09 01:03:00,747 INFO L153 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode WARNING: An illegal reflective access operation has occurred WARNING: Illegal reflective access by com.sun.xml.bind.v2.runtime.reflect.opt.Injector$1 (file:/tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_e5486d10-2b5e-4afd-9aab-ed6b23c043ef/bin/ukojak-verify-ImItNfHLgk/plugins/com.sun.xml.bind_2.2.0.v201505121915.jar) to method java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int) WARNING: Please consider reporting this to the maintainers of com.sun.xml.bind.v2.runtime.reflect.opt.Injector$1 WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations WARNING: All illegal access operations will be denied in a future release 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_e5486d10-2b5e-4afd-9aab-ed6b23c043ef/bin/ukojak-verify-ImItNfHLgk 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 -> e62c5e7eb5d493a1c3ac9115513423e1d03eaa034e2953130d1baa63fef12fbf [2024-11-09 01:03:01,249 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2024-11-09 01:03:01,292 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2024-11-09 01:03:01,296 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2024-11-09 01:03:01,298 INFO L270 PluginConnector]: Initializing CDTParser... [2024-11-09 01:03:01,299 INFO L274 PluginConnector]: CDTParser initialized [2024-11-09 01:03:01,301 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_e5486d10-2b5e-4afd-9aab-ed6b23c043ef/bin/ukojak-verify-ImItNfHLgk/../../sv-benchmarks/c/Juliet_Test/CWE190_Integer_Overflow__int_fgets_preinc_04_bad.i Unable to find full path for "g++" [2024-11-09 01:03:04,172 INFO L533 CDTParser]: Created temporary CDT project at NULL [2024-11-09 01:03:04,666 INFO L384 CDTParser]: Found 1 translation units. [2024-11-09 01:03:04,667 INFO L180 CDTParser]: Scanning /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_e5486d10-2b5e-4afd-9aab-ed6b23c043ef/sv-benchmarks/c/Juliet_Test/CWE190_Integer_Overflow__int_fgets_preinc_04_bad.i [2024-11-09 01:03:04,715 INFO L427 CDTParser]: About to delete temporary CDT project at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_e5486d10-2b5e-4afd-9aab-ed6b23c043ef/bin/ukojak-verify-ImItNfHLgk/data/9bbd84f4f/8ab2135c8980490593bed4648556d289/FLAG48ce7dd24 [2024-11-09 01:03:04,732 INFO L435 CDTParser]: Successfully deleted /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_e5486d10-2b5e-4afd-9aab-ed6b23c043ef/bin/ukojak-verify-ImItNfHLgk/data/9bbd84f4f/8ab2135c8980490593bed4648556d289 [2024-11-09 01:03:04,735 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2024-11-09 01:03:04,736 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2024-11-09 01:03:04,738 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2024-11-09 01:03:04,738 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2024-11-09 01:03:04,744 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2024-11-09 01:03:04,745 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 09.11 01:03:04" (1/1) ... [2024-11-09 01:03:04,746 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@46745f29 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 09.11 01:03:04, skipping insertion in model container [2024-11-09 01:03:04,747 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 09.11 01:03:04" (1/1) ... [2024-11-09 01:03:04,817 INFO L175 MainTranslator]: Built tables and reachable declarations [2024-11-09 01:03:05,797 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-09 01:03:05,816 INFO L200 MainTranslator]: Completed pre-run [2024-11-09 01:03:05,992 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-09 01:03:06,180 INFO L204 MainTranslator]: Completed translation [2024-11-09 01:03:06,181 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 09.11 01:03:06 WrapperNode [2024-11-09 01:03:06,182 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2024-11-09 01:03:06,186 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2024-11-09 01:03:06,186 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2024-11-09 01:03:06,186 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2024-11-09 01:03:06,193 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 09.11 01:03:06" (1/1) ... [2024-11-09 01:03:06,225 INFO L184 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 09.11 01:03:06" (1/1) ... [2024-11-09 01:03:06,257 INFO L138 Inliner]: procedures = 503, calls = 27, calls flagged for inlining = 4, calls inlined = 4, statements flattened = 70 [2024-11-09 01:03:06,257 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2024-11-09 01:03:06,258 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2024-11-09 01:03:06,258 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2024-11-09 01:03:06,258 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2024-11-09 01:03:06,272 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 09.11 01:03:06" (1/1) ... [2024-11-09 01:03:06,272 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 09.11 01:03:06" (1/1) ... [2024-11-09 01:03:06,275 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 09.11 01:03:06" (1/1) ... [2024-11-09 01:03:06,280 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 09.11 01:03:06" (1/1) ... [2024-11-09 01:03:06,289 INFO L184 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 09.11 01:03:06" (1/1) ... [2024-11-09 01:03:06,295 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 09.11 01:03:06" (1/1) ... [2024-11-09 01:03:06,300 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 09.11 01:03:06" (1/1) ... [2024-11-09 01:03:06,311 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 09.11 01:03:06" (1/1) ... [2024-11-09 01:03:06,314 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2024-11-09 01:03:06,315 INFO L112 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2024-11-09 01:03:06,316 INFO L270 PluginConnector]: Initializing RCFGBuilder... [2024-11-09 01:03:06,316 INFO L274 PluginConnector]: RCFGBuilder initialized [2024-11-09 01:03:06,317 INFO L184 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 09.11 01:03:06" (1/1) ... [2024-11-09 01:03:06,323 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2024-11-09 01:03:06,335 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_e5486d10-2b5e-4afd-9aab-ed6b23c043ef/bin/ukojak-verify-ImItNfHLgk/z3 [2024-11-09 01:03:06,353 INFO L229 MonitoredProcess]: Starting monitored process 1 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_e5486d10-2b5e-4afd-9aab-ed6b23c043ef/bin/ukojak-verify-ImItNfHLgk/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (exit command is (exit), workingDir is null) [2024-11-09 01:03:06,364 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_e5486d10-2b5e-4afd-9aab-ed6b23c043ef/bin/ukojak-verify-ImItNfHLgk/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (1)] Waiting until timeout for monitored process [2024-11-09 01:03:06,394 INFO L130 BoogieDeclarations]: Found specification of procedure printLine [2024-11-09 01:03:06,395 INFO L138 BoogieDeclarations]: Found implementation of procedure printLine [2024-11-09 01:03:06,395 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~intINTTYPE1 [2024-11-09 01:03:06,395 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2024-11-09 01:03:06,396 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2024-11-09 01:03:06,396 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2024-11-09 01:03:06,567 INFO L238 CfgBuilder]: Building ICFG [2024-11-09 01:03:06,569 INFO L264 CfgBuilder]: Building CFG for each procedure with an implementation [2024-11-09 01:03:06,715 INFO L? ?]: Removed 19 outVars from TransFormulas that were not future-live. [2024-11-09 01:03:06,715 INFO L287 CfgBuilder]: Performing block encoding [2024-11-09 01:03:06,796 INFO L311 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2024-11-09 01:03:06,796 INFO L316 CfgBuilder]: Removed 0 assume(true) statements. [2024-11-09 01:03:06,797 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 09.11 01:03:06 BoogieIcfgContainer [2024-11-09 01:03:06,797 INFO L131 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2024-11-09 01:03:06,798 INFO L112 PluginConnector]: ------------------------CodeCheck---------------------------- [2024-11-09 01:03:06,798 INFO L270 PluginConnector]: Initializing CodeCheck... [2024-11-09 01:03:06,809 INFO L274 PluginConnector]: CodeCheck initialized [2024-11-09 01:03:06,809 INFO L184 PluginConnector]: Executing the observer CodeCheckObserver from plugin CodeCheck for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 09.11 01:03:06" (1/1) ... [2024-11-09 01:03:06,820 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-11-09 01:03:06,862 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-09 01:03:06,868 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 23 states to 19 states and 23 transitions. [2024-11-09 01:03:06,868 INFO L276 IsEmpty]: Start isEmpty. Operand 19 states and 23 transitions. [2024-11-09 01:03:06,873 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 9 [2024-11-09 01:03:06,873 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-09 01:03:06,874 INFO L173 SolverBuilder]: Constructing external solver with command: cvc4 --incremental --print-success --lang smt [2024-11-09 01:03:06,874 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_e5486d10-2b5e-4afd-9aab-ed6b23c043ef/bin/ukojak-verify-ImItNfHLgk/cvc4 [2024-11-09 01:03:06,876 INFO L229 MonitoredProcess]: Starting monitored process 2 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_e5486d10-2b5e-4afd-9aab-ed6b23c043ef/bin/ukojak-verify-ImItNfHLgk/cvc4 --incremental --print-success --lang smt (exit command is (exit), workingDir is null) [2024-11-09 01:03:06,884 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_e5486d10-2b5e-4afd-9aab-ed6b23c043ef/bin/ukojak-verify-ImItNfHLgk/cvc4 --incremental --print-success --lang smt (2)] Waiting until timeout for monitored process [2024-11-09 01:03:07,026 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-09 01:03:07,029 ERROR L567 CodeCheckObserver]: First Tracecheck threw exception Proofs are not supported [2024-11-09 01:03:07,075 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-09 01:03:07,077 INFO L255 TraceCheckSpWp]: Trace formula consists of 37 conjuncts, 1 conjuncts are in the unsatisfiable core [2024-11-09 01:03:07,083 INFO L278 TraceCheckSpWp]: Computing forward predicates... [2024-11-09 01:03:07,105 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2024-11-09 01:03:07,108 INFO L552 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_e5486d10-2b5e-4afd-9aab-ed6b23c043ef/bin/ukojak-verify-ImItNfHLgk/cvc4 --incremental --print-success --lang smt (2)] Ended with exit code 0 [2024-11-09 01:03:07,131 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-09 01:03:07,132 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 22 states to 18 states and 22 transitions. [2024-11-09 01:03:07,132 INFO L276 IsEmpty]: Start isEmpty. Operand 18 states and 22 transitions. [2024-11-09 01:03:07,132 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 10 [2024-11-09 01:03:07,132 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-09 01:03:07,133 INFO L173 SolverBuilder]: Constructing external solver with command: cvc4 --incremental --print-success --lang smt [2024-11-09 01:03:07,133 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_e5486d10-2b5e-4afd-9aab-ed6b23c043ef/bin/ukojak-verify-ImItNfHLgk/cvc4 [2024-11-09 01:03:07,136 INFO L229 MonitoredProcess]: Starting monitored process 3 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_e5486d10-2b5e-4afd-9aab-ed6b23c043ef/bin/ukojak-verify-ImItNfHLgk/cvc4 --incremental --print-success --lang smt (exit command is (exit), workingDir is null) [2024-11-09 01:03:07,141 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_e5486d10-2b5e-4afd-9aab-ed6b23c043ef/bin/ukojak-verify-ImItNfHLgk/cvc4 --incremental --print-success --lang smt (3)] Waiting until timeout for monitored process [2024-11-09 01:03:07,270 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-09 01:03:07,270 ERROR L567 CodeCheckObserver]: First Tracecheck threw exception Proofs are not supported [2024-11-09 01:03:07,292 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-09 01:03:07,293 INFO L255 TraceCheckSpWp]: Trace formula consists of 38 conjuncts, 2 conjuncts are in the unsatisfiable core [2024-11-09 01:03:07,294 INFO L278 TraceCheckSpWp]: Computing forward predicates... [2024-11-09 01:03:07,313 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2024-11-09 01:03:07,317 INFO L552 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_e5486d10-2b5e-4afd-9aab-ed6b23c043ef/bin/ukojak-verify-ImItNfHLgk/cvc4 --incremental --print-success --lang smt (3)] Ended with exit code 0 [2024-11-09 01:03:07,318 ERROR L418 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_e5486d10-2b5e-4afd-9aab-ed6b23c043ef/bin/ukojak-verify-ImItNfHLgk/cvc4 --incremental --print-success --lang smt (3)] Exception during sending of exit command (exit): Broken pipe [2024-11-09 01:03:07,351 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-09 01:03:07,353 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 23 states to 19 states and 23 transitions. [2024-11-09 01:03:07,354 INFO L276 IsEmpty]: Start isEmpty. Operand 19 states and 23 transitions. [2024-11-09 01:03:07,354 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 12 [2024-11-09 01:03:07,354 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-09 01:03:07,355 INFO L173 SolverBuilder]: Constructing external solver with command: cvc4 --incremental --print-success --lang smt [2024-11-09 01:03:07,357 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_e5486d10-2b5e-4afd-9aab-ed6b23c043ef/bin/ukojak-verify-ImItNfHLgk/cvc4 [2024-11-09 01:03:07,360 INFO L229 MonitoredProcess]: Starting monitored process 4 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_e5486d10-2b5e-4afd-9aab-ed6b23c043ef/bin/ukojak-verify-ImItNfHLgk/cvc4 --incremental --print-success --lang smt (exit command is (exit), workingDir is null) [2024-11-09 01:03:07,362 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_e5486d10-2b5e-4afd-9aab-ed6b23c043ef/bin/ukojak-verify-ImItNfHLgk/cvc4 --incremental --print-success --lang smt (4)] Waiting until timeout for monitored process [2024-11-09 01:03:07,519 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-09 01:03:07,520 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-11-09 01:03:07,576 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-09 01:03:07,659 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-09 01:03:07,660 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-11-09 01:03:07,683 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-09 01:03:07,711 INFO L552 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_e5486d10-2b5e-4afd-9aab-ed6b23c043ef/bin/ukojak-verify-ImItNfHLgk/cvc4 --incremental --print-success --lang smt (4)] Ended with exit code 0 [2024-11-09 01:03:07,712 WARN L473 CodeCheckObserver]: This program is UNSAFE, Check terminated with 3 iterations. [2024-11-09 01:03:07,751 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck CFG 09.11 01:03:07 ImpRootNode [2024-11-09 01:03:07,751 INFO L131 PluginConnector]: ------------------------ END CodeCheck---------------------------- [2024-11-09 01:03:07,752 INFO L112 PluginConnector]: ------------------------Witness Printer---------------------------- [2024-11-09 01:03:07,752 INFO L270 PluginConnector]: Initializing Witness Printer... [2024-11-09 01:03:07,752 INFO L274 PluginConnector]: Witness Printer initialized [2024-11-09 01:03:07,753 INFO L184 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 09.11 01:03:06" (3/4) ... [2024-11-09 01:03:07,755 INFO L145 WitnessPrinter]: No result that supports witness generation found [2024-11-09 01:03:07,756 INFO L131 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2024-11-09 01:03:07,758 INFO L158 Benchmark]: Toolchain (without parser) took 3020.96ms. Allocated memory was 77.6MB in the beginning and 94.4MB in the end (delta: 16.8MB). Free memory was 49.3MB in the beginning and 40.2MB in the end (delta: 9.1MB). Peak memory consumption was 26.9MB. Max. memory is 16.1GB. [2024-11-09 01:03:07,759 INFO L158 Benchmark]: CDTParser took 0.30ms. Allocated memory is still 58.7MB. Free memory is still 34.6MB. There was no memory consumed. Max. memory is 16.1GB. [2024-11-09 01:03:07,760 INFO L158 Benchmark]: CACSL2BoogieTranslator took 1446.84ms. Allocated memory is still 77.6MB. Free memory was 49.1MB in the beginning and 33.8MB in the end (delta: 15.3MB). Peak memory consumption was 27.0MB. Max. memory is 16.1GB. [2024-11-09 01:03:07,760 INFO L158 Benchmark]: Boogie Procedure Inliner took 71.88ms. Allocated memory is still 77.6MB. Free memory was 33.5MB in the beginning and 30.7MB in the end (delta: 2.8MB). Peak memory consumption was 4.2MB. Max. memory is 16.1GB. [2024-11-09 01:03:07,761 INFO L158 Benchmark]: Boogie Preprocessor took 56.52ms. Allocated memory was 77.6MB in the beginning and 94.4MB in the end (delta: 16.8MB). Free memory was 30.4MB in the beginning and 66.1MB in the end (delta: -35.7MB). Peak memory consumption was 2.3MB. Max. memory is 16.1GB. [2024-11-09 01:03:07,762 INFO L158 Benchmark]: RCFGBuilder took 481.62ms. Allocated memory is still 94.4MB. Free memory was 66.1MB in the beginning and 48.3MB in the end (delta: 17.8MB). Peak memory consumption was 16.8MB. Max. memory is 16.1GB. [2024-11-09 01:03:07,762 INFO L158 Benchmark]: CodeCheck took 953.53ms. Allocated memory is still 94.4MB. Free memory was 48.3MB in the beginning and 40.7MB in the end (delta: 7.7MB). Peak memory consumption was 8.1MB. Max. memory is 16.1GB. [2024-11-09 01:03:07,763 INFO L158 Benchmark]: Witness Printer took 5.04ms. Allocated memory is still 94.4MB. Free memory is still 40.2MB. There was no memory consumed. Max. memory is 16.1GB. [2024-11-09 01:03:07,766 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 2 procedures, 19 locations, 2 error locations. Started 1 CEGAR loops. OverallTime: 0.9s, OverallIterations: 3, TraceHistogramMax: 0, PathProgramHistogramMax: 0, EmptinessCheckTime: 0.0s, AutomataDifference: 0.0s, DeadEndRemovalTime: 0.0s, HoareAnnotationTime: 0.0s, InitialAbstractionConstructionTime: 0.0s, HoareTripleCheckerStatistics: 0 mSolverCounterUnknown, 49 SdHoareTripleChecker+Valid, 0.0s IncrementalHoareTripleChecker+Time, 0 mSdLazyCounter, 0 mSDsluCounter, 29 SdHoareTripleChecker+Invalid, 0.0s Time, 0 mProtectedAction, 0 SdHoareTripleChecker+Unchecked, 0 IncrementalHoareTripleChecker+Unchecked, 2 mSDsCounter, 3 IncrementalHoareTripleChecker+Valid, 0 mProtectedPredicate, 8 IncrementalHoareTripleChecker+Invalid, 11 SdHoareTripleChecker+Unknown, 0 mSolverCounterNotChecked, 3 mSolverCounterUnsat, 27 mSDtfsCounter, 8 mSolverCounterSat, 0.0s SdHoareTripleChecker+Time, 0 IncrementalHoareTripleChecker+Unknown, PredicateUnifierStatistics: 0 DeclaredPredicates, 126 GetRequests, 124 SyntacticMatches, 0 SemanticMatches, 2 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 0 ImplicationChecksByTransitivity, 0.0s Time, 0.0s BasicInterpolantAutomatonTime, BiggestAbstraction: size=-1occurred in iteration=-1, InterpolantAutomatonStates: 0, traceCheckStatistics: 0.0s SsaConstructionTime, 0.0s SatisfiabilityAnalysisTime, 0.1s InterpolantComputationTime, 28 NumberOfCodeBlocks, 28 NumberOfCodeBlocksAsserted, 3 NumberOfCheckSat, 15 ConstructedInterpolants, 0 QuantifiedInterpolants, 17 SizeOfPredicates, 0 NumberOfNonLiveVariables, 75 ConjunctsInSsa, 3 ConjunctsInUnsatCore, 2 InterpolantComputations, 2 PerfectInterpolantSequences, 0/0 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 - UnprovableResult [Line: 1571]: Unable to prove that integer overflow can never occur Unable to prove that integer overflow can never occur Reason: overapproximation of atoi at line 1560, overapproximation of large string literal at line 1580, overapproximation of fgets at line 1558. 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); [L1548] static const int STATIC_CONST_TRUE = 1; [L1549] static const int STATIC_CONST_FALSE = 0; [L1580] CALL printLine("Calling bad()...") VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, STATIC_CONST_FALSE=0, STATIC_CONST_TRUE=1, \old(line)={3:0}, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1] [L1414] COND TRUE line != ((void *)0) [L1580] RET printLine("Calling bad()...") VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, STATIC_CONST_FALSE=0, STATIC_CONST_TRUE=1, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1] [L1581] CALL CWE190_Integer_Overflow__int_fgets_preinc_04_bad() [L1552] int data; [L1553] data = 0 VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, STATIC_CONST_FALSE=0, STATIC_CONST_TRUE=1, data=0, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1] [L1554] COND TRUE \read(STATIC_CONST_TRUE) [L1557] char inputBuffer[(3 * sizeof(data) + 2)] = ""; VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, STATIC_CONST_FALSE=0, STATIC_CONST_TRUE=1, data=0, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1] [L1558] COND TRUE fgets(inputBuffer, (3 * sizeof(data) + 2), stdin) != ((void *)0) [L1560] data = atoi(inputBuffer) [L1568] COND TRUE \read(STATIC_CONST_TRUE) VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, STATIC_CONST_FALSE=0, STATIC_CONST_TRUE=1, data=2147483647, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1] [L1571] ++data VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, STATIC_CONST_FALSE=0, STATIC_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.30ms. Allocated memory is still 58.7MB. Free memory is still 34.6MB. There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 1446.84ms. Allocated memory is still 77.6MB. Free memory was 49.1MB in the beginning and 33.8MB in the end (delta: 15.3MB). Peak memory consumption was 27.0MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 71.88ms. Allocated memory is still 77.6MB. Free memory was 33.5MB in the beginning and 30.7MB in the end (delta: 2.8MB). Peak memory consumption was 4.2MB. Max. memory is 16.1GB. * Boogie Preprocessor took 56.52ms. Allocated memory was 77.6MB in the beginning and 94.4MB in the end (delta: 16.8MB). Free memory was 30.4MB in the beginning and 66.1MB in the end (delta: -35.7MB). Peak memory consumption was 2.3MB. Max. memory is 16.1GB. * RCFGBuilder took 481.62ms. Allocated memory is still 94.4MB. Free memory was 66.1MB in the beginning and 48.3MB in the end (delta: 17.8MB). Peak memory consumption was 16.8MB. Max. memory is 16.1GB. * CodeCheck took 953.53ms. Allocated memory is still 94.4MB. Free memory was 48.3MB in the beginning and 40.7MB in the end (delta: 7.7MB). Peak memory consumption was 8.1MB. Max. memory is 16.1GB. * Witness Printer took 5.04ms. Allocated memory is still 94.4MB. Free memory is still 40.2MB. 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-09 01:03:07,803 INFO L552 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_e5486d10-2b5e-4afd-9aab-ed6b23c043ef/bin/ukojak-verify-ImItNfHLgk/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (1)] Ended with exit code 0 Received shutdown request... --- End real Ultimate output --- Execution finished normally Writing output log to file Ultimate.log Result: UNKNOWN: Overapproximated counterexample