./Ultimate.py --spec ../../sv-benchmarks/c/properties/valid-memcleanup.prp --file ../../sv-benchmarks/c/heap-manipulation/merge_sort-1.i --full-output --architecture 32bit -------------------------------------------------------------------------------- Checking for memory safety (memcleanup) Using default analysis Version 826ab2ba Calling Ultimate with: /usr/bin/java -Dosgi.configuration.area=/tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_c69294f7-3696-416d-b860-1eef464398e4/bin/ukojak-verify-EEHR8qb7sm/data/config -Xmx15G -Xms4m -jar /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_c69294f7-3696-416d-b860-1eef464398e4/bin/ukojak-verify-EEHR8qb7sm/plugins/org.eclipse.equinox.launcher_1.6.800.v20240513-1750.jar -data @noDefault -ultimatedata /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_c69294f7-3696-416d-b860-1eef464398e4/bin/ukojak-verify-EEHR8qb7sm/data -tc /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_c69294f7-3696-416d-b860-1eef464398e4/bin/ukojak-verify-EEHR8qb7sm/config/KojakMemDerefMemtrack.xml -i ../../sv-benchmarks/c/heap-manipulation/merge_sort-1.i -s /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_c69294f7-3696-416d-b860-1eef464398e4/bin/ukojak-verify-EEHR8qb7sm/config/svcomp-MemCleanup-32bit-Kojak_Default.epf --cacsl2boogietranslator.entry.function main --witnessprinter.witness.directory /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_c69294f7-3696-416d-b860-1eef464398e4/bin/ukojak-verify-EEHR8qb7sm --witnessprinter.witness.filename witness --witnessprinter.write.witness.besides.input.file false --witnessprinter.graph.data.specification CHECK( init(main()), LTL(G valid-memcleanup) ) --witnessprinter.graph.data.producer Kojak --witnessprinter.graph.data.architecture 32bit --witnessprinter.graph.data.programhash 15d1d7d49ed223522c6431664b8ff836ebc81296f5e11773e2197361bd8b13cf --- Real Ultimate output --- This is Ultimate 0.3.0-dev-826ab2b [2024-11-13 21:07:27,238 INFO L188 SettingsManager]: Resetting all preferences to default values... [2024-11-13 21:07:27,320 INFO L114 SettingsManager]: Loading settings from /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_c69294f7-3696-416d-b860-1eef464398e4/bin/ukojak-verify-EEHR8qb7sm/config/svcomp-MemCleanup-32bit-Kojak_Default.epf [2024-11-13 21:07:27,325 WARN L101 SettingsManager]: Preference file contains the following unknown settings: [2024-11-13 21:07:27,326 WARN L103 SettingsManager]: * de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck.Interpolating solver [2024-11-13 21:07:27,364 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2024-11-13 21:07:27,365 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2024-11-13 21:07:27,366 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2024-11-13 21:07:27,366 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2024-11-13 21:07:27,366 INFO L153 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2024-11-13 21:07:27,366 INFO L153 SettingsManager]: * sizeof long=4 [2024-11-13 21:07:27,366 INFO L153 SettingsManager]: * Overapproximate operations on floating types=true [2024-11-13 21:07:27,366 INFO L153 SettingsManager]: * sizeof POINTER=4 [2024-11-13 21:07:27,366 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2024-11-13 21:07:27,367 INFO L153 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2024-11-13 21:07:27,368 INFO L153 SettingsManager]: * Check for the main procedure if all allocated memory was freed=true [2024-11-13 21:07:27,368 INFO L153 SettingsManager]: * Bitprecise bitfields=true [2024-11-13 21:07:27,368 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2024-11-13 21:07:27,369 INFO L153 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2024-11-13 21:07:27,369 INFO L153 SettingsManager]: * Allow undefined functions=false [2024-11-13 21:07:27,369 INFO L153 SettingsManager]: * Check unreachability of reach_error function=false [2024-11-13 21:07:27,370 INFO L153 SettingsManager]: * sizeof long double=12 [2024-11-13 21:07:27,370 INFO L153 SettingsManager]: * Check if freed pointer was valid=false [2024-11-13 21:07:27,370 INFO L153 SettingsManager]: * Use constant arrays=true [2024-11-13 21:07:27,370 INFO L151 SettingsManager]: Preferences of CodeCheck differ from their defaults: [2024-11-13 21:07:27,370 INFO L153 SettingsManager]: * Timeout in seconds=1000000 [2024-11-13 21:07:27,370 INFO L153 SettingsManager]: * Theory for external solver=ALL [2024-11-13 21:07:27,371 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2024-11-13 21:07:27,371 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2024-11-13 21:07:27,371 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2024-11-13 21:07:27,371 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2024-11-13 21:07:27,371 INFO L153 SettingsManager]: * Trace refinement strategy=PENGUIN [2024-11-13 21:07:27,371 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2024-11-13 21:07:27,371 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_c69294f7-3696-416d-b860-1eef464398e4/bin/ukojak-verify-EEHR8qb7sm Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Witness filename -> witness Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Write witness besides input file -> false Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data specification -> CHECK( init(main()), LTL(G valid-memcleanup) ) 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 -> 15d1d7d49ed223522c6431664b8ff836ebc81296f5e11773e2197361bd8b13cf [2024-11-13 21:07:27,683 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2024-11-13 21:07:27,694 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2024-11-13 21:07:27,699 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2024-11-13 21:07:27,700 INFO L270 PluginConnector]: Initializing CDTParser... [2024-11-13 21:07:27,701 INFO L274 PluginConnector]: CDTParser initialized [2024-11-13 21:07:27,703 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_c69294f7-3696-416d-b860-1eef464398e4/bin/ukojak-verify-EEHR8qb7sm/../../sv-benchmarks/c/heap-manipulation/merge_sort-1.i Unable to find full path for "g++" [2024-11-13 21:07:29,621 INFO L533 CDTParser]: Created temporary CDT project at NULL [2024-11-13 21:07:30,058 INFO L384 CDTParser]: Found 1 translation units. [2024-11-13 21:07:30,059 INFO L180 CDTParser]: Scanning /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_c69294f7-3696-416d-b860-1eef464398e4/sv-benchmarks/c/heap-manipulation/merge_sort-1.i [2024-11-13 21:07:30,071 INFO L427 CDTParser]: About to delete temporary CDT project at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_c69294f7-3696-416d-b860-1eef464398e4/bin/ukojak-verify-EEHR8qb7sm/data/b3ca0fc92/51c1d8263da440c48099e5ac64c3a95b/FLAG634060618 [2024-11-13 21:07:30,086 INFO L435 CDTParser]: Successfully deleted /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_c69294f7-3696-416d-b860-1eef464398e4/bin/ukojak-verify-EEHR8qb7sm/data/b3ca0fc92/51c1d8263da440c48099e5ac64c3a95b [2024-11-13 21:07:30,088 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2024-11-13 21:07:30,090 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2024-11-13 21:07:30,092 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2024-11-13 21:07:30,092 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2024-11-13 21:07:30,097 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2024-11-13 21:07:30,099 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 13.11 09:07:30" (1/1) ... [2024-11-13 21:07:30,101 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@27d22ff5 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 09:07:30, skipping insertion in model container [2024-11-13 21:07:30,103 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 13.11 09:07:30" (1/1) ... [2024-11-13 21:07:30,145 INFO L175 MainTranslator]: Built tables and reachable declarations [2024-11-13 21:07:30,472 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-13 21:07:30,485 INFO L200 MainTranslator]: Completed pre-run [2024-11-13 21:07:30,552 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-13 21:07:30,592 INFO L204 MainTranslator]: Completed translation [2024-11-13 21:07:30,593 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 09:07:30 WrapperNode [2024-11-13 21:07:30,593 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2024-11-13 21:07:30,594 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2024-11-13 21:07:30,595 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2024-11-13 21:07:30,596 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2024-11-13 21:07:30,603 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 09:07:30" (1/1) ... [2024-11-13 21:07:30,626 INFO L184 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 09:07:30" (1/1) ... [2024-11-13 21:07:30,673 INFO L138 Inliner]: procedures = 125, calls = 84, calls flagged for inlining = 22, calls inlined = 34, statements flattened = 359 [2024-11-13 21:07:30,677 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2024-11-13 21:07:30,678 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2024-11-13 21:07:30,678 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2024-11-13 21:07:30,678 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2024-11-13 21:07:30,694 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 09:07:30" (1/1) ... [2024-11-13 21:07:30,695 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 09:07:30" (1/1) ... [2024-11-13 21:07:30,700 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 09:07:30" (1/1) ... [2024-11-13 21:07:30,700 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 09:07:30" (1/1) ... [2024-11-13 21:07:30,724 INFO L184 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 09:07:30" (1/1) ... [2024-11-13 21:07:30,732 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 09:07:30" (1/1) ... [2024-11-13 21:07:30,735 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 09:07:30" (1/1) ... [2024-11-13 21:07:30,736 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 09:07:30" (1/1) ... [2024-11-13 21:07:30,741 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2024-11-13 21:07:30,743 INFO L112 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2024-11-13 21:07:30,743 INFO L270 PluginConnector]: Initializing RCFGBuilder... [2024-11-13 21:07:30,743 INFO L274 PluginConnector]: RCFGBuilder initialized [2024-11-13 21:07:30,744 INFO L184 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 09:07:30" (1/1) ... [2024-11-13 21:07:30,754 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2024-11-13 21:07:30,770 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_c69294f7-3696-416d-b860-1eef464398e4/bin/ukojak-verify-EEHR8qb7sm/z3 [2024-11-13 21:07:30,787 INFO L229 MonitoredProcess]: Starting monitored process 1 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_c69294f7-3696-416d-b860-1eef464398e4/bin/ukojak-verify-EEHR8qb7sm/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (exit command is (exit), workingDir is null) [2024-11-13 21:07:30,792 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_c69294f7-3696-416d-b860-1eef464398e4/bin/ukojak-verify-EEHR8qb7sm/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (1)] Waiting until timeout for monitored process [2024-11-13 21:07:30,822 INFO L130 BoogieDeclarations]: Found specification of procedure read~int [2024-11-13 21:07:30,822 INFO L130 BoogieDeclarations]: Found specification of procedure write~int [2024-11-13 21:07:30,822 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnHeap [2024-11-13 21:07:30,823 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2024-11-13 21:07:30,823 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnStack [2024-11-13 21:07:30,823 INFO L130 BoogieDeclarations]: Found specification of procedure write~$Pointer$ [2024-11-13 21:07:30,824 INFO L130 BoogieDeclarations]: Found specification of procedure read~$Pointer$ [2024-11-13 21:07:30,824 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.dealloc [2024-11-13 21:07:30,824 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int [2024-11-13 21:07:30,824 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2024-11-13 21:07:30,824 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2024-11-13 21:07:31,017 INFO L238 CfgBuilder]: Building ICFG [2024-11-13 21:07:31,019 INFO L264 CfgBuilder]: Building CFG for each procedure with an implementation [2024-11-13 21:07:31,672 INFO L? ?]: Removed 82 outVars from TransFormulas that were not future-live. [2024-11-13 21:07:31,672 INFO L287 CfgBuilder]: Performing block encoding [2024-11-13 21:07:31,905 INFO L311 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2024-11-13 21:07:31,907 INFO L316 CfgBuilder]: Removed 33 assume(true) statements. [2024-11-13 21:07:31,908 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 13.11 09:07:31 BoogieIcfgContainer [2024-11-13 21:07:31,908 INFO L131 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2024-11-13 21:07:31,909 INFO L112 PluginConnector]: ------------------------CodeCheck---------------------------- [2024-11-13 21:07:31,909 INFO L270 PluginConnector]: Initializing CodeCheck... [2024-11-13 21:07:31,921 INFO L274 PluginConnector]: CodeCheck initialized [2024-11-13 21:07:31,921 INFO L184 PluginConnector]: Executing the observer CodeCheckObserver from plugin CodeCheck for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 13.11 09:07:31" (1/1) ... [2024-11-13 21:07:31,936 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-11-13 21:07:32,023 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-13 21:07:32,035 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 177 states to 112 states and 177 transitions. [2024-11-13 21:07:32,037 INFO L276 IsEmpty]: Start isEmpty. Operand 112 states and 177 transitions. [2024-11-13 21:07:32,040 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 5 [2024-11-13 21:07:32,040 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-13 21:07:32,041 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-13 21:07:32,149 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-13 21:07:32,202 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2024-11-13 21:07:32,237 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-13 21:07:32,239 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 176 states to 112 states and 176 transitions. [2024-11-13 21:07:32,240 INFO L276 IsEmpty]: Start isEmpty. Operand 112 states and 176 transitions. [2024-11-13 21:07:32,240 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 6 [2024-11-13 21:07:32,241 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-13 21:07:32,241 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-13 21:07:32,262 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-13 21:07:32,335 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2024-11-13 21:07:32,433 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-13 21:07:32,434 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 183 states to 116 states and 183 transitions. [2024-11-13 21:07:32,434 INFO L276 IsEmpty]: Start isEmpty. Operand 116 states and 183 transitions. [2024-11-13 21:07:32,434 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 8 [2024-11-13 21:07:32,434 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-13 21:07:32,434 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-13 21:07:32,502 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-13 21:07:32,629 INFO L134 CoverageAnalysis]: Checked inductivity of 2 backedges. 2 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2024-11-13 21:07:32,775 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-13 21:07:32,776 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 182 states to 116 states and 182 transitions. [2024-11-13 21:07:32,776 INFO L276 IsEmpty]: Start isEmpty. Operand 116 states and 182 transitions. [2024-11-13 21:07:32,776 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 8 [2024-11-13 21:07:32,776 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-13 21:07:32,777 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-13 21:07:32,793 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-13 21:07:32,866 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2024-11-13 21:07:32,987 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-13 21:07:32,987 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 180 states to 118 states and 180 transitions. [2024-11-13 21:07:32,988 INFO L276 IsEmpty]: Start isEmpty. Operand 118 states and 180 transitions. [2024-11-13 21:07:32,988 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 10 [2024-11-13 21:07:32,988 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-13 21:07:32,988 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-13 21:07:33,024 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-13 21:07:33,175 INFO L134 CoverageAnalysis]: Checked inductivity of 2 backedges. 2 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2024-11-13 21:07:33,220 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-13 21:07:33,221 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 182 states to 119 states and 182 transitions. [2024-11-13 21:07:33,221 INFO L276 IsEmpty]: Start isEmpty. Operand 119 states and 182 transitions. [2024-11-13 21:07:33,221 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 12 [2024-11-13 21:07:33,221 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-13 21:07:33,221 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-13 21:07:33,278 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-13 21:07:33,445 INFO L134 CoverageAnalysis]: Checked inductivity of 6 backedges. 4 proven. 0 refuted. 0 times theorem prover too weak. 2 trivial. 0 not checked. [2024-11-13 21:07:33,628 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-13 21:07:33,629 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 177 states to 115 states and 177 transitions. [2024-11-13 21:07:33,629 INFO L276 IsEmpty]: Start isEmpty. Operand 115 states and 177 transitions. [2024-11-13 21:07:33,629 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 13 [2024-11-13 21:07:33,629 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-13 21:07:33,630 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-13 21:07:33,662 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-13 21:07:33,692 INFO L134 CoverageAnalysis]: Checked inductivity of 2 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 2 trivial. 0 not checked. [2024-11-13 21:07:33,708 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-13 21:07:33,710 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 171 states to 114 states and 171 transitions. [2024-11-13 21:07:33,710 INFO L276 IsEmpty]: Start isEmpty. Operand 114 states and 171 transitions. [2024-11-13 21:07:33,710 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 14 [2024-11-13 21:07:33,711 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-13 21:07:33,712 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-13 21:07:33,741 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-13 21:07:33,844 INFO L134 CoverageAnalysis]: Checked inductivity of 2 backedges. 2 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2024-11-13 21:07:33,881 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-13 21:07:33,882 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 176 states to 117 states and 176 transitions. [2024-11-13 21:07:33,882 INFO L276 IsEmpty]: Start isEmpty. Operand 117 states and 176 transitions. [2024-11-13 21:07:33,882 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 14 [2024-11-13 21:07:33,883 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-13 21:07:33,883 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-13 21:07:33,903 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-13 21:07:34,044 INFO L134 CoverageAnalysis]: Checked inductivity of 2 backedges. 2 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2024-11-13 21:07:34,389 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-13 21:07:34,390 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 174 states to 118 states and 174 transitions. [2024-11-13 21:07:34,390 INFO L276 IsEmpty]: Start isEmpty. Operand 118 states and 174 transitions. [2024-11-13 21:07:34,390 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 17 [2024-11-13 21:07:34,390 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-13 21:07:34,391 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-13 21:07:34,410 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-13 21:07:34,729 INFO L134 CoverageAnalysis]: Checked inductivity of 2 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 2 trivial. 0 not checked. [2024-11-13 21:07:35,440 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-13 21:07:35,442 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 172 states to 120 states and 172 transitions. [2024-11-13 21:07:35,444 INFO L276 IsEmpty]: Start isEmpty. Operand 120 states and 172 transitions. [2024-11-13 21:07:35,445 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 17 [2024-11-13 21:07:35,445 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-13 21:07:35,445 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-13 21:07:35,467 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-13 21:07:35,668 INFO L134 CoverageAnalysis]: Checked inductivity of 2 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 2 trivial. 0 not checked. [2024-11-13 21:07:35,773 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-13 21:07:35,776 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 170 states to 122 states and 170 transitions. [2024-11-13 21:07:35,776 INFO L276 IsEmpty]: Start isEmpty. Operand 122 states and 170 transitions. [2024-11-13 21:07:35,776 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 20 [2024-11-13 21:07:35,776 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-13 21:07:35,777 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-13 21:07:35,813 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-13 21:07:36,163 INFO L134 CoverageAnalysis]: Checked inductivity of 2 backedges. 2 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2024-11-13 21:07:38,203 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-13 21:07:38,204 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 181 states to 132 states and 181 transitions. [2024-11-13 21:07:38,204 INFO L276 IsEmpty]: Start isEmpty. Operand 132 states and 181 transitions. [2024-11-13 21:07:38,205 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 20 [2024-11-13 21:07:38,205 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-13 21:07:38,205 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-13 21:07:38,230 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-13 21:07:38,467 INFO L134 CoverageAnalysis]: Checked inductivity of 2 backedges. 2 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2024-11-13 21:07:39,584 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-13 21:07:39,585 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 184 states to 138 states and 184 transitions. [2024-11-13 21:07:39,585 INFO L276 IsEmpty]: Start isEmpty. Operand 138 states and 184 transitions. [2024-11-13 21:07:39,586 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 22 [2024-11-13 21:07:39,586 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-13 21:07:39,586 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-13 21:07:39,658 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-13 21:07:39,851 INFO L134 CoverageAnalysis]: Checked inductivity of 6 backedges. 4 proven. 0 refuted. 0 times theorem prover too weak. 2 trivial. 0 not checked. [2024-11-13 21:07:40,426 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-13 21:07:40,427 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 180 states to 136 states and 180 transitions. [2024-11-13 21:07:40,427 INFO L276 IsEmpty]: Start isEmpty. Operand 136 states and 180 transitions. [2024-11-13 21:07:40,428 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 23 [2024-11-13 21:07:40,431 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-13 21:07:40,431 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-13 21:07:40,457 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-13 21:07:40,457 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-11-13 21:07:40,468 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-13 21:07:40,544 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-13 21:07:40,544 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-11-13 21:07:40,564 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-13 21:07:40,602 WARN L473 CodeCheckObserver]: This program is UNSAFE, Check terminated with 15 iterations. [2024-11-13 21:07:40,651 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck CFG 13.11 09:07:40 ImpRootNode [2024-11-13 21:07:40,652 INFO L131 PluginConnector]: ------------------------ END CodeCheck---------------------------- [2024-11-13 21:07:40,652 INFO L112 PluginConnector]: ------------------------Witness Printer---------------------------- [2024-11-13 21:07:40,653 INFO L270 PluginConnector]: Initializing Witness Printer... [2024-11-13 21:07:40,653 INFO L274 PluginConnector]: Witness Printer initialized [2024-11-13 21:07:40,654 INFO L184 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 13.11 09:07:31" (3/4) ... [2024-11-13 21:07:40,655 INFO L136 WitnessPrinter]: Generating witness for reachability counterexample [2024-11-13 21:07:40,720 INFO L149 WitnessManager]: Wrote witness to /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_c69294f7-3696-416d-b860-1eef464398e4/bin/ukojak-verify-EEHR8qb7sm/witness.graphml [2024-11-13 21:07:40,720 INFO L131 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2024-11-13 21:07:40,723 INFO L158 Benchmark]: Toolchain (without parser) took 10630.72ms. Allocated memory is still 142.6MB. Free memory was 118.0MB in the beginning and 78.9MB in the end (delta: 39.1MB). Peak memory consumption was 34.9MB. Max. memory is 16.1GB. [2024-11-13 21:07:40,724 INFO L158 Benchmark]: CDTParser took 0.46ms. Allocated memory is still 142.6MB. Free memory is still 80.0MB. There was no memory consumed. Max. memory is 16.1GB. [2024-11-13 21:07:40,724 INFO L158 Benchmark]: CACSL2BoogieTranslator took 501.85ms. Allocated memory is still 142.6MB. Free memory was 117.8MB in the beginning and 99.6MB in the end (delta: 18.2MB). Peak memory consumption was 16.8MB. Max. memory is 16.1GB. [2024-11-13 21:07:40,724 INFO L158 Benchmark]: Boogie Procedure Inliner took 82.72ms. Allocated memory is still 142.6MB. Free memory was 99.4MB in the beginning and 96.9MB in the end (delta: 2.4MB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-13 21:07:40,725 INFO L158 Benchmark]: Boogie Preprocessor took 63.24ms. Allocated memory is still 142.6MB. Free memory was 96.9MB in the beginning and 94.3MB in the end (delta: 2.6MB). Peak memory consumption was 8.4MB. Max. memory is 16.1GB. [2024-11-13 21:07:40,725 INFO L158 Benchmark]: RCFGBuilder took 1165.18ms. Allocated memory is still 142.6MB. Free memory was 94.3MB in the beginning and 48.4MB in the end (delta: 45.9MB). Peak memory consumption was 41.9MB. Max. memory is 16.1GB. [2024-11-13 21:07:40,728 INFO L158 Benchmark]: CodeCheck took 8743.16ms. Allocated memory is still 142.6MB. Free memory was 48.4MB in the beginning and 81.8MB in the end (delta: -33.3MB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-13 21:07:40,728 INFO L158 Benchmark]: Witness Printer took 67.58ms. Allocated memory is still 142.6MB. Free memory was 81.8MB in the beginning and 78.9MB in the end (delta: 2.9MB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-13 21:07:40,730 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 1 procedures, 112 locations, 14 error locations. Started 1 CEGAR loops. OverallTime: 8.7s, OverallIterations: 15, TraceHistogramMax: 0, PathProgramHistogramMax: 0, EmptinessCheckTime: 0.0s, AutomataDifference: 0.0s, DeadEndRemovalTime: 0.0s, HoareAnnotationTime: 0.0s, InitialAbstractionConstructionTime: 0.0s, HoareTripleCheckerStatistics: 0 mSolverCounterUnknown, 1243 SdHoareTripleChecker+Valid, 4.3s IncrementalHoareTripleChecker+Time, 0 mSdLazyCounter, 430 mSDsluCounter, 887 SdHoareTripleChecker+Invalid, 3.7s Time, 0 mProtectedAction, 0 SdHoareTripleChecker+Unchecked, 0 IncrementalHoareTripleChecker+Unchecked, 514 mSDsCounter, 366 IncrementalHoareTripleChecker+Valid, 0 mProtectedPredicate, 1097 IncrementalHoareTripleChecker+Invalid, 1463 SdHoareTripleChecker+Unknown, 0 mSolverCounterNotChecked, 366 mSolverCounterUnsat, 373 mSDtfsCounter, 1097 mSolverCounterSat, 0.1s SdHoareTripleChecker+Time, 0 IncrementalHoareTripleChecker+Unknown, PredicateUnifierStatistics: 0 DeclaredPredicates, 1423 GetRequests, 1317 SyntacticMatches, 2 SemanticMatches, 104 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 3519 ImplicationChecksByTransitivity, 5.3s Time, 0.0s BasicInterpolantAutomatonTime, BiggestAbstraction: size=-1occurred in iteration=-1, InterpolantAutomatonStates: 0, traceCheckStatistics: 0.1s SsaConstructionTime, 0.2s SatisfiabilityAnalysisTime, 2.2s InterpolantComputationTime, 194 NumberOfCodeBlocks, 194 NumberOfCodeBlocksAsserted, 15 NumberOfCheckSat, 158 ConstructedInterpolants, 0 QuantifiedInterpolants, 704 SizeOfPredicates, 0 NumberOfNonLiveVariables, 0 ConjunctsInSsa, 0 ConjunctsInUnsatCore, 14 InterpolantComputations, 14 PerfectInterpolantSequences, 30/30 InterpolantCoveringCapability, InterpolantConsolidationStatistics: No data available, PathInvariantsStatistics: No data available, 0/0 InterpolantCoveringCapability, TotalInterpolationStatistics: No data available, 0.0s DumpTime, AutomataMinimizationStatistics: No data available, HoareAnnotationStatistics: No data available, RefinementEngineStatistics: No data available, ReuseStatistics: No data available - CounterExampleResult [Line: 12]: not all allocated memory was freed not all allocated memory was freed We found a FailurePath: [L638] struct list *data = ((void *)0); VAL [data={0:0}] [L639] COND TRUE __VERIFIER_nondet_int() [L640] struct node *node = malloc(sizeof *node); [L641] COND FALSE !(!node) [L643] node->next = node [L644] node->value = __VERIFIER_nondet_int() [L645] struct list *item = malloc(sizeof *item); [L646] COND FALSE !(!item) [L648] item->slist = node [L649] item->next = data [L650] data = item [L639] COND FALSE !(__VERIFIER_nondet_int()) [L652] COND FALSE !(!data) [L654] CALL inspect_before(data) [L615] COND FALSE !(!(shape)) VAL [shape={-2:0}] [L616] shape->next VAL [shape={-2:0}] [L616] COND FALSE !(shape->next) [L622] COND FALSE !(!(shape)) VAL [shape={-2:0}] [L623] EXPR shape->next VAL [shape={-2:0}] [L623] COND FALSE !(!(shape->next == ((void *)0))) [L624] EXPR shape->slist VAL [shape={-2:0}] [L624] COND FALSE !(!(shape->slist)) [L625] EXPR shape->slist [L625] EXPR shape->slist->next VAL [shape={-2:0}] [L625] COND TRUE !(shape->slist->next == ((void *)0)) [L625] CALL fail() [L565] CALL reach_error() [L12] COND FALSE !(0) [L12] __assert_fail ("0", "merge_sort-1.c", 3, __extension__ __PRETTY_FUNCTION__) * Results from de.uni_freiburg.informatik.ultimate.core: - StatisticsResult: Toolchain Benchmarks Benchmark results are: * CDTParser took 0.46ms. Allocated memory is still 142.6MB. Free memory is still 80.0MB. There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 501.85ms. Allocated memory is still 142.6MB. Free memory was 117.8MB in the beginning and 99.6MB in the end (delta: 18.2MB). Peak memory consumption was 16.8MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 82.72ms. Allocated memory is still 142.6MB. Free memory was 99.4MB in the beginning and 96.9MB in the end (delta: 2.4MB). There was no memory consumed. Max. memory is 16.1GB. * Boogie Preprocessor took 63.24ms. Allocated memory is still 142.6MB. Free memory was 96.9MB in the beginning and 94.3MB in the end (delta: 2.6MB). Peak memory consumption was 8.4MB. Max. memory is 16.1GB. * RCFGBuilder took 1165.18ms. Allocated memory is still 142.6MB. Free memory was 94.3MB in the beginning and 48.4MB in the end (delta: 45.9MB). Peak memory consumption was 41.9MB. Max. memory is 16.1GB. * CodeCheck took 8743.16ms. Allocated memory is still 142.6MB. Free memory was 48.4MB in the beginning and 81.8MB in the end (delta: -33.3MB). There was no memory consumed. Max. memory is 16.1GB. * Witness Printer took 67.58ms. Allocated memory is still 142.6MB. Free memory was 81.8MB in the beginning and 78.9MB in the end (delta: 2.9MB). There was no memory consumed. Max. memory is 16.1GB. RESULT: Ultimate proved your program to be incorrect! [2024-11-13 21:07:40,771 INFO L552 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_c69294f7-3696-416d-b860-1eef464398e4/bin/ukojak-verify-EEHR8qb7sm/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (1)] Ended with exit code 0 Received shutdown request... --- End real Ultimate output --- Execution finished normally Writing output log to file Ultimate.log Writing human readable error path to file UltimateCounterExample.errorpath Result: FALSE(valid-memcleanup)