./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 d790fecc Calling Ultimate with: /usr/bin/java -Dosgi.configuration.area=/tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_c59da999-2197-4627-bc46-e38b29d50695/bin/ukojak-verify-CZk0znPC7b/data/config -Xmx15G -Xms4m -jar /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_c59da999-2197-4627-bc46-e38b29d50695/bin/ukojak-verify-CZk0znPC7b/plugins/org.eclipse.equinox.launcher_1.6.800.v20240513-1750.jar -data @noDefault -ultimatedata /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_c59da999-2197-4627-bc46-e38b29d50695/bin/ukojak-verify-CZk0znPC7b/data -tc /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_c59da999-2197-4627-bc46-e38b29d50695/bin/ukojak-verify-CZk0znPC7b/config/KojakReach.xml -i ../../sv-benchmarks/c/reducercommutativity/rangesum05.i -s /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_c59da999-2197-4627-bc46-e38b29d50695/bin/ukojak-verify-CZk0znPC7b/config/svcomp-Reach-32bit-Kojak_Default.epf --cacsl2boogietranslator.entry.function main --witnessprinter.witness.directory /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_c59da999-2197-4627-bc46-e38b29d50695/bin/ukojak-verify-CZk0znPC7b --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-d790fec [2024-12-06 01:40:18,478 INFO L188 SettingsManager]: Resetting all preferences to default values... [2024-12-06 01:40:18,528 INFO L114 SettingsManager]: Loading settings from /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_c59da999-2197-4627-bc46-e38b29d50695/bin/ukojak-verify-CZk0znPC7b/config/svcomp-Reach-32bit-Kojak_Default.epf [2024-12-06 01:40:18,532 WARN L101 SettingsManager]: Preference file contains the following unknown settings: [2024-12-06 01:40:18,532 WARN L103 SettingsManager]: * de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck.Interpolating solver [2024-12-06 01:40:18,551 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2024-12-06 01:40:18,552 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2024-12-06 01:40:18,552 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ALWAYS [2024-12-06 01:40:18,552 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2024-12-06 01:40:18,552 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2024-12-06 01:40:18,552 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2024-12-06 01:40:18,553 INFO L153 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2024-12-06 01:40:18,553 INFO L153 SettingsManager]: * sizeof long=4 [2024-12-06 01:40:18,553 INFO L153 SettingsManager]: * Overapproximate operations on floating types=true [2024-12-06 01:40:18,553 INFO L153 SettingsManager]: * sizeof POINTER=4 [2024-12-06 01:40:18,553 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2024-12-06 01:40:18,553 INFO L153 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2024-12-06 01:40:18,553 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2024-12-06 01:40:18,553 INFO L153 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2024-12-06 01:40:18,553 INFO L153 SettingsManager]: * sizeof long double=12 [2024-12-06 01:40:18,553 INFO L153 SettingsManager]: * Check if freed pointer was valid=false [2024-12-06 01:40:18,553 INFO L153 SettingsManager]: * Behaviour of calls to undefined functions=OVERAPPROXIMATE_BEHAVIOUR [2024-12-06 01:40:18,554 INFO L153 SettingsManager]: * Use constant arrays=true [2024-12-06 01:40:18,554 INFO L151 SettingsManager]: Preferences of CodeCheck differ from their defaults: [2024-12-06 01:40:18,554 INFO L153 SettingsManager]: * Timeout in seconds=1000000 [2024-12-06 01:40:18,554 INFO L153 SettingsManager]: * Theory for external solver=ALL [2024-12-06 01:40:18,554 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2024-12-06 01:40:18,554 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2024-12-06 01:40:18,554 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2024-12-06 01:40:18,554 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2024-12-06 01:40:18,554 INFO L153 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopHeads [2024-12-06 01:40:18,554 INFO L153 SettingsManager]: * Trace refinement strategy=PENGUIN [2024-12-06 01:40:18,555 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2024-12-06 01:40:18,555 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_c59da999-2197-4627-bc46-e38b29d50695/bin/ukojak-verify-CZk0znPC7b 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-12-06 01:40:18,793 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2024-12-06 01:40:18,801 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2024-12-06 01:40:18,804 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2024-12-06 01:40:18,805 INFO L270 PluginConnector]: Initializing CDTParser... [2024-12-06 01:40:18,805 INFO L274 PluginConnector]: CDTParser initialized [2024-12-06 01:40:18,806 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_c59da999-2197-4627-bc46-e38b29d50695/bin/ukojak-verify-CZk0znPC7b/../../sv-benchmarks/c/reducercommutativity/rangesum05.i [2024-12-06 01:40:21,427 INFO L533 CDTParser]: Created temporary CDT project at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_c59da999-2197-4627-bc46-e38b29d50695/bin/ukojak-verify-CZk0znPC7b/data/af9f0166b/4b4dbdbe9ac44fcfb6328c7a3798878e/FLAG4cd389af3 [2024-12-06 01:40:21,623 INFO L384 CDTParser]: Found 1 translation units. [2024-12-06 01:40:21,624 INFO L180 CDTParser]: Scanning /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_c59da999-2197-4627-bc46-e38b29d50695/sv-benchmarks/c/reducercommutativity/rangesum05.i [2024-12-06 01:40:21,630 INFO L427 CDTParser]: About to delete temporary CDT project at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_c59da999-2197-4627-bc46-e38b29d50695/bin/ukojak-verify-CZk0znPC7b/data/af9f0166b/4b4dbdbe9ac44fcfb6328c7a3798878e/FLAG4cd389af3 [2024-12-06 01:40:21,643 INFO L435 CDTParser]: Successfully deleted /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_c59da999-2197-4627-bc46-e38b29d50695/bin/ukojak-verify-CZk0znPC7b/data/af9f0166b/4b4dbdbe9ac44fcfb6328c7a3798878e [2024-12-06 01:40:21,645 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2024-12-06 01:40:21,646 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2024-12-06 01:40:21,647 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2024-12-06 01:40:21,647 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2024-12-06 01:40:21,651 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2024-12-06 01:40:21,651 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 06.12 01:40:21" (1/1) ... [2024-12-06 01:40:21,652 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@2f9d7574 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 06.12 01:40:21, skipping insertion in model container [2024-12-06 01:40:21,652 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 06.12 01:40:21" (1/1) ... [2024-12-06 01:40:21,664 INFO L175 MainTranslator]: Built tables and reachable declarations [2024-12-06 01:40:21,779 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_c59da999-2197-4627-bc46-e38b29d50695/sv-benchmarks/c/reducercommutativity/rangesum05.i[1457,1470] [2024-12-06 01:40:21,781 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-12-06 01:40:21,790 INFO L200 MainTranslator]: Completed pre-run [2024-12-06 01:40:21,808 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_c59da999-2197-4627-bc46-e38b29d50695/sv-benchmarks/c/reducercommutativity/rangesum05.i[1457,1470] [2024-12-06 01:40:21,808 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-12-06 01:40:21,820 INFO L204 MainTranslator]: Completed translation [2024-12-06 01:40:21,820 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 06.12 01:40:21 WrapperNode [2024-12-06 01:40:21,821 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2024-12-06 01:40:21,821 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2024-12-06 01:40:21,821 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2024-12-06 01:40:21,821 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2024-12-06 01:40:21,826 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 06.12 01:40:21" (1/1) ... [2024-12-06 01:40:21,831 INFO L184 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 06.12 01:40:21" (1/1) ... [2024-12-06 01:40:21,845 INFO L138 Inliner]: procedures = 17, calls = 23, calls flagged for inlining = 3, calls inlined = 3, statements flattened = 69 [2024-12-06 01:40:21,845 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2024-12-06 01:40:21,846 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2024-12-06 01:40:21,846 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2024-12-06 01:40:21,846 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2024-12-06 01:40:21,851 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 06.12 01:40:21" (1/1) ... [2024-12-06 01:40:21,851 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 06.12 01:40:21" (1/1) ... [2024-12-06 01:40:21,853 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 06.12 01:40:21" (1/1) ... [2024-12-06 01:40:21,854 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 06.12 01:40:21" (1/1) ... [2024-12-06 01:40:21,859 INFO L184 PluginConnector]: Executing the observer ReplaceArrayAssignments from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 06.12 01:40:21" (1/1) ... [2024-12-06 01:40:21,859 INFO L184 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 06.12 01:40:21" (1/1) ... [2024-12-06 01:40:21,863 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 06.12 01:40:21" (1/1) ... [2024-12-06 01:40:21,864 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 06.12 01:40:21" (1/1) ... [2024-12-06 01:40:21,864 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 06.12 01:40:21" (1/1) ... [2024-12-06 01:40:21,866 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2024-12-06 01:40:21,867 INFO L112 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2024-12-06 01:40:21,867 INFO L270 PluginConnector]: Initializing RCFGBuilder... [2024-12-06 01:40:21,867 INFO L274 PluginConnector]: RCFGBuilder initialized [2024-12-06 01:40:21,868 INFO L184 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 06.12 01:40:21" (1/1) ... [2024-12-06 01:40:21,873 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2024-12-06 01:40:21,882 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_c59da999-2197-4627-bc46-e38b29d50695/bin/ukojak-verify-CZk0znPC7b/z3 [2024-12-06 01:40:21,892 INFO L229 MonitoredProcess]: Starting monitored process 1 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_c59da999-2197-4627-bc46-e38b29d50695/bin/ukojak-verify-CZk0znPC7b/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (exit command is (exit), workingDir is null) [2024-12-06 01:40:21,894 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_c59da999-2197-4627-bc46-e38b29d50695/bin/ukojak-verify-CZk0znPC7b/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (1)] Waiting until timeout for monitored process [2024-12-06 01:40:21,915 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2024-12-06 01:40:21,915 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int [2024-12-06 01:40:21,916 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnStack [2024-12-06 01:40:21,916 INFO L130 BoogieDeclarations]: Found specification of procedure write~int [2024-12-06 01:40:21,916 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2024-12-06 01:40:21,916 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2024-12-06 01:40:21,916 INFO L130 BoogieDeclarations]: Found specification of procedure read~int [2024-12-06 01:40:21,916 INFO L130 BoogieDeclarations]: Found specification of procedure rangesum [2024-12-06 01:40:21,916 INFO L138 BoogieDeclarations]: Found implementation of procedure rangesum [2024-12-06 01:40:21,916 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.dealloc [2024-12-06 01:40:21,969 INFO L234 CfgBuilder]: Building ICFG [2024-12-06 01:40:21,970 INFO L260 CfgBuilder]: Building CFG for each procedure with an implementation [2024-12-06 01:40:22,106 INFO L? ?]: Removed 18 outVars from TransFormulas that were not future-live. [2024-12-06 01:40:22,106 INFO L283 CfgBuilder]: Performing block encoding [2024-12-06 01:40:22,159 INFO L307 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2024-12-06 01:40:22,159 INFO L312 CfgBuilder]: Removed 3 assume(true) statements. [2024-12-06 01:40:22,159 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 06.12 01:40:22 BoogieIcfgContainer [2024-12-06 01:40:22,159 INFO L131 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2024-12-06 01:40:22,160 INFO L112 PluginConnector]: ------------------------CodeCheck---------------------------- [2024-12-06 01:40:22,160 INFO L270 PluginConnector]: Initializing CodeCheck... [2024-12-06 01:40:22,170 INFO L274 PluginConnector]: CodeCheck initialized [2024-12-06 01:40:22,170 INFO L184 PluginConnector]: Executing the observer CodeCheckObserver from plugin CodeCheck for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 06.12 01:40:22" (1/1) ... [2024-12-06 01:40:22,178 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-12-06 01:40:22,220 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-12-06 01:40:22,230 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 22 states to 17 states and 22 transitions. [2024-12-06 01:40:22,230 INFO L276 IsEmpty]: Start isEmpty. Operand 17 states and 22 transitions. [2024-12-06 01:40:22,235 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 21 [2024-12-06 01:40:22,235 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-12-06 01:40:22,236 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-12-06 01:40:22,314 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-12-06 01:40:22,483 INFO L134 CoverageAnalysis]: Checked inductivity of 9 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 9 trivial. 0 not checked. [2024-12-06 01:40:22,536 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-12-06 01:40:22,536 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 23 states to 18 states and 23 transitions. [2024-12-06 01:40:22,536 INFO L276 IsEmpty]: Start isEmpty. Operand 18 states and 23 transitions. [2024-12-06 01:40:22,537 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 22 [2024-12-06 01:40:22,537 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-12-06 01:40:22,537 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-12-06 01:40:22,562 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-12-06 01:40:22,668 INFO L134 CoverageAnalysis]: Checked inductivity of 10 backedges. 0 proven. 1 refuted. 0 times theorem prover too weak. 9 trivial. 0 not checked. [2024-12-06 01:40:22,717 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-12-06 01:40:22,718 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 25 states to 19 states and 25 transitions. [2024-12-06 01:40:22,718 INFO L276 IsEmpty]: Start isEmpty. Operand 19 states and 25 transitions. [2024-12-06 01:40:22,718 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 23 [2024-12-06 01:40:22,719 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-12-06 01:40:22,719 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-12-06 01:40:22,743 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-12-06 01:40:22,809 INFO L134 CoverageAnalysis]: Checked inductivity of 12 backedges. 0 proven. 4 refuted. 0 times theorem prover too weak. 8 trivial. 0 not checked. [2024-12-06 01:40:22,837 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-12-06 01:40:22,838 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 27 states to 20 states and 27 transitions. [2024-12-06 01:40:22,838 INFO L276 IsEmpty]: Start isEmpty. Operand 20 states and 27 transitions. [2024-12-06 01:40:22,838 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 26 [2024-12-06 01:40:22,838 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-12-06 01:40:22,838 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-12-06 01:40:22,860 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-12-06 01:40:22,936 INFO L134 CoverageAnalysis]: Checked inductivity of 24 backedges. 0 proven. 11 refuted. 0 times theorem prover too weak. 13 trivial. 0 not checked. [2024-12-06 01:40:22,992 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-12-06 01:40:22,992 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 29 states to 21 states and 29 transitions. [2024-12-06 01:40:22,992 INFO L276 IsEmpty]: Start isEmpty. Operand 21 states and 29 transitions. [2024-12-06 01:40:22,993 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 29 [2024-12-06 01:40:22,993 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-12-06 01:40:22,993 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-12-06 01:40:23,019 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-12-06 01:40:23,106 INFO L134 CoverageAnalysis]: Checked inductivity of 45 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 45 trivial. 0 not checked. [2024-12-06 01:40:23,135 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-12-06 01:40:23,135 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 31 states to 22 states and 31 transitions. [2024-12-06 01:40:23,136 INFO L276 IsEmpty]: Start isEmpty. Operand 22 states and 31 transitions. [2024-12-06 01:40:23,136 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 30 [2024-12-06 01:40:23,136 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-12-06 01:40:23,136 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-12-06 01:40:23,158 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-12-06 01:40:23,216 INFO L134 CoverageAnalysis]: Checked inductivity of 46 backedges. 0 proven. 1 refuted. 0 times theorem prover too weak. 45 trivial. 0 not checked. [2024-12-06 01:40:23,280 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-12-06 01:40:23,280 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 33 states to 23 states and 33 transitions. [2024-12-06 01:40:23,280 INFO L276 IsEmpty]: Start isEmpty. Operand 23 states and 33 transitions. [2024-12-06 01:40:23,281 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 31 [2024-12-06 01:40:23,281 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-12-06 01:40:23,281 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-12-06 01:40:23,308 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-12-06 01:40:23,374 INFO L134 CoverageAnalysis]: Checked inductivity of 48 backedges. 0 proven. 3 refuted. 0 times theorem prover too weak. 45 trivial. 0 not checked. [2024-12-06 01:40:23,436 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-12-06 01:40:23,437 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 34 states to 24 states and 34 transitions. [2024-12-06 01:40:23,437 INFO L276 IsEmpty]: Start isEmpty. Operand 24 states and 34 transitions. [2024-12-06 01:40:23,438 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 32 [2024-12-06 01:40:23,438 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-12-06 01:40:23,438 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-12-06 01:40:23,460 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-12-06 01:40:23,541 INFO L134 CoverageAnalysis]: Checked inductivity of 51 backedges. 0 proven. 6 refuted. 0 times theorem prover too weak. 45 trivial. 0 not checked. [2024-12-06 01:40:23,618 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-12-06 01:40:23,618 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 35 states to 25 states and 35 transitions. [2024-12-06 01:40:23,618 INFO L276 IsEmpty]: Start isEmpty. Operand 25 states and 35 transitions. [2024-12-06 01:40:23,619 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 33 [2024-12-06 01:40:23,619 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-12-06 01:40:23,619 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-12-06 01:40:23,647 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-12-06 01:40:23,757 INFO L134 CoverageAnalysis]: Checked inductivity of 55 backedges. 0 proven. 10 refuted. 0 times theorem prover too weak. 45 trivial. 0 not checked. [2024-12-06 01:40:23,833 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-12-06 01:40:23,833 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 35 states to 26 states and 35 transitions. [2024-12-06 01:40:23,833 INFO L276 IsEmpty]: Start isEmpty. Operand 26 states and 35 transitions. [2024-12-06 01:40:23,834 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 34 [2024-12-06 01:40:23,834 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-12-06 01:40:23,834 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-12-06 01:40:23,865 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-12-06 01:40:23,958 INFO L134 CoverageAnalysis]: Checked inductivity of 60 backedges. 0 proven. 23 refuted. 0 times theorem prover too weak. 37 trivial. 0 not checked. [2024-12-06 01:40:24,038 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-12-06 01:40:24,039 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 36 states to 27 states and 36 transitions. [2024-12-06 01:40:24,039 INFO L276 IsEmpty]: Start isEmpty. Operand 27 states and 36 transitions. [2024-12-06 01:40:24,039 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 37 [2024-12-06 01:40:24,039 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-12-06 01:40:24,040 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-12-06 01:40:24,071 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-12-06 01:40:24,185 INFO L134 CoverageAnalysis]: Checked inductivity of 90 backedges. 0 proven. 40 refuted. 0 times theorem prover too weak. 50 trivial. 0 not checked. [2024-12-06 01:40:24,271 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-12-06 01:40:24,272 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 37 states to 28 states and 37 transitions. [2024-12-06 01:40:24,272 INFO L276 IsEmpty]: Start isEmpty. Operand 28 states and 37 transitions. [2024-12-06 01:40:24,272 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 40 [2024-12-06 01:40:24,272 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-12-06 01:40:24,272 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-12-06 01:40:24,302 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-12-06 01:40:24,422 INFO L134 CoverageAnalysis]: Checked inductivity of 129 backedges. 0 proven. 62 refuted. 0 times theorem prover too weak. 67 trivial. 0 not checked. [2024-12-06 01:40:24,505 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-12-06 01:40:24,505 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 37 states to 29 states and 37 transitions. [2024-12-06 01:40:24,505 INFO L276 IsEmpty]: Start isEmpty. Operand 29 states and 37 transitions. [2024-12-06 01:40:24,506 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 43 [2024-12-06 01:40:24,506 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-12-06 01:40:24,506 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-12-06 01:40:24,538 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-12-06 01:40:24,637 INFO L134 CoverageAnalysis]: Checked inductivity of 177 backedges. 0 proven. 3 refuted. 0 times theorem prover too weak. 174 trivial. 0 not checked. [2024-12-06 01:40:24,730 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-12-06 01:40:24,731 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 38 states to 30 states and 38 transitions. [2024-12-06 01:40:24,731 INFO L276 IsEmpty]: Start isEmpty. Operand 30 states and 38 transitions. [2024-12-06 01:40:24,731 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 44 [2024-12-06 01:40:24,731 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-12-06 01:40:24,732 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-12-06 01:40:24,763 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-12-06 01:40:24,882 INFO L134 CoverageAnalysis]: Checked inductivity of 180 backedges. 0 proven. 6 refuted. 0 times theorem prover too weak. 174 trivial. 0 not checked. [2024-12-06 01:40:24,980 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-12-06 01:40:24,981 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 38 states to 31 states and 38 transitions. [2024-12-06 01:40:24,981 INFO L276 IsEmpty]: Start isEmpty. Operand 31 states and 38 transitions. [2024-12-06 01:40:24,981 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 45 [2024-12-06 01:40:24,981 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-12-06 01:40:24,981 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-12-06 01:40:25,304 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unknown [2024-12-06 01:40:25,517 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-12-06 01:40:25,517 INFO L357 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-12-06 01:40:25,637 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-12-06 01:40:25,692 WARN L473 CodeCheckObserver]: This program is UNSAFE, Check terminated with 15 iterations. [2024-12-06 01:40:25,734 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck CFG 06.12 01:40:25 ImpRootNode [2024-12-06 01:40:25,735 INFO L131 PluginConnector]: ------------------------ END CodeCheck---------------------------- [2024-12-06 01:40:25,735 INFO L112 PluginConnector]: ------------------------Witness Printer---------------------------- [2024-12-06 01:40:25,735 INFO L270 PluginConnector]: Initializing Witness Printer... [2024-12-06 01:40:25,735 INFO L274 PluginConnector]: Witness Printer initialized [2024-12-06 01:40:25,736 INFO L184 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 06.12 01:40:22" (3/4) ... [2024-12-06 01:40:25,737 INFO L140 WitnessPrinter]: Generating witness for reachability counterexample [2024-12-06 01:40:25,792 INFO L129 tionWitnessGenerator]: Generated YAML witness of length 57. [2024-12-06 01:40:25,862 INFO L149 WitnessManager]: Wrote witness to /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_c59da999-2197-4627-bc46-e38b29d50695/bin/ukojak-verify-CZk0znPC7b/witness.graphml [2024-12-06 01:40:25,863 INFO L149 WitnessManager]: Wrote witness to /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_c59da999-2197-4627-bc46-e38b29d50695/bin/ukojak-verify-CZk0znPC7b/witness.yml [2024-12-06 01:40:25,863 INFO L131 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2024-12-06 01:40:25,864 INFO L158 Benchmark]: Toolchain (without parser) took 4217.25ms. Allocated memory was 117.4MB in the beginning and 209.7MB in the end (delta: 92.3MB). Free memory was 91.9MB in the beginning and 76.4MB in the end (delta: 15.5MB). Peak memory consumption was 107.9MB. Max. memory is 16.1GB. [2024-12-06 01:40:25,864 INFO L158 Benchmark]: CDTParser took 0.30ms. Allocated memory is still 117.4MB. Free memory is still 72.8MB. There was no memory consumed. Max. memory is 16.1GB. [2024-12-06 01:40:25,864 INFO L158 Benchmark]: CACSL2BoogieTranslator took 173.54ms. Allocated memory is still 117.4MB. Free memory was 91.7MB in the beginning and 80.4MB in the end (delta: 11.3MB). Peak memory consumption was 8.4MB. Max. memory is 16.1GB. [2024-12-06 01:40:25,864 INFO L158 Benchmark]: Boogie Procedure Inliner took 24.21ms. Allocated memory is still 117.4MB. Free memory was 80.4MB in the beginning and 79.3MB in the end (delta: 1.1MB). Peak memory consumption was 8.4MB. Max. memory is 16.1GB. [2024-12-06 01:40:25,865 INFO L158 Benchmark]: Boogie Preprocessor took 20.26ms. Allocated memory is still 117.4MB. Free memory was 79.1MB in the beginning and 78.2MB in the end (delta: 897.4kB). There was no memory consumed. Max. memory is 16.1GB. [2024-12-06 01:40:25,865 INFO L158 Benchmark]: RCFGBuilder took 292.44ms. Allocated memory is still 117.4MB. Free memory was 78.2MB in the beginning and 62.9MB in the end (delta: 15.3MB). Peak memory consumption was 8.4MB. Max. memory is 16.1GB. [2024-12-06 01:40:25,865 INFO L158 Benchmark]: CodeCheck took 3574.66ms. Allocated memory was 117.4MB in the beginning and 209.7MB in the end (delta: 92.3MB). Free memory was 62.9MB in the beginning and 84.4MB in the end (delta: -21.5MB). Peak memory consumption was 74.3MB. Max. memory is 16.1GB. [2024-12-06 01:40:25,866 INFO L158 Benchmark]: Witness Printer took 127.81ms. Allocated memory is still 209.7MB. Free memory was 84.4MB in the beginning and 76.4MB in the end (delta: 8.0MB). Peak memory consumption was 8.4MB. Max. memory is 16.1GB. [2024-12-06 01:40:25,867 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: 3.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, 1.4s IncrementalHoareTripleChecker+Time, 0 mSdLazyCounter, 0 mSDsluCounter, 182 SdHoareTripleChecker+Invalid, 1.3s Time, 0 mProtectedAction, 0 SdHoareTripleChecker+Unchecked, 0 IncrementalHoareTripleChecker+Unchecked, 0 mSDsCounter, 394 IncrementalHoareTripleChecker+Valid, 0 mProtectedPredicate, 568 IncrementalHoareTripleChecker+Invalid, 962 SdHoareTripleChecker+Unknown, 0 mSolverCounterNotChecked, 394 mSolverCounterUnsat, 182 mSDtfsCounter, 568 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, 0.9s Time, 0.0s BasicInterpolantAutomatonTime, BiggestAbstraction: size=-1occurred in iteration=-1, InterpolantAutomatonStates: 0, traceCheckStatistics: 0.1s SsaConstructionTime, 0.4s SatisfiabilityAnalysisTime, 1.4s 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, ConComCheckerStatistics: 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={3:0}] [L17] COND TRUE i < 5 [L18] x[i] = __VERIFIER_nondet_int() [L17] i++ VAL [i=1, x={3:0}] [L17] COND TRUE i < 5 [L18] x[i] = __VERIFIER_nondet_int() [L17] i++ VAL [i=2, x={3:0}] [L17] COND TRUE i < 5 [L18] x[i] = __VERIFIER_nondet_int() [L17] i++ VAL [i=3, x={3:0}] [L17] COND TRUE i < 5 [L18] x[i] = __VERIFIER_nondet_int() [L17] i++ VAL [i=4, x={3:0}] [L17] COND TRUE i < 5 [L18] x[i] = __VERIFIER_nondet_int() [L17] i++ VAL [i=5, x={3: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={3:0}] [L49] CALL, EXPR rangesum(x) VAL [\old(x)={3:0}] [L24] int i; [L25] long long ret; [L26] ret = 0 [L27] int cnt = 0; [L28] i = 0 VAL [\old(x)={3:0}, cnt=0, i=0, ret=0, x={3:0}] [L28] COND TRUE i < 5 [L29] COND FALSE !(i > 5/2) [L28] i++ VAL [\old(x)={3:0}, cnt=0, i=1, ret=0, x={3:0}] [L28] COND TRUE i < 5 [L29] COND FALSE !(i > 5/2) [L28] i++ VAL [\old(x)={3:0}, cnt=0, i=2, ret=0, x={3:0}] [L28] COND TRUE i < 5 [L29] COND FALSE !(i > 5/2) [L28] i++ VAL [\old(x)={3:0}, cnt=0, i=3, ret=0, x={3: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)={3:0}, cnt=1, i=4, ret=1, x={3: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)={3:0}, cnt=2, i=5, ret=-3, x={3:0}] [L28] COND FALSE !(i < 5) [L34] COND TRUE cnt !=0 [L35] return ret / cnt; [L49] RET, EXPR rangesum(x) VAL [x={3: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=-1, x={3:0}] [L52] CALL, EXPR rangesum(x) VAL [\old(x)={3:0}] [L24] int i; [L25] long long ret; [L26] ret = 0 [L27] int cnt = 0; [L28] i = 0 VAL [\old(x)={3:0}, cnt=0, i=0, ret=0, x={3:0}] [L28] COND TRUE i < 5 [L29] COND FALSE !(i > 5/2) [L28] i++ VAL [\old(x)={3:0}, cnt=0, i=1, ret=0, x={3:0}] [L28] COND TRUE i < 5 [L29] COND FALSE !(i > 5/2) [L28] i++ VAL [\old(x)={3:0}, cnt=0, i=2, ret=0, x={3:0}] [L28] COND TRUE i < 5 [L29] COND FALSE !(i > 5/2) [L28] i++ VAL [\old(x)={3:0}, cnt=0, i=3, ret=0, x={3: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)={3:0}, cnt=1, i=4, ret=1, x={3: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)={3:0}, cnt=2, i=5, ret=-3, x={3:0}] [L28] COND FALSE !(i < 5) [L34] COND TRUE cnt !=0 [L35] return ret / cnt; [L52] RET, EXPR rangesum(x) VAL [ret=-1, x={3:0}] [L52] ret2 = rangesum(x) [L53] EXPR x[0] [L53] temp=x[0] [L54] int i =0 ; VAL [i=0, ret2=-1, ret=-1, temp=5, x={3:0}] [L54] COND TRUE i<5 -1 [L55] EXPR x[i+1] [L55] x[i] = x[i+1] [L54] i++ VAL [i=1, ret2=-1, ret=-1, temp=5, x={3:0}] [L54] COND TRUE i<5 -1 [L55] EXPR x[i+1] [L55] x[i] = x[i+1] [L54] i++ VAL [i=2, ret2=-1, ret=-1, temp=5, x={3:0}] [L54] COND TRUE i<5 -1 [L55] EXPR x[i+1] [L55] x[i] = x[i+1] [L54] i++ VAL [i=3, ret2=-1, ret=-1, temp=5, x={3:0}] [L54] COND TRUE i<5 -1 [L55] EXPR x[i+1] [L55] x[i] = x[i+1] [L54] i++ VAL [i=4, ret2=-1, ret=-1, temp=5, x={3:0}] [L54] COND FALSE !(i<5 -1) [L57] x[5 -1] = temp VAL [ret2=-1, ret=-1, x={3:0}] [L58] CALL, EXPR rangesum(x) VAL [\old(x)={3:0}] [L24] int i; [L25] long long ret; [L26] ret = 0 [L27] int cnt = 0; [L28] i = 0 VAL [\old(x)={3:0}, cnt=0, i=0, ret=0, x={3:0}] [L28] COND TRUE i < 5 [L29] COND FALSE !(i > 5/2) [L28] i++ VAL [\old(x)={3:0}, cnt=0, i=1, ret=0, x={3:0}] [L28] COND TRUE i < 5 [L29] COND FALSE !(i > 5/2) [L28] i++ VAL [\old(x)={3:0}, cnt=0, i=2, ret=0, x={3:0}] [L28] COND TRUE i < 5 [L29] COND FALSE !(i > 5/2) [L28] i++ VAL [\old(x)={3:0}, cnt=0, i=3, ret=0, x={3: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)={3:0}, cnt=1, i=4, ret=-4, x={3: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)={3:0}, cnt=2, i=5, ret=1, x={3:0}] [L28] COND FALSE !(i < 5) [L34] COND TRUE cnt !=0 [L35] return ret / cnt; [L58] RET, EXPR rangesum(x) VAL [ret2=-1, ret=-1, x={3:0}] [L58] ret5 = rangesum(x) [L60] COND TRUE ret != ret2 || ret !=ret5 VAL [x={3:0}] [L61] reach_error() VAL [x={3:0}] * Results from de.uni_freiburg.informatik.ultimate.core: - StatisticsResult: Toolchain Benchmarks Benchmark results are: * CDTParser took 0.30ms. Allocated memory is still 117.4MB. Free memory is still 72.8MB. There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 173.54ms. Allocated memory is still 117.4MB. Free memory was 91.7MB in the beginning and 80.4MB in the end (delta: 11.3MB). Peak memory consumption was 8.4MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 24.21ms. Allocated memory is still 117.4MB. Free memory was 80.4MB in the beginning and 79.3MB in the end (delta: 1.1MB). Peak memory consumption was 8.4MB. Max. memory is 16.1GB. * Boogie Preprocessor took 20.26ms. Allocated memory is still 117.4MB. Free memory was 79.1MB in the beginning and 78.2MB in the end (delta: 897.4kB). There was no memory consumed. Max. memory is 16.1GB. * RCFGBuilder took 292.44ms. Allocated memory is still 117.4MB. Free memory was 78.2MB in the beginning and 62.9MB in the end (delta: 15.3MB). Peak memory consumption was 8.4MB. Max. memory is 16.1GB. * CodeCheck took 3574.66ms. Allocated memory was 117.4MB in the beginning and 209.7MB in the end (delta: 92.3MB). Free memory was 62.9MB in the beginning and 84.4MB in the end (delta: -21.5MB). Peak memory consumption was 74.3MB. Max. memory is 16.1GB. * Witness Printer took 127.81ms. Allocated memory is still 209.7MB. Free memory was 84.4MB in the beginning and 76.4MB in the end (delta: 8.0MB). Peak memory consumption was 8.4MB. Max. memory is 16.1GB. RESULT: Ultimate proved your program to be incorrect! [2024-12-06 01:40:25,886 INFO L552 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_c59da999-2197-4627-bc46-e38b29d50695/bin/ukojak-verify-CZk0znPC7b/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