./Ultimate.py --spec ../../sv-benchmarks/c/properties/unreach-call.prp --file ../../sv-benchmarks/c/reducercommutativity/rangesum.i --full-output --architecture 32bit -------------------------------------------------------------------------------- Checking for ERROR reachability Using default analysis Version d790fecc Calling Ultimate with: /usr/bin/java -Dosgi.configuration.area=/tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_6440a4f3-c4d1-428a-958f-79de6698642c/bin/ukojak-verify-ENZ3QT5qd3/data/config -Xmx15G -Xms4m -jar /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_6440a4f3-c4d1-428a-958f-79de6698642c/bin/ukojak-verify-ENZ3QT5qd3/plugins/org.eclipse.equinox.launcher_1.6.800.v20240513-1750.jar -data @noDefault -ultimatedata /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_6440a4f3-c4d1-428a-958f-79de6698642c/bin/ukojak-verify-ENZ3QT5qd3/data -tc /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_6440a4f3-c4d1-428a-958f-79de6698642c/bin/ukojak-verify-ENZ3QT5qd3/config/KojakReach.xml -i ../../sv-benchmarks/c/reducercommutativity/rangesum.i -s /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_6440a4f3-c4d1-428a-958f-79de6698642c/bin/ukojak-verify-ENZ3QT5qd3/config/svcomp-Reach-32bit-Kojak_Default.epf --cacsl2boogietranslator.entry.function main --witnessprinter.witness.directory /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_6440a4f3-c4d1-428a-958f-79de6698642c/bin/ukojak-verify-ENZ3QT5qd3 --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 4dc91bf2fc8981aab63c1ee768384f1c8f580edfe4618d65089a78f799b6ddb8 --- Real Ultimate output --- This is Ultimate 0.3.0-dev-d790fec [2024-11-25 04:05:31,481 INFO L188 SettingsManager]: Resetting all preferences to default values... [2024-11-25 04:05:31,557 INFO L114 SettingsManager]: Loading settings from /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_6440a4f3-c4d1-428a-958f-79de6698642c/bin/ukojak-verify-ENZ3QT5qd3/config/svcomp-Reach-32bit-Kojak_Default.epf [2024-11-25 04:05:31,565 WARN L101 SettingsManager]: Preference file contains the following unknown settings: [2024-11-25 04:05:31,567 WARN L103 SettingsManager]: * de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck.Interpolating solver [2024-11-25 04:05:31,601 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2024-11-25 04:05:31,602 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2024-11-25 04:05:31,602 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ALWAYS [2024-11-25 04:05:31,603 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2024-11-25 04:05:31,603 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2024-11-25 04:05:31,603 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2024-11-25 04:05:31,603 INFO L153 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2024-11-25 04:05:31,603 INFO L153 SettingsManager]: * sizeof long=4 [2024-11-25 04:05:31,604 INFO L153 SettingsManager]: * Overapproximate operations on floating types=true [2024-11-25 04:05:31,605 INFO L153 SettingsManager]: * sizeof POINTER=4 [2024-11-25 04:05:31,605 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2024-11-25 04:05:31,605 INFO L153 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2024-11-25 04:05:31,605 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2024-11-25 04:05:31,605 INFO L153 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2024-11-25 04:05:31,606 INFO L153 SettingsManager]: * sizeof long double=12 [2024-11-25 04:05:31,606 INFO L153 SettingsManager]: * Check if freed pointer was valid=false [2024-11-25 04:05:31,606 INFO L153 SettingsManager]: * Behaviour of calls to undefined functions=OVERAPPROXIMATE_BEHAVIOUR [2024-11-25 04:05:31,606 INFO L153 SettingsManager]: * Use constant arrays=true [2024-11-25 04:05:31,606 INFO L151 SettingsManager]: Preferences of CodeCheck differ from their defaults: [2024-11-25 04:05:31,606 INFO L153 SettingsManager]: * Timeout in seconds=1000000 [2024-11-25 04:05:31,606 INFO L153 SettingsManager]: * Theory for external solver=ALL [2024-11-25 04:05:31,606 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2024-11-25 04:05:31,606 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2024-11-25 04:05:31,606 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2024-11-25 04:05:31,606 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2024-11-25 04:05:31,607 INFO L153 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopHeads [2024-11-25 04:05:31,607 INFO L153 SettingsManager]: * Trace refinement strategy=PENGUIN [2024-11-25 04:05:31,607 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2024-11-25 04:05:31,607 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_6440a4f3-c4d1-428a-958f-79de6698642c/bin/ukojak-verify-ENZ3QT5qd3 Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Witness filename -> witness Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Write witness besides input file -> false Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data specification -> CHECK( init(main()), LTL(G ! 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 -> 4dc91bf2fc8981aab63c1ee768384f1c8f580edfe4618d65089a78f799b6ddb8 [2024-11-25 04:05:31,938 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2024-11-25 04:05:31,950 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2024-11-25 04:05:31,954 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2024-11-25 04:05:31,955 INFO L270 PluginConnector]: Initializing CDTParser... [2024-11-25 04:05:31,955 INFO L274 PluginConnector]: CDTParser initialized [2024-11-25 04:05:31,957 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_6440a4f3-c4d1-428a-958f-79de6698642c/bin/ukojak-verify-ENZ3QT5qd3/../../sv-benchmarks/c/reducercommutativity/rangesum.i [2024-11-25 04:05:34,943 INFO L533 CDTParser]: Created temporary CDT project at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_6440a4f3-c4d1-428a-958f-79de6698642c/bin/ukojak-verify-ENZ3QT5qd3/data/c54dfbe3e/66f37911977b402084ebc14d7015f1d7/FLAG27c060e64 [2024-11-25 04:05:35,235 INFO L384 CDTParser]: Found 1 translation units. [2024-11-25 04:05:35,236 INFO L180 CDTParser]: Scanning /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_6440a4f3-c4d1-428a-958f-79de6698642c/sv-benchmarks/c/reducercommutativity/rangesum.i [2024-11-25 04:05:35,251 INFO L427 CDTParser]: About to delete temporary CDT project at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_6440a4f3-c4d1-428a-958f-79de6698642c/bin/ukojak-verify-ENZ3QT5qd3/data/c54dfbe3e/66f37911977b402084ebc14d7015f1d7/FLAG27c060e64 [2024-11-25 04:05:35,268 INFO L435 CDTParser]: Successfully deleted /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_6440a4f3-c4d1-428a-958f-79de6698642c/bin/ukojak-verify-ENZ3QT5qd3/data/c54dfbe3e/66f37911977b402084ebc14d7015f1d7 [2024-11-25 04:05:35,271 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2024-11-25 04:05:35,273 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2024-11-25 04:05:35,274 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2024-11-25 04:05:35,274 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2024-11-25 04:05:35,279 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2024-11-25 04:05:35,280 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 25.11 04:05:35" (1/1) ... [2024-11-25 04:05:35,281 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@7ac827b and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 25.11 04:05:35, skipping insertion in model container [2024-11-25 04:05:35,282 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 25.11 04:05:35" (1/1) ... [2024-11-25 04:05:35,301 INFO L175 MainTranslator]: Built tables and reachable declarations [2024-11-25 04:05:35,514 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_6440a4f3-c4d1-428a-958f-79de6698642c/sv-benchmarks/c/reducercommutativity/rangesum.i[1544,1557] [2024-11-25 04:05:35,523 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-25 04:05:35,532 INFO L200 MainTranslator]: Completed pre-run [2024-11-25 04:05:35,552 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_6440a4f3-c4d1-428a-958f-79de6698642c/sv-benchmarks/c/reducercommutativity/rangesum.i[1544,1557] [2024-11-25 04:05:35,553 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-25 04:05:35,568 INFO L204 MainTranslator]: Completed translation [2024-11-25 04:05:35,568 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 25.11 04:05:35 WrapperNode [2024-11-25 04:05:35,568 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2024-11-25 04:05:35,569 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2024-11-25 04:05:35,569 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2024-11-25 04:05:35,570 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2024-11-25 04:05:35,577 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 25.11 04:05:35" (1/1) ... [2024-11-25 04:05:35,583 INFO L184 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 25.11 04:05:35" (1/1) ... [2024-11-25 04:05:35,603 INFO L138 Inliner]: procedures = 17, calls = 22, calls flagged for inlining = 3, calls inlined = 3, statements flattened = 74 [2024-11-25 04:05:35,603 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2024-11-25 04:05:35,604 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2024-11-25 04:05:35,604 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2024-11-25 04:05:35,604 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2024-11-25 04:05:35,612 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 25.11 04:05:35" (1/1) ... [2024-11-25 04:05:35,612 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 25.11 04:05:35" (1/1) ... [2024-11-25 04:05:35,614 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 25.11 04:05:35" (1/1) ... [2024-11-25 04:05:35,614 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 25.11 04:05:35" (1/1) ... [2024-11-25 04:05:35,620 INFO L184 PluginConnector]: Executing the observer ReplaceArrayAssignments from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 25.11 04:05:35" (1/1) ... [2024-11-25 04:05:35,621 INFO L184 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 25.11 04:05:35" (1/1) ... [2024-11-25 04:05:35,626 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 25.11 04:05:35" (1/1) ... [2024-11-25 04:05:35,627 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 25.11 04:05:35" (1/1) ... [2024-11-25 04:05:35,628 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 25.11 04:05:35" (1/1) ... [2024-11-25 04:05:35,630 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2024-11-25 04:05:35,631 INFO L112 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2024-11-25 04:05:35,631 INFO L270 PluginConnector]: Initializing RCFGBuilder... [2024-11-25 04:05:35,631 INFO L274 PluginConnector]: RCFGBuilder initialized [2024-11-25 04:05:35,632 INFO L184 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 25.11 04:05:35" (1/1) ... [2024-11-25 04:05:35,638 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2024-11-25 04:05:35,651 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_6440a4f3-c4d1-428a-958f-79de6698642c/bin/ukojak-verify-ENZ3QT5qd3/z3 [2024-11-25 04:05:35,666 INFO L229 MonitoredProcess]: Starting monitored process 1 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_6440a4f3-c4d1-428a-958f-79de6698642c/bin/ukojak-verify-ENZ3QT5qd3/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (exit command is (exit), workingDir is null) [2024-11-25 04:05:35,670 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_6440a4f3-c4d1-428a-958f-79de6698642c/bin/ukojak-verify-ENZ3QT5qd3/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (1)] Waiting until timeout for monitored process [2024-11-25 04:05:35,695 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2024-11-25 04:05:35,695 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int [2024-11-25 04:05:35,695 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnStack [2024-11-25 04:05:35,695 INFO L130 BoogieDeclarations]: Found specification of procedure write~int [2024-11-25 04:05:35,695 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2024-11-25 04:05:35,696 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2024-11-25 04:05:35,696 INFO L130 BoogieDeclarations]: Found specification of procedure read~int [2024-11-25 04:05:35,696 INFO L130 BoogieDeclarations]: Found specification of procedure rangesum [2024-11-25 04:05:35,696 INFO L138 BoogieDeclarations]: Found implementation of procedure rangesum [2024-11-25 04:05:35,696 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.dealloc [2024-11-25 04:05:35,790 INFO L234 CfgBuilder]: Building ICFG [2024-11-25 04:05:35,791 INFO L260 CfgBuilder]: Building CFG for each procedure with an implementation [2024-11-25 04:05:35,985 INFO L? ?]: Removed 18 outVars from TransFormulas that were not future-live. [2024-11-25 04:05:35,985 INFO L283 CfgBuilder]: Performing block encoding [2024-11-25 04:05:36,069 INFO L307 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2024-11-25 04:05:36,069 INFO L312 CfgBuilder]: Removed 3 assume(true) statements. [2024-11-25 04:05:36,070 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 25.11 04:05:36 BoogieIcfgContainer [2024-11-25 04:05:36,070 INFO L131 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2024-11-25 04:05:36,070 INFO L112 PluginConnector]: ------------------------CodeCheck---------------------------- [2024-11-25 04:05:36,071 INFO L270 PluginConnector]: Initializing CodeCheck... [2024-11-25 04:05:36,079 INFO L274 PluginConnector]: CodeCheck initialized [2024-11-25 04:05:36,079 INFO L184 PluginConnector]: Executing the observer CodeCheckObserver from plugin CodeCheck for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 25.11 04:05:36" (1/1) ... [2024-11-25 04:05:36,087 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-11-25 04:05:36,138 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-25 04:05:36,149 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 25 states to 19 states and 25 transitions. [2024-11-25 04:05:36,150 INFO L276 IsEmpty]: Start isEmpty. Operand 19 states and 25 transitions. [2024-11-25 04:05:36,155 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 22 [2024-11-25 04:05:36,156 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-25 04:05:36,156 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-25 04:05:36,271 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-25 04:05:36,620 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-25 04:05:36,688 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-25 04:05:36,689 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 26 states to 20 states and 26 transitions. [2024-11-25 04:05:36,689 INFO L276 IsEmpty]: Start isEmpty. Operand 20 states and 26 transitions. [2024-11-25 04:05:36,690 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 23 [2024-11-25 04:05:36,690 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-25 04:05:36,690 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-25 04:05:36,735 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-25 04:05:36,924 INFO L134 CoverageAnalysis]: Checked inductivity of 10 backedges. 0 proven. 4 refuted. 0 times theorem prover too weak. 6 trivial. 0 not checked. [2024-11-25 04:05:37,073 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-25 04:05:37,074 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 34 states to 22 states and 32 transitions. [2024-11-25 04:05:37,074 INFO L276 IsEmpty]: Start isEmpty. Operand 22 states and 32 transitions. [2024-11-25 04:05:37,075 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 24 [2024-11-25 04:05:37,075 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-25 04:05:37,075 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-25 04:05:37,128 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-25 04:05:37,283 INFO L134 CoverageAnalysis]: Checked inductivity of 13 backedges. 3 proven. 2 refuted. 0 times theorem prover too weak. 8 trivial. 0 not checked. [2024-11-25 04:05:37,322 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-25 04:05:37,324 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 37 states to 22 states and 31 transitions. [2024-11-25 04:05:37,324 INFO L276 IsEmpty]: Start isEmpty. Operand 22 states and 31 transitions. [2024-11-25 04:05:37,325 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 25 [2024-11-25 04:05:37,326 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-25 04:05:37,326 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-25 04:05:37,372 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-25 04:05:37,501 INFO L134 CoverageAnalysis]: Checked inductivity of 17 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 17 trivial. 0 not checked. [2024-11-25 04:05:37,601 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-25 04:05:37,602 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 40 states to 23 states and 33 transitions. [2024-11-25 04:05:37,602 INFO L276 IsEmpty]: Start isEmpty. Operand 23 states and 33 transitions. [2024-11-25 04:05:37,603 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 26 [2024-11-25 04:05:37,603 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-25 04:05:37,603 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-25 04:05:37,648 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-25 04:05:37,768 INFO L134 CoverageAnalysis]: Checked inductivity of 18 backedges. 6 proven. 0 refuted. 0 times theorem prover too weak. 12 trivial. 0 not checked. [2024-11-25 04:05:37,856 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-25 04:05:37,857 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 44 states to 23 states and 32 transitions. [2024-11-25 04:05:37,858 INFO L276 IsEmpty]: Start isEmpty. Operand 23 states and 32 transitions. [2024-11-25 04:05:37,859 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 27 [2024-11-25 04:05:37,859 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-25 04:05:37,859 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-25 04:05:37,907 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-25 04:05:38,026 INFO L134 CoverageAnalysis]: Checked inductivity of 23 backedges. 0 proven. 1 refuted. 0 times theorem prover too weak. 22 trivial. 0 not checked. [2024-11-25 04:05:38,181 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-25 04:05:38,182 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 45 states to 24 states and 33 transitions. [2024-11-25 04:05:38,182 INFO L276 IsEmpty]: Start isEmpty. Operand 24 states and 33 transitions. [2024-11-25 04:05:38,183 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 28 [2024-11-25 04:05:38,184 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-25 04:05:38,184 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-25 04:05:38,239 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-25 04:05:38,391 INFO L134 CoverageAnalysis]: Checked inductivity of 25 backedges. 0 proven. 11 refuted. 0 times theorem prover too weak. 14 trivial. 0 not checked. [2024-11-25 04:05:38,555 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-25 04:05:38,557 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 50 states to 26 states and 38 transitions. [2024-11-25 04:05:38,557 INFO L276 IsEmpty]: Start isEmpty. Operand 26 states and 38 transitions. [2024-11-25 04:05:38,558 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 31 [2024-11-25 04:05:38,558 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-25 04:05:38,559 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-25 04:05:38,626 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-25 04:05:40,765 INFO L134 CoverageAnalysis]: Checked inductivity of 46 backedges. 11 proven. 19 refuted. 0 times theorem prover too weak. 16 trivial. 0 not checked. [2024-11-25 04:05:43,014 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-25 04:05:43,015 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 74 states to 36 states and 60 transitions. [2024-11-25 04:05:43,018 INFO L276 IsEmpty]: Start isEmpty. Operand 36 states and 60 transitions. [2024-11-25 04:05:43,019 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 32 [2024-11-25 04:05:43,020 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-25 04:05:43,020 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-25 04:05:43,065 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-25 04:05:43,534 INFO L134 CoverageAnalysis]: Checked inductivity of 55 backedges. 27 proven. 8 refuted. 0 times theorem prover too weak. 20 trivial. 0 not checked. [2024-11-25 04:05:46,979 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-25 04:05:46,980 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 91 states to 45 states and 77 transitions. [2024-11-25 04:05:46,980 INFO L276 IsEmpty]: Start isEmpty. Operand 45 states and 77 transitions. [2024-11-25 04:05:46,982 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 33 [2024-11-25 04:05:46,982 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-25 04:05:46,982 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-25 04:05:47,019 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-25 04:05:47,354 INFO L134 CoverageAnalysis]: Checked inductivity of 58 backedges. 1 proven. 31 refuted. 0 times theorem prover too weak. 26 trivial. 0 not checked. [2024-11-25 04:05:48,822 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-25 04:05:48,825 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 96 states to 47 states and 82 transitions. [2024-11-25 04:05:48,825 INFO L276 IsEmpty]: Start isEmpty. Operand 47 states and 82 transitions. [2024-11-25 04:05:48,828 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 33 [2024-11-25 04:05:48,828 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-25 04:05:48,829 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-25 04:05:48,856 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-25 04:05:49,029 INFO L134 CoverageAnalysis]: Checked inductivity of 58 backedges. 14 proven. 18 refuted. 0 times theorem prover too weak. 26 trivial. 0 not checked. [2024-11-25 04:05:49,892 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-25 04:05:49,893 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 96 states to 47 states and 81 transitions. [2024-11-25 04:05:49,894 INFO L276 IsEmpty]: Start isEmpty. Operand 47 states and 81 transitions. [2024-11-25 04:05:49,895 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 34 [2024-11-25 04:05:49,895 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-25 04:05:49,895 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-25 04:05:49,930 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-25 04:05:50,286 INFO L134 CoverageAnalysis]: Checked inductivity of 68 backedges. 1 proven. 6 refuted. 0 times theorem prover too weak. 61 trivial. 0 not checked. [2024-11-25 04:05:51,649 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-25 04:05:51,652 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 100 states to 49 states and 84 transitions. [2024-11-25 04:05:51,652 INFO L276 IsEmpty]: Start isEmpty. Operand 49 states and 84 transitions. [2024-11-25 04:05:51,653 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 35 [2024-11-25 04:05:51,657 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-25 04:05:51,657 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-25 04:05:51,683 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-25 04:05:51,862 INFO L134 CoverageAnalysis]: Checked inductivity of 70 backedges. 27 proven. 8 refuted. 0 times theorem prover too weak. 35 trivial. 0 not checked. [2024-11-25 04:05:53,424 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-25 04:05:53,425 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 101 states to 48 states and 81 transitions. [2024-11-25 04:05:53,425 INFO L276 IsEmpty]: Start isEmpty. Operand 48 states and 81 transitions. [2024-11-25 04:05:53,427 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 35 [2024-11-25 04:05:53,427 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-25 04:05:53,427 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-25 04:05:53,457 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-25 04:05:53,630 INFO L134 CoverageAnalysis]: Checked inductivity of 79 backedges. 1 proven. 6 refuted. 0 times theorem prover too weak. 72 trivial. 0 not checked. [2024-11-25 04:05:54,337 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-25 04:05:54,338 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 102 states to 49 states and 82 transitions. [2024-11-25 04:05:54,338 INFO L276 IsEmpty]: Start isEmpty. Operand 49 states and 82 transitions. [2024-11-25 04:05:54,339 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 36 [2024-11-25 04:05:54,340 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-25 04:05:54,340 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-25 04:05:54,484 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unknown [2024-11-25 04:05:54,596 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-25 04:05:54,597 INFO L357 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-11-25 04:05:54,658 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-25 04:05:54,737 WARN L473 CodeCheckObserver]: This program is UNSAFE, Check terminated with 15 iterations. [2024-11-25 04:05:54,800 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck CFG 25.11 04:05:54 ImpRootNode [2024-11-25 04:05:54,800 INFO L131 PluginConnector]: ------------------------ END CodeCheck---------------------------- [2024-11-25 04:05:54,801 INFO L112 PluginConnector]: ------------------------Witness Printer---------------------------- [2024-11-25 04:05:54,801 INFO L270 PluginConnector]: Initializing Witness Printer... [2024-11-25 04:05:54,803 INFO L274 PluginConnector]: Witness Printer initialized [2024-11-25 04:05:54,803 INFO L184 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 25.11 04:05:36" (3/4) ... [2024-11-25 04:05:54,804 INFO L140 WitnessPrinter]: Generating witness for reachability counterexample [2024-11-25 04:05:54,891 INFO L129 tionWitnessGenerator]: Generated YAML witness of length 42. [2024-11-25 04:05:54,980 INFO L149 WitnessManager]: Wrote witness to /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_6440a4f3-c4d1-428a-958f-79de6698642c/bin/ukojak-verify-ENZ3QT5qd3/witness.graphml [2024-11-25 04:05:54,983 INFO L149 WitnessManager]: Wrote witness to /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_6440a4f3-c4d1-428a-958f-79de6698642c/bin/ukojak-verify-ENZ3QT5qd3/witness.yml [2024-11-25 04:05:54,984 INFO L131 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2024-11-25 04:05:54,984 INFO L158 Benchmark]: Toolchain (without parser) took 19711.92ms. Allocated memory was 117.4MB in the beginning and 184.5MB in the end (delta: 67.1MB). Free memory was 93.4MB in the beginning and 94.2MB in the end (delta: -767.0kB). Peak memory consumption was 68.5MB. Max. memory is 16.1GB. [2024-11-25 04:05:54,985 INFO L158 Benchmark]: CDTParser took 0.32ms. Allocated memory is still 117.4MB. Free memory is still 73.4MB. There was no memory consumed. Max. memory is 16.1GB. [2024-11-25 04:05:54,985 INFO L158 Benchmark]: CACSL2BoogieTranslator took 294.66ms. Allocated memory is still 117.4MB. Free memory was 93.2MB in the beginning and 81.9MB in the end (delta: 11.4MB). Peak memory consumption was 8.4MB. Max. memory is 16.1GB. [2024-11-25 04:05:54,987 INFO L158 Benchmark]: Boogie Procedure Inliner took 33.94ms. Allocated memory is still 117.4MB. Free memory was 81.9MB in the beginning and 80.6MB in the end (delta: 1.3MB). Peak memory consumption was 8.4MB. Max. memory is 16.1GB. [2024-11-25 04:05:54,988 INFO L158 Benchmark]: Boogie Preprocessor took 26.37ms. Allocated memory is still 117.4MB. Free memory was 80.6MB in the beginning and 79.5MB in the end (delta: 1.0MB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-25 04:05:54,988 INFO L158 Benchmark]: RCFGBuilder took 438.87ms. Allocated memory is still 117.4MB. Free memory was 79.5MB in the beginning and 63.8MB in the end (delta: 15.8MB). Peak memory consumption was 16.8MB. Max. memory is 16.1GB. [2024-11-25 04:05:54,988 INFO L158 Benchmark]: CodeCheck took 18730.11ms. Allocated memory was 117.4MB in the beginning and 184.5MB in the end (delta: 67.1MB). Free memory was 63.6MB in the beginning and 100.4MB in the end (delta: -36.8MB). Peak memory consumption was 26.5MB. Max. memory is 16.1GB. [2024-11-25 04:05:54,990 INFO L158 Benchmark]: Witness Printer took 182.61ms. Allocated memory is still 184.5MB. Free memory was 100.4MB in the beginning and 94.2MB in the end (delta: 6.2MB). Peak memory consumption was 8.4MB. Max. memory is 16.1GB. [2024-11-25 04:05:54,992 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, 1 error locations. Started 1 CEGAR loops. OverallTime: 18.6s, OverallIterations: 15, TraceHistogramMax: 0, PathProgramHistogramMax: 0, EmptinessCheckTime: 0.0s, AutomataDifference: 0.0s, DeadEndRemovalTime: 0.0s, HoareAnnotationTime: 0.0s, InitialAbstractionConstructionTime: 0.0s, HoareTripleCheckerStatistics: 0 mSolverCounterUnknown, 942 SdHoareTripleChecker+Valid, 5.2s IncrementalHoareTripleChecker+Time, 0 mSdLazyCounter, 259 mSDsluCounter, 607 SdHoareTripleChecker+Invalid, 4.5s Time, 0 mProtectedAction, 0 SdHoareTripleChecker+Unchecked, 0 IncrementalHoareTripleChecker+Unchecked, 62 mSDsCounter, 896 IncrementalHoareTripleChecker+Valid, 0 mProtectedPredicate, 2169 IncrementalHoareTripleChecker+Invalid, 3065 SdHoareTripleChecker+Unknown, 0 mSolverCounterNotChecked, 896 mSolverCounterUnsat, 545 mSDtfsCounter, 2169 mSolverCounterSat, 0.1s SdHoareTripleChecker+Time, 0 IncrementalHoareTripleChecker+Unknown, PredicateUnifierStatistics: 0 DeclaredPredicates, 3102 GetRequests, 2779 SyntacticMatches, 129 SemanticMatches, 194 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 26692 ImplicationChecksByTransitivity, 13.0s Time, 0.0s BasicInterpolantAutomatonTime, BiggestAbstraction: size=-1occurred in iteration=-1, InterpolantAutomatonStates: 0, traceCheckStatistics: 0.1s SsaConstructionTime, 0.4s SatisfiabilityAnalysisTime, 5.0s InterpolantComputationTime, 429 NumberOfCodeBlocks, 429 NumberOfCodeBlocksAsserted, 15 NumberOfCheckSat, 380 ConstructedInterpolants, 0 QuantifiedInterpolants, 854 SizeOfPredicates, 0 NumberOfNonLiveVariables, 0 ConjunctsInSsa, 0 ConjunctsInUnsatCore, 14 InterpolantComputations, 3 PerfectInterpolantSequences, 435/549 InterpolantCoveringCapability, InterpolantConsolidationStatistics: No data available, PathInvariantsStatistics: No data available, 0/0 InterpolantCoveringCapability, TotalInterpolationStatistics: No data available, 0.0s DumpTime, AutomataMinimizationStatistics: No data available, HoareAnnotationStatistics: No data available, RefinementEngineStatistics: No data available, ReuseStatistics: No data available, ConComCheckerStatistics: No data available - CounterExampleResult [Line: 64]: a call to reach_error is reachable a call to reach_error is reachable We found a FailurePath: [L15] int N; [L43] N = __VERIFIER_nondet_int() [L44] COND TRUE N > 1 [L45] int x[N]; [L46] CALL init_nondet(x) [L17] int i; [L18] i = 0 VAL [N=3, i=0, x={3:0}] [L18] COND TRUE i < N [L19] x[i] = __VERIFIER_nondet_int() [L18] i++ VAL [N=3, i=1, x={3:0}] [L18] COND TRUE i < N [L19] x[i] = __VERIFIER_nondet_int() [L18] i++ VAL [N=3, i=2, x={3:0}] [L18] COND TRUE i < N [L19] x[i] = __VERIFIER_nondet_int() [L18] i++ VAL [N=3, i=3, x={3:0}] [L18] COND FALSE !(i < N) [L46] RET init_nondet(x) [L47] int temp; [L48] int ret; [L49] int ret2; [L50] int ret5; VAL [N=3, x={3:0}] [L52] CALL, EXPR rangesum(x) VAL [N=3, \old(x)={3:0}] [L25] int i; [L26] long long ret; [L27] ret = 0 [L28] int cnt = 0; [L29] i = 0 VAL [N=3, \old(x)={3:0}, cnt=0, i=0, ret=0, x={3:0}] [L29] COND TRUE i < N [L30] COND FALSE !(i > N/2) [L29] i++ VAL [N=3, \old(x)={3:0}, cnt=0, i=1, ret=0, x={3:0}] [L29] COND TRUE i < N [L30] COND FALSE !(i > N/2) [L29] i++ VAL [N=3, \old(x)={3:0}, cnt=0, i=2, ret=0, x={3:0}] [L29] COND TRUE i < N [L30] COND TRUE i > N/2 [L31] EXPR x[i] [L31] ret = ret + x[i] [L32] cnt = cnt + 1 [L29] i++ VAL [N=3, \old(x)={3:0}, cnt=1, i=3, ret=-1, x={3:0}] [L29] COND FALSE !(i < N) [L35] COND TRUE cnt !=0 [L36] return ret / cnt; [L52] RET, EXPR rangesum(x) VAL [N=3, x={3:0}] [L52] ret = rangesum(x) [L54] EXPR x[0] [L54] temp=x[0] [L54] EXPR x[1] [L54] x[0] = x[1] [L54] x[1] = temp VAL [N=3, ret=-1, x={3:0}] [L55] CALL, EXPR rangesum(x) VAL [N=3, \old(x)={3:0}] [L25] int i; [L26] long long ret; [L27] ret = 0 [L28] int cnt = 0; [L29] i = 0 VAL [N=3, \old(x)={3:0}, cnt=0, i=0, ret=0, x={3:0}] [L29] COND TRUE i < N [L30] COND FALSE !(i > N/2) [L29] i++ VAL [N=3, \old(x)={3:0}, cnt=0, i=1, ret=0, x={3:0}] [L29] COND TRUE i < N [L30] COND FALSE !(i > N/2) [L29] i++ VAL [N=3, \old(x)={3:0}, cnt=0, i=2, ret=0, x={3:0}] [L29] COND TRUE i < N [L30] COND TRUE i > N/2 [L31] EXPR x[i] [L31] ret = ret + x[i] [L32] cnt = cnt + 1 [L29] i++ VAL [N=3, \old(x)={3:0}, cnt=1, i=3, ret=-1, x={3:0}] [L29] COND FALSE !(i < N) [L35] COND TRUE cnt !=0 [L36] return ret / cnt; [L55] RET, EXPR rangesum(x) VAL [N=3, ret=-1, x={3:0}] [L55] ret2 = rangesum(x) [L56] EXPR x[0] [L56] temp=x[0] [L57] int i =0 ; VAL [N=3, i=0, ret2=-1, ret=-1, temp=1, x={3:0}] [L57] COND TRUE i N/2) [L29] i++ VAL [N=3, \old(x)={3:0}, cnt=0, i=1, ret=0, x={3:0}] [L29] COND TRUE i < N [L30] COND FALSE !(i > N/2) [L29] i++ VAL [N=3, \old(x)={3:0}, cnt=0, i=2, ret=0, x={3:0}] [L29] COND TRUE i < N [L30] COND TRUE i > N/2 [L31] EXPR x[i] [L31] ret = ret + x[i] [L32] cnt = cnt + 1 [L29] i++ VAL [N=3, \old(x)={3:0}, cnt=1, i=3, ret=1, x={3:0}] [L29] COND FALSE !(i < N) [L35] COND TRUE cnt !=0 [L36] return ret / cnt; [L61] RET, EXPR rangesum(x) VAL [N=3, ret2=-1, ret=-1, x={3:0}] [L61] ret5 = rangesum(x) [L63] COND TRUE ret != ret2 || ret !=ret5 VAL [N=3, x={3:0}] [L64] reach_error() VAL [N=3, x={3:0}] * Results from de.uni_freiburg.informatik.ultimate.core: - StatisticsResult: Toolchain Benchmarks Benchmark results are: * CDTParser took 0.32ms. Allocated memory is still 117.4MB. Free memory is still 73.4MB. There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 294.66ms. Allocated memory is still 117.4MB. Free memory was 93.2MB in the beginning and 81.9MB in the end (delta: 11.4MB). Peak memory consumption was 8.4MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 33.94ms. Allocated memory is still 117.4MB. Free memory was 81.9MB in the beginning and 80.6MB in the end (delta: 1.3MB). Peak memory consumption was 8.4MB. Max. memory is 16.1GB. * Boogie Preprocessor took 26.37ms. Allocated memory is still 117.4MB. Free memory was 80.6MB in the beginning and 79.5MB in the end (delta: 1.0MB). There was no memory consumed. Max. memory is 16.1GB. * RCFGBuilder took 438.87ms. Allocated memory is still 117.4MB. Free memory was 79.5MB in the beginning and 63.8MB in the end (delta: 15.8MB). Peak memory consumption was 16.8MB. Max. memory is 16.1GB. * CodeCheck took 18730.11ms. Allocated memory was 117.4MB in the beginning and 184.5MB in the end (delta: 67.1MB). Free memory was 63.6MB in the beginning and 100.4MB in the end (delta: -36.8MB). Peak memory consumption was 26.5MB. Max. memory is 16.1GB. * Witness Printer took 182.61ms. Allocated memory is still 184.5MB. Free memory was 100.4MB in the beginning and 94.2MB in the end (delta: 6.2MB). Peak memory consumption was 8.4MB. Max. memory is 16.1GB. RESULT: Ultimate proved your program to be incorrect! [2024-11-25 04:05:55,027 INFO L552 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_6440a4f3-c4d1-428a-958f-79de6698642c/bin/ukojak-verify-ENZ3QT5qd3/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