./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_233e767a-0d52-45ce-b6fe-9d2c12f5bde1/bin/ukojak-verify-ENZ3QT5qd3/data/config -Xmx15G -Xms4m -jar /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_233e767a-0d52-45ce-b6fe-9d2c12f5bde1/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_233e767a-0d52-45ce-b6fe-9d2c12f5bde1/bin/ukojak-verify-ENZ3QT5qd3/data -tc /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_233e767a-0d52-45ce-b6fe-9d2c12f5bde1/bin/ukojak-verify-ENZ3QT5qd3/config/KojakReach.xml -i ../../sv-benchmarks/c/reducercommutativity/rangesum05.i -s /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_233e767a-0d52-45ce-b6fe-9d2c12f5bde1/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_233e767a-0d52-45ce-b6fe-9d2c12f5bde1/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 aee69f990ab81a58f1fe8cd275c8a09f43ca6a442f73810f885d3d0c9a85d2b3 --- Real Ultimate output --- This is Ultimate 0.3.0-dev-d790fec [2024-11-25 03:51:42,825 INFO L188 SettingsManager]: Resetting all preferences to default values... [2024-11-25 03:51:42,922 INFO L114 SettingsManager]: Loading settings from /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_233e767a-0d52-45ce-b6fe-9d2c12f5bde1/bin/ukojak-verify-ENZ3QT5qd3/config/svcomp-Reach-32bit-Kojak_Default.epf [2024-11-25 03:51:42,930 WARN L101 SettingsManager]: Preference file contains the following unknown settings: [2024-11-25 03:51:42,930 WARN L103 SettingsManager]: * de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck.Interpolating solver [2024-11-25 03:51:42,964 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2024-11-25 03:51:42,967 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2024-11-25 03:51:42,967 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ALWAYS [2024-11-25 03:51:42,967 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2024-11-25 03:51:42,968 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2024-11-25 03:51:42,969 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2024-11-25 03:51:42,969 INFO L153 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2024-11-25 03:51:42,969 INFO L153 SettingsManager]: * sizeof long=4 [2024-11-25 03:51:42,969 INFO L153 SettingsManager]: * Overapproximate operations on floating types=true [2024-11-25 03:51:42,970 INFO L153 SettingsManager]: * sizeof POINTER=4 [2024-11-25 03:51:42,970 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2024-11-25 03:51:42,970 INFO L153 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2024-11-25 03:51:42,971 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2024-11-25 03:51:42,971 INFO L153 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2024-11-25 03:51:42,971 INFO L153 SettingsManager]: * sizeof long double=12 [2024-11-25 03:51:42,971 INFO L153 SettingsManager]: * Check if freed pointer was valid=false [2024-11-25 03:51:42,971 INFO L153 SettingsManager]: * Behaviour of calls to undefined functions=OVERAPPROXIMATE_BEHAVIOUR [2024-11-25 03:51:42,971 INFO L153 SettingsManager]: * Use constant arrays=true [2024-11-25 03:51:42,971 INFO L151 SettingsManager]: Preferences of CodeCheck differ from their defaults: [2024-11-25 03:51:42,971 INFO L153 SettingsManager]: * Timeout in seconds=1000000 [2024-11-25 03:51:42,972 INFO L153 SettingsManager]: * Theory for external solver=ALL [2024-11-25 03:51:42,972 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2024-11-25 03:51:42,972 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2024-11-25 03:51:42,972 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2024-11-25 03:51:42,972 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2024-11-25 03:51:42,972 INFO L153 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopHeads [2024-11-25 03:51:42,972 INFO L153 SettingsManager]: * Trace refinement strategy=PENGUIN [2024-11-25 03:51:42,972 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2024-11-25 03:51:42,972 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_233e767a-0d52-45ce-b6fe-9d2c12f5bde1/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 -> aee69f990ab81a58f1fe8cd275c8a09f43ca6a442f73810f885d3d0c9a85d2b3 [2024-11-25 03:51:43,308 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2024-11-25 03:51:43,317 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2024-11-25 03:51:43,319 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2024-11-25 03:51:43,320 INFO L270 PluginConnector]: Initializing CDTParser... [2024-11-25 03:51:43,321 INFO L274 PluginConnector]: CDTParser initialized [2024-11-25 03:51:43,322 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_233e767a-0d52-45ce-b6fe-9d2c12f5bde1/bin/ukojak-verify-ENZ3QT5qd3/../../sv-benchmarks/c/reducercommutativity/rangesum05.i [2024-11-25 03:51:46,321 INFO L533 CDTParser]: Created temporary CDT project at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_233e767a-0d52-45ce-b6fe-9d2c12f5bde1/bin/ukojak-verify-ENZ3QT5qd3/data/5a7274f12/2ba52935e841474fb1a158d74a2d4526/FLAG17c01c311 [2024-11-25 03:51:46,623 INFO L384 CDTParser]: Found 1 translation units. [2024-11-25 03:51:46,623 INFO L180 CDTParser]: Scanning /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_233e767a-0d52-45ce-b6fe-9d2c12f5bde1/sv-benchmarks/c/reducercommutativity/rangesum05.i [2024-11-25 03:51:46,630 INFO L427 CDTParser]: About to delete temporary CDT project at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_233e767a-0d52-45ce-b6fe-9d2c12f5bde1/bin/ukojak-verify-ENZ3QT5qd3/data/5a7274f12/2ba52935e841474fb1a158d74a2d4526/FLAG17c01c311 [2024-11-25 03:51:46,656 INFO L435 CDTParser]: Successfully deleted /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_233e767a-0d52-45ce-b6fe-9d2c12f5bde1/bin/ukojak-verify-ENZ3QT5qd3/data/5a7274f12/2ba52935e841474fb1a158d74a2d4526 [2024-11-25 03:51:46,658 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2024-11-25 03:51:46,662 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2024-11-25 03:51:46,663 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2024-11-25 03:51:46,663 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2024-11-25 03:51:46,670 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2024-11-25 03:51:46,670 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 25.11 03:51:46" (1/1) ... [2024-11-25 03:51:46,672 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@1272c83f and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 25.11 03:51:46, skipping insertion in model container [2024-11-25 03:51:46,673 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 25.11 03:51:46" (1/1) ... [2024-11-25 03:51:46,693 INFO L175 MainTranslator]: Built tables and reachable declarations [2024-11-25 03:51:46,870 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_233e767a-0d52-45ce-b6fe-9d2c12f5bde1/sv-benchmarks/c/reducercommutativity/rangesum05.i[1457,1470] [2024-11-25 03:51:46,874 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-25 03:51:46,884 INFO L200 MainTranslator]: Completed pre-run [2024-11-25 03:51:46,909 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_233e767a-0d52-45ce-b6fe-9d2c12f5bde1/sv-benchmarks/c/reducercommutativity/rangesum05.i[1457,1470] [2024-11-25 03:51:46,910 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-25 03:51:46,923 INFO L204 MainTranslator]: Completed translation [2024-11-25 03:51:46,923 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 25.11 03:51:46 WrapperNode [2024-11-25 03:51:46,924 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2024-11-25 03:51:46,925 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2024-11-25 03:51:46,925 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2024-11-25 03:51:46,925 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2024-11-25 03:51:46,931 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 25.11 03:51:46" (1/1) ... [2024-11-25 03:51:46,937 INFO L184 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 25.11 03:51:46" (1/1) ... [2024-11-25 03:51:46,958 INFO L138 Inliner]: procedures = 17, calls = 23, calls flagged for inlining = 3, calls inlined = 3, statements flattened = 69 [2024-11-25 03:51:46,958 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2024-11-25 03:51:46,959 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2024-11-25 03:51:46,959 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2024-11-25 03:51:46,961 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2024-11-25 03:51:46,969 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 25.11 03:51:46" (1/1) ... [2024-11-25 03:51:46,969 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 25.11 03:51:46" (1/1) ... [2024-11-25 03:51:46,975 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 25.11 03:51:46" (1/1) ... [2024-11-25 03:51:46,975 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 25.11 03:51:46" (1/1) ... [2024-11-25 03:51:46,986 INFO L184 PluginConnector]: Executing the observer ReplaceArrayAssignments from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 25.11 03:51:46" (1/1) ... [2024-11-25 03:51:46,987 INFO L184 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 25.11 03:51:46" (1/1) ... [2024-11-25 03:51:46,991 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 25.11 03:51:46" (1/1) ... [2024-11-25 03:51:46,992 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 25.11 03:51:46" (1/1) ... [2024-11-25 03:51:46,993 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 25.11 03:51:46" (1/1) ... [2024-11-25 03:51:46,995 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2024-11-25 03:51:46,996 INFO L112 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2024-11-25 03:51:46,996 INFO L270 PluginConnector]: Initializing RCFGBuilder... [2024-11-25 03:51:46,996 INFO L274 PluginConnector]: RCFGBuilder initialized [2024-11-25 03:51:46,997 INFO L184 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 25.11 03:51:46" (1/1) ... [2024-11-25 03:51:47,007 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2024-11-25 03:51:47,023 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_233e767a-0d52-45ce-b6fe-9d2c12f5bde1/bin/ukojak-verify-ENZ3QT5qd3/z3 [2024-11-25 03:51:47,039 INFO L229 MonitoredProcess]: Starting monitored process 1 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_233e767a-0d52-45ce-b6fe-9d2c12f5bde1/bin/ukojak-verify-ENZ3QT5qd3/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (exit command is (exit), workingDir is null) [2024-11-25 03:51:47,042 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_233e767a-0d52-45ce-b6fe-9d2c12f5bde1/bin/ukojak-verify-ENZ3QT5qd3/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (1)] Waiting until timeout for monitored process [2024-11-25 03:51:47,071 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2024-11-25 03:51:47,071 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int [2024-11-25 03:51:47,071 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnStack [2024-11-25 03:51:47,071 INFO L130 BoogieDeclarations]: Found specification of procedure write~int [2024-11-25 03:51:47,071 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2024-11-25 03:51:47,071 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2024-11-25 03:51:47,072 INFO L130 BoogieDeclarations]: Found specification of procedure read~int [2024-11-25 03:51:47,072 INFO L130 BoogieDeclarations]: Found specification of procedure rangesum [2024-11-25 03:51:47,072 INFO L138 BoogieDeclarations]: Found implementation of procedure rangesum [2024-11-25 03:51:47,072 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.dealloc [2024-11-25 03:51:47,171 INFO L234 CfgBuilder]: Building ICFG [2024-11-25 03:51:47,174 INFO L260 CfgBuilder]: Building CFG for each procedure with an implementation [2024-11-25 03:51:47,382 INFO L? ?]: Removed 18 outVars from TransFormulas that were not future-live. [2024-11-25 03:51:47,383 INFO L283 CfgBuilder]: Performing block encoding [2024-11-25 03:51:47,461 INFO L307 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2024-11-25 03:51:47,463 INFO L312 CfgBuilder]: Removed 3 assume(true) statements. [2024-11-25 03:51:47,464 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 25.11 03:51:47 BoogieIcfgContainer [2024-11-25 03:51:47,464 INFO L131 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2024-11-25 03:51:47,465 INFO L112 PluginConnector]: ------------------------CodeCheck---------------------------- [2024-11-25 03:51:47,465 INFO L270 PluginConnector]: Initializing CodeCheck... [2024-11-25 03:51:47,476 INFO L274 PluginConnector]: CodeCheck initialized [2024-11-25 03:51:47,476 INFO L184 PluginConnector]: Executing the observer CodeCheckObserver from plugin CodeCheck for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 25.11 03:51:47" (1/1) ... [2024-11-25 03:51:47,488 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-11-25 03:51:47,534 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-25 03:51:47,555 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 22 states to 17 states and 22 transitions. [2024-11-25 03:51:47,555 INFO L276 IsEmpty]: Start isEmpty. Operand 17 states and 22 transitions. [2024-11-25 03:51:47,569 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 21 [2024-11-25 03:51:47,569 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-25 03:51:47,570 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-25 03:51:47,698 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-25 03:51:47,969 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 03:51:48,092 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-25 03:51:48,092 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 23 states to 18 states and 23 transitions. [2024-11-25 03:51:48,092 INFO L276 IsEmpty]: Start isEmpty. Operand 18 states and 23 transitions. [2024-11-25 03:51:48,093 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 22 [2024-11-25 03:51:48,093 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-25 03:51:48,093 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-25 03:51:48,145 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-25 03:51:48,390 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-25 03:51:48,477 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-25 03:51:48,478 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 25 states to 19 states and 25 transitions. [2024-11-25 03:51:48,478 INFO L276 IsEmpty]: Start isEmpty. Operand 19 states and 25 transitions. [2024-11-25 03:51:48,478 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 23 [2024-11-25 03:51:48,478 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-25 03:51:48,478 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-25 03:51:48,509 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-25 03:51:48,625 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-25 03:51:48,669 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-25 03:51:48,669 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 27 states to 20 states and 27 transitions. [2024-11-25 03:51:48,670 INFO L276 IsEmpty]: Start isEmpty. Operand 20 states and 27 transitions. [2024-11-25 03:51:48,670 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 26 [2024-11-25 03:51:48,672 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-25 03:51:48,672 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-25 03:51:48,719 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-25 03:51:48,857 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-25 03:51:48,954 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-25 03:51:48,954 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 29 states to 21 states and 29 transitions. [2024-11-25 03:51:48,954 INFO L276 IsEmpty]: Start isEmpty. Operand 21 states and 29 transitions. [2024-11-25 03:51:48,955 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 29 [2024-11-25 03:51:48,955 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-25 03:51:48,955 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-25 03:51:49,008 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-25 03:51:49,146 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-25 03:51:49,197 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-25 03:51:49,198 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 31 states to 22 states and 31 transitions. [2024-11-25 03:51:49,198 INFO L276 IsEmpty]: Start isEmpty. Operand 22 states and 31 transitions. [2024-11-25 03:51:49,199 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 30 [2024-11-25 03:51:49,199 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-25 03:51:49,199 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-25 03:51:49,247 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-25 03:51:49,409 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-25 03:51:49,509 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-25 03:51:49,511 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 33 states to 23 states and 33 transitions. [2024-11-25 03:51:49,511 INFO L276 IsEmpty]: Start isEmpty. Operand 23 states and 33 transitions. [2024-11-25 03:51:49,513 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 31 [2024-11-25 03:51:49,513 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-25 03:51:49,514 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-25 03:51:49,580 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-25 03:51:49,729 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-25 03:51:49,822 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-25 03:51:49,822 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 34 states to 24 states and 34 transitions. [2024-11-25 03:51:49,823 INFO L276 IsEmpty]: Start isEmpty. Operand 24 states and 34 transitions. [2024-11-25 03:51:49,823 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 32 [2024-11-25 03:51:49,823 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-25 03:51:49,823 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-25 03:51:49,859 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-25 03:51:50,017 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-25 03:51:50,133 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-25 03:51:50,135 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 35 states to 25 states and 35 transitions. [2024-11-25 03:51:50,135 INFO L276 IsEmpty]: Start isEmpty. Operand 25 states and 35 transitions. [2024-11-25 03:51:50,135 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 33 [2024-11-25 03:51:50,135 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-25 03:51:50,136 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-25 03:51:50,188 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-25 03:51:50,380 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-25 03:51:50,486 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-25 03:51:50,487 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 35 states to 26 states and 35 transitions. [2024-11-25 03:51:50,487 INFO L276 IsEmpty]: Start isEmpty. Operand 26 states and 35 transitions. [2024-11-25 03:51:50,487 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 34 [2024-11-25 03:51:50,487 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-25 03:51:50,488 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-25 03:51:50,525 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-25 03:51:50,660 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-25 03:51:50,778 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-25 03:51:50,779 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 36 states to 27 states and 36 transitions. [2024-11-25 03:51:50,779 INFO L276 IsEmpty]: Start isEmpty. Operand 27 states and 36 transitions. [2024-11-25 03:51:50,779 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 37 [2024-11-25 03:51:50,779 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-25 03:51:50,780 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-25 03:51:50,828 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-25 03:51:51,006 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-25 03:51:51,132 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-25 03:51:51,133 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 37 states to 28 states and 37 transitions. [2024-11-25 03:51:51,133 INFO L276 IsEmpty]: Start isEmpty. Operand 28 states and 37 transitions. [2024-11-25 03:51:51,133 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 40 [2024-11-25 03:51:51,133 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-25 03:51:51,134 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-25 03:51:51,176 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-25 03:51:51,346 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-25 03:51:51,462 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-25 03:51:51,462 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 37 states to 29 states and 37 transitions. [2024-11-25 03:51:51,463 INFO L276 IsEmpty]: Start isEmpty. Operand 29 states and 37 transitions. [2024-11-25 03:51:51,463 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 43 [2024-11-25 03:51:51,463 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-25 03:51:51,463 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-25 03:51:51,502 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-25 03:51:51,632 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-25 03:51:51,773 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-25 03:51:51,774 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 38 states to 30 states and 38 transitions. [2024-11-25 03:51:51,774 INFO L276 IsEmpty]: Start isEmpty. Operand 30 states and 38 transitions. [2024-11-25 03:51:51,775 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 44 [2024-11-25 03:51:51,775 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-25 03:51:51,775 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-25 03:51:51,825 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-25 03:51:52,007 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-25 03:51:52,132 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-25 03:51:52,132 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 38 states to 31 states and 38 transitions. [2024-11-25 03:51:52,133 INFO L276 IsEmpty]: Start isEmpty. Operand 31 states and 38 transitions. [2024-11-25 03:51:52,133 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 45 [2024-11-25 03:51:52,133 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-25 03:51:52,133 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-25 03:51:52,583 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unknown [2024-11-25 03:51:52,835 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-25 03:51:52,835 INFO L357 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-11-25 03:51:52,973 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-25 03:51:53,051 WARN L473 CodeCheckObserver]: This program is UNSAFE, Check terminated with 15 iterations. [2024-11-25 03:51:53,116 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck CFG 25.11 03:51:53 ImpRootNode [2024-11-25 03:51:53,116 INFO L131 PluginConnector]: ------------------------ END CodeCheck---------------------------- [2024-11-25 03:51:53,117 INFO L112 PluginConnector]: ------------------------Witness Printer---------------------------- [2024-11-25 03:51:53,117 INFO L270 PluginConnector]: Initializing Witness Printer... [2024-11-25 03:51:53,117 INFO L274 PluginConnector]: Witness Printer initialized [2024-11-25 03:51:53,124 INFO L184 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 25.11 03:51:47" (3/4) ... [2024-11-25 03:51:53,125 INFO L140 WitnessPrinter]: Generating witness for reachability counterexample [2024-11-25 03:51:53,223 INFO L129 tionWitnessGenerator]: Generated YAML witness of length 57. [2024-11-25 03:51:53,316 INFO L149 WitnessManager]: Wrote witness to /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_233e767a-0d52-45ce-b6fe-9d2c12f5bde1/bin/ukojak-verify-ENZ3QT5qd3/witness.graphml [2024-11-25 03:51:53,319 INFO L149 WitnessManager]: Wrote witness to /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_233e767a-0d52-45ce-b6fe-9d2c12f5bde1/bin/ukojak-verify-ENZ3QT5qd3/witness.yml [2024-11-25 03:51:53,320 INFO L131 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2024-11-25 03:51:53,321 INFO L158 Benchmark]: Toolchain (without parser) took 6659.00ms. Allocated memory was 117.4MB in the beginning and 352.3MB in the end (delta: 234.9MB). Free memory was 93.5MB in the beginning and 318.0MB in the end (delta: -224.5MB). Peak memory consumption was 207.7MB. Max. memory is 16.1GB. [2024-11-25 03:51:53,324 INFO L158 Benchmark]: CDTParser took 0.39ms. Allocated memory is still 167.8MB. Free memory is still 105.6MB. There was no memory consumed. Max. memory is 16.1GB. [2024-11-25 03:51:53,325 INFO L158 Benchmark]: CACSL2BoogieTranslator took 261.19ms. Allocated memory is still 117.4MB. Free memory was 93.5MB in the beginning and 82.2MB in the end (delta: 11.3MB). Peak memory consumption was 8.4MB. Max. memory is 16.1GB. [2024-11-25 03:51:53,325 INFO L158 Benchmark]: Boogie Procedure Inliner took 33.97ms. Allocated memory is still 117.4MB. Free memory was 82.2MB in the beginning and 80.7MB in the end (delta: 1.4MB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-25 03:51:53,325 INFO L158 Benchmark]: Boogie Preprocessor took 35.93ms. Allocated memory is still 117.4MB. Free memory was 80.7MB in the beginning and 79.8MB in the end (delta: 940.6kB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-25 03:51:53,325 INFO L158 Benchmark]: RCFGBuilder took 468.63ms. Allocated memory is still 117.4MB. Free memory was 79.8MB in the beginning and 64.4MB in the end (delta: 15.4MB). Peak memory consumption was 16.8MB. Max. memory is 16.1GB. [2024-11-25 03:51:53,326 INFO L158 Benchmark]: CodeCheck took 5651.23ms. Allocated memory was 117.4MB in the beginning and 352.3MB in the end (delta: 234.9MB). Free memory was 64.4MB in the beginning and 123.6MB in the end (delta: -59.3MB). Peak memory consumption was 174.1MB. Max. memory is 16.1GB. [2024-11-25 03:51:53,326 INFO L158 Benchmark]: Witness Printer took 203.15ms. Allocated memory is still 352.3MB. Free memory was 123.6MB in the beginning and 318.0MB in the end (delta: -194.3MB). Peak memory consumption was 8.4MB. Max. memory is 16.1GB. [2024-11-25 03:51:53,332 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.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, 572 SdHoareTripleChecker+Valid, 2.5s IncrementalHoareTripleChecker+Time, 0 mSdLazyCounter, 0 mSDsluCounter, 182 SdHoareTripleChecker+Invalid, 2.0s 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.1s 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, 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.39ms. Allocated memory is still 167.8MB. Free memory is still 105.6MB. There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 261.19ms. Allocated memory is still 117.4MB. Free memory was 93.5MB in the beginning and 82.2MB in the end (delta: 11.3MB). Peak memory consumption was 8.4MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 33.97ms. Allocated memory is still 117.4MB. Free memory was 82.2MB in the beginning and 80.7MB in the end (delta: 1.4MB). There was no memory consumed. Max. memory is 16.1GB. * Boogie Preprocessor took 35.93ms. Allocated memory is still 117.4MB. Free memory was 80.7MB in the beginning and 79.8MB in the end (delta: 940.6kB). There was no memory consumed. Max. memory is 16.1GB. * RCFGBuilder took 468.63ms. Allocated memory is still 117.4MB. Free memory was 79.8MB in the beginning and 64.4MB in the end (delta: 15.4MB). Peak memory consumption was 16.8MB. Max. memory is 16.1GB. * CodeCheck took 5651.23ms. Allocated memory was 117.4MB in the beginning and 352.3MB in the end (delta: 234.9MB). Free memory was 64.4MB in the beginning and 123.6MB in the end (delta: -59.3MB). Peak memory consumption was 174.1MB. Max. memory is 16.1GB. * Witness Printer took 203.15ms. Allocated memory is still 352.3MB. Free memory was 123.6MB in the beginning and 318.0MB in the end (delta: -194.3MB). Peak memory consumption was 8.4MB. Max. memory is 16.1GB. RESULT: Ultimate proved your program to be incorrect! [2024-11-25 03:51:53,357 INFO L540 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_233e767a-0d52-45ce-b6fe-9d2c12f5bde1/bin/ukojak-verify-ENZ3QT5qd3/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (1)] Forceful destruction successful, exit code 0 Received shutdown request... --- End real Ultimate output --- Execution finished normally Writing output log to file Ultimate.log Writing human readable error path to file UltimateCounterExample.errorpath Result: FALSE