./Ultimate.py --spec ../../sv-benchmarks/c/properties/valid-memsafety.prp --file ../../sv-benchmarks/c/ldv-memsafety/memleaks_test8_1.i --full-output --architecture 32bit -------------------------------------------------------------------------------- Checking for memory safety (deref-memtrack) Using default analysis Version d790fecc Calling Ultimate with: /usr/bin/java -Dosgi.configuration.area=/tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_89943ade-ba53-4121-8be4-e425b15f6829/bin/ukojak-verify-ENZ3QT5qd3/data/config -Xmx15G -Xms4m -jar /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_89943ade-ba53-4121-8be4-e425b15f6829/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_89943ade-ba53-4121-8be4-e425b15f6829/bin/ukojak-verify-ENZ3QT5qd3/data -tc /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_89943ade-ba53-4121-8be4-e425b15f6829/bin/ukojak-verify-ENZ3QT5qd3/config/KojakMemDerefMemtrack.xml -i ../../sv-benchmarks/c/ldv-memsafety/memleaks_test8_1.i -s /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_89943ade-ba53-4121-8be4-e425b15f6829/bin/ukojak-verify-ENZ3QT5qd3/config/svcomp-DerefFreeMemtrack-32bit-Kojak_Default.epf --cacsl2boogietranslator.entry.function main --witnessprinter.witness.directory /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_89943ade-ba53-4121-8be4-e425b15f6829/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-free) ) CHECK( init(main()), LTL(G valid-deref) ) CHECK( init(main()), LTL(G valid-memtrack) ) --witnessprinter.graph.data.producer Kojak --witnessprinter.graph.data.architecture 32bit --witnessprinter.graph.data.programhash 2fa2b78c59a6ef1020e917d8e9f22559c73fded7539fba1972d62f2dc7aaeead --- Real Ultimate output --- This is Ultimate 0.3.0-dev-d790fec [2024-11-25 05:27:16,888 INFO L188 SettingsManager]: Resetting all preferences to default values... [2024-11-25 05:27:16,977 INFO L114 SettingsManager]: Loading settings from /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_89943ade-ba53-4121-8be4-e425b15f6829/bin/ukojak-verify-ENZ3QT5qd3/config/svcomp-DerefFreeMemtrack-32bit-Kojak_Default.epf [2024-11-25 05:27:16,981 WARN L101 SettingsManager]: Preference file contains the following unknown settings: [2024-11-25 05:27:16,982 WARN L103 SettingsManager]: * de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck.Interpolating solver [2024-11-25 05:27:17,002 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2024-11-25 05:27:17,003 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2024-11-25 05:27:17,003 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2024-11-25 05:27:17,003 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2024-11-25 05:27:17,003 INFO L153 SettingsManager]: * sizeof long=4 [2024-11-25 05:27:17,003 INFO L153 SettingsManager]: * Overapproximate operations on floating types=true [2024-11-25 05:27:17,003 INFO L153 SettingsManager]: * sizeof POINTER=4 [2024-11-25 05:27:17,003 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2024-11-25 05:27:17,004 INFO L153 SettingsManager]: * Check for the main procedure if all allocated memory was freed=true [2024-11-25 05:27:17,004 INFO L153 SettingsManager]: * Bitprecise bitfields=true [2024-11-25 05:27:17,004 INFO L153 SettingsManager]: * SV-COMP memtrack compatibility mode=true [2024-11-25 05:27:17,004 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2024-11-25 05:27:17,004 INFO L153 SettingsManager]: * Check unreachability of reach_error function=false [2024-11-25 05:27:17,004 INFO L153 SettingsManager]: * sizeof long double=12 [2024-11-25 05:27:17,004 INFO L153 SettingsManager]: * Behaviour of calls to undefined functions=OVERAPPROXIMATE_BEHAVIOUR [2024-11-25 05:27:17,004 INFO L153 SettingsManager]: * Use constant arrays=true [2024-11-25 05:27:17,004 INFO L151 SettingsManager]: Preferences of CodeCheck differ from their defaults: [2024-11-25 05:27:17,004 INFO L153 SettingsManager]: * Timeout in seconds=1000000 [2024-11-25 05:27:17,005 INFO L153 SettingsManager]: * Theory for external solver=ALL [2024-11-25 05:27:17,005 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2024-11-25 05:27:17,005 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2024-11-25 05:27:17,005 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2024-11-25 05:27:17,005 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2024-11-25 05:27:17,005 INFO L153 SettingsManager]: * Trace refinement strategy=PENGUIN [2024-11-25 05:27:17,005 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2024-11-25 05:27:17,005 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_89943ade-ba53-4121-8be4-e425b15f6829/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-free) ) CHECK( init(main()), LTL(G valid-deref) ) CHECK( init(main()), LTL(G valid-memtrack) ) 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 -> 2fa2b78c59a6ef1020e917d8e9f22559c73fded7539fba1972d62f2dc7aaeead [2024-11-25 05:27:17,298 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2024-11-25 05:27:17,309 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2024-11-25 05:27:17,314 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2024-11-25 05:27:17,315 INFO L270 PluginConnector]: Initializing CDTParser... [2024-11-25 05:27:17,315 INFO L274 PluginConnector]: CDTParser initialized [2024-11-25 05:27:17,316 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_89943ade-ba53-4121-8be4-e425b15f6829/bin/ukojak-verify-ENZ3QT5qd3/../../sv-benchmarks/c/ldv-memsafety/memleaks_test8_1.i [2024-11-25 05:27:20,350 INFO L533 CDTParser]: Created temporary CDT project at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_89943ade-ba53-4121-8be4-e425b15f6829/bin/ukojak-verify-ENZ3QT5qd3/data/46fd387cc/126241a0882a4ab798b0e5a9fd323dae/FLAG1f6c3980d [2024-11-25 05:27:20,759 INFO L384 CDTParser]: Found 1 translation units. [2024-11-25 05:27:20,763 INFO L180 CDTParser]: Scanning /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_89943ade-ba53-4121-8be4-e425b15f6829/sv-benchmarks/c/ldv-memsafety/memleaks_test8_1.i [2024-11-25 05:27:20,783 INFO L427 CDTParser]: About to delete temporary CDT project at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_89943ade-ba53-4121-8be4-e425b15f6829/bin/ukojak-verify-ENZ3QT5qd3/data/46fd387cc/126241a0882a4ab798b0e5a9fd323dae/FLAG1f6c3980d [2024-11-25 05:27:20,806 INFO L435 CDTParser]: Successfully deleted /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_89943ade-ba53-4121-8be4-e425b15f6829/bin/ukojak-verify-ENZ3QT5qd3/data/46fd387cc/126241a0882a4ab798b0e5a9fd323dae [2024-11-25 05:27:20,809 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2024-11-25 05:27:20,813 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2024-11-25 05:27:20,815 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2024-11-25 05:27:20,815 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2024-11-25 05:27:20,821 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2024-11-25 05:27:20,822 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 25.11 05:27:20" (1/1) ... [2024-11-25 05:27:20,823 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@4b1097d7 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 25.11 05:27:20, skipping insertion in model container [2024-11-25 05:27:20,823 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 25.11 05:27:20" (1/1) ... [2024-11-25 05:27:20,872 INFO L175 MainTranslator]: Built tables and reachable declarations [2024-11-25 05:27:21,299 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-25 05:27:21,318 INFO L200 MainTranslator]: Completed pre-run [2024-11-25 05:27:21,382 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-25 05:27:21,428 INFO L204 MainTranslator]: Completed translation [2024-11-25 05:27:21,428 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 25.11 05:27:21 WrapperNode [2024-11-25 05:27:21,429 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2024-11-25 05:27:21,430 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2024-11-25 05:27:21,431 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2024-11-25 05:27:21,431 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2024-11-25 05:27:21,440 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 25.11 05:27:21" (1/1) ... [2024-11-25 05:27:21,469 INFO L184 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 25.11 05:27:21" (1/1) ... [2024-11-25 05:27:21,489 INFO L138 Inliner]: procedures = 166, calls = 70, calls flagged for inlining = 30, calls inlined = 5, statements flattened = 28 [2024-11-25 05:27:21,490 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2024-11-25 05:27:21,491 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2024-11-25 05:27:21,491 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2024-11-25 05:27:21,491 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2024-11-25 05:27:21,499 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 25.11 05:27:21" (1/1) ... [2024-11-25 05:27:21,499 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 25.11 05:27:21" (1/1) ... [2024-11-25 05:27:21,503 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 25.11 05:27:21" (1/1) ... [2024-11-25 05:27:21,503 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 25.11 05:27:21" (1/1) ... [2024-11-25 05:27:21,511 INFO L184 PluginConnector]: Executing the observer ReplaceArrayAssignments from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 25.11 05:27:21" (1/1) ... [2024-11-25 05:27:21,515 INFO L184 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 25.11 05:27:21" (1/1) ... [2024-11-25 05:27:21,517 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 25.11 05:27:21" (1/1) ... [2024-11-25 05:27:21,518 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 25.11 05:27:21" (1/1) ... [2024-11-25 05:27:21,519 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 25.11 05:27:21" (1/1) ... [2024-11-25 05:27:21,520 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2024-11-25 05:27:21,525 INFO L112 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2024-11-25 05:27:21,525 INFO L270 PluginConnector]: Initializing RCFGBuilder... [2024-11-25 05:27:21,526 INFO L274 PluginConnector]: RCFGBuilder initialized [2024-11-25 05:27:21,526 INFO L184 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 25.11 05:27:21" (1/1) ... [2024-11-25 05:27:21,539 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2024-11-25 05:27:21,553 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_89943ade-ba53-4121-8be4-e425b15f6829/bin/ukojak-verify-ENZ3QT5qd3/z3 [2024-11-25 05:27:21,568 INFO L229 MonitoredProcess]: Starting monitored process 1 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_89943ade-ba53-4121-8be4-e425b15f6829/bin/ukojak-verify-ENZ3QT5qd3/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (exit command is (exit), workingDir is null) [2024-11-25 05:27:21,575 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_89943ade-ba53-4121-8be4-e425b15f6829/bin/ukojak-verify-ENZ3QT5qd3/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (1)] Waiting until timeout for monitored process [2024-11-25 05:27:21,604 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnHeap [2024-11-25 05:27:21,604 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2024-11-25 05:27:21,604 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~$Pointer$ [2024-11-25 05:27:21,604 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2024-11-25 05:27:21,604 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2024-11-25 05:27:21,719 INFO L234 CfgBuilder]: Building ICFG [2024-11-25 05:27:21,721 INFO L260 CfgBuilder]: Building CFG for each procedure with an implementation [2024-11-25 05:27:21,795 INFO L? ?]: Removed 6 outVars from TransFormulas that were not future-live. [2024-11-25 05:27:21,795 INFO L283 CfgBuilder]: Performing block encoding [2024-11-25 05:27:21,858 INFO L307 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2024-11-25 05:27:21,858 INFO L312 CfgBuilder]: Removed 0 assume(true) statements. [2024-11-25 05:27:21,858 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 25.11 05:27:21 BoogieIcfgContainer [2024-11-25 05:27:21,858 INFO L131 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2024-11-25 05:27:21,859 INFO L112 PluginConnector]: ------------------------CodeCheck---------------------------- [2024-11-25 05:27:21,859 INFO L270 PluginConnector]: Initializing CodeCheck... [2024-11-25 05:27:21,869 INFO L274 PluginConnector]: CodeCheck initialized [2024-11-25 05:27:21,869 INFO L184 PluginConnector]: Executing the observer CodeCheckObserver from plugin CodeCheck for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 25.11 05:27:21" (1/1) ... [2024-11-25 05:27:21,877 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-11-25 05:27:21,919 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-25 05:27:21,925 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 4 states and 3 transitions. [2024-11-25 05:27:21,926 INFO L276 IsEmpty]: Start isEmpty. Operand 4 states and 3 transitions. [2024-11-25 05:27:21,928 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 3 [2024-11-25 05:27:21,928 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-25 05:27:21,929 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-25 05:27:22,030 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-25 05:27:22,031 INFO L357 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-11-25 05:27:22,043 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-25 05:27:22,099 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-25 05:27:22,099 INFO L357 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-11-25 05:27:22,116 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-25 05:27:22,125 WARN L473 CodeCheckObserver]: This program is UNSAFE, Check terminated with 1 iterations. [2024-11-25 05:27:22,141 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck CFG 25.11 05:27:22 ImpRootNode [2024-11-25 05:27:22,141 INFO L131 PluginConnector]: ------------------------ END CodeCheck---------------------------- [2024-11-25 05:27:22,142 INFO L112 PluginConnector]: ------------------------Witness Printer---------------------------- [2024-11-25 05:27:22,142 INFO L270 PluginConnector]: Initializing Witness Printer... [2024-11-25 05:27:22,142 INFO L274 PluginConnector]: Witness Printer initialized [2024-11-25 05:27:22,143 INFO L184 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 25.11 05:27:21" (3/4) ... [2024-11-25 05:27:22,145 INFO L149 WitnessPrinter]: No result that supports witness generation found [2024-11-25 05:27:22,146 INFO L131 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2024-11-25 05:27:22,147 INFO L158 Benchmark]: Toolchain (without parser) took 1335.65ms. Allocated memory is still 117.4MB. Free memory was 90.6MB in the beginning and 42.0MB in the end (delta: 48.6MB). Peak memory consumption was 41.9MB. Max. memory is 16.1GB. [2024-11-25 05:27:22,147 INFO L158 Benchmark]: CDTParser took 0.26ms. Allocated memory is still 117.4MB. Free memory is still 72.7MB. There was no memory consumed. Max. memory is 16.1GB. [2024-11-25 05:27:22,148 INFO L158 Benchmark]: CACSL2BoogieTranslator took 614.59ms. Allocated memory is still 117.4MB. Free memory was 90.6MB in the beginning and 68.7MB in the end (delta: 21.9MB). Peak memory consumption was 16.8MB. Max. memory is 16.1GB. [2024-11-25 05:27:22,148 INFO L158 Benchmark]: Boogie Procedure Inliner took 60.07ms. Allocated memory is still 117.4MB. Free memory was 68.7MB in the beginning and 67.0MB in the end (delta: 1.7MB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-25 05:27:22,149 INFO L158 Benchmark]: Boogie Preprocessor took 33.70ms. Allocated memory is still 117.4MB. Free memory was 67.0MB in the beginning and 66.1MB in the end (delta: 858.9kB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-25 05:27:22,149 INFO L158 Benchmark]: RCFGBuilder took 332.99ms. Allocated memory is still 117.4MB. Free memory was 66.1MB in the beginning and 53.9MB in the end (delta: 12.3MB). Peak memory consumption was 16.8MB. Max. memory is 16.1GB. [2024-11-25 05:27:22,150 INFO L158 Benchmark]: CodeCheck took 282.62ms. Allocated memory is still 117.4MB. Free memory was 53.9MB in the beginning and 42.3MB in the end (delta: 11.6MB). Peak memory consumption was 8.4MB. Max. memory is 16.1GB. [2024-11-25 05:27:22,150 INFO L158 Benchmark]: Witness Printer took 4.16ms. Allocated memory is still 117.4MB. Free memory was 42.3MB in the beginning and 42.0MB in the end (delta: 274.4kB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-25 05:27:22,152 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, 4 locations, 1 error locations. Started 1 CEGAR loops. OverallTime: 0.2s, OverallIterations: 1, TraceHistogramMax: 0, PathProgramHistogramMax: 0, EmptinessCheckTime: 0.0s, AutomataDifference: 0.0s, DeadEndRemovalTime: 0.0s, HoareAnnotationTime: 0.0s, InitialAbstractionConstructionTime: 0.0s, HoareTripleCheckerStatistics: , PredicateUnifierStatistics: 0 DeclaredPredicates, 0 GetRequests, 0 SyntacticMatches, 0 SemanticMatches, 0 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 0 ImplicationChecksByTransitivity, 0.0s Time, 0.0s BasicInterpolantAutomatonTime, BiggestAbstraction: size=-1occurred in iteration=-1, InterpolantAutomatonStates: 0, traceCheckStatistics: 0.0s SsaConstructionTime, 0.0s SatisfiabilityAnalysisTime, 0.0s InterpolantComputationTime, 2 NumberOfCodeBlocks, 2 NumberOfCodeBlocksAsserted, 1 NumberOfCheckSat, 0 ConstructedInterpolants, 0 QuantifiedInterpolants, 0 SizeOfPredicates, 0 NumberOfNonLiveVariables, 0 ConjunctsInSsa, 0 ConjunctsInUnsatCore, 0 InterpolantComputations, 0 PerfectInterpolantSequences, 0/0 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 - UnprovableResult [Line: 768]: Unable to prove that all allocated memory was freed Unable to prove that all allocated memory was freed Reason: overapproximation of memtrack at line 768. Possible FailurePath: [L569] struct ldv_list_head ldv_global_msg_list = { &(ldv_global_msg_list), &(ldv_global_msg_list) }; [L757] int *a8; [L769] CALL entry_point() [L765] CALL alloc_8() [L759] CALL, EXPR ldv_malloc(sizeof(int)) [L526] COND TRUE __VERIFIER_nondet_int() [L527] return malloc(size); [L759] RET, EXPR ldv_malloc(sizeof(int)) [L759] a8 = (int *)ldv_malloc(sizeof(int)) [L765] RET alloc_8() [L766] a8 = 0 [L769] RET entry_point() * Results from de.uni_freiburg.informatik.ultimate.core: - StatisticsResult: Toolchain Benchmarks Benchmark results are: * CDTParser took 0.26ms. Allocated memory is still 117.4MB. Free memory is still 72.7MB. There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 614.59ms. Allocated memory is still 117.4MB. Free memory was 90.6MB in the beginning and 68.7MB in the end (delta: 21.9MB). Peak memory consumption was 16.8MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 60.07ms. Allocated memory is still 117.4MB. Free memory was 68.7MB in the beginning and 67.0MB in the end (delta: 1.7MB). There was no memory consumed. Max. memory is 16.1GB. * Boogie Preprocessor took 33.70ms. Allocated memory is still 117.4MB. Free memory was 67.0MB in the beginning and 66.1MB in the end (delta: 858.9kB). There was no memory consumed. Max. memory is 16.1GB. * RCFGBuilder took 332.99ms. Allocated memory is still 117.4MB. Free memory was 66.1MB in the beginning and 53.9MB in the end (delta: 12.3MB). Peak memory consumption was 16.8MB. Max. memory is 16.1GB. * CodeCheck took 282.62ms. Allocated memory is still 117.4MB. Free memory was 53.9MB in the beginning and 42.3MB in the end (delta: 11.6MB). Peak memory consumption was 8.4MB. Max. memory is 16.1GB. * Witness Printer took 4.16ms. Allocated memory is still 117.4MB. Free memory was 42.3MB in the beginning and 42.0MB in the end (delta: 274.4kB). There was no memory consumed. Max. memory is 16.1GB. RESULT: Ultimate could not prove your program: unable to determine feasibility of some traces [2024-11-25 05:27:22,171 INFO L552 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_89943ade-ba53-4121-8be4-e425b15f6829/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 Using bit-precise analysis Retrying with bit-precise analysis ### Bit-precise run ### Calling Ultimate with: /usr/bin/java -Dosgi.configuration.area=/tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_89943ade-ba53-4121-8be4-e425b15f6829/bin/ukojak-verify-ENZ3QT5qd3/data/config -Xmx15G -Xms4m -jar /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_89943ade-ba53-4121-8be4-e425b15f6829/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_89943ade-ba53-4121-8be4-e425b15f6829/bin/ukojak-verify-ENZ3QT5qd3/data -tc /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_89943ade-ba53-4121-8be4-e425b15f6829/bin/ukojak-verify-ENZ3QT5qd3/config/KojakMemDerefMemtrack.xml -i ../../sv-benchmarks/c/ldv-memsafety/memleaks_test8_1.i -s /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_89943ade-ba53-4121-8be4-e425b15f6829/bin/ukojak-verify-ENZ3QT5qd3/config/svcomp-DerefFreeMemtrack-32bit-Kojak_Bitvector.epf --cacsl2boogietranslator.entry.function main --witnessprinter.witness.directory /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_89943ade-ba53-4121-8be4-e425b15f6829/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-free) ) CHECK( init(main()), LTL(G valid-deref) ) CHECK( init(main()), LTL(G valid-memtrack) ) --witnessprinter.graph.data.producer Kojak --witnessprinter.graph.data.architecture 32bit --witnessprinter.graph.data.programhash 2fa2b78c59a6ef1020e917d8e9f22559c73fded7539fba1972d62f2dc7aaeead --- Real Ultimate output --- This is Ultimate 0.3.0-dev-d790fec [2024-11-25 05:27:24,804 INFO L188 SettingsManager]: Resetting all preferences to default values... [2024-11-25 05:27:24,918 INFO L114 SettingsManager]: Loading settings from /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_89943ade-ba53-4121-8be4-e425b15f6829/bin/ukojak-verify-ENZ3QT5qd3/config/svcomp-DerefFreeMemtrack-32bit-Kojak_Bitvector.epf [2024-11-25 05:27:24,967 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2024-11-25 05:27:24,969 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2024-11-25 05:27:24,970 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2024-11-25 05:27:24,970 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2024-11-25 05:27:24,970 INFO L153 SettingsManager]: * sizeof long=4 [2024-11-25 05:27:24,970 INFO L153 SettingsManager]: * Overapproximate operations on floating types=true [2024-11-25 05:27:24,970 INFO L153 SettingsManager]: * sizeof POINTER=4 [2024-11-25 05:27:24,970 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2024-11-25 05:27:24,970 INFO L153 SettingsManager]: * Check for the main procedure if all allocated memory was freed=true [2024-11-25 05:27:24,970 INFO L153 SettingsManager]: * Bitprecise bitfields=true [2024-11-25 05:27:24,970 INFO L153 SettingsManager]: * SV-COMP memtrack compatibility mode=true [2024-11-25 05:27:24,971 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2024-11-25 05:27:24,971 INFO L153 SettingsManager]: * Adapt memory model on pointer casts if necessary=true [2024-11-25 05:27:24,971 INFO L153 SettingsManager]: * Use bitvectors instead of ints=true [2024-11-25 05:27:24,971 INFO L153 SettingsManager]: * Memory model=HoenickeLindenmann_4ByteResolution [2024-11-25 05:27:24,971 INFO L153 SettingsManager]: * Check unreachability of reach_error function=false [2024-11-25 05:27:24,973 INFO L153 SettingsManager]: * sizeof long double=12 [2024-11-25 05:27:24,973 INFO L153 SettingsManager]: * Behaviour of calls to undefined functions=OVERAPPROXIMATE_BEHAVIOUR [2024-11-25 05:27:24,973 INFO L153 SettingsManager]: * Use constant arrays=true [2024-11-25 05:27:24,974 INFO L151 SettingsManager]: Preferences of CodeCheck differ from their defaults: [2024-11-25 05:27:24,974 INFO L153 SettingsManager]: * Timeout in seconds=1000000 [2024-11-25 05:27:24,974 INFO L153 SettingsManager]: * Theory for external solver=ALL [2024-11-25 05:27:24,974 INFO L153 SettingsManager]: * Command for calling external solver=cvc4 --incremental --print-success --lang smt [2024-11-25 05:27:24,974 INFO L153 SettingsManager]: * Choose which separate solver to use for tracechecks=External_ModelsAndUnsatCoreMode [2024-11-25 05:27:24,974 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2024-11-25 05:27:24,974 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2024-11-25 05:27:24,974 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2024-11-25 05:27:24,974 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2024-11-25 05:27:24,974 INFO L153 SettingsManager]: * Trace refinement strategy=WALRUS [2024-11-25 05:27:24,975 INFO L153 SettingsManager]: * Command for external solver=cvc4 --incremental --print-success --lang smt [2024-11-25 05:27:24,975 INFO L153 SettingsManager]: * Use separate solver for trace checks=false [2024-11-25 05:27:24,975 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_89943ade-ba53-4121-8be4-e425b15f6829/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-free) ) CHECK( init(main()), LTL(G valid-deref) ) CHECK( init(main()), LTL(G valid-memtrack) ) 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 -> 2fa2b78c59a6ef1020e917d8e9f22559c73fded7539fba1972d62f2dc7aaeead [2024-11-25 05:27:25,298 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2024-11-25 05:27:25,306 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2024-11-25 05:27:25,309 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2024-11-25 05:27:25,313 INFO L270 PluginConnector]: Initializing CDTParser... [2024-11-25 05:27:25,313 INFO L274 PluginConnector]: CDTParser initialized [2024-11-25 05:27:25,315 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_89943ade-ba53-4121-8be4-e425b15f6829/bin/ukojak-verify-ENZ3QT5qd3/../../sv-benchmarks/c/ldv-memsafety/memleaks_test8_1.i [2024-11-25 05:27:28,307 INFO L533 CDTParser]: Created temporary CDT project at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_89943ade-ba53-4121-8be4-e425b15f6829/bin/ukojak-verify-ENZ3QT5qd3/data/bc504765b/b1fefa6c72c9495f96e5e6e793c74e36/FLAGf4e5c4597 [2024-11-25 05:27:28,724 INFO L384 CDTParser]: Found 1 translation units. [2024-11-25 05:27:28,725 INFO L180 CDTParser]: Scanning /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_89943ade-ba53-4121-8be4-e425b15f6829/sv-benchmarks/c/ldv-memsafety/memleaks_test8_1.i [2024-11-25 05:27:28,748 INFO L427 CDTParser]: About to delete temporary CDT project at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_89943ade-ba53-4121-8be4-e425b15f6829/bin/ukojak-verify-ENZ3QT5qd3/data/bc504765b/b1fefa6c72c9495f96e5e6e793c74e36/FLAGf4e5c4597 [2024-11-25 05:27:28,772 INFO L435 CDTParser]: Successfully deleted /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_89943ade-ba53-4121-8be4-e425b15f6829/bin/ukojak-verify-ENZ3QT5qd3/data/bc504765b/b1fefa6c72c9495f96e5e6e793c74e36 [2024-11-25 05:27:28,775 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2024-11-25 05:27:28,776 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2024-11-25 05:27:28,778 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2024-11-25 05:27:28,778 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2024-11-25 05:27:28,782 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2024-11-25 05:27:28,783 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 25.11 05:27:28" (1/1) ... [2024-11-25 05:27:28,784 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@1a4add88 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 25.11 05:27:28, skipping insertion in model container [2024-11-25 05:27:28,784 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 25.11 05:27:28" (1/1) ... [2024-11-25 05:27:28,821 INFO L175 MainTranslator]: Built tables and reachable declarations [2024-11-25 05:27:29,289 WARN L1063 CHandler]: saw a pointer cast to a type that we could not get a type size for, not adapting memory model [2024-11-25 05:27:29,374 WARN L1063 CHandler]: saw a pointer cast to a type that we could not get a type size for, not adapting memory model [2024-11-25 05:27:29,380 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-25 05:27:29,412 INFO L197 MainTranslator]: Restarting translation with changed settings: SettingsChange [mNewPreferredMemoryModel=HoenickeLindenmann_1ByteResolution] [2024-11-25 05:27:29,423 INFO L175 MainTranslator]: Built tables and reachable declarations [2024-11-25 05:27:29,450 WARN L1063 CHandler]: saw a pointer cast to a type that we could not get a type size for, not adapting memory model [2024-11-25 05:27:29,472 WARN L1063 CHandler]: saw a pointer cast to a type that we could not get a type size for, not adapting memory model [2024-11-25 05:27:29,474 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-25 05:27:29,492 INFO L200 MainTranslator]: Completed pre-run [2024-11-25 05:27:29,576 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-25 05:27:29,641 INFO L204 MainTranslator]: Completed translation [2024-11-25 05:27:29,642 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 25.11 05:27:29 WrapperNode [2024-11-25 05:27:29,642 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2024-11-25 05:27:29,644 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2024-11-25 05:27:29,644 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2024-11-25 05:27:29,644 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2024-11-25 05:27:29,654 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 25.11 05:27:29" (1/1) ... [2024-11-25 05:27:29,673 INFO L184 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 25.11 05:27:29" (1/1) ... [2024-11-25 05:27:29,705 INFO L138 Inliner]: procedures = 167, calls = 70, calls flagged for inlining = 30, calls inlined = 5, statements flattened = 28 [2024-11-25 05:27:29,706 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2024-11-25 05:27:29,706 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2024-11-25 05:27:29,707 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2024-11-25 05:27:29,707 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2024-11-25 05:27:29,715 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 25.11 05:27:29" (1/1) ... [2024-11-25 05:27:29,715 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 25.11 05:27:29" (1/1) ... [2024-11-25 05:27:29,718 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 25.11 05:27:29" (1/1) ... [2024-11-25 05:27:29,718 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 25.11 05:27:29" (1/1) ... [2024-11-25 05:27:29,724 INFO L184 PluginConnector]: Executing the observer ReplaceArrayAssignments from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 25.11 05:27:29" (1/1) ... [2024-11-25 05:27:29,724 INFO L184 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 25.11 05:27:29" (1/1) ... [2024-11-25 05:27:29,726 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 25.11 05:27:29" (1/1) ... [2024-11-25 05:27:29,727 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 25.11 05:27:29" (1/1) ... [2024-11-25 05:27:29,729 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 25.11 05:27:29" (1/1) ... [2024-11-25 05:27:29,731 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2024-11-25 05:27:29,732 INFO L112 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2024-11-25 05:27:29,732 INFO L270 PluginConnector]: Initializing RCFGBuilder... [2024-11-25 05:27:29,732 INFO L274 PluginConnector]: RCFGBuilder initialized [2024-11-25 05:27:29,733 INFO L184 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 25.11 05:27:29" (1/1) ... [2024-11-25 05:27:29,740 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2024-11-25 05:27:29,759 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_89943ade-ba53-4121-8be4-e425b15f6829/bin/ukojak-verify-ENZ3QT5qd3/z3 [2024-11-25 05:27:29,776 INFO L229 MonitoredProcess]: Starting monitored process 1 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_89943ade-ba53-4121-8be4-e425b15f6829/bin/ukojak-verify-ENZ3QT5qd3/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (exit command is (exit), workingDir is null) [2024-11-25 05:27:29,781 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_89943ade-ba53-4121-8be4-e425b15f6829/bin/ukojak-verify-ENZ3QT5qd3/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (1)] Waiting until timeout for monitored process [2024-11-25 05:27:29,814 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnHeap [2024-11-25 05:27:29,814 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2024-11-25 05:27:29,814 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~$Pointer$ [2024-11-25 05:27:29,814 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2024-11-25 05:27:29,814 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2024-11-25 05:27:29,971 INFO L234 CfgBuilder]: Building ICFG [2024-11-25 05:27:29,974 INFO L260 CfgBuilder]: Building CFG for each procedure with an implementation [2024-11-25 05:27:30,103 INFO L? ?]: Removed 6 outVars from TransFormulas that were not future-live. [2024-11-25 05:27:30,103 INFO L283 CfgBuilder]: Performing block encoding [2024-11-25 05:27:30,219 INFO L307 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2024-11-25 05:27:30,220 INFO L312 CfgBuilder]: Removed 0 assume(true) statements. [2024-11-25 05:27:30,223 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 25.11 05:27:30 BoogieIcfgContainer [2024-11-25 05:27:30,223 INFO L131 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2024-11-25 05:27:30,224 INFO L112 PluginConnector]: ------------------------CodeCheck---------------------------- [2024-11-25 05:27:30,224 INFO L270 PluginConnector]: Initializing CodeCheck... [2024-11-25 05:27:30,236 INFO L274 PluginConnector]: CodeCheck initialized [2024-11-25 05:27:30,237 INFO L184 PluginConnector]: Executing the observer CodeCheckObserver from plugin CodeCheck for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 25.11 05:27:30" (1/1) ... [2024-11-25 05:27:30,246 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-11-25 05:27:30,295 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-25 05:27:30,305 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 4 states and 3 transitions. [2024-11-25 05:27:30,306 INFO L276 IsEmpty]: Start isEmpty. Operand 4 states and 3 transitions. [2024-11-25 05:27:30,309 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 3 [2024-11-25 05:27:30,310 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-25 05:27:30,310 INFO L173 SolverBuilder]: Constructing external solver with command: cvc4 --incremental --print-success --lang smt [2024-11-25 05:27:30,311 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_89943ade-ba53-4121-8be4-e425b15f6829/bin/ukojak-verify-ENZ3QT5qd3/cvc4 [2024-11-25 05:27:30,316 INFO L229 MonitoredProcess]: Starting monitored process 2 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_89943ade-ba53-4121-8be4-e425b15f6829/bin/ukojak-verify-ENZ3QT5qd3/cvc4 --incremental --print-success --lang smt (exit command is (exit), workingDir is null) [2024-11-25 05:27:30,318 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_89943ade-ba53-4121-8be4-e425b15f6829/bin/ukojak-verify-ENZ3QT5qd3/cvc4 --incremental --print-success --lang smt (2)] Waiting until timeout for monitored process [2024-11-25 05:27:30,442 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-25 05:27:30,443 INFO L357 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-11-25 05:27:30,473 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-25 05:27:30,516 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-25 05:27:30,516 INFO L357 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-11-25 05:27:30,528 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-25 05:27:30,538 ERROR L418 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_89943ade-ba53-4121-8be4-e425b15f6829/bin/ukojak-verify-ENZ3QT5qd3/cvc4 --incremental --print-success --lang smt (2)] Exception during sending of exit command (exit): Broken pipe [2024-11-25 05:27:30,541 INFO L552 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_89943ade-ba53-4121-8be4-e425b15f6829/bin/ukojak-verify-ENZ3QT5qd3/cvc4 --incremental --print-success --lang smt (2)] Ended with exit code 0 [2024-11-25 05:27:30,542 WARN L473 CodeCheckObserver]: This program is UNSAFE, Check terminated with 1 iterations. [2024-11-25 05:27:30,561 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck CFG 25.11 05:27:30 ImpRootNode [2024-11-25 05:27:30,561 INFO L131 PluginConnector]: ------------------------ END CodeCheck---------------------------- [2024-11-25 05:27:30,562 INFO L112 PluginConnector]: ------------------------Witness Printer---------------------------- [2024-11-25 05:27:30,562 INFO L270 PluginConnector]: Initializing Witness Printer... [2024-11-25 05:27:30,562 INFO L274 PluginConnector]: Witness Printer initialized [2024-11-25 05:27:30,563 INFO L184 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 25.11 05:27:30" (3/4) ... [2024-11-25 05:27:30,565 INFO L149 WitnessPrinter]: No result that supports witness generation found [2024-11-25 05:27:30,566 INFO L131 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2024-11-25 05:27:30,567 INFO L158 Benchmark]: Toolchain (without parser) took 1790.67ms. Allocated memory is still 83.9MB. Free memory was 59.4MB in the beginning and 33.9MB in the end (delta: 25.5MB). Peak memory consumption was 28.5MB. Max. memory is 16.1GB. [2024-11-25 05:27:30,567 INFO L158 Benchmark]: CDTParser took 0.37ms. Allocated memory is still 83.9MB. Free memory is still 48.3MB. There was no memory consumed. Max. memory is 16.1GB. [2024-11-25 05:27:30,568 INFO L158 Benchmark]: CACSL2BoogieTranslator took 865.28ms. Allocated memory is still 83.9MB. Free memory was 59.2MB in the beginning and 31.7MB in the end (delta: 27.5MB). Peak memory consumption was 25.2MB. Max. memory is 16.1GB. [2024-11-25 05:27:30,568 INFO L158 Benchmark]: Boogie Procedure Inliner took 62.44ms. Allocated memory is still 83.9MB. Free memory was 31.7MB in the beginning and 60.2MB in the end (delta: -28.4MB). Peak memory consumption was 11.7MB. Max. memory is 16.1GB. [2024-11-25 05:27:30,569 INFO L158 Benchmark]: Boogie Preprocessor took 24.36ms. Allocated memory is still 83.9MB. Free memory was 60.2MB in the beginning and 59.0MB in the end (delta: 1.1MB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-25 05:27:30,569 INFO L158 Benchmark]: RCFGBuilder took 491.55ms. Allocated memory is still 83.9MB. Free memory was 59.0MB in the beginning and 45.1MB in the end (delta: 13.9MB). Peak memory consumption was 8.4MB. Max. memory is 16.1GB. [2024-11-25 05:27:30,570 INFO L158 Benchmark]: CodeCheck took 337.20ms. Allocated memory is still 83.9MB. Free memory was 45.1MB in the beginning and 33.9MB in the end (delta: 11.1MB). Peak memory consumption was 16.8MB. Max. memory is 16.1GB. [2024-11-25 05:27:30,570 INFO L158 Benchmark]: Witness Printer took 4.55ms. Allocated memory is still 83.9MB. Free memory was 33.9MB in the beginning and 33.9MB in the end (delta: 25.3kB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-25 05:27:30,573 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, 4 locations, 1 error locations. Started 1 CEGAR loops. OverallTime: 0.3s, OverallIterations: 1, TraceHistogramMax: 0, PathProgramHistogramMax: 0, EmptinessCheckTime: 0.0s, AutomataDifference: 0.0s, DeadEndRemovalTime: 0.0s, HoareAnnotationTime: 0.0s, InitialAbstractionConstructionTime: 0.0s, HoareTripleCheckerStatistics: , PredicateUnifierStatistics: 0 DeclaredPredicates, 0 GetRequests, 0 SyntacticMatches, 0 SemanticMatches, 0 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 0 ImplicationChecksByTransitivity, 0.0s Time, 0.0s BasicInterpolantAutomatonTime, BiggestAbstraction: size=-1occurred in iteration=-1, InterpolantAutomatonStates: 0, traceCheckStatistics: 0.0s SsaConstructionTime, 0.0s SatisfiabilityAnalysisTime, 0.0s InterpolantComputationTime, 2 NumberOfCodeBlocks, 2 NumberOfCodeBlocksAsserted, 1 NumberOfCheckSat, 0 ConstructedInterpolants, 0 QuantifiedInterpolants, 0 SizeOfPredicates, 0 NumberOfNonLiveVariables, 0 ConjunctsInSsa, 0 ConjunctsInUnsatCore, 0 InterpolantComputations, 0 PerfectInterpolantSequences, 0/0 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 - UnprovableResult [Line: 768]: Unable to prove that all allocated memory was freed Unable to prove that all allocated memory was freed Reason: overapproximation of memtrack at line 768. Possible FailurePath: [L569] struct ldv_list_head ldv_global_msg_list = { &(ldv_global_msg_list), &(ldv_global_msg_list) }; [L757] int *a8; [L769] CALL entry_point() [L765] CALL alloc_8() [L759] CALL, EXPR ldv_malloc(sizeof(int)) [L526] COND TRUE __VERIFIER_nondet_int() [L527] return malloc(size); [L759] RET, EXPR ldv_malloc(sizeof(int)) [L759] a8 = (int *)ldv_malloc(sizeof(int)) [L765] RET alloc_8() [L766] a8 = 0 [L769] RET entry_point() * Results from de.uni_freiburg.informatik.ultimate.core: - StatisticsResult: Toolchain Benchmarks Benchmark results are: * CDTParser took 0.37ms. Allocated memory is still 83.9MB. Free memory is still 48.3MB. There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 865.28ms. Allocated memory is still 83.9MB. Free memory was 59.2MB in the beginning and 31.7MB in the end (delta: 27.5MB). Peak memory consumption was 25.2MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 62.44ms. Allocated memory is still 83.9MB. Free memory was 31.7MB in the beginning and 60.2MB in the end (delta: -28.4MB). Peak memory consumption was 11.7MB. Max. memory is 16.1GB. * Boogie Preprocessor took 24.36ms. Allocated memory is still 83.9MB. Free memory was 60.2MB in the beginning and 59.0MB in the end (delta: 1.1MB). There was no memory consumed. Max. memory is 16.1GB. * RCFGBuilder took 491.55ms. Allocated memory is still 83.9MB. Free memory was 59.0MB in the beginning and 45.1MB in the end (delta: 13.9MB). Peak memory consumption was 8.4MB. Max. memory is 16.1GB. * CodeCheck took 337.20ms. Allocated memory is still 83.9MB. Free memory was 45.1MB in the beginning and 33.9MB in the end (delta: 11.1MB). Peak memory consumption was 16.8MB. Max. memory is 16.1GB. * Witness Printer took 4.55ms. Allocated memory is still 83.9MB. Free memory was 33.9MB in the beginning and 33.9MB in the end (delta: 25.3kB). There was no memory consumed. Max. memory is 16.1GB. RESULT: Ultimate could not prove your program: unable to determine feasibility of some traces [2024-11-25 05:27:30,594 INFO L552 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_89943ade-ba53-4121-8be4-e425b15f6829/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 Result: UNKNOWN: Overapproximated counterexample