./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 9bd2c7ff Calling Ultimate with: /usr/lib/jvm/java-11-openjdk-amd64/bin/java -Dosgi.configuration.area=/tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f6cdf161-12d4-4f38-ae90-764bf2e1a125/bin/ukojak-verify-G8NBE6pJGL/data/config -Xmx15G -Xms4m -jar /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f6cdf161-12d4-4f38-ae90-764bf2e1a125/bin/ukojak-verify-G8NBE6pJGL/plugins/org.eclipse.equinox.launcher_1.5.800.v20200727-1323.jar -data @noDefault -ultimatedata /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f6cdf161-12d4-4f38-ae90-764bf2e1a125/bin/ukojak-verify-G8NBE6pJGL/data -tc /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f6cdf161-12d4-4f38-ae90-764bf2e1a125/bin/ukojak-verify-G8NBE6pJGL/config/KojakMemDerefMemtrack.xml -i ../../sv-benchmarks/c/list-properties/list_search-1.i -s /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f6cdf161-12d4-4f38-ae90-764bf2e1a125/bin/ukojak-verify-G8NBE6pJGL/config/svcomp-MemCleanup-32bit-Kojak_Default.epf --cacsl2boogietranslator.entry.function main --witnessprinter.witness.directory /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f6cdf161-12d4-4f38-ae90-764bf2e1a125/bin/ukojak-verify-G8NBE6pJGL --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.2.3-dev-9bd2c7f [2023-11-19 04:00:39,554 INFO L188 SettingsManager]: Resetting all preferences to default values... [2023-11-19 04:00:39,662 INFO L114 SettingsManager]: Loading settings from /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f6cdf161-12d4-4f38-ae90-764bf2e1a125/bin/ukojak-verify-G8NBE6pJGL/config/svcomp-MemCleanup-32bit-Kojak_Default.epf [2023-11-19 04:00:39,668 WARN L101 SettingsManager]: Preference file contains the following unknown settings: [2023-11-19 04:00:39,672 WARN L103 SettingsManager]: * de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck.Interpolating solver [2023-11-19 04:00:39,709 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2023-11-19 04:00:39,710 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2023-11-19 04:00:39,710 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2023-11-19 04:00:39,711 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2023-11-19 04:00:39,716 INFO L153 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2023-11-19 04:00:39,716 INFO L153 SettingsManager]: * sizeof long=4 [2023-11-19 04:00:39,716 INFO L153 SettingsManager]: * Overapproximate operations on floating types=true [2023-11-19 04:00:39,717 INFO L153 SettingsManager]: * sizeof POINTER=4 [2023-11-19 04:00:39,718 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2023-11-19 04:00:39,719 INFO L153 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2023-11-19 04:00:39,719 INFO L153 SettingsManager]: * Check for the main procedure if all allocated memory was freed=true [2023-11-19 04:00:39,719 INFO L153 SettingsManager]: * Bitprecise bitfields=true [2023-11-19 04:00:39,720 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2023-11-19 04:00:39,720 INFO L153 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2023-11-19 04:00:39,721 INFO L153 SettingsManager]: * Check unreachability of reach_error function=false [2023-11-19 04:00:39,721 INFO L153 SettingsManager]: * sizeof long double=12 [2023-11-19 04:00:39,721 INFO L153 SettingsManager]: * Check if freed pointer was valid=false [2023-11-19 04:00:39,722 INFO L153 SettingsManager]: * Use constant arrays=true [2023-11-19 04:00:39,723 INFO L151 SettingsManager]: Preferences of CodeCheck differ from their defaults: [2023-11-19 04:00:39,723 INFO L153 SettingsManager]: * Timeout in seconds=1000000 [2023-11-19 04:00:39,723 INFO L153 SettingsManager]: * Theory for external solver=ALL [2023-11-19 04:00:39,724 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2023-11-19 04:00:39,724 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2023-11-19 04:00:39,724 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2023-11-19 04:00:39,725 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2023-11-19 04:00:39,726 INFO L153 SettingsManager]: * Trace refinement strategy=PENGUIN [2023-11-19 04:00:39,726 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2023-11-19 04:00:39,749 INFO L153 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode WARNING: An illegal reflective access operation has occurred WARNING: Illegal reflective access by com.sun.xml.bind.v2.runtime.reflect.opt.Injector$1 (file:/tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f6cdf161-12d4-4f38-ae90-764bf2e1a125/bin/ukojak-verify-G8NBE6pJGL/plugins/com.sun.xml.bind_2.2.0.v201505121915.jar) to method java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int) WARNING: Please consider reporting this to the maintainers of com.sun.xml.bind.v2.runtime.reflect.opt.Injector$1 WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations WARNING: All illegal access operations will be denied in a future release 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_f6cdf161-12d4-4f38-ae90-764bf2e1a125/bin/ukojak-verify-G8NBE6pJGL 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 [2023-11-19 04:00:39,997 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2023-11-19 04:00:40,020 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2023-11-19 04:00:40,023 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2023-11-19 04:00:40,024 INFO L270 PluginConnector]: Initializing CDTParser... [2023-11-19 04:00:40,024 INFO L274 PluginConnector]: CDTParser initialized [2023-11-19 04:00:40,026 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f6cdf161-12d4-4f38-ae90-764bf2e1a125/bin/ukojak-verify-G8NBE6pJGL/../../sv-benchmarks/c/list-properties/list_search-1.i [2023-11-19 04:00:43,027 INFO L533 CDTParser]: Created temporary CDT project at NULL [2023-11-19 04:00:43,307 INFO L384 CDTParser]: Found 1 translation units. [2023-11-19 04:00:43,308 INFO L180 CDTParser]: Scanning /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f6cdf161-12d4-4f38-ae90-764bf2e1a125/sv-benchmarks/c/list-properties/list_search-1.i [2023-11-19 04:00:43,325 INFO L427 CDTParser]: About to delete temporary CDT project at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f6cdf161-12d4-4f38-ae90-764bf2e1a125/bin/ukojak-verify-G8NBE6pJGL/data/9b0374522/22c5c96b51954765a6eb081cd04f10f4/FLAGed16b768f [2023-11-19 04:00:43,339 INFO L435 CDTParser]: Successfully deleted /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f6cdf161-12d4-4f38-ae90-764bf2e1a125/bin/ukojak-verify-G8NBE6pJGL/data/9b0374522/22c5c96b51954765a6eb081cd04f10f4 [2023-11-19 04:00:43,345 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2023-11-19 04:00:43,347 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2023-11-19 04:00:43,348 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2023-11-19 04:00:43,348 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2023-11-19 04:00:43,353 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2023-11-19 04:00:43,354 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 19.11 04:00:43" (1/1) ... [2023-11-19 04:00:43,355 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@40cd116f and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.11 04:00:43, skipping insertion in model container [2023-11-19 04:00:43,355 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 19.11 04:00:43" (1/1) ... [2023-11-19 04:00:43,399 INFO L177 MainTranslator]: Built tables and reachable declarations [2023-11-19 04:00:43,685 INFO L209 PostProcessor]: Analyzing one entry point: main [2023-11-19 04:00:43,699 INFO L202 MainTranslator]: Completed pre-run [2023-11-19 04:00:43,761 INFO L209 PostProcessor]: Analyzing one entry point: main [2023-11-19 04:00:43,805 INFO L206 MainTranslator]: Completed translation [2023-11-19 04:00:43,805 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.11 04:00:43 WrapperNode [2023-11-19 04:00:43,806 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2023-11-19 04:00:43,807 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2023-11-19 04:00:43,807 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2023-11-19 04:00:43,808 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2023-11-19 04:00:43,815 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.11 04:00:43" (1/1) ... [2023-11-19 04:00:43,826 INFO L184 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.11 04:00:43" (1/1) ... [2023-11-19 04:00:43,855 INFO L138 Inliner]: procedures = 125, calls = 23, calls flagged for inlining = 9, calls inlined = 9, statements flattened = 121 [2023-11-19 04:00:43,855 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2023-11-19 04:00:43,856 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2023-11-19 04:00:43,856 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2023-11-19 04:00:43,856 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2023-11-19 04:00:43,865 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.11 04:00:43" (1/1) ... [2023-11-19 04:00:43,865 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.11 04:00:43" (1/1) ... [2023-11-19 04:00:43,872 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.11 04:00:43" (1/1) ... [2023-11-19 04:00:43,873 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.11 04:00:43" (1/1) ... [2023-11-19 04:00:43,881 INFO L184 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.11 04:00:43" (1/1) ... [2023-11-19 04:00:43,885 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.11 04:00:43" (1/1) ... [2023-11-19 04:00:43,887 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.11 04:00:43" (1/1) ... [2023-11-19 04:00:43,889 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.11 04:00:43" (1/1) ... [2023-11-19 04:00:43,893 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2023-11-19 04:00:43,894 INFO L112 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2023-11-19 04:00:43,894 INFO L270 PluginConnector]: Initializing RCFGBuilder... [2023-11-19 04:00:43,894 INFO L274 PluginConnector]: RCFGBuilder initialized [2023-11-19 04:00:43,895 INFO L184 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.11 04:00:43" (1/1) ... [2023-11-19 04:00:43,901 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2023-11-19 04:00:43,916 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f6cdf161-12d4-4f38-ae90-764bf2e1a125/bin/ukojak-verify-G8NBE6pJGL/z3 [2023-11-19 04:00:43,932 INFO L229 MonitoredProcess]: Starting monitored process 1 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f6cdf161-12d4-4f38-ae90-764bf2e1a125/bin/ukojak-verify-G8NBE6pJGL/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (exit command is (exit), workingDir is null) [2023-11-19 04:00:43,962 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f6cdf161-12d4-4f38-ae90-764bf2e1a125/bin/ukojak-verify-G8NBE6pJGL/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (1)] Waiting until timeout for monitored process [2023-11-19 04:00:43,984 INFO L130 BoogieDeclarations]: Found specification of procedure read~int [2023-11-19 04:00:43,984 INFO L130 BoogieDeclarations]: Found specification of procedure write~int [2023-11-19 04:00:43,985 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnHeap [2023-11-19 04:00:43,985 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2023-11-19 04:00:43,985 INFO L130 BoogieDeclarations]: Found specification of procedure write~$Pointer$ [2023-11-19 04:00:43,985 INFO L130 BoogieDeclarations]: Found specification of procedure read~$Pointer$ [2023-11-19 04:00:43,986 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.dealloc [2023-11-19 04:00:43,986 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int [2023-11-19 04:00:43,986 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2023-11-19 04:00:43,987 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2023-11-19 04:00:44,149 INFO L236 CfgBuilder]: Building ICFG [2023-11-19 04:00:44,151 INFO L262 CfgBuilder]: Building CFG for each procedure with an implementation [2023-11-19 04:00:44,455 INFO L277 CfgBuilder]: Performing block encoding [2023-11-19 04:00:44,806 INFO L297 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2023-11-19 04:00:44,806 INFO L302 CfgBuilder]: Removed 2 assume(true) statements. [2023-11-19 04:00:44,813 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 19.11 04:00:44 BoogieIcfgContainer [2023-11-19 04:00:44,814 INFO L131 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2023-11-19 04:00:44,816 INFO L112 PluginConnector]: ------------------------CodeCheck---------------------------- [2023-11-19 04:00:44,816 INFO L270 PluginConnector]: Initializing CodeCheck... [2023-11-19 04:00:44,826 INFO L274 PluginConnector]: CodeCheck initialized [2023-11-19 04:00:44,826 INFO L184 PluginConnector]: Executing the observer CodeCheckObserver from plugin CodeCheck for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 19.11 04:00:44" (1/1) ... [2023-11-19 04:00:44,836 INFO L160 PredicateUnifier]: Initialized classic predicate unifier [2023-11-19 04:00:44,901 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2023-11-19 04:00:44,906 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 18 states to 14 states and 18 transitions. [2023-11-19 04:00:44,906 INFO L276 IsEmpty]: Start isEmpty. Operand 14 states and 18 transitions. [2023-11-19 04:00:44,908 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 7 [2023-11-19 04:00:44,909 INFO L423 CodeCheckObserver]: Error Path is FOUND. [2023-11-19 04:00:44,909 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-19 04:00:45,144 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-19 04:00:45,286 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2023-11-19 04:00:45,418 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2023-11-19 04:00:45,418 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 14 states to 13 states and 14 transitions. [2023-11-19 04:00:45,419 INFO L276 IsEmpty]: Start isEmpty. Operand 13 states and 14 transitions. [2023-11-19 04:00:45,419 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 8 [2023-11-19 04:00:45,419 INFO L423 CodeCheckObserver]: Error Path is FOUND. [2023-11-19 04:00:45,420 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-19 04:00:45,545 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-19 04:00:45,969 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2023-11-19 04:00:46,129 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2023-11-19 04:00:46,130 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 17 states to 15 states and 17 transitions. [2023-11-19 04:00:46,130 INFO L276 IsEmpty]: Start isEmpty. Operand 15 states and 17 transitions. [2023-11-19 04:00:46,130 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 10 [2023-11-19 04:00:46,130 INFO L423 CodeCheckObserver]: Error Path is FOUND. [2023-11-19 04:00:46,130 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-19 04:00:46,194 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-19 04:00:46,782 INFO L134 CoverageAnalysis]: Checked inductivity of 2 backedges. 0 proven. 2 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2023-11-19 04:00:47,498 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2023-11-19 04:00:47,500 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 27 states to 21 states and 27 transitions. [2023-11-19 04:00:47,500 INFO L276 IsEmpty]: Start isEmpty. Operand 21 states and 27 transitions. [2023-11-19 04:00:47,505 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 11 [2023-11-19 04:00:47,505 INFO L423 CodeCheckObserver]: Error Path is FOUND. [2023-11-19 04:00:47,505 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-19 04:00:47,568 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-19 04:00:47,626 INFO L134 CoverageAnalysis]: Checked inductivity of 2 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 2 trivial. 0 not checked. [2023-11-19 04:00:48,658 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2023-11-19 04:00:48,658 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 42 states to 29 states and 42 transitions. [2023-11-19 04:00:48,658 INFO L276 IsEmpty]: Start isEmpty. Operand 29 states and 42 transitions. [2023-11-19 04:00:48,659 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 12 [2023-11-19 04:00:48,659 INFO L423 CodeCheckObserver]: Error Path is FOUND. [2023-11-19 04:00:48,659 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-19 04:00:48,757 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-19 04:00:50,141 INFO L134 CoverageAnalysis]: Checked inductivity of 6 backedges. 0 proven. 6 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2023-11-19 04:00:51,791 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2023-11-19 04:00:51,791 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 58 states to 33 states and 58 transitions. [2023-11-19 04:00:51,792 INFO L276 IsEmpty]: Start isEmpty. Operand 33 states and 58 transitions. [2023-11-19 04:00:51,794 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 12 [2023-11-19 04:00:51,794 INFO L423 CodeCheckObserver]: Error Path is FOUND. [2023-11-19 04:00:51,795 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-19 04:00:51,859 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-19 04:00:52,075 INFO L134 CoverageAnalysis]: Checked inductivity of 3 backedges. 0 proven. 1 refuted. 0 times theorem prover too weak. 2 trivial. 0 not checked. [2023-11-19 04:00:54,363 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2023-11-19 04:00:54,364 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 78 states to 41 states and 78 transitions. [2023-11-19 04:00:54,364 INFO L276 IsEmpty]: Start isEmpty. Operand 41 states and 78 transitions. [2023-11-19 04:00:54,365 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 13 [2023-11-19 04:00:54,365 INFO L423 CodeCheckObserver]: Error Path is FOUND. [2023-11-19 04:00:54,365 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-19 04:00:54,435 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-19 04:00:55,114 INFO L134 CoverageAnalysis]: Checked inductivity of 5 backedges. 0 proven. 2 refuted. 0 times theorem prover too weak. 3 trivial. 0 not checked. [2023-11-19 04:00:56,497 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2023-11-19 04:00:56,497 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 84 states to 43 states and 84 transitions. [2023-11-19 04:00:56,498 INFO L276 IsEmpty]: Start isEmpty. Operand 43 states and 84 transitions. [2023-11-19 04:00:56,499 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 14 [2023-11-19 04:00:56,499 INFO L423 CodeCheckObserver]: Error Path is FOUND. [2023-11-19 04:00:56,499 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-19 04:00:56,584 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-11-19 04:00:56,585 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2023-11-19 04:00:56,627 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-11-19 04:00:56,891 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-11-19 04:00:56,891 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2023-11-19 04:00:57,039 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-11-19 04:00:57,083 WARN L476 CodeCheckObserver]: This program is UNSAFE, Check terminated with 8 iterations. [2023-11-19 04:00:57,112 WARN L1572 BoogieBacktranslator]: Unfinished Backtranslation: IdentifierExpression #t~mem3 could not be translated [2023-11-19 04:00:57,113 WARN L1572 BoogieBacktranslator]: Unfinished Backtranslation: IdentifierExpression #t~short4 could not be translated [2023-11-19 04:00:57,113 WARN L1572 BoogieBacktranslator]: Unfinished Backtranslation: IdentifierExpression #t~mem3 could not be translated [2023-11-19 04:00:57,114 WARN L1572 BoogieBacktranslator]: Unfinished Backtranslation: IdentifierExpression #t~short4 could not be translated [2023-11-19 04:00:57,114 WARN L1572 BoogieBacktranslator]: Unfinished Backtranslation: IdentifierExpression #t~short4 could not be translated [2023-11-19 04:00:57,114 WARN L1572 BoogieBacktranslator]: Unfinished Backtranslation: IdentifierExpression #t~mem3 could not be translated [2023-11-19 04:00:57,115 WARN L1572 BoogieBacktranslator]: Unfinished Backtranslation: IdentifierExpression #t~short4 could not be translated [2023-11-19 04:00:57,115 WARN L1572 BoogieBacktranslator]: Unfinished Backtranslation: IdentifierExpression #t~mem3 could not be translated [2023-11-19 04:00:57,122 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck CFG 19.11 04:00:57 ImpRootNode [2023-11-19 04:00:57,122 INFO L131 PluginConnector]: ------------------------ END CodeCheck---------------------------- [2023-11-19 04:00:57,123 INFO L112 PluginConnector]: ------------------------Witness Printer---------------------------- [2023-11-19 04:00:57,123 INFO L270 PluginConnector]: Initializing Witness Printer... [2023-11-19 04:00:57,123 INFO L274 PluginConnector]: Witness Printer initialized [2023-11-19 04:00:57,124 INFO L184 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 19.11 04:00:44" (3/4) ... [2023-11-19 04:00:57,125 INFO L131 WitnessPrinter]: Generating witness for reachability counterexample [2023-11-19 04:00:57,135 WARN L1572 BoogieBacktranslator]: Unfinished Backtranslation: IdentifierExpression #t~short4 could not be translated [2023-11-19 04:00:57,135 WARN L1572 BoogieBacktranslator]: Unfinished Backtranslation: IdentifierExpression #t~mem3 could not be translated [2023-11-19 04:00:57,136 WARN L1572 BoogieBacktranslator]: Unfinished Backtranslation: IdentifierExpression #t~short4 could not be translated [2023-11-19 04:00:57,136 WARN L1572 BoogieBacktranslator]: Unfinished Backtranslation: IdentifierExpression #t~mem3 could not be translated [2023-11-19 04:00:57,144 WARN L1572 BoogieBacktranslator]: Unfinished Backtranslation: IdentifierExpression #t~short4 could not be translated [2023-11-19 04:00:57,144 WARN L1572 BoogieBacktranslator]: Unfinished Backtranslation: IdentifierExpression #t~mem3 could not be translated [2023-11-19 04:00:57,145 WARN L1572 BoogieBacktranslator]: Unfinished Backtranslation: IdentifierExpression #t~short4 could not be translated [2023-11-19 04:00:57,145 WARN L1572 BoogieBacktranslator]: Unfinished Backtranslation: IdentifierExpression #t~mem3 could not be translated [2023-11-19 04:00:57,197 INFO L149 WitnessManager]: Wrote witness to /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f6cdf161-12d4-4f38-ae90-764bf2e1a125/bin/ukojak-verify-G8NBE6pJGL/witness.graphml [2023-11-19 04:00:57,197 INFO L131 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2023-11-19 04:00:57,198 INFO L158 Benchmark]: Toolchain (without parser) took 13851.34ms. Allocated memory was 148.9MB in the beginning and 297.8MB in the end (delta: 148.9MB). Free memory was 109.8MB in the beginning and 215.0MB in the end (delta: -105.1MB). Peak memory consumption was 45.9MB. Max. memory is 16.1GB. [2023-11-19 04:00:57,199 INFO L158 Benchmark]: CDTParser took 0.24ms. Allocated memory is still 148.9MB. Free memory is still 118.9MB. There was no memory consumed. Max. memory is 16.1GB. [2023-11-19 04:00:57,199 INFO L158 Benchmark]: CACSL2BoogieTranslator took 458.12ms. Allocated memory is still 148.9MB. Free memory was 109.4MB in the beginning and 92.2MB in the end (delta: 17.2MB). Peak memory consumption was 16.8MB. Max. memory is 16.1GB. [2023-11-19 04:00:57,200 INFO L158 Benchmark]: Boogie Procedure Inliner took 48.64ms. Allocated memory is still 148.9MB. Free memory was 92.2MB in the beginning and 90.1MB in the end (delta: 2.1MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. [2023-11-19 04:00:57,201 INFO L158 Benchmark]: Boogie Preprocessor took 37.13ms. Allocated memory is still 148.9MB. Free memory was 90.1MB in the beginning and 88.4MB in the end (delta: 1.7MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. [2023-11-19 04:00:57,201 INFO L158 Benchmark]: RCFGBuilder took 920.34ms. Allocated memory was 148.9MB in the beginning and 205.5MB in the end (delta: 56.6MB). Free memory was 88.4MB in the beginning and 157.8MB in the end (delta: -69.4MB). Peak memory consumption was 43.2MB. Max. memory is 16.1GB. [2023-11-19 04:00:57,202 INFO L158 Benchmark]: CodeCheck took 12306.70ms. Allocated memory was 205.5MB in the beginning and 297.8MB in the end (delta: 92.3MB). Free memory was 157.8MB in the beginning and 218.1MB in the end (delta: -60.3MB). Peak memory consumption was 32.0MB. Max. memory is 16.1GB. [2023-11-19 04:00:57,203 INFO L158 Benchmark]: Witness Printer took 74.74ms. Allocated memory is still 297.8MB. Free memory was 218.1MB in the beginning and 215.0MB in the end (delta: 3.1MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. [2023-11-19 04:00:57,206 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: 12.2s, OverallIterations: 8, TraceHistogramMax: 0, PathProgramHistogramMax: 0, EmptinessCheckTime: 0.0s, AutomataDifference: 0.0s, DeadEndRemovalTime: 0.0s, HoareAnnotationTime: 0.0s, InitialAbstractionConstructionTime: 0.0s, HoareTripleCheckerStatistics: 0 mSolverCounterUnknown, 251 SdHoareTripleChecker+Valid, 4.8s IncrementalHoareTripleChecker+Time, 0 mSdLazyCounter, 104 mSDsluCounter, 63 SdHoareTripleChecker+Invalid, 4.5s Time, 0 mProtectedAction, 0 SdHoareTripleChecker+Unchecked, 0 IncrementalHoareTripleChecker+Unchecked, 16 mSDsCounter, 136 IncrementalHoareTripleChecker+Valid, 0 mProtectedPredicate, 680 IncrementalHoareTripleChecker+Invalid, 816 SdHoareTripleChecker+Unknown, 0 mSolverCounterNotChecked, 136 mSolverCounterUnsat, 47 mSDtfsCounter, 680 mSolverCounterSat, 0.0s SdHoareTripleChecker+Time, 0 IncrementalHoareTripleChecker+Unknown, PredicateUnifierStatistics: 0 DeclaredPredicates, 605 GetRequests, 481 SyntacticMatches, 4 SemanticMatches, 120 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 5181 ImplicationChecksByTransitivity, 6.6s Time, 0.0s BasicInterpolantAutomatonTime, BiggestAbstraction: size=-1occurred in iteration=-1, InterpolantAutomatonStates: 0, traceCheckStatistics: 0.1s SsaConstructionTime, 0.4s SatisfiabilityAnalysisTime, 3.5s InterpolantComputationTime, 79 NumberOfCodeBlocks, 79 NumberOfCodeBlocksAsserted, 8 NumberOfCheckSat, 59 ConstructedInterpolants, 0 QuantifiedInterpolants, 505 SizeOfPredicates, 0 NumberOfNonLiveVariables, 0 ConjunctsInSsa, 0 ConjunctsInUnsatCore, 7 InterpolantComputations, 3 PerfectInterpolantSequences, 7/18 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: [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 [\old(k)=2, head={12449:0}, k=2, l={12449:0}, l={12449:0}] [L536] l!=((void *)0) && l->key!=k [L536] EXPR l->key [L536] l!=((void *)0) && l->key!=k VAL [\old(k)=2, head={12449:0}, k=2, l={12449:0}, l={12449: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 [\old(k)=2, head={12449:0}, k=2, l={12449:0}, l={12450: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 [\old(k)=2, head={12449:0}, k=2, l={12449:0}, l={12451: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 [\old(k)=2, head={12449:0}, k=2, l={-1:0}, l={12449: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={12449:0}] [L12] __assert_fail ("0", "list_search-1.c", 3, __extension__ __PRETTY_FUNCTION__) VAL [head={12449:0}] * Results from de.uni_freiburg.informatik.ultimate.core: - StatisticsResult: Toolchain Benchmarks Benchmark results are: * CDTParser took 0.24ms. Allocated memory is still 148.9MB. Free memory is still 118.9MB. There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 458.12ms. Allocated memory is still 148.9MB. Free memory was 109.4MB in the beginning and 92.2MB in the end (delta: 17.2MB). Peak memory consumption was 16.8MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 48.64ms. Allocated memory is still 148.9MB. Free memory was 92.2MB in the beginning and 90.1MB in the end (delta: 2.1MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. * Boogie Preprocessor took 37.13ms. Allocated memory is still 148.9MB. Free memory was 90.1MB in the beginning and 88.4MB in the end (delta: 1.7MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. * RCFGBuilder took 920.34ms. Allocated memory was 148.9MB in the beginning and 205.5MB in the end (delta: 56.6MB). Free memory was 88.4MB in the beginning and 157.8MB in the end (delta: -69.4MB). Peak memory consumption was 43.2MB. Max. memory is 16.1GB. * CodeCheck took 12306.70ms. Allocated memory was 205.5MB in the beginning and 297.8MB in the end (delta: 92.3MB). Free memory was 157.8MB in the beginning and 218.1MB in the end (delta: -60.3MB). Peak memory consumption was 32.0MB. Max. memory is 16.1GB. * Witness Printer took 74.74ms. Allocated memory is still 297.8MB. Free memory was 218.1MB in the beginning and 215.0MB in the end (delta: 3.1MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. * Results from de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator: - GenericResult: Unfinished Backtranslation Unfinished Backtranslation: IdentifierExpression #t~mem3 could not be translated - GenericResult: Unfinished Backtranslation Unfinished Backtranslation: IdentifierExpression #t~short4 could not be translated - GenericResult: Unfinished Backtranslation Unfinished Backtranslation: IdentifierExpression #t~mem3 could not be translated - GenericResult: Unfinished Backtranslation Unfinished Backtranslation: IdentifierExpression #t~short4 could not be translated - GenericResult: Unfinished Backtranslation Unfinished Backtranslation: IdentifierExpression #t~short4 could not be translated - GenericResult: Unfinished Backtranslation Unfinished Backtranslation: IdentifierExpression #t~mem3 could not be translated - GenericResult: Unfinished Backtranslation Unfinished Backtranslation: IdentifierExpression #t~short4 could not be translated - GenericResult: Unfinished Backtranslation Unfinished Backtranslation: IdentifierExpression #t~mem3 could not be translated - GenericResult: Unfinished Backtranslation The program execution was not completely translated back. - GenericResult: Unfinished Backtranslation Unfinished Backtranslation: IdentifierExpression #t~short4 could not be translated - GenericResult: Unfinished Backtranslation Unfinished Backtranslation: IdentifierExpression #t~mem3 could not be translated - GenericResult: Unfinished Backtranslation Unfinished Backtranslation: IdentifierExpression #t~short4 could not be translated - GenericResult: Unfinished Backtranslation Unfinished Backtranslation: IdentifierExpression #t~mem3 could not be translated - GenericResult: Unfinished Backtranslation Unfinished Backtranslation: IdentifierExpression #t~short4 could not be translated - GenericResult: Unfinished Backtranslation Unfinished Backtranslation: IdentifierExpression #t~mem3 could not be translated - GenericResult: Unfinished Backtranslation Unfinished Backtranslation: IdentifierExpression #t~short4 could not be translated - GenericResult: Unfinished Backtranslation Unfinished Backtranslation: IdentifierExpression #t~mem3 could not be translated - GenericResult: Unfinished Backtranslation The program execution was not completely translated back. RESULT: Ultimate proved your program to be incorrect! [2023-11-19 04:00:57,245 INFO L540 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f6cdf161-12d4-4f38-ae90-764bf2e1a125/bin/ukojak-verify-G8NBE6pJGL/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(valid-memcleanup)