./Ultimate.py --spec ../../sv-benchmarks/c/properties/valid-memsafety.prp --file ../../sv-benchmarks/c/ldv-memsafety/memleaks_test16_1.i --full-output --architecture 32bit -------------------------------------------------------------------------------- Checking for memory safety (deref-memtrack) Using default analysis Version 826ab2ba Calling Ultimate with: /usr/bin/java -Dosgi.configuration.area=/tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_6425db4e-4868-446a-a861-6d64ed50fb58/bin/ukojak-verify-EEHR8qb7sm/data/config -Xmx15G -Xms4m -jar /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_6425db4e-4868-446a-a861-6d64ed50fb58/bin/ukojak-verify-EEHR8qb7sm/plugins/org.eclipse.equinox.launcher_1.6.800.v20240513-1750.jar -data @noDefault -ultimatedata /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_6425db4e-4868-446a-a861-6d64ed50fb58/bin/ukojak-verify-EEHR8qb7sm/data -tc /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_6425db4e-4868-446a-a861-6d64ed50fb58/bin/ukojak-verify-EEHR8qb7sm/config/KojakMemDerefMemtrack.xml -i ../../sv-benchmarks/c/ldv-memsafety/memleaks_test16_1.i -s /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_6425db4e-4868-446a-a861-6d64ed50fb58/bin/ukojak-verify-EEHR8qb7sm/config/svcomp-DerefFreeMemtrack-32bit-Kojak_Default.epf --cacsl2boogietranslator.entry.function main --witnessprinter.witness.directory /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_6425db4e-4868-446a-a861-6d64ed50fb58/bin/ukojak-verify-EEHR8qb7sm --witnessprinter.witness.filename witness --witnessprinter.write.witness.besides.input.file false --witnessprinter.graph.data.specification CHECK( init(main()), LTL(G valid-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 3afced8f9a8fb9c36e6297fc454d6fa3dc7a1789295b6dfeeaf7e663bd888ba5 --- Real Ultimate output --- This is Ultimate 0.3.0-dev-826ab2b [2024-11-13 21:09:30,961 INFO L188 SettingsManager]: Resetting all preferences to default values... [2024-11-13 21:09:31,023 INFO L114 SettingsManager]: Loading settings from /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_6425db4e-4868-446a-a861-6d64ed50fb58/bin/ukojak-verify-EEHR8qb7sm/config/svcomp-DerefFreeMemtrack-32bit-Kojak_Default.epf [2024-11-13 21:09:31,028 WARN L101 SettingsManager]: Preference file contains the following unknown settings: [2024-11-13 21:09:31,028 WARN L103 SettingsManager]: * de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck.Interpolating solver [2024-11-13 21:09:31,051 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2024-11-13 21:09:31,052 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2024-11-13 21:09:31,053 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2024-11-13 21:09:31,053 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2024-11-13 21:09:31,053 INFO L153 SettingsManager]: * sizeof long=4 [2024-11-13 21:09:31,053 INFO L153 SettingsManager]: * Overapproximate operations on floating types=true [2024-11-13 21:09:31,053 INFO L153 SettingsManager]: * sizeof POINTER=4 [2024-11-13 21:09:31,054 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2024-11-13 21:09:31,054 INFO L153 SettingsManager]: * Check for the main procedure if all allocated memory was freed=true [2024-11-13 21:09:31,054 INFO L153 SettingsManager]: * Bitprecise bitfields=true [2024-11-13 21:09:31,054 INFO L153 SettingsManager]: * SV-COMP memtrack compatibility mode=true [2024-11-13 21:09:31,054 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2024-11-13 21:09:31,054 INFO L153 SettingsManager]: * Allow undefined functions=false [2024-11-13 21:09:31,055 INFO L153 SettingsManager]: * Check unreachability of reach_error function=false [2024-11-13 21:09:31,055 INFO L153 SettingsManager]: * sizeof long double=12 [2024-11-13 21:09:31,055 INFO L153 SettingsManager]: * Use constant arrays=true [2024-11-13 21:09:31,055 INFO L151 SettingsManager]: Preferences of CodeCheck differ from their defaults: [2024-11-13 21:09:31,055 INFO L153 SettingsManager]: * Timeout in seconds=1000000 [2024-11-13 21:09:31,055 INFO L153 SettingsManager]: * Theory for external solver=ALL [2024-11-13 21:09:31,056 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2024-11-13 21:09:31,056 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2024-11-13 21:09:31,056 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2024-11-13 21:09:31,056 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2024-11-13 21:09:31,056 INFO L153 SettingsManager]: * Trace refinement strategy=PENGUIN [2024-11-13 21:09:31,056 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2024-11-13 21:09:31,056 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_6425db4e-4868-446a-a861-6d64ed50fb58/bin/ukojak-verify-EEHR8qb7sm Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Witness filename -> witness Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Write witness besides input file -> false Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data specification -> CHECK( init(main()), LTL(G valid-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 -> 3afced8f9a8fb9c36e6297fc454d6fa3dc7a1789295b6dfeeaf7e663bd888ba5 [2024-11-13 21:09:31,331 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2024-11-13 21:09:31,346 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2024-11-13 21:09:31,350 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2024-11-13 21:09:31,351 INFO L270 PluginConnector]: Initializing CDTParser... [2024-11-13 21:09:31,354 INFO L274 PluginConnector]: CDTParser initialized [2024-11-13 21:09:31,355 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_6425db4e-4868-446a-a861-6d64ed50fb58/bin/ukojak-verify-EEHR8qb7sm/../../sv-benchmarks/c/ldv-memsafety/memleaks_test16_1.i Unable to find full path for "g++" [2024-11-13 21:09:33,182 INFO L533 CDTParser]: Created temporary CDT project at NULL [2024-11-13 21:09:33,510 INFO L384 CDTParser]: Found 1 translation units. [2024-11-13 21:09:33,511 INFO L180 CDTParser]: Scanning /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_6425db4e-4868-446a-a861-6d64ed50fb58/sv-benchmarks/c/ldv-memsafety/memleaks_test16_1.i [2024-11-13 21:09:33,526 INFO L427 CDTParser]: About to delete temporary CDT project at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_6425db4e-4868-446a-a861-6d64ed50fb58/bin/ukojak-verify-EEHR8qb7sm/data/61ffd3b6a/c8f2dec06b7f4cf5947872babedd129a/FLAGfd60c4d0f [2024-11-13 21:09:33,542 INFO L435 CDTParser]: Successfully deleted /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_6425db4e-4868-446a-a861-6d64ed50fb58/bin/ukojak-verify-EEHR8qb7sm/data/61ffd3b6a/c8f2dec06b7f4cf5947872babedd129a [2024-11-13 21:09:33,549 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2024-11-13 21:09:33,551 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2024-11-13 21:09:33,552 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2024-11-13 21:09:33,553 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2024-11-13 21:09:33,559 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2024-11-13 21:09:33,560 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 13.11 09:09:33" (1/1) ... [2024-11-13 21:09:33,564 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@403de175 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 09:09:33, skipping insertion in model container [2024-11-13 21:09:33,564 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 13.11 09:09:33" (1/1) ... [2024-11-13 21:09:33,614 INFO L175 MainTranslator]: Built tables and reachable declarations [2024-11-13 21:09:34,039 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-13 21:09:34,057 INFO L200 MainTranslator]: Completed pre-run [2024-11-13 21:09:34,115 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-13 21:09:34,151 INFO L204 MainTranslator]: Completed translation [2024-11-13 21:09:34,151 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 09:09:34 WrapperNode [2024-11-13 21:09:34,151 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2024-11-13 21:09:34,152 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2024-11-13 21:09:34,153 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2024-11-13 21:09:34,153 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2024-11-13 21:09:34,159 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 09:09:34" (1/1) ... [2024-11-13 21:09:34,174 INFO L184 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 09:09:34" (1/1) ... [2024-11-13 21:09:34,192 INFO L138 Inliner]: procedures = 166, calls = 71, calls flagged for inlining = 31, calls inlined = 6, statements flattened = 43 [2024-11-13 21:09:34,193 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2024-11-13 21:09:34,193 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2024-11-13 21:09:34,193 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2024-11-13 21:09:34,193 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2024-11-13 21:09:34,201 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 09:09:34" (1/1) ... [2024-11-13 21:09:34,202 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 09:09:34" (1/1) ... [2024-11-13 21:09:34,206 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 09:09:34" (1/1) ... [2024-11-13 21:09:34,207 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 09:09:34" (1/1) ... [2024-11-13 21:09:34,216 INFO L184 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 09:09:34" (1/1) ... [2024-11-13 21:09:34,226 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 09:09:34" (1/1) ... [2024-11-13 21:09:34,227 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 09:09:34" (1/1) ... [2024-11-13 21:09:34,227 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 09:09:34" (1/1) ... [2024-11-13 21:09:34,229 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2024-11-13 21:09:34,233 INFO L112 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2024-11-13 21:09:34,234 INFO L270 PluginConnector]: Initializing RCFGBuilder... [2024-11-13 21:09:34,234 INFO L274 PluginConnector]: RCFGBuilder initialized [2024-11-13 21:09:34,235 INFO L184 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 09:09:34" (1/1) ... [2024-11-13 21:09:34,247 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2024-11-13 21:09:34,260 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_6425db4e-4868-446a-a861-6d64ed50fb58/bin/ukojak-verify-EEHR8qb7sm/z3 [2024-11-13 21:09:34,273 INFO L229 MonitoredProcess]: Starting monitored process 1 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_6425db4e-4868-446a-a861-6d64ed50fb58/bin/ukojak-verify-EEHR8qb7sm/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (exit command is (exit), workingDir is null) [2024-11-13 21:09:34,280 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_6425db4e-4868-446a-a861-6d64ed50fb58/bin/ukojak-verify-EEHR8qb7sm/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (1)] Waiting until timeout for monitored process [2024-11-13 21:09:34,312 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnHeap [2024-11-13 21:09:34,313 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2024-11-13 21:09:34,313 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.dealloc [2024-11-13 21:09:34,313 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~$Pointer$ [2024-11-13 21:09:34,313 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2024-11-13 21:09:34,313 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2024-11-13 21:09:34,458 INFO L238 CfgBuilder]: Building ICFG [2024-11-13 21:09:34,460 INFO L264 CfgBuilder]: Building CFG for each procedure with an implementation [2024-11-13 21:09:34,611 INFO L? ?]: Removed 25 outVars from TransFormulas that were not future-live. [2024-11-13 21:09:34,614 INFO L287 CfgBuilder]: Performing block encoding [2024-11-13 21:09:34,705 INFO L311 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2024-11-13 21:09:34,708 INFO L316 CfgBuilder]: Removed 0 assume(true) statements. [2024-11-13 21:09:34,708 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 13.11 09:09:34 BoogieIcfgContainer [2024-11-13 21:09:34,709 INFO L131 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2024-11-13 21:09:34,709 INFO L112 PluginConnector]: ------------------------CodeCheck---------------------------- [2024-11-13 21:09:34,710 INFO L270 PluginConnector]: Initializing CodeCheck... [2024-11-13 21:09:34,720 INFO L274 PluginConnector]: CodeCheck initialized [2024-11-13 21:09:34,720 INFO L184 PluginConnector]: Executing the observer CodeCheckObserver from plugin CodeCheck for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 13.11 09:09:34" (1/1) ... [2024-11-13 21:09:34,732 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-11-13 21:09:34,783 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-13 21:09:34,790 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 12 states to 12 states and 12 transitions. [2024-11-13 21:09:34,791 INFO L276 IsEmpty]: Start isEmpty. Operand 12 states and 12 transitions. [2024-11-13 21:09:34,793 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 4 [2024-11-13 21:09:34,793 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-13 21:09:34,794 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-13 21:09:34,886 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-13 21:09:35,021 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2024-11-13 21:09:35,065 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-13 21:09:35,066 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 11 states to 11 states and 11 transitions. [2024-11-13 21:09:35,066 INFO L276 IsEmpty]: Start isEmpty. Operand 11 states and 11 transitions. [2024-11-13 21:09:35,068 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 5 [2024-11-13 21:09:35,068 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-13 21:09:35,069 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-13 21:09:35,104 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-13 21:09:35,104 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-11-13 21:09:35,130 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-13 21:09:35,237 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-13 21:09:35,238 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-11-13 21:09:35,255 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-13 21:09:35,277 WARN L473 CodeCheckObserver]: This program is UNSAFE, Check terminated with 2 iterations. [2024-11-13 21:09:35,305 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck CFG 13.11 09:09:35 ImpRootNode [2024-11-13 21:09:35,306 INFO L131 PluginConnector]: ------------------------ END CodeCheck---------------------------- [2024-11-13 21:09:35,307 INFO L112 PluginConnector]: ------------------------Witness Printer---------------------------- [2024-11-13 21:09:35,307 INFO L270 PluginConnector]: Initializing Witness Printer... [2024-11-13 21:09:35,307 INFO L274 PluginConnector]: Witness Printer initialized [2024-11-13 21:09:35,308 INFO L184 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 13.11 09:09:34" (3/4) ... [2024-11-13 21:09:35,311 INFO L145 WitnessPrinter]: No result that supports witness generation found [2024-11-13 21:09:35,312 INFO L131 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2024-11-13 21:09:35,315 INFO L158 Benchmark]: Toolchain (without parser) took 1762.41ms. Allocated memory is still 117.4MB. Free memory was 92.7MB in the beginning and 88.1MB in the end (delta: 4.6MB). Peak memory consumption was 5.4MB. Max. memory is 16.1GB. [2024-11-13 21:09:35,315 INFO L158 Benchmark]: CDTParser took 1.39ms. Allocated memory is still 167.8MB. Free memory is still 103.6MB. There was no memory consumed. Max. memory is 16.1GB. [2024-11-13 21:09:35,315 INFO L158 Benchmark]: CACSL2BoogieTranslator took 600.01ms. Allocated memory is still 117.4MB. Free memory was 92.7MB in the beginning and 70.6MB in the end (delta: 22.1MB). Peak memory consumption was 25.2MB. Max. memory is 16.1GB. [2024-11-13 21:09:35,315 INFO L158 Benchmark]: Boogie Procedure Inliner took 40.29ms. Allocated memory is still 117.4MB. Free memory was 70.6MB in the beginning and 68.8MB in the end (delta: 1.8MB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-13 21:09:35,316 INFO L158 Benchmark]: Boogie Preprocessor took 39.72ms. Allocated memory is still 117.4MB. Free memory was 68.8MB in the beginning and 67.7MB in the end (delta: 1.1MB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-13 21:09:35,316 INFO L158 Benchmark]: RCFGBuilder took 475.20ms. Allocated memory is still 117.4MB. Free memory was 67.7MB in the beginning and 53.5MB in the end (delta: 14.2MB). Peak memory consumption was 16.8MB. Max. memory is 16.1GB. [2024-11-13 21:09:35,316 INFO L158 Benchmark]: CodeCheck took 597.02ms. Allocated memory is still 117.4MB. Free memory was 53.5MB in the beginning and 88.1MB in the end (delta: -34.6MB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-13 21:09:35,316 INFO L158 Benchmark]: Witness Printer took 5.08ms. Allocated memory is still 117.4MB. Free memory was 88.1MB in the beginning and 88.1MB in the end (delta: 21.0kB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-13 21:09:35,321 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, 12 locations, 4 error locations. Started 1 CEGAR loops. OverallTime: 0.5s, OverallIterations: 2, TraceHistogramMax: 0, PathProgramHistogramMax: 0, EmptinessCheckTime: 0.0s, AutomataDifference: 0.0s, DeadEndRemovalTime: 0.0s, HoareAnnotationTime: 0.0s, InitialAbstractionConstructionTime: 0.0s, HoareTripleCheckerStatistics: 0 mSolverCounterUnknown, 2 SdHoareTripleChecker+Valid, 0.0s IncrementalHoareTripleChecker+Time, 0 mSdLazyCounter, 2 mSDsluCounter, 6 SdHoareTripleChecker+Invalid, 0.0s Time, 0 mProtectedAction, 0 SdHoareTripleChecker+Unchecked, 0 IncrementalHoareTripleChecker+Unchecked, 2 mSDsCounter, 3 IncrementalHoareTripleChecker+Valid, 0 mProtectedPredicate, 3 IncrementalHoareTripleChecker+Invalid, 6 SdHoareTripleChecker+Unknown, 0 mSolverCounterNotChecked, 3 mSolverCounterUnsat, 4 mSDtfsCounter, 3 mSolverCounterSat, 0.0s SdHoareTripleChecker+Time, 0 IncrementalHoareTripleChecker+Unknown, PredicateUnifierStatistics: 0 DeclaredPredicates, 17 GetRequests, 15 SyntacticMatches, 0 SemanticMatches, 2 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 0 ImplicationChecksByTransitivity, 0.0s Time, 0.0s BasicInterpolantAutomatonTime, BiggestAbstraction: size=-1occurred in iteration=-1, InterpolantAutomatonStates: 0, traceCheckStatistics: 0.1s SsaConstructionTime, 0.0s SatisfiabilityAnalysisTime, 0.1s InterpolantComputationTime, 7 NumberOfCodeBlocks, 7 NumberOfCodeBlocksAsserted, 2 NumberOfCheckSat, 2 ConstructedInterpolants, 0 QuantifiedInterpolants, 6 SizeOfPredicates, 0 NumberOfNonLiveVariables, 0 ConjunctsInSsa, 0 ConjunctsInUnsatCore, 1 InterpolantComputations, 1 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 - UnprovableResult [Line: 774]: Unable to prove that all allocated memory was freed Unable to prove that all allocated memory was freed Reason: overapproximation of memtrack at line 774. Possible FailurePath: [L569] struct ldv_list_head ldv_global_msg_list = { &(ldv_global_msg_list), &(ldv_global_msg_list) }; [L775] CALL entry_point() [L770] int condition = __VERIFIER_nondet_int(); [L771] CALL, EXPR alloc_unsafe_16(condition) [L761] CALL, EXPR ldv_malloc(sizeof(struct A16)) [L526] COND TRUE __VERIFIER_nondet_int() [L527] return malloc(size); [L761] RET, EXPR ldv_malloc(sizeof(struct A16)) [L761] struct A16 *p = (struct A16 *)ldv_malloc(sizeof(struct A16)); [L762] return p; [L771] RET, EXPR alloc_unsafe_16(condition) [L771] struct A16 *p = alloc_unsafe_16(condition); [L772] CALL free_16(p, condition) [L765] COND FALSE !(\read(condition)) VAL [ldv_global_msg_list={1:0}, p={-1:0}] [L772] RET free_16(p, condition) [L775] RET entry_point() * Results from de.uni_freiburg.informatik.ultimate.core: - StatisticsResult: Toolchain Benchmarks Benchmark results are: * CDTParser took 1.39ms. Allocated memory is still 167.8MB. Free memory is still 103.6MB. There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 600.01ms. Allocated memory is still 117.4MB. Free memory was 92.7MB in the beginning and 70.6MB in the end (delta: 22.1MB). Peak memory consumption was 25.2MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 40.29ms. Allocated memory is still 117.4MB. Free memory was 70.6MB in the beginning and 68.8MB in the end (delta: 1.8MB). There was no memory consumed. Max. memory is 16.1GB. * Boogie Preprocessor took 39.72ms. Allocated memory is still 117.4MB. Free memory was 68.8MB in the beginning and 67.7MB in the end (delta: 1.1MB). There was no memory consumed. Max. memory is 16.1GB. * RCFGBuilder took 475.20ms. Allocated memory is still 117.4MB. Free memory was 67.7MB in the beginning and 53.5MB in the end (delta: 14.2MB). Peak memory consumption was 16.8MB. Max. memory is 16.1GB. * CodeCheck took 597.02ms. Allocated memory is still 117.4MB. Free memory was 53.5MB in the beginning and 88.1MB in the end (delta: -34.6MB). There was no memory consumed. Max. memory is 16.1GB. * Witness Printer took 5.08ms. Allocated memory is still 117.4MB. Free memory was 88.1MB in the beginning and 88.1MB in the end (delta: 21.0kB). 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-13 21:09:35,350 INFO L552 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_6425db4e-4868-446a-a861-6d64ed50fb58/bin/ukojak-verify-EEHR8qb7sm/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (1)] Ended with exit code 0 Received shutdown request... --- End real Ultimate output --- Execution finished normally 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_6425db4e-4868-446a-a861-6d64ed50fb58/bin/ukojak-verify-EEHR8qb7sm/data/config -Xmx15G -Xms4m -jar /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_6425db4e-4868-446a-a861-6d64ed50fb58/bin/ukojak-verify-EEHR8qb7sm/plugins/org.eclipse.equinox.launcher_1.6.800.v20240513-1750.jar -data @noDefault -ultimatedata /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_6425db4e-4868-446a-a861-6d64ed50fb58/bin/ukojak-verify-EEHR8qb7sm/data -tc /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_6425db4e-4868-446a-a861-6d64ed50fb58/bin/ukojak-verify-EEHR8qb7sm/config/KojakMemDerefMemtrack.xml -i ../../sv-benchmarks/c/ldv-memsafety/memleaks_test16_1.i -s /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_6425db4e-4868-446a-a861-6d64ed50fb58/bin/ukojak-verify-EEHR8qb7sm/config/svcomp-DerefFreeMemtrack-32bit-Kojak_Bitvector.epf --cacsl2boogietranslator.entry.function main --witnessprinter.witness.directory /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_6425db4e-4868-446a-a861-6d64ed50fb58/bin/ukojak-verify-EEHR8qb7sm --witnessprinter.witness.filename witness --witnessprinter.write.witness.besides.input.file false --witnessprinter.graph.data.specification CHECK( init(main()), LTL(G valid-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 3afced8f9a8fb9c36e6297fc454d6fa3dc7a1789295b6dfeeaf7e663bd888ba5 --- Real Ultimate output --- This is Ultimate 0.3.0-dev-826ab2b [2024-11-13 21:09:37,968 INFO L188 SettingsManager]: Resetting all preferences to default values... [2024-11-13 21:09:38,079 INFO L114 SettingsManager]: Loading settings from /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_6425db4e-4868-446a-a861-6d64ed50fb58/bin/ukojak-verify-EEHR8qb7sm/config/svcomp-DerefFreeMemtrack-32bit-Kojak_Bitvector.epf [2024-11-13 21:09:38,107 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2024-11-13 21:09:38,108 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2024-11-13 21:09:38,109 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2024-11-13 21:09:38,109 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2024-11-13 21:09:38,109 INFO L153 SettingsManager]: * sizeof long=4 [2024-11-13 21:09:38,109 INFO L153 SettingsManager]: * Overapproximate operations on floating types=true [2024-11-13 21:09:38,109 INFO L153 SettingsManager]: * sizeof POINTER=4 [2024-11-13 21:09:38,109 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2024-11-13 21:09:38,109 INFO L153 SettingsManager]: * Check for the main procedure if all allocated memory was freed=true [2024-11-13 21:09:38,109 INFO L153 SettingsManager]: * Bitprecise bitfields=true [2024-11-13 21:09:38,109 INFO L153 SettingsManager]: * SV-COMP memtrack compatibility mode=true [2024-11-13 21:09:38,110 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2024-11-13 21:09:38,110 INFO L153 SettingsManager]: * Adapt memory model on pointer casts if necessary=true [2024-11-13 21:09:38,110 INFO L153 SettingsManager]: * Use bitvectors instead of ints=true [2024-11-13 21:09:38,110 INFO L153 SettingsManager]: * Allow undefined functions=false [2024-11-13 21:09:38,110 INFO L153 SettingsManager]: * Memory model=HoenickeLindenmann_4ByteResolution [2024-11-13 21:09:38,110 INFO L153 SettingsManager]: * Check unreachability of reach_error function=false [2024-11-13 21:09:38,110 INFO L153 SettingsManager]: * sizeof long double=12 [2024-11-13 21:09:38,110 INFO L153 SettingsManager]: * Use constant arrays=true [2024-11-13 21:09:38,110 INFO L151 SettingsManager]: Preferences of CodeCheck differ from their defaults: [2024-11-13 21:09:38,110 INFO L153 SettingsManager]: * Timeout in seconds=1000000 [2024-11-13 21:09:38,111 INFO L153 SettingsManager]: * Theory for external solver=ALL [2024-11-13 21:09:38,111 INFO L153 SettingsManager]: * Command for calling external solver=cvc4 --incremental --print-success --lang smt [2024-11-13 21:09:38,111 INFO L153 SettingsManager]: * Choose which separate solver to use for tracechecks=External_ModelsAndUnsatCoreMode [2024-11-13 21:09:38,111 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2024-11-13 21:09:38,111 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2024-11-13 21:09:38,111 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2024-11-13 21:09:38,111 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2024-11-13 21:09:38,111 INFO L153 SettingsManager]: * Trace refinement strategy=WALRUS [2024-11-13 21:09:38,111 INFO L153 SettingsManager]: * Command for external solver=cvc4 --incremental --print-success --lang smt [2024-11-13 21:09:38,112 INFO L153 SettingsManager]: * Use separate solver for trace checks=false [2024-11-13 21:09:38,112 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_6425db4e-4868-446a-a861-6d64ed50fb58/bin/ukojak-verify-EEHR8qb7sm Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Witness filename -> witness Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Write witness besides input file -> false Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data specification -> CHECK( init(main()), LTL(G valid-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 -> 3afced8f9a8fb9c36e6297fc454d6fa3dc7a1789295b6dfeeaf7e663bd888ba5 [2024-11-13 21:09:38,481 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2024-11-13 21:09:38,494 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2024-11-13 21:09:38,496 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2024-11-13 21:09:38,501 INFO L270 PluginConnector]: Initializing CDTParser... [2024-11-13 21:09:38,502 INFO L274 PluginConnector]: CDTParser initialized [2024-11-13 21:09:38,503 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_6425db4e-4868-446a-a861-6d64ed50fb58/bin/ukojak-verify-EEHR8qb7sm/../../sv-benchmarks/c/ldv-memsafety/memleaks_test16_1.i Unable to find full path for "g++" [2024-11-13 21:09:40,315 INFO L533 CDTParser]: Created temporary CDT project at NULL [2024-11-13 21:09:40,696 INFO L384 CDTParser]: Found 1 translation units. [2024-11-13 21:09:40,697 INFO L180 CDTParser]: Scanning /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_6425db4e-4868-446a-a861-6d64ed50fb58/sv-benchmarks/c/ldv-memsafety/memleaks_test16_1.i [2024-11-13 21:09:40,721 INFO L427 CDTParser]: About to delete temporary CDT project at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_6425db4e-4868-446a-a861-6d64ed50fb58/bin/ukojak-verify-EEHR8qb7sm/data/1140f132d/42643796a7264051bcfa91020093e1cf/FLAG0af48e411 [2024-11-13 21:09:40,745 INFO L435 CDTParser]: Successfully deleted /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_6425db4e-4868-446a-a861-6d64ed50fb58/bin/ukojak-verify-EEHR8qb7sm/data/1140f132d/42643796a7264051bcfa91020093e1cf [2024-11-13 21:09:40,748 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2024-11-13 21:09:40,751 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2024-11-13 21:09:40,753 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2024-11-13 21:09:40,754 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2024-11-13 21:09:40,758 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2024-11-13 21:09:40,760 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 13.11 09:09:40" (1/1) ... [2024-11-13 21:09:40,762 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@69af781f and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 09:09:40, skipping insertion in model container [2024-11-13 21:09:40,763 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 13.11 09:09:40" (1/1) ... [2024-11-13 21:09:40,810 INFO L175 MainTranslator]: Built tables and reachable declarations [2024-11-13 21:09:41,190 WARN L1072 CHandler]: saw a pointer cast to a type that we could not get a type size for, not adapting memory model [2024-11-13 21:09:41,248 WARN L1072 CHandler]: saw a pointer cast to a type that we could not get a type size for, not adapting memory model [2024-11-13 21:09:41,252 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-13 21:09:41,276 INFO L197 MainTranslator]: Restarting translation with changed settings: SettingsChange [mNewPreferredMemoryModel=HoenickeLindenmann_1ByteResolution] [2024-11-13 21:09:41,291 INFO L175 MainTranslator]: Built tables and reachable declarations [2024-11-13 21:09:41,333 WARN L1072 CHandler]: saw a pointer cast to a type that we could not get a type size for, not adapting memory model [2024-11-13 21:09:41,354 WARN L1072 CHandler]: saw a pointer cast to a type that we could not get a type size for, not adapting memory model [2024-11-13 21:09:41,356 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-13 21:09:41,362 INFO L200 MainTranslator]: Completed pre-run [2024-11-13 21:09:41,421 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-13 21:09:41,469 INFO L204 MainTranslator]: Completed translation [2024-11-13 21:09:41,470 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 09:09:41 WrapperNode [2024-11-13 21:09:41,470 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2024-11-13 21:09:41,471 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2024-11-13 21:09:41,471 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2024-11-13 21:09:41,471 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2024-11-13 21:09:41,476 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 09:09:41" (1/1) ... [2024-11-13 21:09:41,494 INFO L184 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 09:09:41" (1/1) ... [2024-11-13 21:09:41,513 INFO L138 Inliner]: procedures = 167, calls = 71, calls flagged for inlining = 31, calls inlined = 6, statements flattened = 42 [2024-11-13 21:09:41,514 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2024-11-13 21:09:41,514 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2024-11-13 21:09:41,514 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2024-11-13 21:09:41,514 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2024-11-13 21:09:41,521 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 09:09:41" (1/1) ... [2024-11-13 21:09:41,521 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 09:09:41" (1/1) ... [2024-11-13 21:09:41,524 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 09:09:41" (1/1) ... [2024-11-13 21:09:41,524 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 09:09:41" (1/1) ... [2024-11-13 21:09:41,531 INFO L184 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 09:09:41" (1/1) ... [2024-11-13 21:09:41,533 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 09:09:41" (1/1) ... [2024-11-13 21:09:41,534 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 09:09:41" (1/1) ... [2024-11-13 21:09:41,535 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 09:09:41" (1/1) ... [2024-11-13 21:09:41,537 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2024-11-13 21:09:41,538 INFO L112 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2024-11-13 21:09:41,538 INFO L270 PluginConnector]: Initializing RCFGBuilder... [2024-11-13 21:09:41,539 INFO L274 PluginConnector]: RCFGBuilder initialized [2024-11-13 21:09:41,540 INFO L184 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 09:09:41" (1/1) ... [2024-11-13 21:09:41,546 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2024-11-13 21:09:41,558 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_6425db4e-4868-446a-a861-6d64ed50fb58/bin/ukojak-verify-EEHR8qb7sm/z3 [2024-11-13 21:09:41,568 INFO L229 MonitoredProcess]: Starting monitored process 1 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_6425db4e-4868-446a-a861-6d64ed50fb58/bin/ukojak-verify-EEHR8qb7sm/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (exit command is (exit), workingDir is null) [2024-11-13 21:09:41,571 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_6425db4e-4868-446a-a861-6d64ed50fb58/bin/ukojak-verify-EEHR8qb7sm/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (1)] Waiting until timeout for monitored process [2024-11-13 21:09:41,597 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnHeap [2024-11-13 21:09:41,597 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2024-11-13 21:09:41,597 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.dealloc [2024-11-13 21:09:41,597 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~$Pointer$ [2024-11-13 21:09:41,597 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2024-11-13 21:09:41,597 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2024-11-13 21:09:41,721 INFO L238 CfgBuilder]: Building ICFG [2024-11-13 21:09:41,722 INFO L264 CfgBuilder]: Building CFG for each procedure with an implementation [2024-11-13 21:09:41,846 INFO L? ?]: Removed 25 outVars from TransFormulas that were not future-live. [2024-11-13 21:09:41,846 INFO L287 CfgBuilder]: Performing block encoding [2024-11-13 21:09:41,960 INFO L311 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2024-11-13 21:09:41,960 INFO L316 CfgBuilder]: Removed 0 assume(true) statements. [2024-11-13 21:09:41,960 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 13.11 09:09:41 BoogieIcfgContainer [2024-11-13 21:09:41,961 INFO L131 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2024-11-13 21:09:41,961 INFO L112 PluginConnector]: ------------------------CodeCheck---------------------------- [2024-11-13 21:09:41,962 INFO L270 PluginConnector]: Initializing CodeCheck... [2024-11-13 21:09:41,973 INFO L274 PluginConnector]: CodeCheck initialized [2024-11-13 21:09:41,973 INFO L184 PluginConnector]: Executing the observer CodeCheckObserver from plugin CodeCheck for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 13.11 09:09:41" (1/1) ... [2024-11-13 21:09:41,981 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-11-13 21:09:42,016 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-13 21:09:42,022 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 12 states to 12 states and 12 transitions. [2024-11-13 21:09:42,023 INFO L276 IsEmpty]: Start isEmpty. Operand 12 states and 12 transitions. [2024-11-13 21:09:42,026 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 4 [2024-11-13 21:09:42,026 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-13 21:09:42,027 INFO L173 SolverBuilder]: Constructing external solver with command: cvc4 --incremental --print-success --lang smt [2024-11-13 21:09:42,027 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_6425db4e-4868-446a-a861-6d64ed50fb58/bin/ukojak-verify-EEHR8qb7sm/cvc4 [2024-11-13 21:09:42,031 INFO L229 MonitoredProcess]: Starting monitored process 2 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_6425db4e-4868-446a-a861-6d64ed50fb58/bin/ukojak-verify-EEHR8qb7sm/cvc4 --incremental --print-success --lang smt (exit command is (exit), workingDir is null) [2024-11-13 21:09:42,033 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_6425db4e-4868-446a-a861-6d64ed50fb58/bin/ukojak-verify-EEHR8qb7sm/cvc4 --incremental --print-success --lang smt (2)] Waiting until timeout for monitored process [2024-11-13 21:09:42,148 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-13 21:09:42,151 ERROR L567 CodeCheckObserver]: First Tracecheck threw exception Proofs are not supported [2024-11-13 21:09:42,184 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-13 21:09:42,186 INFO L255 TraceCheckSpWp]: Trace formula consists of 19 conjuncts, 2 conjuncts are in the unsatisfiable core [2024-11-13 21:09:42,191 INFO L278 TraceCheckSpWp]: Computing forward predicates... [2024-11-13 21:09:42,305 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2024-11-13 21:09:42,309 ERROR L418 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_6425db4e-4868-446a-a861-6d64ed50fb58/bin/ukojak-verify-EEHR8qb7sm/cvc4 --incremental --print-success --lang smt (2)] Exception during sending of exit command (exit): Broken pipe [2024-11-13 21:09:42,311 INFO L552 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_6425db4e-4868-446a-a861-6d64ed50fb58/bin/ukojak-verify-EEHR8qb7sm/cvc4 --incremental --print-success --lang smt (2)] Ended with exit code 0 [2024-11-13 21:09:42,351 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-13 21:09:42,353 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 11 states to 11 states and 11 transitions. [2024-11-13 21:09:42,354 INFO L276 IsEmpty]: Start isEmpty. Operand 11 states and 11 transitions. [2024-11-13 21:09:42,354 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 5 [2024-11-13 21:09:42,354 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-13 21:09:42,354 INFO L173 SolverBuilder]: Constructing external solver with command: cvc4 --incremental --print-success --lang smt [2024-11-13 21:09:42,354 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_6425db4e-4868-446a-a861-6d64ed50fb58/bin/ukojak-verify-EEHR8qb7sm/cvc4 [2024-11-13 21:09:42,359 INFO L229 MonitoredProcess]: Starting monitored process 3 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_6425db4e-4868-446a-a861-6d64ed50fb58/bin/ukojak-verify-EEHR8qb7sm/cvc4 --incremental --print-success --lang smt (exit command is (exit), workingDir is null) [2024-11-13 21:09:42,362 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_6425db4e-4868-446a-a861-6d64ed50fb58/bin/ukojak-verify-EEHR8qb7sm/cvc4 --incremental --print-success --lang smt (3)] Waiting until timeout for monitored process [2024-11-13 21:09:42,481 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-13 21:09:42,481 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-11-13 21:09:42,518 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-13 21:09:42,570 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-13 21:09:42,571 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-11-13 21:09:42,584 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-13 21:09:42,601 ERROR L418 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_6425db4e-4868-446a-a861-6d64ed50fb58/bin/ukojak-verify-EEHR8qb7sm/cvc4 --incremental --print-success --lang smt (3)] Exception during sending of exit command (exit): Broken pipe [2024-11-13 21:09:42,604 INFO L552 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_6425db4e-4868-446a-a861-6d64ed50fb58/bin/ukojak-verify-EEHR8qb7sm/cvc4 --incremental --print-success --lang smt (3)] Ended with exit code 0 [2024-11-13 21:09:42,605 WARN L473 CodeCheckObserver]: This program is UNSAFE, Check terminated with 2 iterations. [2024-11-13 21:09:42,632 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck CFG 13.11 09:09:42 ImpRootNode [2024-11-13 21:09:42,634 INFO L131 PluginConnector]: ------------------------ END CodeCheck---------------------------- [2024-11-13 21:09:42,634 INFO L112 PluginConnector]: ------------------------Witness Printer---------------------------- [2024-11-13 21:09:42,635 INFO L270 PluginConnector]: Initializing Witness Printer... [2024-11-13 21:09:42,635 INFO L274 PluginConnector]: Witness Printer initialized [2024-11-13 21:09:42,636 INFO L184 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 13.11 09:09:41" (3/4) ... [2024-11-13 21:09:42,638 INFO L145 WitnessPrinter]: No result that supports witness generation found [2024-11-13 21:09:42,639 INFO L131 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2024-11-13 21:09:42,642 INFO L158 Benchmark]: Toolchain (without parser) took 1889.17ms. Allocated memory was 117.4MB in the beginning and 268.4MB in the end (delta: 151.0MB). Free memory was 90.9MB in the beginning and 216.0MB in the end (delta: -125.1MB). Peak memory consumption was 29.5MB. Max. memory is 16.1GB. [2024-11-13 21:09:42,643 INFO L158 Benchmark]: CDTParser took 2.88ms. Allocated memory is still 117.4MB. Free memory is still 84.8MB. There was no memory consumed. Max. memory is 16.1GB. [2024-11-13 21:09:42,643 INFO L158 Benchmark]: CACSL2BoogieTranslator took 717.98ms. Allocated memory is still 117.4MB. Free memory was 90.9MB in the beginning and 63.2MB in the end (delta: 27.7MB). Peak memory consumption was 25.2MB. Max. memory is 16.1GB. [2024-11-13 21:09:42,643 INFO L158 Benchmark]: Boogie Procedure Inliner took 42.67ms. Allocated memory is still 117.4MB. Free memory was 63.2MB in the beginning and 61.3MB in the end (delta: 1.9MB). Peak memory consumption was 8.4MB. Max. memory is 16.1GB. [2024-11-13 21:09:42,644 INFO L158 Benchmark]: Boogie Preprocessor took 23.41ms. Allocated memory is still 117.4MB. Free memory was 61.3MB in the beginning and 60.3MB in the end (delta: 977.3kB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-13 21:09:42,644 INFO L158 Benchmark]: RCFGBuilder took 422.51ms. Allocated memory was 117.4MB in the beginning and 268.4MB in the end (delta: 151.0MB). Free memory was 60.2MB in the beginning and 240.8MB in the end (delta: -180.7MB). Peak memory consumption was 21.1MB. Max. memory is 16.1GB. [2024-11-13 21:09:42,646 INFO L158 Benchmark]: CodeCheck took 672.42ms. Allocated memory is still 268.4MB. Free memory was 240.4MB in the beginning and 216.0MB in the end (delta: 24.3MB). Peak memory consumption was 25.2MB. Max. memory is 16.1GB. [2024-11-13 21:09:42,646 INFO L158 Benchmark]: Witness Printer took 4.84ms. Allocated memory is still 268.4MB. Free memory is still 216.0MB. There was no memory consumed. Max. memory is 16.1GB. [2024-11-13 21:09:42,648 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, 12 locations, 4 error locations. Started 1 CEGAR loops. OverallTime: 0.6s, OverallIterations: 2, TraceHistogramMax: 0, PathProgramHistogramMax: 0, EmptinessCheckTime: 0.0s, AutomataDifference: 0.0s, DeadEndRemovalTime: 0.0s, HoareAnnotationTime: 0.0s, InitialAbstractionConstructionTime: 0.0s, HoareTripleCheckerStatistics: 0 mSolverCounterUnknown, 2 SdHoareTripleChecker+Valid, 0.0s IncrementalHoareTripleChecker+Time, 0 mSdLazyCounter, 2 mSDsluCounter, 6 SdHoareTripleChecker+Invalid, 0.0s Time, 0 mProtectedAction, 0 SdHoareTripleChecker+Unchecked, 0 IncrementalHoareTripleChecker+Unchecked, 2 mSDsCounter, 3 IncrementalHoareTripleChecker+Valid, 0 mProtectedPredicate, 3 IncrementalHoareTripleChecker+Invalid, 6 SdHoareTripleChecker+Unknown, 0 mSolverCounterNotChecked, 3 mSolverCounterUnsat, 4 mSDtfsCounter, 3 mSolverCounterSat, 0.0s SdHoareTripleChecker+Time, 0 IncrementalHoareTripleChecker+Unknown, PredicateUnifierStatistics: 0 DeclaredPredicates, 18 GetRequests, 16 SyntacticMatches, 0 SemanticMatches, 2 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.1s InterpolantComputationTime, 7 NumberOfCodeBlocks, 7 NumberOfCodeBlocksAsserted, 2 NumberOfCheckSat, 2 ConstructedInterpolants, 0 QuantifiedInterpolants, 6 SizeOfPredicates, 4 NumberOfNonLiveVariables, 19 ConjunctsInSsa, 2 ConjunctsInUnsatCore, 1 InterpolantComputations, 1 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 - UnprovableResult [Line: 774]: Unable to prove that all allocated memory was freed Unable to prove that all allocated memory was freed Reason: overapproximation of memtrack at line 774. Possible FailurePath: [L569] struct ldv_list_head ldv_global_msg_list = { &(ldv_global_msg_list), &(ldv_global_msg_list) }; [L775] CALL entry_point() [L770] int condition = __VERIFIER_nondet_int(); [L771] CALL, EXPR alloc_unsafe_16(condition) [L761] CALL, EXPR ldv_malloc(sizeof(struct A16)) [L526] COND TRUE __VERIFIER_nondet_int() [L527] return malloc(size); [L761] RET, EXPR ldv_malloc(sizeof(struct A16)) [L761] struct A16 *p = (struct A16 *)ldv_malloc(sizeof(struct A16)); [L762] return p; [L771] RET, EXPR alloc_unsafe_16(condition) [L771] struct A16 *p = alloc_unsafe_16(condition); [L772] CALL free_16(p, condition) [L765] COND FALSE !(\read(condition)) VAL [ldv_global_msg_list={1:0}, p={2:0}] [L772] RET free_16(p, condition) [L775] RET entry_point() * Results from de.uni_freiburg.informatik.ultimate.core: - StatisticsResult: Toolchain Benchmarks Benchmark results are: * CDTParser took 2.88ms. Allocated memory is still 117.4MB. Free memory is still 84.8MB. There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 717.98ms. Allocated memory is still 117.4MB. Free memory was 90.9MB in the beginning and 63.2MB in the end (delta: 27.7MB). Peak memory consumption was 25.2MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 42.67ms. Allocated memory is still 117.4MB. Free memory was 63.2MB in the beginning and 61.3MB in the end (delta: 1.9MB). Peak memory consumption was 8.4MB. Max. memory is 16.1GB. * Boogie Preprocessor took 23.41ms. Allocated memory is still 117.4MB. Free memory was 61.3MB in the beginning and 60.3MB in the end (delta: 977.3kB). There was no memory consumed. Max. memory is 16.1GB. * RCFGBuilder took 422.51ms. Allocated memory was 117.4MB in the beginning and 268.4MB in the end (delta: 151.0MB). Free memory was 60.2MB in the beginning and 240.8MB in the end (delta: -180.7MB). Peak memory consumption was 21.1MB. Max. memory is 16.1GB. * CodeCheck took 672.42ms. Allocated memory is still 268.4MB. Free memory was 240.4MB in the beginning and 216.0MB in the end (delta: 24.3MB). Peak memory consumption was 25.2MB. Max. memory is 16.1GB. * Witness Printer took 4.84ms. Allocated memory is still 268.4MB. Free memory is still 216.0MB. 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-13 21:09:42,682 INFO L552 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_6425db4e-4868-446a-a861-6d64ed50fb58/bin/ukojak-verify-EEHR8qb7sm/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (1)] Ended with exit code 0 Received shutdown request... --- End real Ultimate output --- Execution finished normally Writing output log to file Ultimate.log Result: UNKNOWN: Overapproximated counterexample