./Ultimate.py --spec ../../sv-benchmarks/c/properties/no-overflow.prp --file ../../sv-benchmarks/c/termination-memory-alloca/HarrisLalNoriRajamani-2010SAS-Fig3-alloca.i --full-output --architecture 64bit -------------------------------------------------------------------------------- Checking for overflows Using default analysis Version 826ab2ba Calling Ultimate with: /usr/bin/java -Dosgi.configuration.area=/tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_4c582428-4966-4841-b5f3-10e17d5ec7d1/bin/ukojak-verify-EEHR8qb7sm/data/config -Xmx15G -Xms4m -jar /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_4c582428-4966-4841-b5f3-10e17d5ec7d1/bin/ukojak-verify-EEHR8qb7sm/plugins/org.eclipse.equinox.launcher_1.6.800.v20240513-1750.jar -data @noDefault -ultimatedata /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_4c582428-4966-4841-b5f3-10e17d5ec7d1/bin/ukojak-verify-EEHR8qb7sm/data -tc /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_4c582428-4966-4841-b5f3-10e17d5ec7d1/bin/ukojak-verify-EEHR8qb7sm/config/KojakReach.xml -i ../../sv-benchmarks/c/termination-memory-alloca/HarrisLalNoriRajamani-2010SAS-Fig3-alloca.i -s /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_4c582428-4966-4841-b5f3-10e17d5ec7d1/bin/ukojak-verify-EEHR8qb7sm/config/svcomp-Overflow-64bit-Kojak_Default.epf --cacsl2boogietranslator.entry.function main --witnessprinter.witness.directory /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_4c582428-4966-4841-b5f3-10e17d5ec7d1/bin/ukojak-verify-EEHR8qb7sm --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 ec52b50984ce4a37adbf31241337a0752ee4ecf2eb9496b3e3fee60fba9a59cc --- Real Ultimate output --- This is Ultimate 0.3.0-dev-826ab2b [2024-11-13 21:29:05,374 INFO L188 SettingsManager]: Resetting all preferences to default values... [2024-11-13 21:29:05,491 INFO L114 SettingsManager]: Loading settings from /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_4c582428-4966-4841-b5f3-10e17d5ec7d1/bin/ukojak-verify-EEHR8qb7sm/config/svcomp-Overflow-64bit-Kojak_Default.epf [2024-11-13 21:29:05,504 WARN L101 SettingsManager]: Preference file contains the following unknown settings: [2024-11-13 21:29:05,505 WARN L103 SettingsManager]: * de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck.Interpolating solver [2024-11-13 21:29:05,551 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2024-11-13 21:29:05,553 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2024-11-13 21:29:05,553 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ALWAYS [2024-11-13 21:29:05,554 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2024-11-13 21:29:05,554 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2024-11-13 21:29:05,555 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2024-11-13 21:29:05,555 INFO L153 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2024-11-13 21:29:05,556 INFO L153 SettingsManager]: * Overapproximate operations on floating types=true [2024-11-13 21:29:05,556 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2024-11-13 21:29:05,556 INFO L153 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2024-11-13 21:29:05,557 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2024-11-13 21:29:05,558 INFO L153 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2024-11-13 21:29:05,558 INFO L153 SettingsManager]: * Allow undefined functions=false [2024-11-13 21:29:05,558 INFO L153 SettingsManager]: * Check absence of signed integer overflows=ASSERTandASSUME [2024-11-13 21:29:05,558 INFO L153 SettingsManager]: * Check unreachability of reach_error function=false [2024-11-13 21:29:05,558 INFO L153 SettingsManager]: * Check if freed pointer was valid=false [2024-11-13 21:29:05,559 INFO L153 SettingsManager]: * Use constant arrays=true [2024-11-13 21:29:05,559 INFO L151 SettingsManager]: Preferences of CodeCheck differ from their defaults: [2024-11-13 21:29:05,559 INFO L153 SettingsManager]: * Timeout in seconds=1000000 [2024-11-13 21:29:05,559 INFO L153 SettingsManager]: * Theory for external solver=ALL [2024-11-13 21:29:05,559 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2024-11-13 21:29:05,559 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2024-11-13 21:29:05,560 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2024-11-13 21:29:05,560 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2024-11-13 21:29:05,560 INFO L153 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopHeads [2024-11-13 21:29:05,560 INFO L153 SettingsManager]: * Trace refinement strategy=PENGUIN [2024-11-13 21:29:05,560 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2024-11-13 21:29:05,560 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_4c582428-4966-4841-b5f3-10e17d5ec7d1/bin/ukojak-verify-EEHR8qb7sm 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 -> ec52b50984ce4a37adbf31241337a0752ee4ecf2eb9496b3e3fee60fba9a59cc [2024-11-13 21:29:06,000 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2024-11-13 21:29:06,011 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2024-11-13 21:29:06,014 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2024-11-13 21:29:06,016 INFO L270 PluginConnector]: Initializing CDTParser... [2024-11-13 21:29:06,017 INFO L274 PluginConnector]: CDTParser initialized [2024-11-13 21:29:06,019 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_4c582428-4966-4841-b5f3-10e17d5ec7d1/bin/ukojak-verify-EEHR8qb7sm/../../sv-benchmarks/c/termination-memory-alloca/HarrisLalNoriRajamani-2010SAS-Fig3-alloca.i Unable to find full path for "g++" [2024-11-13 21:29:08,265 INFO L533 CDTParser]: Created temporary CDT project at NULL [2024-11-13 21:29:08,667 INFO L384 CDTParser]: Found 1 translation units. [2024-11-13 21:29:08,668 INFO L180 CDTParser]: Scanning /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_4c582428-4966-4841-b5f3-10e17d5ec7d1/sv-benchmarks/c/termination-memory-alloca/HarrisLalNoriRajamani-2010SAS-Fig3-alloca.i [2024-11-13 21:29:08,684 INFO L427 CDTParser]: About to delete temporary CDT project at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_4c582428-4966-4841-b5f3-10e17d5ec7d1/bin/ukojak-verify-EEHR8qb7sm/data/a26069be1/5dffce298af24ad6ab3c3aa7f65f324a/FLAG0f4f682fc [2024-11-13 21:29:08,705 INFO L435 CDTParser]: Successfully deleted /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_4c582428-4966-4841-b5f3-10e17d5ec7d1/bin/ukojak-verify-EEHR8qb7sm/data/a26069be1/5dffce298af24ad6ab3c3aa7f65f324a [2024-11-13 21:29:08,709 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2024-11-13 21:29:08,711 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2024-11-13 21:29:08,712 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2024-11-13 21:29:08,713 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2024-11-13 21:29:08,718 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2024-11-13 21:29:08,719 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 13.11 09:29:08" (1/1) ... [2024-11-13 21:29:08,721 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@505cd523 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 09:29:08, skipping insertion in model container [2024-11-13 21:29:08,721 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 13.11 09:29:08" (1/1) ... [2024-11-13 21:29:08,758 INFO L175 MainTranslator]: Built tables and reachable declarations [2024-11-13 21:29:09,175 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-13 21:29:09,190 INFO L200 MainTranslator]: Completed pre-run [2024-11-13 21:29:09,256 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-13 21:29:09,287 INFO L204 MainTranslator]: Completed translation [2024-11-13 21:29:09,288 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 09:29:09 WrapperNode [2024-11-13 21:29:09,288 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2024-11-13 21:29:09,290 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2024-11-13 21:29:09,290 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2024-11-13 21:29:09,290 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2024-11-13 21:29:09,299 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 09:29:09" (1/1) ... [2024-11-13 21:29:09,312 INFO L184 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 09:29:09" (1/1) ... [2024-11-13 21:29:09,335 INFO L138 Inliner]: procedures = 111, calls = 11, calls flagged for inlining = 2, calls inlined = 2, statements flattened = 34 [2024-11-13 21:29:09,335 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2024-11-13 21:29:09,336 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2024-11-13 21:29:09,336 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2024-11-13 21:29:09,336 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2024-11-13 21:29:09,348 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 09:29:09" (1/1) ... [2024-11-13 21:29:09,348 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 09:29:09" (1/1) ... [2024-11-13 21:29:09,351 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 09:29:09" (1/1) ... [2024-11-13 21:29:09,354 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 09:29:09" (1/1) ... [2024-11-13 21:29:09,362 INFO L184 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 09:29:09" (1/1) ... [2024-11-13 21:29:09,366 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 09:29:09" (1/1) ... [2024-11-13 21:29:09,372 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 09:29:09" (1/1) ... [2024-11-13 21:29:09,373 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 09:29:09" (1/1) ... [2024-11-13 21:29:09,374 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2024-11-13 21:29:09,379 INFO L112 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2024-11-13 21:29:09,379 INFO L270 PluginConnector]: Initializing RCFGBuilder... [2024-11-13 21:29:09,380 INFO L274 PluginConnector]: RCFGBuilder initialized [2024-11-13 21:29:09,381 INFO L184 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 09:29:09" (1/1) ... [2024-11-13 21:29:09,392 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2024-11-13 21:29:09,411 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_4c582428-4966-4841-b5f3-10e17d5ec7d1/bin/ukojak-verify-EEHR8qb7sm/z3 [2024-11-13 21:29:09,430 INFO L229 MonitoredProcess]: Starting monitored process 1 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_4c582428-4966-4841-b5f3-10e17d5ec7d1/bin/ukojak-verify-EEHR8qb7sm/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (exit command is (exit), workingDir is null) [2024-11-13 21:29:09,434 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_4c582428-4966-4841-b5f3-10e17d5ec7d1/bin/ukojak-verify-EEHR8qb7sm/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (1)] Waiting until timeout for monitored process [2024-11-13 21:29:09,470 INFO L130 BoogieDeclarations]: Found specification of procedure read~int [2024-11-13 21:29:09,470 INFO L130 BoogieDeclarations]: Found specification of procedure write~int [2024-11-13 21:29:09,470 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnStack [2024-11-13 21:29:09,471 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.dealloc [2024-11-13 21:29:09,471 INFO L130 BoogieDeclarations]: Found specification of procedure foo [2024-11-13 21:29:09,471 INFO L138 BoogieDeclarations]: Found implementation of procedure foo [2024-11-13 21:29:09,471 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2024-11-13 21:29:09,472 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2024-11-13 21:29:09,626 INFO L238 CfgBuilder]: Building ICFG [2024-11-13 21:29:09,630 INFO L264 CfgBuilder]: Building CFG for each procedure with an implementation [2024-11-13 21:29:09,754 INFO L? ?]: Removed 6 outVars from TransFormulas that were not future-live. [2024-11-13 21:29:09,755 INFO L287 CfgBuilder]: Performing block encoding [2024-11-13 21:29:09,793 INFO L311 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2024-11-13 21:29:09,794 INFO L316 CfgBuilder]: Removed 1 assume(true) statements. [2024-11-13 21:29:09,794 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 13.11 09:29:09 BoogieIcfgContainer [2024-11-13 21:29:09,795 INFO L131 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2024-11-13 21:29:09,796 INFO L112 PluginConnector]: ------------------------CodeCheck---------------------------- [2024-11-13 21:29:09,796 INFO L270 PluginConnector]: Initializing CodeCheck... [2024-11-13 21:29:09,810 INFO L274 PluginConnector]: CodeCheck initialized [2024-11-13 21:29:09,810 INFO L184 PluginConnector]: Executing the observer CodeCheckObserver from plugin CodeCheck for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 13.11 09:29:09" (1/1) ... [2024-11-13 21:29:09,821 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-11-13 21:29:09,897 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-13 21:29:09,909 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 19 states to 16 states and 19 transitions. [2024-11-13 21:29:09,910 INFO L276 IsEmpty]: Start isEmpty. Operand 16 states and 19 transitions. [2024-11-13 21:29:09,913 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 8 [2024-11-13 21:29:09,913 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-13 21:29:09,915 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-13 21:29:10,068 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-13 21:29:10,548 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-13 21:29:10,691 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-13 21:29:10,692 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 22 states to 18 states and 21 transitions. [2024-11-13 21:29:10,692 INFO L276 IsEmpty]: Start isEmpty. Operand 18 states and 21 transitions. [2024-11-13 21:29:10,695 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 8 [2024-11-13 21:29:10,695 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-13 21:29:10,695 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-13 21:29:10,728 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-13 21:29:10,904 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-13 21:29:10,940 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-13 21:29:10,940 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 19 states to 15 states and 17 transitions. [2024-11-13 21:29:10,941 INFO L276 IsEmpty]: Start isEmpty. Operand 15 states and 17 transitions. [2024-11-13 21:29:10,941 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 9 [2024-11-13 21:29:10,941 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-13 21:29:10,944 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-13 21:29:10,969 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-13 21:29:11,233 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-13 21:29:11,654 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-13 21:29:11,656 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 32 states to 22 states and 30 transitions. [2024-11-13 21:29:11,656 INFO L276 IsEmpty]: Start isEmpty. Operand 22 states and 30 transitions. [2024-11-13 21:29:11,660 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 9 [2024-11-13 21:29:11,660 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-13 21:29:11,660 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-13 21:29:11,678 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-13 21:29:11,812 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-13 21:29:11,846 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-13 21:29:11,846 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 33 states to 23 states and 31 transitions. [2024-11-13 21:29:11,846 INFO L276 IsEmpty]: Start isEmpty. Operand 23 states and 31 transitions. [2024-11-13 21:29:11,847 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 18 [2024-11-13 21:29:11,847 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-13 21:29:11,849 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-13 21:29:11,877 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-13 21:29:12,054 INFO L134 CoverageAnalysis]: Checked inductivity of 7 backedges. 7 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2024-11-13 21:29:12,153 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-13 21:29:12,153 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 32 states to 23 states and 30 transitions. [2024-11-13 21:29:12,153 INFO L276 IsEmpty]: Start isEmpty. Operand 23 states and 30 transitions. [2024-11-13 21:29:12,154 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 18 [2024-11-13 21:29:12,154 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-13 21:29:12,156 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-13 21:29:12,179 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-13 21:29:12,338 INFO L134 CoverageAnalysis]: Checked inductivity of 6 backedges. 6 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2024-11-13 21:29:12,390 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-13 21:29:12,391 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 20 states to 14 states and 16 transitions. [2024-11-13 21:29:12,391 INFO L276 IsEmpty]: Start isEmpty. Operand 14 states and 16 transitions. [2024-11-13 21:29:12,391 INFO L282 IsEmpty]: Finished isEmpty. No accepting run. [2024-11-13 21:29:12,392 WARN L417 CodeCheckObserver]: This Program is SAFE, Check terminated with 7 iterations. [2024-11-13 21:29:12,409 INFO L729 CodeCheckObserver]: All specifications hold 2 specifications checked. All of them hold [2024-11-13 21:29:12,479 INFO L77 FloydHoareUtils]: At program point $Ultimate##0(lines 548 550) the Hoare annotation is: (let ((.cse0 (select (select |#memory_int| ~x~0.base) ~x~0.offset))) (and (<= .cse0 2147483647) (<= 1 .cse0))) [2024-11-13 21:29:12,482 INFO L75 FloydHoareUtils]: For program point fooErr1ASSERT_VIOLATIONINTEGER_OVERFLOW(line 549) no Hoare annotation was computed. [2024-11-13 21:29:12,482 INFO L77 FloydHoareUtils]: At program point fooEXIT(lines 548 550) the Hoare annotation is: (<= (select (select |#memory_int| ~x~0.base) ~x~0.offset) 2147483647) [2024-11-13 21:29:12,483 INFO L77 FloydHoareUtils]: At program point L549(line 549) the Hoare annotation is: (and (<= |foo_#t~post3| 2147483647) (<= 1 |foo_#t~post3|)) [2024-11-13 21:29:12,483 INFO L75 FloydHoareUtils]: For program point fooErr0ASSERT_VIOLATIONINTEGER_OVERFLOW(line 549) no Hoare annotation was computed. [2024-11-13 21:29:12,483 INFO L77 FloydHoareUtils]: At program point L549-1(line 549) the Hoare annotation is: (<= |foo_#t~post3| 2147483647) [2024-11-13 21:29:12,483 INFO L77 FloydHoareUtils]: At program point ULTIMATE.startEXIT(line -1) the Hoare annotation is: true [2024-11-13 21:29:12,483 INFO L77 FloydHoareUtils]: At program point L558(line 558) the Hoare annotation is: (let ((.cse0 (select (select |#memory_int| ~x~0.base) ~x~0.offset))) (and (<= .cse0 2147483647) (<= 1 .cse0))) [2024-11-13 21:29:12,483 INFO L77 FloydHoareUtils]: At program point L558-1(line 558) the Hoare annotation is: (<= (select (select |#memory_int| ~x~0.base) ~x~0.offset) 2147483647) [2024-11-13 21:29:12,484 INFO L77 FloydHoareUtils]: At program point L556(line 556) the Hoare annotation is: (let ((.cse0 (select (select |#memory_int| ~x~0.base) ~x~0.offset))) (and (<= .cse0 2147483647) (<= 1 .cse0))) [2024-11-13 21:29:12,484 INFO L77 FloydHoareUtils]: At program point L556-1(line 556) the Hoare annotation is: (<= (select (select |#memory_int| ~x~0.base) ~x~0.offset) 2147483647) [2024-11-13 21:29:12,484 INFO L77 FloydHoareUtils]: At program point $Ultimate##0(line -1) the Hoare annotation is: true [2024-11-13 21:29:12,484 INFO L77 FloydHoareUtils]: At program point L554-1(lines 554 560) the Hoare annotation is: (let ((.cse0 (select (select |#memory_int| ~x~0.base) ~x~0.offset))) (and (<= .cse0 2147483647) (<= |ULTIMATE.start_main_#t~mem6#1| .cse0))) [2024-11-13 21:29:12,484 INFO L77 FloydHoareUtils]: At program point L554-3(lines 554 560) the Hoare annotation is: true [2024-11-13 21:29:12,485 INFO L77 FloydHoareUtils]: At program point L555(lines 555 559) the Hoare annotation is: (let ((.cse0 (select (select |#memory_int| ~x~0.base) ~x~0.offset))) (and (<= .cse0 2147483647) (<= 1 .cse0))) [2024-11-13 21:29:12,485 INFO L77 FloydHoareUtils]: At program point L555-2(lines 554 560) the Hoare annotation is: (<= (select (select |#memory_int| ~x~0.base) ~x~0.offset) 2147483647) [2024-11-13 21:29:12,500 WARN L976 BoogieBacktranslator]: Unfinished Backtranslation: Unknown variable: #memory_int [2024-11-13 21:29:12,501 WARN L976 BoogieBacktranslator]: Unfinished Backtranslation: Cannot backtranslate array access to array IdentifierExpression[#memory_int,GLOBAL] [2024-11-13 21:29:12,501 WARN L976 BoogieBacktranslator]: Unfinished Backtranslation: Cannot backtranslate array access to array ArrayAccessExpression[IdentifierExpression[#memory_int,GLOBAL],[IdentifierExpression[~x~0!base,GLOBAL]]] [2024-11-13 21:29:12,517 WARN L976 BoogieBacktranslator]: Unfinished Backtranslation: Unknown variable: #memory_int [2024-11-13 21:29:12,518 WARN L976 BoogieBacktranslator]: Unfinished Backtranslation: Cannot backtranslate array access to array IdentifierExpression[#memory_int,GLOBAL] [2024-11-13 21:29:12,519 WARN L976 BoogieBacktranslator]: Unfinished Backtranslation: Cannot backtranslate array access to array ArrayAccessExpression[IdentifierExpression[#memory_int,GLOBAL],[IdentifierExpression[~x~0!base,GLOBAL]]] [2024-11-13 21:29:12,519 WARN L976 BoogieBacktranslator]: Unfinished Backtranslation: Unknown variable: #memory_int [2024-11-13 21:29:12,519 WARN L976 BoogieBacktranslator]: Unfinished Backtranslation: Cannot backtranslate array access to array IdentifierExpression[#memory_int,GLOBAL] [2024-11-13 21:29:12,519 WARN L976 BoogieBacktranslator]: Unfinished Backtranslation: Cannot backtranslate array access to array ArrayAccessExpression[IdentifierExpression[#memory_int,GLOBAL],[IdentifierExpression[~x~0!base,GLOBAL]]] [2024-11-13 21:29:12,519 WARN L976 BoogieBacktranslator]: Unfinished Backtranslation: Unknown variable: #memory_int [2024-11-13 21:29:12,520 WARN L976 BoogieBacktranslator]: Unfinished Backtranslation: Cannot backtranslate array access to array IdentifierExpression[#memory_int,GLOBAL] [2024-11-13 21:29:12,520 WARN L976 BoogieBacktranslator]: Unfinished Backtranslation: Cannot backtranslate array access to array ArrayAccessExpression[IdentifierExpression[#memory_int,GLOBAL],[IdentifierExpression[~x~0!base,GLOBAL]]] [2024-11-13 21:29:12,525 WARN L976 BoogieBacktranslator]: Unfinished Backtranslation: Unknown variable: ~unnamed0~0~P_ALL [2024-11-13 21:29:12,525 WARN L976 BoogieBacktranslator]: Unfinished Backtranslation: Unknown variable: ~unnamed0~0~P_PID [2024-11-13 21:29:12,525 WARN L976 BoogieBacktranslator]: Unfinished Backtranslation: Unknown variable: ~unnamed0~0~P_PGID [2024-11-13 21:29:12,528 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck CFG 13.11 09:29:12 ImpRootNode [2024-11-13 21:29:12,529 INFO L131 PluginConnector]: ------------------------ END CodeCheck---------------------------- [2024-11-13 21:29:12,530 INFO L112 PluginConnector]: ------------------------Witness Printer---------------------------- [2024-11-13 21:29:12,530 INFO L270 PluginConnector]: Initializing Witness Printer... [2024-11-13 21:29:12,530 INFO L274 PluginConnector]: Witness Printer initialized [2024-11-13 21:29:12,531 INFO L184 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 13.11 09:29:09" (3/4) ... [2024-11-13 21:29:12,534 INFO L142 WitnessPrinter]: Generating witness for correct program [2024-11-13 21:29:12,538 INFO L361 RCFGBacktranslator]: Ignoring RootEdge to procedure foo [2024-11-13 21:29:12,545 INFO L925 BoogieBacktranslator]: Reduced CFG by removing 9 nodes and edges [2024-11-13 21:29:12,545 INFO L925 BoogieBacktranslator]: Reduced CFG by removing 5 nodes and edges [2024-11-13 21:29:12,546 INFO L925 BoogieBacktranslator]: Reduced CFG by removing 3 nodes and edges [2024-11-13 21:29:12,650 INFO L149 WitnessManager]: Wrote witness to /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_4c582428-4966-4841-b5f3-10e17d5ec7d1/bin/ukojak-verify-EEHR8qb7sm/witness.graphml [2024-11-13 21:29:12,651 INFO L149 WitnessManager]: Wrote witness to /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_4c582428-4966-4841-b5f3-10e17d5ec7d1/bin/ukojak-verify-EEHR8qb7sm/witness.yml [2024-11-13 21:29:12,651 INFO L131 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2024-11-13 21:29:12,652 INFO L158 Benchmark]: Toolchain (without parser) took 3941.47ms. Allocated memory is still 142.6MB. Free memory was 118.3MB in the beginning and 104.7MB in the end (delta: 13.6MB). Peak memory consumption was 4.2MB. Max. memory is 16.1GB. [2024-11-13 21:29:12,655 INFO L158 Benchmark]: CDTParser took 0.51ms. Allocated memory is still 142.6MB. Free memory is still 80.9MB. There was no memory consumed. Max. memory is 16.1GB. [2024-11-13 21:29:12,656 INFO L158 Benchmark]: CACSL2BoogieTranslator took 576.49ms. Allocated memory is still 142.6MB. Free memory was 118.1MB in the beginning and 102.3MB in the end (delta: 15.7MB). Peak memory consumption was 16.8MB. Max. memory is 16.1GB. [2024-11-13 21:29:12,656 INFO L158 Benchmark]: Boogie Procedure Inliner took 45.82ms. Allocated memory is still 142.6MB. Free memory was 102.3MB in the beginning and 101.0MB in the end (delta: 1.3MB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-13 21:29:12,657 INFO L158 Benchmark]: Boogie Preprocessor took 42.35ms. Allocated memory is still 142.6MB. Free memory was 101.0MB in the beginning and 100.2MB in the end (delta: 783.2kB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-13 21:29:12,657 INFO L158 Benchmark]: RCFGBuilder took 415.38ms. Allocated memory is still 142.6MB. Free memory was 100.2MB in the beginning and 89.0MB in the end (delta: 11.2MB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-13 21:29:12,657 INFO L158 Benchmark]: CodeCheck took 2733.29ms. Allocated memory is still 142.6MB. Free memory was 89.0MB in the beginning and 108.8MB in the end (delta: -19.7MB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-13 21:29:12,658 INFO L158 Benchmark]: Witness Printer took 121.24ms. Allocated memory is still 142.6MB. Free memory was 108.8MB in the beginning and 104.7MB in the end (delta: 4.0MB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-13 21:29:12,660 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, 16 locations, 2 error locations. Started 1 CEGAR loops. OverallTime: 2.6s, OverallIterations: 7, TraceHistogramMax: 0, PathProgramHistogramMax: 0, EmptinessCheckTime: 0.0s, AutomataDifference: 0.0s, DeadEndRemovalTime: 0.0s, HoareAnnotationTime: 0.0s, InitialAbstractionConstructionTime: 0.0s, HoareTripleCheckerStatistics: 0 mSolverCounterUnknown, 175 SdHoareTripleChecker+Valid, 0.9s IncrementalHoareTripleChecker+Time, 0 mSdLazyCounter, 110 mSDsluCounter, 180 SdHoareTripleChecker+Invalid, 0.7s Time, 0 mProtectedAction, 0 SdHoareTripleChecker+Unchecked, 0 IncrementalHoareTripleChecker+Unchecked, 86 mSDsCounter, 64 IncrementalHoareTripleChecker+Valid, 0 mProtectedPredicate, 290 IncrementalHoareTripleChecker+Invalid, 354 SdHoareTripleChecker+Unknown, 0 mSolverCounterNotChecked, 64 mSolverCounterUnsat, 94 mSDtfsCounter, 290 mSolverCounterSat, 0.0s SdHoareTripleChecker+Time, 0 IncrementalHoareTripleChecker+Unknown, PredicateUnifierStatistics: 0 DeclaredPredicates, 554 GetRequests, 511 SyntacticMatches, 25 SemanticMatches, 18 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 51 ImplicationChecksByTransitivity, 0.5s Time, 0.0s BasicInterpolantAutomatonTime, BiggestAbstraction: size=-1occurred in iteration=-1, InterpolantAutomatonStates: 0, traceCheckStatistics: 0.0s SsaConstructionTime, 0.1s SatisfiabilityAnalysisTime, 1.4s InterpolantComputationTime, 64 NumberOfCodeBlocks, 64 NumberOfCodeBlocksAsserted, 6 NumberOfCheckSat, 58 ConstructedInterpolants, 0 QuantifiedInterpolants, 270 SizeOfPredicates, 0 NumberOfNonLiveVariables, 0 ConjunctsInSsa, 0 ConjunctsInUnsatCore, 6 InterpolantComputations, 6 PerfectInterpolantSequences, 13/13 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 - PositiveResult [Line: 549]: integer overflow can never occur For all program executions holds that integer overflow can never occur at this location - PositiveResult [Line: 549]: integer overflow can never occur For all program executions holds that integer overflow can never occur at this location - AllSpecificationsHoldResult: All specifications hold 2 specifications checked. All of them hold - ProcedureContractResult [Line: 548]: Procedure Contract for foo Derived contract for procedure foo. Ensures: (x == \old(x)) * Results from de.uni_freiburg.informatik.ultimate.core: - StatisticsResult: Toolchain Benchmarks Benchmark results are: * CDTParser took 0.51ms. Allocated memory is still 142.6MB. Free memory is still 80.9MB. There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 576.49ms. Allocated memory is still 142.6MB. Free memory was 118.1MB in the beginning and 102.3MB in the end (delta: 15.7MB). Peak memory consumption was 16.8MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 45.82ms. Allocated memory is still 142.6MB. Free memory was 102.3MB in the beginning and 101.0MB in the end (delta: 1.3MB). There was no memory consumed. Max. memory is 16.1GB. * Boogie Preprocessor took 42.35ms. Allocated memory is still 142.6MB. Free memory was 101.0MB in the beginning and 100.2MB in the end (delta: 783.2kB). There was no memory consumed. Max. memory is 16.1GB. * RCFGBuilder took 415.38ms. Allocated memory is still 142.6MB. Free memory was 100.2MB in the beginning and 89.0MB in the end (delta: 11.2MB). There was no memory consumed. Max. memory is 16.1GB. * CodeCheck took 2733.29ms. Allocated memory is still 142.6MB. Free memory was 89.0MB in the beginning and 108.8MB in the end (delta: -19.7MB). There was no memory consumed. Max. memory is 16.1GB. * Witness Printer took 121.24ms. Allocated memory is still 142.6MB. Free memory was 108.8MB in the beginning and 104.7MB in the end (delta: 4.0MB). There was no memory consumed. Max. memory is 16.1GB. * Results from de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator: - GenericResult: Unfinished Backtranslation Unfinished Backtranslation: Unknown variable: #memory_int - GenericResult: Unfinished Backtranslation Unfinished Backtranslation: Cannot backtranslate array access to array IdentifierExpression[#memory_int,GLOBAL] - GenericResult: Unfinished Backtranslation Unfinished Backtranslation: Cannot backtranslate array access to array ArrayAccessExpression[IdentifierExpression[#memory_int,GLOBAL],[IdentifierExpression[~x~0!base,GLOBAL]]] - GenericResult: Unfinished Backtranslation Unfinished Backtranslation: Unknown variable: #memory_int - GenericResult: Unfinished Backtranslation Unfinished Backtranslation: Cannot backtranslate array access to array IdentifierExpression[#memory_int,GLOBAL] - GenericResult: Unfinished Backtranslation Unfinished Backtranslation: Cannot backtranslate array access to array ArrayAccessExpression[IdentifierExpression[#memory_int,GLOBAL],[IdentifierExpression[~x~0!base,GLOBAL]]] - GenericResult: Unfinished Backtranslation Unfinished Backtranslation: Unknown variable: #memory_int - GenericResult: Unfinished Backtranslation Unfinished Backtranslation: Cannot backtranslate array access to array IdentifierExpression[#memory_int,GLOBAL] - GenericResult: Unfinished Backtranslation Unfinished Backtranslation: Cannot backtranslate array access to array ArrayAccessExpression[IdentifierExpression[#memory_int,GLOBAL],[IdentifierExpression[~x~0!base,GLOBAL]]] - GenericResult: Unfinished Backtranslation Unfinished Backtranslation: Unknown variable: #memory_int - GenericResult: Unfinished Backtranslation Unfinished Backtranslation: Cannot backtranslate array access to array IdentifierExpression[#memory_int,GLOBAL] - GenericResult: Unfinished Backtranslation Unfinished Backtranslation: Cannot backtranslate array access to array ArrayAccessExpression[IdentifierExpression[#memory_int,GLOBAL],[IdentifierExpression[~x~0!base,GLOBAL]]] - GenericResult: Unfinished Backtranslation Unfinished Backtranslation: Unknown variable: ~unnamed0~0~P_ALL - GenericResult: Unfinished Backtranslation Unfinished Backtranslation: Unknown variable: ~unnamed0~0~P_PID - GenericResult: Unfinished Backtranslation Unfinished Backtranslation: Unknown variable: ~unnamed0~0~P_PGID RESULT: Ultimate proved your program to be correct! [2024-11-13 21:29:12,700 INFO L540 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_4c582428-4966-4841-b5f3-10e17d5ec7d1/bin/ukojak-verify-EEHR8qb7sm/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: TRUE