./Ultimate.py --spec ../../sv-benchmarks/c/properties/valid-memcleanup.prp --file ../../sv-benchmarks/c/list-properties/list_search-1.i --full-output --architecture 32bit -------------------------------------------------------------------------------- Checking for memory safety (memcleanup) Using default analysis Version d790fecc Calling Ultimate with: /usr/bin/java -Dosgi.configuration.area=/tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_505ae9ae-c65f-4e1e-9433-f92c6a62a542/bin/ukojak-verify-ENZ3QT5qd3/data/config -Xmx15G -Xms4m -jar /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_505ae9ae-c65f-4e1e-9433-f92c6a62a542/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_505ae9ae-c65f-4e1e-9433-f92c6a62a542/bin/ukojak-verify-ENZ3QT5qd3/data -tc /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_505ae9ae-c65f-4e1e-9433-f92c6a62a542/bin/ukojak-verify-ENZ3QT5qd3/config/KojakMemDerefMemtrack.xml -i ../../sv-benchmarks/c/list-properties/list_search-1.i -s /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_505ae9ae-c65f-4e1e-9433-f92c6a62a542/bin/ukojak-verify-ENZ3QT5qd3/config/svcomp-MemCleanup-32bit-Kojak_Default.epf --cacsl2boogietranslator.entry.function main --witnessprinter.witness.directory /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_505ae9ae-c65f-4e1e-9433-f92c6a62a542/bin/ukojak-verify-ENZ3QT5qd3 --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 ef935aaf7590747bfbe771bbb249e6b84337edbf0e97024d9de82d0d23d44f30 --- Real Ultimate output --- This is Ultimate 0.3.0-dev-d790fec [2024-11-25 03:45:52,204 INFO L188 SettingsManager]: Resetting all preferences to default values... [2024-11-25 03:45:52,306 INFO L114 SettingsManager]: Loading settings from /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_505ae9ae-c65f-4e1e-9433-f92c6a62a542/bin/ukojak-verify-ENZ3QT5qd3/config/svcomp-MemCleanup-32bit-Kojak_Default.epf [2024-11-25 03:45:52,315 WARN L101 SettingsManager]: Preference file contains the following unknown settings: [2024-11-25 03:45:52,315 WARN L103 SettingsManager]: * de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck.Interpolating solver [2024-11-25 03:45:52,344 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2024-11-25 03:45:52,345 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2024-11-25 03:45:52,345 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2024-11-25 03:45:52,346 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2024-11-25 03:45:52,346 INFO L153 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2024-11-25 03:45:52,347 INFO L153 SettingsManager]: * sizeof long=4 [2024-11-25 03:45:52,348 INFO L153 SettingsManager]: * Overapproximate operations on floating types=true [2024-11-25 03:45:52,348 INFO L153 SettingsManager]: * sizeof POINTER=4 [2024-11-25 03:45:52,348 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2024-11-25 03:45:52,348 INFO L153 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2024-11-25 03:45:52,348 INFO L153 SettingsManager]: * Check for the main procedure if all allocated memory was freed=true [2024-11-25 03:45:52,349 INFO L153 SettingsManager]: * Bitprecise bitfields=true [2024-11-25 03:45:52,349 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2024-11-25 03:45:52,349 INFO L153 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2024-11-25 03:45:52,349 INFO L153 SettingsManager]: * Check unreachability of reach_error function=false [2024-11-25 03:45:52,349 INFO L153 SettingsManager]: * sizeof long double=12 [2024-11-25 03:45:52,349 INFO L153 SettingsManager]: * Check if freed pointer was valid=false [2024-11-25 03:45:52,349 INFO L153 SettingsManager]: * Behaviour of calls to undefined functions=OVERAPPROXIMATE_BEHAVIOUR [2024-11-25 03:45:52,349 INFO L153 SettingsManager]: * Use constant arrays=true [2024-11-25 03:45:52,350 INFO L151 SettingsManager]: Preferences of CodeCheck differ from their defaults: [2024-11-25 03:45:52,350 INFO L153 SettingsManager]: * Timeout in seconds=1000000 [2024-11-25 03:45:52,350 INFO L153 SettingsManager]: * Theory for external solver=ALL [2024-11-25 03:45:52,350 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2024-11-25 03:45:52,350 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2024-11-25 03:45:52,351 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2024-11-25 03:45:52,351 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2024-11-25 03:45:52,351 INFO L153 SettingsManager]: * Trace refinement strategy=PENGUIN [2024-11-25 03:45:52,352 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2024-11-25 03:45:52,352 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_505ae9ae-c65f-4e1e-9433-f92c6a62a542/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 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 -> ef935aaf7590747bfbe771bbb249e6b84337edbf0e97024d9de82d0d23d44f30 [2024-11-25 03:45:52,692 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2024-11-25 03:45:52,707 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2024-11-25 03:45:52,709 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2024-11-25 03:45:52,710 INFO L270 PluginConnector]: Initializing CDTParser... [2024-11-25 03:45:52,711 INFO L274 PluginConnector]: CDTParser initialized [2024-11-25 03:45:52,712 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_505ae9ae-c65f-4e1e-9433-f92c6a62a542/bin/ukojak-verify-ENZ3QT5qd3/../../sv-benchmarks/c/list-properties/list_search-1.i [2024-11-25 03:45:55,793 INFO L533 CDTParser]: Created temporary CDT project at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_505ae9ae-c65f-4e1e-9433-f92c6a62a542/bin/ukojak-verify-ENZ3QT5qd3/data/a45949bff/be8788cdb6a74e23af20153c2f3d985b/FLAGab0d47231 [2024-11-25 03:45:56,107 INFO L384 CDTParser]: Found 1 translation units. [2024-11-25 03:45:56,108 INFO L180 CDTParser]: Scanning /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_505ae9ae-c65f-4e1e-9433-f92c6a62a542/sv-benchmarks/c/list-properties/list_search-1.i [2024-11-25 03:45:56,121 INFO L427 CDTParser]: About to delete temporary CDT project at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_505ae9ae-c65f-4e1e-9433-f92c6a62a542/bin/ukojak-verify-ENZ3QT5qd3/data/a45949bff/be8788cdb6a74e23af20153c2f3d985b/FLAGab0d47231 [2024-11-25 03:45:56,136 INFO L435 CDTParser]: Successfully deleted /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_505ae9ae-c65f-4e1e-9433-f92c6a62a542/bin/ukojak-verify-ENZ3QT5qd3/data/a45949bff/be8788cdb6a74e23af20153c2f3d985b [2024-11-25 03:45:56,138 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2024-11-25 03:45:56,139 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2024-11-25 03:45:56,140 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2024-11-25 03:45:56,141 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2024-11-25 03:45:56,145 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2024-11-25 03:45:56,146 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 25.11 03:45:56" (1/1) ... [2024-11-25 03:45:56,147 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@40786905 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 25.11 03:45:56, skipping insertion in model container [2024-11-25 03:45:56,147 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 25.11 03:45:56" (1/1) ... [2024-11-25 03:45:56,177 INFO L175 MainTranslator]: Built tables and reachable declarations [2024-11-25 03:45:56,639 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-25 03:45:56,651 INFO L200 MainTranslator]: Completed pre-run [2024-11-25 03:45:56,704 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-25 03:45:56,738 INFO L204 MainTranslator]: Completed translation [2024-11-25 03:45:56,739 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 25.11 03:45:56 WrapperNode [2024-11-25 03:45:56,740 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2024-11-25 03:45:56,742 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2024-11-25 03:45:56,743 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2024-11-25 03:45:56,743 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2024-11-25 03:45:56,751 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:45:56" (1/1) ... [2024-11-25 03:45:56,763 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:45:56" (1/1) ... [2024-11-25 03:45:56,787 INFO L138 Inliner]: procedures = 125, calls = 23, calls flagged for inlining = 9, calls inlined = 9, statements flattened = 118 [2024-11-25 03:45:56,791 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2024-11-25 03:45:56,791 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2024-11-25 03:45:56,791 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2024-11-25 03:45:56,791 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2024-11-25 03:45:56,803 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 25.11 03:45:56" (1/1) ... [2024-11-25 03:45:56,803 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 25.11 03:45:56" (1/1) ... [2024-11-25 03:45:56,806 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 25.11 03:45:56" (1/1) ... [2024-11-25 03:45:56,810 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 25.11 03:45:56" (1/1) ... [2024-11-25 03:45:56,821 INFO L184 PluginConnector]: Executing the observer ReplaceArrayAssignments from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 25.11 03:45:56" (1/1) ... [2024-11-25 03:45:56,822 INFO L184 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 25.11 03:45:56" (1/1) ... [2024-11-25 03:45:56,826 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 25.11 03:45:56" (1/1) ... [2024-11-25 03:45:56,828 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 25.11 03:45:56" (1/1) ... [2024-11-25 03:45:56,829 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 25.11 03:45:56" (1/1) ... [2024-11-25 03:45:56,837 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2024-11-25 03:45:56,838 INFO L112 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2024-11-25 03:45:56,839 INFO L270 PluginConnector]: Initializing RCFGBuilder... [2024-11-25 03:45:56,839 INFO L274 PluginConnector]: RCFGBuilder initialized [2024-11-25 03:45:56,840 INFO L184 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 25.11 03:45:56" (1/1) ... [2024-11-25 03:45:56,847 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2024-11-25 03:45:56,866 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_505ae9ae-c65f-4e1e-9433-f92c6a62a542/bin/ukojak-verify-ENZ3QT5qd3/z3 [2024-11-25 03:45:56,881 INFO L229 MonitoredProcess]: Starting monitored process 1 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_505ae9ae-c65f-4e1e-9433-f92c6a62a542/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:45:56,888 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_505ae9ae-c65f-4e1e-9433-f92c6a62a542/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:45:56,912 INFO L130 BoogieDeclarations]: Found specification of procedure read~int [2024-11-25 03:45:56,913 INFO L130 BoogieDeclarations]: Found specification of procedure write~int [2024-11-25 03:45:56,913 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnHeap [2024-11-25 03:45:56,913 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2024-11-25 03:45:56,913 INFO L130 BoogieDeclarations]: Found specification of procedure write~$Pointer$ [2024-11-25 03:45:56,913 INFO L130 BoogieDeclarations]: Found specification of procedure read~$Pointer$ [2024-11-25 03:45:56,913 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.dealloc [2024-11-25 03:45:56,913 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int [2024-11-25 03:45:56,913 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2024-11-25 03:45:56,913 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2024-11-25 03:45:57,036 INFO L234 CfgBuilder]: Building ICFG [2024-11-25 03:45:57,038 INFO L260 CfgBuilder]: Building CFG for each procedure with an implementation [2024-11-25 03:45:57,341 INFO L? ?]: Removed 45 outVars from TransFormulas that were not future-live. [2024-11-25 03:45:57,342 INFO L283 CfgBuilder]: Performing block encoding [2024-11-25 03:45:57,531 INFO L307 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2024-11-25 03:45:57,532 INFO L312 CfgBuilder]: Removed 2 assume(true) statements. [2024-11-25 03:45:57,532 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 25.11 03:45:57 BoogieIcfgContainer [2024-11-25 03:45:57,533 INFO L131 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2024-11-25 03:45:57,533 INFO L112 PluginConnector]: ------------------------CodeCheck---------------------------- [2024-11-25 03:45:57,534 INFO L270 PluginConnector]: Initializing CodeCheck... [2024-11-25 03:45:57,546 INFO L274 PluginConnector]: CodeCheck initialized [2024-11-25 03:45:57,546 INFO L184 PluginConnector]: Executing the observer CodeCheckObserver from plugin CodeCheck for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 25.11 03:45:57" (1/1) ... [2024-11-25 03:45:57,557 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-11-25 03:45:57,628 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-25 03:45:57,635 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 18 states to 14 states and 18 transitions. [2024-11-25 03:45:57,636 INFO L276 IsEmpty]: Start isEmpty. Operand 14 states and 18 transitions. [2024-11-25 03:45:57,638 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 7 [2024-11-25 03:45:57,638 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-25 03:45:57,639 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-25 03:45:57,841 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-25 03:45:57,963 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-25 03:45:58,136 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-25 03:45:58,136 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 14 states to 13 states and 14 transitions. [2024-11-25 03:45:58,137 INFO L276 IsEmpty]: Start isEmpty. Operand 13 states and 14 transitions. [2024-11-25 03:45:58,137 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 8 [2024-11-25 03:45:58,137 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-25 03:45:58,137 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-25 03:45:58,249 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-25 03:45:58,968 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-25 03:45:59,452 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-25 03:45:59,453 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 17 states to 15 states and 17 transitions. [2024-11-25 03:45:59,453 INFO L276 IsEmpty]: Start isEmpty. Operand 15 states and 17 transitions. [2024-11-25 03:45:59,453 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 10 [2024-11-25 03:45:59,453 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-25 03:45:59,454 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-25 03:45:59,574 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-25 03:46:00,465 INFO L134 CoverageAnalysis]: Checked inductivity of 2 backedges. 0 proven. 2 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2024-11-25 03:46:01,369 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-25 03:46:01,369 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 27 states to 21 states and 27 transitions. [2024-11-25 03:46:01,370 INFO L276 IsEmpty]: Start isEmpty. Operand 21 states and 27 transitions. [2024-11-25 03:46:01,373 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 11 [2024-11-25 03:46:01,373 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-25 03:46:01,373 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-25 03:46:01,435 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-25 03:46:01,496 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-25 03:46:02,834 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-25 03:46:02,835 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 42 states to 29 states and 42 transitions. [2024-11-25 03:46:02,836 INFO L276 IsEmpty]: Start isEmpty. Operand 29 states and 42 transitions. [2024-11-25 03:46:02,836 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 12 [2024-11-25 03:46:02,837 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-25 03:46:02,837 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-25 03:46:02,933 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-25 03:46:04,399 INFO L134 CoverageAnalysis]: Checked inductivity of 6 backedges. 0 proven. 6 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2024-11-25 03:46:06,527 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-25 03:46:06,529 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 58 states to 33 states and 58 transitions. [2024-11-25 03:46:06,529 INFO L276 IsEmpty]: Start isEmpty. Operand 33 states and 58 transitions. [2024-11-25 03:46:06,530 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 12 [2024-11-25 03:46:06,530 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-25 03:46:06,530 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-25 03:46:06,604 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-25 03:46:06,838 INFO L134 CoverageAnalysis]: Checked inductivity of 3 backedges. 0 proven. 1 refuted. 0 times theorem prover too weak. 2 trivial. 0 not checked. [2024-11-25 03:46:09,666 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-25 03:46:09,667 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 76 states to 41 states and 76 transitions. [2024-11-25 03:46:09,667 INFO L276 IsEmpty]: Start isEmpty. Operand 41 states and 76 transitions. [2024-11-25 03:46:09,668 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 12 [2024-11-25 03:46:09,668 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-25 03:46:09,668 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-25 03:46:09,723 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-25 03:46:11,260 INFO L134 CoverageAnalysis]: Checked inductivity of 6 backedges. 0 proven. 6 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2024-11-25 03:46:11,998 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-25 03:46:11,999 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 78 states to 42 states and 78 transitions. [2024-11-25 03:46:11,999 INFO L276 IsEmpty]: Start isEmpty. Operand 42 states and 78 transitions. [2024-11-25 03:46:12,000 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 13 [2024-11-25 03:46:12,000 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-25 03:46:12,000 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-25 03:46:12,062 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-25 03:46:12,593 INFO L134 CoverageAnalysis]: Checked inductivity of 5 backedges. 0 proven. 3 refuted. 0 times theorem prover too weak. 2 trivial. 0 not checked. [2024-11-25 03:46:16,059 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-25 03:46:16,059 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 97 states to 50 states and 97 transitions. [2024-11-25 03:46:16,059 INFO L276 IsEmpty]: Start isEmpty. Operand 50 states and 97 transitions. [2024-11-25 03:46:16,060 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 14 [2024-11-25 03:46:16,060 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-25 03:46:16,060 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-25 03:46:16,121 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-25 03:46:16,122 INFO L357 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-11-25 03:46:16,175 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-25 03:46:16,750 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-25 03:46:16,750 INFO L357 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-11-25 03:46:17,005 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-25 03:46:17,046 WARN L473 CodeCheckObserver]: This program is UNSAFE, Check terminated with 9 iterations. [2024-11-25 03:46:17,104 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck CFG 25.11 03:46:17 ImpRootNode [2024-11-25 03:46:17,106 INFO L131 PluginConnector]: ------------------------ END CodeCheck---------------------------- [2024-11-25 03:46:17,107 INFO L112 PluginConnector]: ------------------------Witness Printer---------------------------- [2024-11-25 03:46:17,107 INFO L270 PluginConnector]: Initializing Witness Printer... [2024-11-25 03:46:17,108 INFO L274 PluginConnector]: Witness Printer initialized [2024-11-25 03:46:17,108 INFO L184 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 25.11 03:45:57" (3/4) ... [2024-11-25 03:46:17,109 INFO L140 WitnessPrinter]: Generating witness for reachability counterexample [2024-11-25 03:46:17,187 INFO L129 tionWitnessGenerator]: Generated YAML witness of length 23. [2024-11-25 03:46:17,272 INFO L149 WitnessManager]: Wrote witness to /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_505ae9ae-c65f-4e1e-9433-f92c6a62a542/bin/ukojak-verify-ENZ3QT5qd3/witness.graphml [2024-11-25 03:46:17,272 INFO L149 WitnessManager]: Wrote witness to /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_505ae9ae-c65f-4e1e-9433-f92c6a62a542/bin/ukojak-verify-ENZ3QT5qd3/witness.yml [2024-11-25 03:46:17,272 INFO L131 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2024-11-25 03:46:17,274 INFO L158 Benchmark]: Toolchain (without parser) took 21134.32ms. Allocated memory was 117.4MB in the beginning and 226.5MB in the end (delta: 109.1MB). Free memory was 91.4MB in the beginning and 160.0MB in the end (delta: -68.6MB). Peak memory consumption was 38.4MB. Max. memory is 16.1GB. [2024-11-25 03:46:17,274 INFO L158 Benchmark]: CDTParser took 0.60ms. Allocated memory is still 117.4MB. Free memory is still 75.1MB. There was no memory consumed. Max. memory is 16.1GB. [2024-11-25 03:46:17,274 INFO L158 Benchmark]: CACSL2BoogieTranslator took 600.60ms. Allocated memory is still 117.4MB. Free memory was 91.2MB in the beginning and 74.1MB in the end (delta: 17.1MB). Peak memory consumption was 8.4MB. Max. memory is 16.1GB. [2024-11-25 03:46:17,276 INFO L158 Benchmark]: Boogie Procedure Inliner took 49.17ms. Allocated memory is still 117.4MB. Free memory was 74.1MB in the beginning and 72.3MB in the end (delta: 1.8MB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-25 03:46:17,276 INFO L158 Benchmark]: Boogie Preprocessor took 46.53ms. Allocated memory is still 117.4MB. Free memory was 72.3MB in the beginning and 70.8MB in the end (delta: 1.5MB). Peak memory consumption was 8.4MB. Max. memory is 16.1GB. [2024-11-25 03:46:17,277 INFO L158 Benchmark]: RCFGBuilder took 694.17ms. Allocated memory is still 117.4MB. Free memory was 70.8MB in the beginning and 41.1MB in the end (delta: 29.7MB). Peak memory consumption was 25.2MB. Max. memory is 16.1GB. [2024-11-25 03:46:17,278 INFO L158 Benchmark]: CodeCheck took 19572.99ms. Allocated memory was 117.4MB in the beginning and 226.5MB in the end (delta: 109.1MB). Free memory was 41.1MB in the beginning and 165.0MB in the end (delta: -123.9MB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-25 03:46:17,281 INFO L158 Benchmark]: Witness Printer took 165.59ms. Allocated memory is still 226.5MB. Free memory was 165.0MB in the beginning and 160.0MB in the end (delta: 5.0MB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-25 03:46:17,283 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, 14 locations, 2 error locations. Started 1 CEGAR loops. OverallTime: 19.5s, OverallIterations: 9, TraceHistogramMax: 0, PathProgramHistogramMax: 0, EmptinessCheckTime: 0.0s, AutomataDifference: 0.0s, DeadEndRemovalTime: 0.0s, HoareAnnotationTime: 0.0s, InitialAbstractionConstructionTime: 0.0s, HoareTripleCheckerStatistics: 0 mSolverCounterUnknown, 308 SdHoareTripleChecker+Valid, 9.0s IncrementalHoareTripleChecker+Time, 0 mSdLazyCounter, 144 mSDsluCounter, 73 SdHoareTripleChecker+Invalid, 8.6s Time, 0 mProtectedAction, 0 SdHoareTripleChecker+Unchecked, 0 IncrementalHoareTripleChecker+Unchecked, 26 mSDsCounter, 191 IncrementalHoareTripleChecker+Valid, 0 mProtectedPredicate, 920 IncrementalHoareTripleChecker+Invalid, 1111 SdHoareTripleChecker+Unknown, 0 mSolverCounterNotChecked, 191 mSolverCounterUnsat, 47 mSDtfsCounter, 920 mSolverCounterSat, 0.0s SdHoareTripleChecker+Time, 0 IncrementalHoareTripleChecker+Unknown, PredicateUnifierStatistics: 0 DeclaredPredicates, 729 GetRequests, 574 SyntacticMatches, 7 SemanticMatches, 148 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 8347 ImplicationChecksByTransitivity, 11.3s Time, 0.0s BasicInterpolantAutomatonTime, BiggestAbstraction: size=-1occurred in iteration=-1, InterpolantAutomatonStates: 0, traceCheckStatistics: 0.1s SsaConstructionTime, 0.8s SatisfiabilityAnalysisTime, 5.5s InterpolantComputationTime, 90 NumberOfCodeBlocks, 90 NumberOfCodeBlocksAsserted, 9 NumberOfCheckSat, 69 ConstructedInterpolants, 0 QuantifiedInterpolants, 840 SizeOfPredicates, 0 NumberOfNonLiveVariables, 0 ConjunctsInSsa, 0 ConjunctsInUnsatCore, 8 InterpolantComputations, 3 PerfectInterpolantSequences, 6/24 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: 12]: not all allocated memory was freed not all allocated memory was freed We found a FailurePath: [L533] mlist *head; [L554] int i; [L555] mlist *mylist, *temp; [L556] CALL insert_list(mylist,2) [L542] l = (mlist*)malloc(sizeof(mlist)) [L543] l->key = k [L544] COND TRUE head==((void *)0) [L545] l->next = ((void *)0) [L550] head = l [L551] return 0; [L556] RET insert_list(mylist,2) [L557] CALL insert_list(mylist,5) [L542] l = (mlist*)malloc(sizeof(mlist)) [L543] l->key = k [L544] COND FALSE !(head==((void *)0)) [L547] l->key = k [L548] l->next = head [L550] head = l [L551] return 0; [L557] RET insert_list(mylist,5) [L558] CALL insert_list(mylist,1) [L542] l = (mlist*)malloc(sizeof(mlist)) [L543] l->key = k [L544] COND FALSE !(head==((void *)0)) [L547] l->key = k [L548] l->next = head [L550] head = l [L551] return 0; [L558] RET insert_list(mylist,1) [L559] CALL insert_list(mylist,3) [L542] l = (mlist*)malloc(sizeof(mlist)) [L543] l->key = k [L544] COND FALSE !(head==((void *)0)) [L547] l->key = k [L548] l->next = head [L550] head = l [L551] return 0; [L559] RET insert_list(mylist,3) [L560] CALL, EXPR search_list(head,2) [L535] l = head VAL [head={29483:0}, k=2, l={29483:0}] [L536] l!=((void *)0) && l->key!=k [L536] EXPR l->key [L536] l!=((void *)0) && l->key!=k VAL [head={29483:0}, k=2, l={29483:0}] [L536] COND TRUE l!=((void *)0) && l->key!=k [L537] EXPR l->next [L537] l = l->next [L536] l!=((void *)0) && l->key!=k [L536] EXPR l->key [L536] l!=((void *)0) && l->key!=k VAL [head={29483:0}, k=2, l={-2:0}] [L536] COND TRUE l!=((void *)0) && l->key!=k [L537] EXPR l->next [L537] l = l->next [L536] l!=((void *)0) && l->key!=k [L536] EXPR l->key [L536] l!=((void *)0) && l->key!=k VAL [head={29483:0}, k=2, l={-3:0}] [L536] COND TRUE l!=((void *)0) && l->key!=k [L537] EXPR l->next [L537] l = l->next [L536] l!=((void *)0) && l->key!=k [L536] EXPR l->key [L536] l!=((void *)0) && l->key!=k VAL [head={29483:0}, k=2, l={-1:0}] [L536] COND FALSE !(l!=((void *)0) && l->key!=k) [L539] return l; [L560] RET, EXPR search_list(head,2) [L560] temp = search_list(head,2) [L561] EXPR temp->key [L561] CALL __VERIFIER_assert(temp->key==1) [L14] COND TRUE !(cond) [L15] CALL reach_error() [L12] COND FALSE !(0) VAL [head={29483:0}] [L12] __assert_fail ("0", "list_search-1.c", 3, __extension__ __PRETTY_FUNCTION__) VAL [head={29483:0}] * Results from de.uni_freiburg.informatik.ultimate.core: - StatisticsResult: Toolchain Benchmarks Benchmark results are: * CDTParser took 0.60ms. Allocated memory is still 117.4MB. Free memory is still 75.1MB. There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 600.60ms. Allocated memory is still 117.4MB. Free memory was 91.2MB in the beginning and 74.1MB in the end (delta: 17.1MB). Peak memory consumption was 8.4MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 49.17ms. Allocated memory is still 117.4MB. Free memory was 74.1MB in the beginning and 72.3MB in the end (delta: 1.8MB). There was no memory consumed. Max. memory is 16.1GB. * Boogie Preprocessor took 46.53ms. Allocated memory is still 117.4MB. Free memory was 72.3MB in the beginning and 70.8MB in the end (delta: 1.5MB). Peak memory consumption was 8.4MB. Max. memory is 16.1GB. * RCFGBuilder took 694.17ms. Allocated memory is still 117.4MB. Free memory was 70.8MB in the beginning and 41.1MB in the end (delta: 29.7MB). Peak memory consumption was 25.2MB. Max. memory is 16.1GB. * CodeCheck took 19572.99ms. Allocated memory was 117.4MB in the beginning and 226.5MB in the end (delta: 109.1MB). Free memory was 41.1MB in the beginning and 165.0MB in the end (delta: -123.9MB). There was no memory consumed. Max. memory is 16.1GB. * Witness Printer took 165.59ms. Allocated memory is still 226.5MB. Free memory was 165.0MB in the beginning and 160.0MB in the end (delta: 5.0MB). There was no memory consumed. Max. memory is 16.1GB. RESULT: Ultimate proved your program to be incorrect! [2024-11-25 03:46:17,315 INFO L552 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_505ae9ae-c65f-4e1e-9433-f92c6a62a542/bin/ukojak-verify-ENZ3QT5qd3/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (1)] Ended with exit code 0 Received shutdown request... --- End real Ultimate output --- Execution finished normally Writing output log to file Ultimate.log Writing human readable error path to file UltimateCounterExample.errorpath Result: FALSE(valid-memcleanup)