./Ultimate.py --spec ../../sv-benchmarks/c/properties/unreach-call.prp --file ../../sv-benchmarks/c/reducercommutativity/rangesum05.i --full-output --architecture 32bit -------------------------------------------------------------------------------- Checking for ERROR reachability Using default analysis Version 826ab2ba Calling Ultimate with: /usr/bin/java -Dosgi.configuration.area=/tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_c5ddc87c-a38e-4dd2-8285-f8c27161709b/bin/ukojak-verify-EEHR8qb7sm/data/config -Xmx15G -Xms4m -jar /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_c5ddc87c-a38e-4dd2-8285-f8c27161709b/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_c5ddc87c-a38e-4dd2-8285-f8c27161709b/bin/ukojak-verify-EEHR8qb7sm/data -tc /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_c5ddc87c-a38e-4dd2-8285-f8c27161709b/bin/ukojak-verify-EEHR8qb7sm/config/KojakReach.xml -i ../../sv-benchmarks/c/reducercommutativity/rangesum05.i -s /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_c5ddc87c-a38e-4dd2-8285-f8c27161709b/bin/ukojak-verify-EEHR8qb7sm/config/svcomp-Reach-32bit-Kojak_Default.epf --cacsl2boogietranslator.entry.function main --witnessprinter.witness.directory /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_c5ddc87c-a38e-4dd2-8285-f8c27161709b/bin/ukojak-verify-EEHR8qb7sm --witnessprinter.witness.filename witness --witnessprinter.write.witness.besides.input.file false --witnessprinter.graph.data.specification CHECK( init(main()), LTL(G ! call(reach_error())) ) --witnessprinter.graph.data.producer Kojak --witnessprinter.graph.data.architecture 32bit --witnessprinter.graph.data.programhash aee69f990ab81a58f1fe8cd275c8a09f43ca6a442f73810f885d3d0c9a85d2b3 --- Real Ultimate output --- This is Ultimate 0.3.0-dev-826ab2b [2024-11-13 21:58:14,220 INFO L188 SettingsManager]: Resetting all preferences to default values... [2024-11-13 21:58:14,317 INFO L114 SettingsManager]: Loading settings from /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_c5ddc87c-a38e-4dd2-8285-f8c27161709b/bin/ukojak-verify-EEHR8qb7sm/config/svcomp-Reach-32bit-Kojak_Default.epf [2024-11-13 21:58:14,322 WARN L101 SettingsManager]: Preference file contains the following unknown settings: [2024-11-13 21:58:14,322 WARN L103 SettingsManager]: * de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck.Interpolating solver [2024-11-13 21:58:14,358 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2024-11-13 21:58:14,359 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2024-11-13 21:58:14,359 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ALWAYS [2024-11-13 21:58:14,360 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2024-11-13 21:58:14,360 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2024-11-13 21:58:14,360 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2024-11-13 21:58:14,361 INFO L153 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2024-11-13 21:58:14,361 INFO L153 SettingsManager]: * sizeof long=4 [2024-11-13 21:58:14,361 INFO L153 SettingsManager]: * Overapproximate operations on floating types=true [2024-11-13 21:58:14,362 INFO L153 SettingsManager]: * sizeof POINTER=4 [2024-11-13 21:58:14,362 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2024-11-13 21:58:14,363 INFO L153 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2024-11-13 21:58:14,363 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2024-11-13 21:58:14,363 INFO L153 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2024-11-13 21:58:14,363 INFO L153 SettingsManager]: * Allow undefined functions=false [2024-11-13 21:58:14,363 INFO L153 SettingsManager]: * sizeof long double=12 [2024-11-13 21:58:14,363 INFO L153 SettingsManager]: * Check if freed pointer was valid=false [2024-11-13 21:58:14,363 INFO L153 SettingsManager]: * Use constant arrays=true [2024-11-13 21:58:14,363 INFO L151 SettingsManager]: Preferences of CodeCheck differ from their defaults: [2024-11-13 21:58:14,364 INFO L153 SettingsManager]: * Timeout in seconds=1000000 [2024-11-13 21:58:14,364 INFO L153 SettingsManager]: * Theory for external solver=ALL [2024-11-13 21:58:14,364 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2024-11-13 21:58:14,364 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2024-11-13 21:58:14,364 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2024-11-13 21:58:14,364 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2024-11-13 21:58:14,364 INFO L153 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopHeads [2024-11-13 21:58:14,365 INFO L153 SettingsManager]: * Trace refinement strategy=PENGUIN [2024-11-13 21:58:14,365 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2024-11-13 21:58:14,365 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_c5ddc87c-a38e-4dd2-8285-f8c27161709b/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 ! call(reach_error())) ) 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 -> 32bit Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data programhash -> aee69f990ab81a58f1fe8cd275c8a09f43ca6a442f73810f885d3d0c9a85d2b3 [2024-11-13 21:58:14,672 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2024-11-13 21:58:14,682 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2024-11-13 21:58:14,684 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2024-11-13 21:58:14,687 INFO L270 PluginConnector]: Initializing CDTParser... [2024-11-13 21:58:14,687 INFO L274 PluginConnector]: CDTParser initialized [2024-11-13 21:58:14,689 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_c5ddc87c-a38e-4dd2-8285-f8c27161709b/bin/ukojak-verify-EEHR8qb7sm/../../sv-benchmarks/c/reducercommutativity/rangesum05.i Unable to find full path for "g++" [2024-11-13 21:58:16,835 INFO L533 CDTParser]: Created temporary CDT project at NULL [2024-11-13 21:58:17,099 INFO L384 CDTParser]: Found 1 translation units. [2024-11-13 21:58:17,099 INFO L180 CDTParser]: Scanning /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_c5ddc87c-a38e-4dd2-8285-f8c27161709b/sv-benchmarks/c/reducercommutativity/rangesum05.i [2024-11-13 21:58:17,106 INFO L427 CDTParser]: About to delete temporary CDT project at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_c5ddc87c-a38e-4dd2-8285-f8c27161709b/bin/ukojak-verify-EEHR8qb7sm/data/0038e7825/50f20be2beac48338b2983ddc0fbd6d1/FLAG815ad0d25 [2024-11-13 21:58:17,128 INFO L435 CDTParser]: Successfully deleted /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_c5ddc87c-a38e-4dd2-8285-f8c27161709b/bin/ukojak-verify-EEHR8qb7sm/data/0038e7825/50f20be2beac48338b2983ddc0fbd6d1 [2024-11-13 21:58:17,131 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2024-11-13 21:58:17,136 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2024-11-13 21:58:17,138 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2024-11-13 21:58:17,139 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2024-11-13 21:58:17,144 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2024-11-13 21:58:17,145 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 13.11 09:58:17" (1/1) ... [2024-11-13 21:58:17,149 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@5e98979b and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 09:58:17, skipping insertion in model container [2024-11-13 21:58:17,149 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 13.11 09:58:17" (1/1) ... [2024-11-13 21:58:17,166 INFO L175 MainTranslator]: Built tables and reachable declarations [2024-11-13 21:58:17,368 WARN L250 ndardFunctionHandler]: Function reach_error is already implemented but we override the implementation for the call at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_c5ddc87c-a38e-4dd2-8285-f8c27161709b/sv-benchmarks/c/reducercommutativity/rangesum05.i[1457,1470] [2024-11-13 21:58:17,372 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-13 21:58:17,381 INFO L200 MainTranslator]: Completed pre-run [2024-11-13 21:58:17,412 WARN L250 ndardFunctionHandler]: Function reach_error is already implemented but we override the implementation for the call at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_c5ddc87c-a38e-4dd2-8285-f8c27161709b/sv-benchmarks/c/reducercommutativity/rangesum05.i[1457,1470] [2024-11-13 21:58:17,413 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-13 21:58:17,433 INFO L204 MainTranslator]: Completed translation [2024-11-13 21:58:17,434 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 09:58:17 WrapperNode [2024-11-13 21:58:17,434 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2024-11-13 21:58:17,435 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2024-11-13 21:58:17,435 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2024-11-13 21:58:17,435 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2024-11-13 21:58:17,443 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:58:17" (1/1) ... [2024-11-13 21:58:17,455 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:58:17" (1/1) ... [2024-11-13 21:58:17,482 INFO L138 Inliner]: procedures = 17, calls = 23, calls flagged for inlining = 3, calls inlined = 3, statements flattened = 69 [2024-11-13 21:58:17,483 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2024-11-13 21:58:17,484 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2024-11-13 21:58:17,484 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2024-11-13 21:58:17,484 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2024-11-13 21:58:17,492 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 09:58:17" (1/1) ... [2024-11-13 21:58:17,493 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 09:58:17" (1/1) ... [2024-11-13 21:58:17,496 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 09:58:17" (1/1) ... [2024-11-13 21:58:17,497 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 09:58:17" (1/1) ... [2024-11-13 21:58:17,503 INFO L184 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 09:58:17" (1/1) ... [2024-11-13 21:58:17,506 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 09:58:17" (1/1) ... [2024-11-13 21:58:17,508 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 09:58:17" (1/1) ... [2024-11-13 21:58:17,508 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 09:58:17" (1/1) ... [2024-11-13 21:58:17,510 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2024-11-13 21:58:17,511 INFO L112 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2024-11-13 21:58:17,511 INFO L270 PluginConnector]: Initializing RCFGBuilder... [2024-11-13 21:58:17,511 INFO L274 PluginConnector]: RCFGBuilder initialized [2024-11-13 21:58:17,512 INFO L184 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 09:58:17" (1/1) ... [2024-11-13 21:58:17,519 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2024-11-13 21:58:17,533 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_c5ddc87c-a38e-4dd2-8285-f8c27161709b/bin/ukojak-verify-EEHR8qb7sm/z3 [2024-11-13 21:58:17,547 INFO L229 MonitoredProcess]: Starting monitored process 1 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_c5ddc87c-a38e-4dd2-8285-f8c27161709b/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:58:17,551 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_c5ddc87c-a38e-4dd2-8285-f8c27161709b/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:58:17,582 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2024-11-13 21:58:17,582 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int [2024-11-13 21:58:17,583 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnStack [2024-11-13 21:58:17,583 INFO L130 BoogieDeclarations]: Found specification of procedure write~int [2024-11-13 21:58:17,583 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2024-11-13 21:58:17,583 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2024-11-13 21:58:17,583 INFO L130 BoogieDeclarations]: Found specification of procedure read~int [2024-11-13 21:58:17,583 INFO L130 BoogieDeclarations]: Found specification of procedure rangesum [2024-11-13 21:58:17,583 INFO L138 BoogieDeclarations]: Found implementation of procedure rangesum [2024-11-13 21:58:17,584 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.dealloc [2024-11-13 21:58:17,682 INFO L238 CfgBuilder]: Building ICFG [2024-11-13 21:58:17,684 INFO L264 CfgBuilder]: Building CFG for each procedure with an implementation [2024-11-13 21:58:17,967 INFO L? ?]: Removed 18 outVars from TransFormulas that were not future-live. [2024-11-13 21:58:17,967 INFO L287 CfgBuilder]: Performing block encoding [2024-11-13 21:58:18,085 INFO L311 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2024-11-13 21:58:18,086 INFO L316 CfgBuilder]: Removed 3 assume(true) statements. [2024-11-13 21:58:18,086 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 13.11 09:58:18 BoogieIcfgContainer [2024-11-13 21:58:18,086 INFO L131 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2024-11-13 21:58:18,087 INFO L112 PluginConnector]: ------------------------CodeCheck---------------------------- [2024-11-13 21:58:18,087 INFO L270 PluginConnector]: Initializing CodeCheck... [2024-11-13 21:58:18,102 INFO L274 PluginConnector]: CodeCheck initialized [2024-11-13 21:58:18,102 INFO L184 PluginConnector]: Executing the observer CodeCheckObserver from plugin CodeCheck for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 13.11 09:58:18" (1/1) ... [2024-11-13 21:58:18,114 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-11-13 21:58:18,175 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-13 21:58:18,188 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 22 states to 17 states and 22 transitions. [2024-11-13 21:58:18,188 INFO L276 IsEmpty]: Start isEmpty. Operand 17 states and 22 transitions. [2024-11-13 21:58:18,194 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 21 [2024-11-13 21:58:18,194 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-13 21:58:18,195 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-13 21:58:18,303 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-13 21:58:18,525 INFO L134 CoverageAnalysis]: Checked inductivity of 9 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 9 trivial. 0 not checked. [2024-11-13 21:58:18,599 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-13 21:58:18,599 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 23 states to 18 states and 23 transitions. [2024-11-13 21:58:18,599 INFO L276 IsEmpty]: Start isEmpty. Operand 18 states and 23 transitions. [2024-11-13 21:58:18,600 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 22 [2024-11-13 21:58:18,602 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-13 21:58:18,602 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-13 21:58:18,633 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-13 21:58:18,806 INFO L134 CoverageAnalysis]: Checked inductivity of 10 backedges. 0 proven. 1 refuted. 0 times theorem prover too weak. 9 trivial. 0 not checked. [2024-11-13 21:58:18,878 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-13 21:58:18,879 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 25 states to 19 states and 25 transitions. [2024-11-13 21:58:18,880 INFO L276 IsEmpty]: Start isEmpty. Operand 19 states and 25 transitions. [2024-11-13 21:58:18,881 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 23 [2024-11-13 21:58:18,881 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-13 21:58:18,881 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-13 21:58:18,910 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-13 21:58:19,010 INFO L134 CoverageAnalysis]: Checked inductivity of 12 backedges. 0 proven. 4 refuted. 0 times theorem prover too weak. 8 trivial. 0 not checked. [2024-11-13 21:58:19,044 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-13 21:58:19,044 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 27 states to 20 states and 27 transitions. [2024-11-13 21:58:19,044 INFO L276 IsEmpty]: Start isEmpty. Operand 20 states and 27 transitions. [2024-11-13 21:58:19,045 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 26 [2024-11-13 21:58:19,045 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-13 21:58:19,045 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-13 21:58:19,076 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-13 21:58:19,217 INFO L134 CoverageAnalysis]: Checked inductivity of 24 backedges. 0 proven. 11 refuted. 0 times theorem prover too weak. 13 trivial. 0 not checked. [2024-11-13 21:58:19,298 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-13 21:58:19,299 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 29 states to 21 states and 29 transitions. [2024-11-13 21:58:19,300 INFO L276 IsEmpty]: Start isEmpty. Operand 21 states and 29 transitions. [2024-11-13 21:58:19,301 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 29 [2024-11-13 21:58:19,301 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-13 21:58:19,301 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-13 21:58:19,337 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-13 21:58:19,421 INFO L134 CoverageAnalysis]: Checked inductivity of 45 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 45 trivial. 0 not checked. [2024-11-13 21:58:19,470 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-13 21:58:19,471 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 31 states to 22 states and 31 transitions. [2024-11-13 21:58:19,471 INFO L276 IsEmpty]: Start isEmpty. Operand 22 states and 31 transitions. [2024-11-13 21:58:19,473 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 30 [2024-11-13 21:58:19,473 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-13 21:58:19,473 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-13 21:58:19,530 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-13 21:58:19,713 INFO L134 CoverageAnalysis]: Checked inductivity of 46 backedges. 0 proven. 1 refuted. 0 times theorem prover too weak. 45 trivial. 0 not checked. [2024-11-13 21:58:19,824 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-13 21:58:19,825 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 33 states to 23 states and 33 transitions. [2024-11-13 21:58:19,825 INFO L276 IsEmpty]: Start isEmpty. Operand 23 states and 33 transitions. [2024-11-13 21:58:19,825 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 31 [2024-11-13 21:58:19,825 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-13 21:58:19,826 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-13 21:58:19,886 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-13 21:58:20,086 INFO L134 CoverageAnalysis]: Checked inductivity of 48 backedges. 0 proven. 3 refuted. 0 times theorem prover too weak. 45 trivial. 0 not checked. [2024-11-13 21:58:20,188 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-13 21:58:20,189 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 34 states to 24 states and 34 transitions. [2024-11-13 21:58:20,190 INFO L276 IsEmpty]: Start isEmpty. Operand 24 states and 34 transitions. [2024-11-13 21:58:20,191 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 32 [2024-11-13 21:58:20,191 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-13 21:58:20,191 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-13 21:58:20,254 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-13 21:58:20,409 INFO L134 CoverageAnalysis]: Checked inductivity of 51 backedges. 0 proven. 6 refuted. 0 times theorem prover too weak. 45 trivial. 0 not checked. [2024-11-13 21:58:20,521 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-13 21:58:20,522 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 35 states to 25 states and 35 transitions. [2024-11-13 21:58:20,522 INFO L276 IsEmpty]: Start isEmpty. Operand 25 states and 35 transitions. [2024-11-13 21:58:20,522 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 33 [2024-11-13 21:58:20,522 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-13 21:58:20,523 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-13 21:58:20,568 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-13 21:58:20,768 INFO L134 CoverageAnalysis]: Checked inductivity of 55 backedges. 0 proven. 10 refuted. 0 times theorem prover too weak. 45 trivial. 0 not checked. [2024-11-13 21:58:20,879 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-13 21:58:20,879 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 35 states to 26 states and 35 transitions. [2024-11-13 21:58:20,879 INFO L276 IsEmpty]: Start isEmpty. Operand 26 states and 35 transitions. [2024-11-13 21:58:20,880 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 34 [2024-11-13 21:58:20,880 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-13 21:58:20,880 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-13 21:58:20,950 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-13 21:58:21,107 INFO L134 CoverageAnalysis]: Checked inductivity of 60 backedges. 0 proven. 23 refuted. 0 times theorem prover too weak. 37 trivial. 0 not checked. [2024-11-13 21:58:21,229 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-13 21:58:21,229 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 36 states to 27 states and 36 transitions. [2024-11-13 21:58:21,230 INFO L276 IsEmpty]: Start isEmpty. Operand 27 states and 36 transitions. [2024-11-13 21:58:21,230 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 37 [2024-11-13 21:58:21,230 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-13 21:58:21,230 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-13 21:58:21,284 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-13 21:58:21,476 INFO L134 CoverageAnalysis]: Checked inductivity of 90 backedges. 0 proven. 40 refuted. 0 times theorem prover too weak. 50 trivial. 0 not checked. [2024-11-13 21:58:21,599 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-13 21:58:21,600 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 37 states to 28 states and 37 transitions. [2024-11-13 21:58:21,600 INFO L276 IsEmpty]: Start isEmpty. Operand 28 states and 37 transitions. [2024-11-13 21:58:21,601 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 40 [2024-11-13 21:58:21,601 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-13 21:58:21,601 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-13 21:58:21,657 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-13 21:58:21,891 INFO L134 CoverageAnalysis]: Checked inductivity of 129 backedges. 0 proven. 62 refuted. 0 times theorem prover too weak. 67 trivial. 0 not checked. [2024-11-13 21:58:22,024 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-13 21:58:22,025 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 37 states to 29 states and 37 transitions. [2024-11-13 21:58:22,025 INFO L276 IsEmpty]: Start isEmpty. Operand 29 states and 37 transitions. [2024-11-13 21:58:22,026 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 43 [2024-11-13 21:58:22,028 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-13 21:58:22,028 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-13 21:58:22,082 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-13 21:58:22,235 INFO L134 CoverageAnalysis]: Checked inductivity of 177 backedges. 0 proven. 3 refuted. 0 times theorem prover too weak. 174 trivial. 0 not checked. [2024-11-13 21:58:22,372 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-13 21:58:22,373 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 38 states to 30 states and 38 transitions. [2024-11-13 21:58:22,373 INFO L276 IsEmpty]: Start isEmpty. Operand 30 states and 38 transitions. [2024-11-13 21:58:22,373 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 44 [2024-11-13 21:58:22,373 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-13 21:58:22,374 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-13 21:58:22,415 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-13 21:58:22,586 INFO L134 CoverageAnalysis]: Checked inductivity of 180 backedges. 0 proven. 6 refuted. 0 times theorem prover too weak. 174 trivial. 0 not checked. [2024-11-13 21:58:22,725 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-13 21:58:22,726 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 38 states to 31 states and 38 transitions. [2024-11-13 21:58:22,726 INFO L276 IsEmpty]: Start isEmpty. Operand 31 states and 38 transitions. [2024-11-13 21:58:22,727 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 45 [2024-11-13 21:58:22,727 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-13 21:58:22,727 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-13 21:58:23,122 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unknown [2024-11-13 21:58:23,371 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-13 21:58:23,371 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-11-13 21:58:23,511 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-13 21:58:23,594 WARN L473 CodeCheckObserver]: This program is UNSAFE, Check terminated with 15 iterations. [2024-11-13 21:58:23,666 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck CFG 13.11 09:58:23 ImpRootNode [2024-11-13 21:58:23,666 INFO L131 PluginConnector]: ------------------------ END CodeCheck---------------------------- [2024-11-13 21:58:23,667 INFO L112 PluginConnector]: ------------------------Witness Printer---------------------------- [2024-11-13 21:58:23,667 INFO L270 PluginConnector]: Initializing Witness Printer... [2024-11-13 21:58:23,667 INFO L274 PluginConnector]: Witness Printer initialized [2024-11-13 21:58:23,671 INFO L184 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 13.11 09:58:18" (3/4) ... [2024-11-13 21:58:23,672 INFO L136 WitnessPrinter]: Generating witness for reachability counterexample [2024-11-13 21:58:23,752 INFO L149 WitnessManager]: Wrote witness to /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_c5ddc87c-a38e-4dd2-8285-f8c27161709b/bin/ukojak-verify-EEHR8qb7sm/witness.graphml [2024-11-13 21:58:23,752 INFO L131 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2024-11-13 21:58:23,753 INFO L158 Benchmark]: Toolchain (without parser) took 6617.25ms. Allocated memory was 109.1MB in the beginning and 151.0MB in the end (delta: 41.9MB). Free memory was 83.3MB in the beginning and 67.7MB in the end (delta: 15.6MB). Peak memory consumption was 55.8MB. Max. memory is 16.1GB. [2024-11-13 21:58:23,753 INFO L158 Benchmark]: CDTParser took 0.30ms. Allocated memory is still 83.9MB. Free memory is still 41.6MB. There was no memory consumed. Max. memory is 16.1GB. [2024-11-13 21:58:23,756 INFO L158 Benchmark]: CACSL2BoogieTranslator took 296.98ms. Allocated memory is still 109.1MB. Free memory was 83.3MB in the beginning and 72.1MB in the end (delta: 11.2MB). Peak memory consumption was 8.4MB. Max. memory is 16.1GB. [2024-11-13 21:58:23,757 INFO L158 Benchmark]: Boogie Procedure Inliner took 48.37ms. Allocated memory is still 109.1MB. Free memory was 72.1MB in the beginning and 70.7MB in the end (delta: 1.4MB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-13 21:58:23,759 INFO L158 Benchmark]: Boogie Preprocessor took 26.49ms. Allocated memory is still 109.1MB. Free memory was 70.7MB in the beginning and 69.6MB in the end (delta: 1.1MB). Peak memory consumption was 8.4MB. Max. memory is 16.1GB. [2024-11-13 21:58:23,759 INFO L158 Benchmark]: RCFGBuilder took 575.09ms. Allocated memory is still 109.1MB. Free memory was 69.6MB in the beginning and 55.1MB in the end (delta: 14.6MB). Peak memory consumption was 8.4MB. Max. memory is 16.1GB. [2024-11-13 21:58:23,759 INFO L158 Benchmark]: CodeCheck took 5579.18ms. Allocated memory was 109.1MB in the beginning and 151.0MB in the end (delta: 41.9MB). Free memory was 55.1MB in the beginning and 72.2MB in the end (delta: -17.1MB). Peak memory consumption was 30.6MB. Max. memory is 16.1GB. [2024-11-13 21:58:23,760 INFO L158 Benchmark]: Witness Printer took 85.52ms. Allocated memory is still 151.0MB. Free memory was 72.2MB in the beginning and 67.7MB in the end (delta: 4.5MB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-13 21:58:23,761 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, 17 locations, 1 error locations. Started 1 CEGAR loops. OverallTime: 5.5s, OverallIterations: 15, TraceHistogramMax: 0, PathProgramHistogramMax: 0, EmptinessCheckTime: 0.0s, AutomataDifference: 0.0s, DeadEndRemovalTime: 0.0s, HoareAnnotationTime: 0.0s, InitialAbstractionConstructionTime: 0.0s, HoareTripleCheckerStatistics: 0 mSolverCounterUnknown, 572 SdHoareTripleChecker+Valid, 2.0s IncrementalHoareTripleChecker+Time, 0 mSdLazyCounter, 0 mSDsluCounter, 196 SdHoareTripleChecker+Invalid, 1.7s Time, 0 mProtectedAction, 0 SdHoareTripleChecker+Unchecked, 0 IncrementalHoareTripleChecker+Unchecked, 0 mSDsCounter, 394 IncrementalHoareTripleChecker+Valid, 0 mProtectedPredicate, 554 IncrementalHoareTripleChecker+Invalid, 948 SdHoareTripleChecker+Unknown, 0 mSolverCounterNotChecked, 394 mSolverCounterUnsat, 196 mSDtfsCounter, 554 mSolverCounterSat, 0.0s SdHoareTripleChecker+Time, 0 IncrementalHoareTripleChecker+Unknown, PredicateUnifierStatistics: 0 DeclaredPredicates, 2232 GetRequests, 2167 SyntacticMatches, 15 SemanticMatches, 50 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 823 ImplicationChecksByTransitivity, 1.3s Time, 0.0s BasicInterpolantAutomatonTime, BiggestAbstraction: size=-1occurred in iteration=-1, InterpolantAutomatonStates: 0, traceCheckStatistics: 0.1s SsaConstructionTime, 0.5s SatisfiabilityAnalysisTime, 2.3s InterpolantComputationTime, 475 NumberOfCodeBlocks, 475 NumberOfCodeBlocksAsserted, 15 NumberOfCheckSat, 417 ConstructedInterpolants, 0 QuantifiedInterpolants, 497 SizeOfPredicates, 0 NumberOfNonLiveVariables, 0 ConjunctsInSsa, 0 ConjunctsInUnsatCore, 14 InterpolantComputations, 2 PerfectInterpolantSequences, 766/936 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 - CounterExampleResult [Line: 61]: a call to reach_error is reachable a call to reach_error is reachable We found a FailurePath: [L42] int x[5]; [L43] CALL init_nondet(x) [L16] int i; [L17] i = 0 VAL [i=0, x={4:0}] [L17] COND TRUE i < 5 [L18] x[i] = __VERIFIER_nondet_int() [L17] i++ VAL [i=1, x={4:0}] [L17] COND TRUE i < 5 [L18] x[i] = __VERIFIER_nondet_int() [L17] i++ VAL [i=2, x={4:0}] [L17] COND TRUE i < 5 [L18] x[i] = __VERIFIER_nondet_int() [L17] i++ VAL [i=3, x={4:0}] [L17] COND TRUE i < 5 [L18] x[i] = __VERIFIER_nondet_int() [L17] i++ VAL [i=4, x={4:0}] [L17] COND TRUE i < 5 [L18] x[i] = __VERIFIER_nondet_int() [L17] i++ VAL [i=5, x={4:0}] [L17] COND FALSE !(i < 5) [L43] RET init_nondet(x) [L44] int temp; [L45] int ret; [L46] int ret2; [L47] int ret5; VAL [x={4:0}] [L49] CALL, EXPR rangesum(x) VAL [\old(x)={4:0}] [L24] int i; [L25] long long ret; [L26] ret = 0 [L27] int cnt = 0; [L28] i = 0 VAL [\old(x)={4:0}, cnt=0, i=0, ret=0, x={4:0}] [L28] COND TRUE i < 5 [L29] COND FALSE !(i > 5/2) [L28] i++ VAL [\old(x)={4:0}, cnt=0, i=1, ret=0, x={4:0}] [L28] COND TRUE i < 5 [L29] COND FALSE !(i > 5/2) [L28] i++ VAL [\old(x)={4:0}, cnt=0, i=2, ret=0, x={4:0}] [L28] COND TRUE i < 5 [L29] COND FALSE !(i > 5/2) [L28] i++ VAL [\old(x)={4:0}, cnt=0, i=3, ret=0, x={4:0}] [L28] COND TRUE i < 5 [L29] COND TRUE i > 5/2 [L30] EXPR x[i] [L30] ret = ret + x[i] [L31] cnt = cnt + 1 [L28] i++ VAL [\old(x)={4:0}, cnt=1, i=4, ret=2, x={4:0}] [L28] COND TRUE i < 5 [L29] COND TRUE i > 5/2 [L30] EXPR x[i] [L30] ret = ret + x[i] [L31] cnt = cnt + 1 [L28] i++ VAL [\old(x)={4:0}, cnt=2, i=5, ret=1, x={4:0}] [L28] COND FALSE !(i < 5) [L34] COND TRUE cnt !=0 [L35] return ret / cnt; [L49] RET, EXPR rangesum(x) VAL [x={4:0}] [L49] ret = rangesum(x) [L51] EXPR x[0] [L51] temp=x[0] [L51] EXPR x[1] [L51] x[0] = x[1] [L51] x[1] = temp VAL [ret=0, x={4:0}] [L52] CALL, EXPR rangesum(x) VAL [\old(x)={4:0}] [L24] int i; [L25] long long ret; [L26] ret = 0 [L27] int cnt = 0; [L28] i = 0 VAL [\old(x)={4:0}, cnt=0, i=0, ret=0, x={4:0}] [L28] COND TRUE i < 5 [L29] COND FALSE !(i > 5/2) [L28] i++ VAL [\old(x)={4:0}, cnt=0, i=1, ret=0, x={4:0}] [L28] COND TRUE i < 5 [L29] COND FALSE !(i > 5/2) [L28] i++ VAL [\old(x)={4:0}, cnt=0, i=2, ret=0, x={4:0}] [L28] COND TRUE i < 5 [L29] COND FALSE !(i > 5/2) [L28] i++ VAL [\old(x)={4:0}, cnt=0, i=3, ret=0, x={4:0}] [L28] COND TRUE i < 5 [L29] COND TRUE i > 5/2 [L30] EXPR x[i] [L30] ret = ret + x[i] [L31] cnt = cnt + 1 [L28] i++ VAL [\old(x)={4:0}, cnt=1, i=4, ret=2, x={4:0}] [L28] COND TRUE i < 5 [L29] COND TRUE i > 5/2 [L30] EXPR x[i] [L30] ret = ret + x[i] [L31] cnt = cnt + 1 [L28] i++ VAL [\old(x)={4:0}, cnt=2, i=5, ret=1, x={4:0}] [L28] COND FALSE !(i < 5) [L34] COND TRUE cnt !=0 [L35] return ret / cnt; [L52] RET, EXPR rangesum(x) VAL [ret=0, x={4:0}] [L52] ret2 = rangesum(x) [L53] EXPR x[0] [L53] temp=x[0] [L54] int i =0 ; VAL [i=0, ret2=0, ret=0, temp=4, x={4:0}] [L54] COND TRUE i<5 -1 [L55] EXPR x[i+1] [L55] x[i] = x[i+1] [L54] i++ VAL [i=1, ret2=0, ret=0, temp=4, x={4:0}] [L54] COND TRUE i<5 -1 [L55] EXPR x[i+1] [L55] x[i] = x[i+1] [L54] i++ VAL [i=2, ret2=0, ret=0, temp=4, x={4:0}] [L54] COND TRUE i<5 -1 [L55] EXPR x[i+1] [L55] x[i] = x[i+1] [L54] i++ VAL [i=3, ret2=0, ret=0, temp=4, x={4:0}] [L54] COND TRUE i<5 -1 [L55] EXPR x[i+1] [L55] x[i] = x[i+1] [L54] i++ VAL [i=4, ret2=0, ret=0, temp=4, x={4:0}] [L54] COND FALSE !(i<5 -1) [L57] x[5 -1] = temp VAL [ret2=0, ret=0, x={4:0}] [L58] CALL, EXPR rangesum(x) VAL [\old(x)={4:0}] [L24] int i; [L25] long long ret; [L26] ret = 0 [L27] int cnt = 0; [L28] i = 0 VAL [\old(x)={4:0}, cnt=0, i=0, ret=0, x={4:0}] [L28] COND TRUE i < 5 [L29] COND FALSE !(i > 5/2) [L28] i++ VAL [\old(x)={4:0}, cnt=0, i=1, ret=0, x={4:0}] [L28] COND TRUE i < 5 [L29] COND FALSE !(i > 5/2) [L28] i++ VAL [\old(x)={4:0}, cnt=0, i=2, ret=0, x={4:0}] [L28] COND TRUE i < 5 [L29] COND FALSE !(i > 5/2) [L28] i++ VAL [\old(x)={4:0}, cnt=0, i=3, ret=0, x={4:0}] [L28] COND TRUE i < 5 [L29] COND TRUE i > 5/2 [L30] EXPR x[i] [L30] ret = ret + x[i] [L31] cnt = cnt + 1 [L28] i++ VAL [\old(x)={4:0}, cnt=1, i=4, ret=-1, x={4:0}] [L28] COND TRUE i < 5 [L29] COND TRUE i > 5/2 [L30] EXPR x[i] [L30] ret = ret + x[i] [L31] cnt = cnt + 1 [L28] i++ VAL [\old(x)={4:0}, cnt=2, i=5, ret=3, x={4:0}] [L28] COND FALSE !(i < 5) [L34] COND TRUE cnt !=0 [L35] return ret / cnt; [L58] RET, EXPR rangesum(x) VAL [ret2=0, ret=0, x={4:0}] [L58] ret5 = rangesum(x) [L60] COND TRUE ret != ret2 || ret !=ret5 VAL [x={4:0}] [L61] reach_error() VAL [x={4:0}] * Results from de.uni_freiburg.informatik.ultimate.core: - StatisticsResult: Toolchain Benchmarks Benchmark results are: * CDTParser took 0.30ms. Allocated memory is still 83.9MB. Free memory is still 41.6MB. There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 296.98ms. Allocated memory is still 109.1MB. Free memory was 83.3MB in the beginning and 72.1MB in the end (delta: 11.2MB). Peak memory consumption was 8.4MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 48.37ms. Allocated memory is still 109.1MB. Free memory was 72.1MB in the beginning and 70.7MB in the end (delta: 1.4MB). There was no memory consumed. Max. memory is 16.1GB. * Boogie Preprocessor took 26.49ms. Allocated memory is still 109.1MB. Free memory was 70.7MB in the beginning and 69.6MB in the end (delta: 1.1MB). Peak memory consumption was 8.4MB. Max. memory is 16.1GB. * RCFGBuilder took 575.09ms. Allocated memory is still 109.1MB. Free memory was 69.6MB in the beginning and 55.1MB in the end (delta: 14.6MB). Peak memory consumption was 8.4MB. Max. memory is 16.1GB. * CodeCheck took 5579.18ms. Allocated memory was 109.1MB in the beginning and 151.0MB in the end (delta: 41.9MB). Free memory was 55.1MB in the beginning and 72.2MB in the end (delta: -17.1MB). Peak memory consumption was 30.6MB. Max. memory is 16.1GB. * Witness Printer took 85.52ms. Allocated memory is still 151.0MB. Free memory was 72.2MB in the beginning and 67.7MB in the end (delta: 4.5MB). There was no memory consumed. Max. memory is 16.1GB. RESULT: Ultimate proved your program to be incorrect! [2024-11-13 21:58:23,799 INFO L552 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_c5ddc87c-a38e-4dd2-8285-f8c27161709b/bin/ukojak-verify-EEHR8qb7sm/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 Writing human readable error path to file UltimateCounterExample.errorpath Result: FALSE