./Ultimate.py --spec ../../sv-benchmarks/c/properties/valid-memsafety.prp --file ../../sv-benchmarks/c/ldv-memsafety/memleaks_test21-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_0b926f29-d03a-42f2-a65c-26202147845b/bin/ukojak-verify-EEHR8qb7sm/data/config -Xmx15G -Xms4m -jar /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_0b926f29-d03a-42f2-a65c-26202147845b/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_0b926f29-d03a-42f2-a65c-26202147845b/bin/ukojak-verify-EEHR8qb7sm/data -tc /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_0b926f29-d03a-42f2-a65c-26202147845b/bin/ukojak-verify-EEHR8qb7sm/config/KojakMemDerefMemtrack.xml -i ../../sv-benchmarks/c/ldv-memsafety/memleaks_test21-1.i -s /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_0b926f29-d03a-42f2-a65c-26202147845b/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_0b926f29-d03a-42f2-a65c-26202147845b/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 a0e9b5e5974624d339c473c60bd24fb1680015e54b9e482095b70f536f7e1e76 --- Real Ultimate output --- This is Ultimate 0.3.0-dev-826ab2b [2024-11-13 22:48:27,814 INFO L188 SettingsManager]: Resetting all preferences to default values... [2024-11-13 22:48:27,873 INFO L114 SettingsManager]: Loading settings from /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_0b926f29-d03a-42f2-a65c-26202147845b/bin/ukojak-verify-EEHR8qb7sm/config/svcomp-DerefFreeMemtrack-32bit-Kojak_Default.epf [2024-11-13 22:48:27,877 WARN L101 SettingsManager]: Preference file contains the following unknown settings: [2024-11-13 22:48:27,878 WARN L103 SettingsManager]: * de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck.Interpolating solver [2024-11-13 22:48:27,900 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2024-11-13 22:48:27,900 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2024-11-13 22:48:27,901 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2024-11-13 22:48:27,901 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2024-11-13 22:48:27,901 INFO L153 SettingsManager]: * sizeof long=4 [2024-11-13 22:48:27,901 INFO L153 SettingsManager]: * Overapproximate operations on floating types=true [2024-11-13 22:48:27,901 INFO L153 SettingsManager]: * sizeof POINTER=4 [2024-11-13 22:48:27,901 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2024-11-13 22:48:27,901 INFO L153 SettingsManager]: * Check for the main procedure if all allocated memory was freed=true [2024-11-13 22:48:27,901 INFO L153 SettingsManager]: * Bitprecise bitfields=true [2024-11-13 22:48:27,901 INFO L153 SettingsManager]: * SV-COMP memtrack compatibility mode=true [2024-11-13 22:48:27,902 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2024-11-13 22:48:27,902 INFO L153 SettingsManager]: * Allow undefined functions=false [2024-11-13 22:48:27,902 INFO L153 SettingsManager]: * Check unreachability of reach_error function=false [2024-11-13 22:48:27,902 INFO L153 SettingsManager]: * sizeof long double=12 [2024-11-13 22:48:27,902 INFO L153 SettingsManager]: * Use constant arrays=true [2024-11-13 22:48:27,902 INFO L151 SettingsManager]: Preferences of CodeCheck differ from their defaults: [2024-11-13 22:48:27,902 INFO L153 SettingsManager]: * Timeout in seconds=1000000 [2024-11-13 22:48:27,902 INFO L153 SettingsManager]: * Theory for external solver=ALL [2024-11-13 22:48:27,902 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2024-11-13 22:48:27,903 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2024-11-13 22:48:27,903 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2024-11-13 22:48:27,903 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2024-11-13 22:48:27,903 INFO L153 SettingsManager]: * Trace refinement strategy=PENGUIN [2024-11-13 22:48:27,903 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2024-11-13 22:48:27,903 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_0b926f29-d03a-42f2-a65c-26202147845b/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 -> a0e9b5e5974624d339c473c60bd24fb1680015e54b9e482095b70f536f7e1e76 [2024-11-13 22:48:28,196 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2024-11-13 22:48:28,206 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2024-11-13 22:48:28,210 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2024-11-13 22:48:28,211 INFO L270 PluginConnector]: Initializing CDTParser... [2024-11-13 22:48:28,212 INFO L274 PluginConnector]: CDTParser initialized [2024-11-13 22:48:28,215 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_0b926f29-d03a-42f2-a65c-26202147845b/bin/ukojak-verify-EEHR8qb7sm/../../sv-benchmarks/c/ldv-memsafety/memleaks_test21-1.i Unable to find full path for "g++" [2024-11-13 22:48:30,023 INFO L533 CDTParser]: Created temporary CDT project at NULL [2024-11-13 22:48:30,345 INFO L384 CDTParser]: Found 1 translation units. [2024-11-13 22:48:30,346 INFO L180 CDTParser]: Scanning /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_0b926f29-d03a-42f2-a65c-26202147845b/sv-benchmarks/c/ldv-memsafety/memleaks_test21-1.i [2024-11-13 22:48:30,363 INFO L427 CDTParser]: About to delete temporary CDT project at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_0b926f29-d03a-42f2-a65c-26202147845b/bin/ukojak-verify-EEHR8qb7sm/data/e917dce96/b776c297417e44f78fda67dcd9dcbd68/FLAGbc13ac5cc [2024-11-13 22:48:30,381 INFO L435 CDTParser]: Successfully deleted /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_0b926f29-d03a-42f2-a65c-26202147845b/bin/ukojak-verify-EEHR8qb7sm/data/e917dce96/b776c297417e44f78fda67dcd9dcbd68 [2024-11-13 22:48:30,384 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2024-11-13 22:48:30,385 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2024-11-13 22:48:30,387 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2024-11-13 22:48:30,387 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2024-11-13 22:48:30,392 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2024-11-13 22:48:30,393 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 13.11 10:48:30" (1/1) ... [2024-11-13 22:48:30,393 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@3c86ee3a and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 10:48:30, skipping insertion in model container [2024-11-13 22:48:30,394 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 13.11 10:48:30" (1/1) ... [2024-11-13 22:48:30,438 INFO L175 MainTranslator]: Built tables and reachable declarations [2024-11-13 22:48:30,910 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-13 22:48:30,924 INFO L200 MainTranslator]: Completed pre-run [2024-11-13 22:48:31,001 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-13 22:48:31,058 INFO L204 MainTranslator]: Completed translation [2024-11-13 22:48:31,059 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 10:48:31 WrapperNode [2024-11-13 22:48:31,059 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2024-11-13 22:48:31,060 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2024-11-13 22:48:31,060 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2024-11-13 22:48:31,060 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2024-11-13 22:48:31,069 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 10:48:31" (1/1) ... [2024-11-13 22:48:31,093 INFO L184 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 10:48:31" (1/1) ... [2024-11-13 22:48:31,111 INFO L138 Inliner]: procedures = 165, calls = 69, calls flagged for inlining = 30, calls inlined = 5, statements flattened = 33 [2024-11-13 22:48:31,111 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2024-11-13 22:48:31,112 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2024-11-13 22:48:31,112 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2024-11-13 22:48:31,112 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2024-11-13 22:48:31,118 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 10:48:31" (1/1) ... [2024-11-13 22:48:31,118 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 10:48:31" (1/1) ... [2024-11-13 22:48:31,120 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 10:48:31" (1/1) ... [2024-11-13 22:48:31,121 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 10:48:31" (1/1) ... [2024-11-13 22:48:31,126 INFO L184 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 10:48:31" (1/1) ... [2024-11-13 22:48:31,128 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 10:48:31" (1/1) ... [2024-11-13 22:48:31,129 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 10:48:31" (1/1) ... [2024-11-13 22:48:31,129 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 10:48:31" (1/1) ... [2024-11-13 22:48:31,131 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2024-11-13 22:48:31,132 INFO L112 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2024-11-13 22:48:31,132 INFO L270 PluginConnector]: Initializing RCFGBuilder... [2024-11-13 22:48:31,132 INFO L274 PluginConnector]: RCFGBuilder initialized [2024-11-13 22:48:31,133 INFO L184 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 10:48:31" (1/1) ... [2024-11-13 22:48:31,139 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2024-11-13 22:48:31,153 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_0b926f29-d03a-42f2-a65c-26202147845b/bin/ukojak-verify-EEHR8qb7sm/z3 [2024-11-13 22:48:31,167 INFO L229 MonitoredProcess]: Starting monitored process 1 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_0b926f29-d03a-42f2-a65c-26202147845b/bin/ukojak-verify-EEHR8qb7sm/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (exit command is (exit), workingDir is null) [2024-11-13 22:48:31,176 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_0b926f29-d03a-42f2-a65c-26202147845b/bin/ukojak-verify-EEHR8qb7sm/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (1)] Waiting until timeout for monitored process [2024-11-13 22:48:31,202 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnHeap [2024-11-13 22:48:31,202 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2024-11-13 22:48:31,203 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~$Pointer$ [2024-11-13 22:48:31,203 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2024-11-13 22:48:31,203 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2024-11-13 22:48:31,316 INFO L238 CfgBuilder]: Building ICFG [2024-11-13 22:48:31,318 INFO L264 CfgBuilder]: Building CFG for each procedure with an implementation [2024-11-13 22:48:31,395 INFO L? ?]: Removed 14 outVars from TransFormulas that were not future-live. [2024-11-13 22:48:31,395 INFO L287 CfgBuilder]: Performing block encoding [2024-11-13 22:48:31,472 INFO L311 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2024-11-13 22:48:31,473 INFO L316 CfgBuilder]: Removed 0 assume(true) statements. [2024-11-13 22:48:31,473 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 13.11 10:48:31 BoogieIcfgContainer [2024-11-13 22:48:31,473 INFO L131 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2024-11-13 22:48:31,477 INFO L112 PluginConnector]: ------------------------CodeCheck---------------------------- [2024-11-13 22:48:31,477 INFO L270 PluginConnector]: Initializing CodeCheck... [2024-11-13 22:48:31,487 INFO L274 PluginConnector]: CodeCheck initialized [2024-11-13 22:48:31,487 INFO L184 PluginConnector]: Executing the observer CodeCheckObserver from plugin CodeCheck for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 13.11 10:48:31" (1/1) ... [2024-11-13 22:48:31,497 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-11-13 22:48:31,549 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-13 22:48:31,560 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 4 states and 3 transitions. [2024-11-13 22:48:31,560 INFO L276 IsEmpty]: Start isEmpty. Operand 4 states and 3 transitions. [2024-11-13 22:48:31,562 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 3 [2024-11-13 22:48:31,562 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-13 22:48:31,563 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-13 22:48:31,686 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-13 22:48:31,687 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-11-13 22:48:31,714 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-13 22:48:31,780 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-13 22:48:31,780 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-11-13 22:48:31,801 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-13 22:48:31,817 WARN L473 CodeCheckObserver]: This program is UNSAFE, Check terminated with 1 iterations. [2024-11-13 22:48:31,834 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck CFG 13.11 10:48:31 ImpRootNode [2024-11-13 22:48:31,835 INFO L131 PluginConnector]: ------------------------ END CodeCheck---------------------------- [2024-11-13 22:48:31,835 INFO L112 PluginConnector]: ------------------------Witness Printer---------------------------- [2024-11-13 22:48:31,836 INFO L270 PluginConnector]: Initializing Witness Printer... [2024-11-13 22:48:31,836 INFO L274 PluginConnector]: Witness Printer initialized [2024-11-13 22:48:31,836 INFO L184 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 13.11 10:48:31" (3/4) ... [2024-11-13 22:48:31,839 INFO L145 WitnessPrinter]: No result that supports witness generation found [2024-11-13 22:48:31,840 INFO L131 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2024-11-13 22:48:31,841 INFO L158 Benchmark]: Toolchain (without parser) took 1455.66ms. Allocated memory is still 142.6MB. Free memory was 115.9MB in the beginning and 64.8MB in the end (delta: 51.1MB). Peak memory consumption was 41.9MB. Max. memory is 16.1GB. [2024-11-13 22:48:31,841 INFO L158 Benchmark]: CDTParser took 0.88ms. Allocated memory is still 117.4MB. Free memory is still 73.4MB. There was no memory consumed. Max. memory is 16.1GB. [2024-11-13 22:48:31,842 INFO L158 Benchmark]: CACSL2BoogieTranslator took 672.85ms. Allocated memory is still 142.6MB. Free memory was 115.7MB in the beginning and 93.9MB in the end (delta: 21.8MB). Peak memory consumption was 16.8MB. Max. memory is 16.1GB. [2024-11-13 22:48:31,842 INFO L158 Benchmark]: Boogie Procedure Inliner took 51.43ms. Allocated memory is still 142.6MB. Free memory was 93.9MB in the beginning and 92.2MB in the end (delta: 1.7MB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-13 22:48:31,843 INFO L158 Benchmark]: Boogie Preprocessor took 19.11ms. Allocated memory is still 142.6MB. Free memory was 92.2MB in the beginning and 91.5MB in the end (delta: 793.4kB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-13 22:48:31,843 INFO L158 Benchmark]: RCFGBuilder took 341.42ms. Allocated memory is still 142.6MB. Free memory was 91.3MB in the beginning and 77.0MB in the end (delta: 14.3MB). Peak memory consumption was 16.8MB. Max. memory is 16.1GB. [2024-11-13 22:48:31,844 INFO L158 Benchmark]: CodeCheck took 357.80ms. Allocated memory is still 142.6MB. Free memory was 76.8MB in the beginning and 64.9MB in the end (delta: 11.9MB). Peak memory consumption was 8.4MB. Max. memory is 16.1GB. [2024-11-13 22:48:31,844 INFO L158 Benchmark]: Witness Printer took 4.53ms. Allocated memory is still 142.6MB. Free memory was 64.9MB in the beginning and 64.8MB in the end (delta: 176.8kB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-13 22:48:31,850 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 - UnprovableResult [Line: 772]: Unable to prove that all allocated memory was freed Unable to prove that all allocated memory was freed Reason: overapproximation of memtrack at line 772. Possible FailurePath: [L569] struct ldv_list_head ldv_global_msg_list = { &(ldv_global_msg_list), &(ldv_global_msg_list) }; [L773] CALL entry_point() [L770] CALL, EXPR alloc_21() [L762] CALL, EXPR ldv_malloc(sizeof(struct A21)) [L526] COND TRUE __VERIFIER_nondet_int() [L527] return malloc(size); [L762] RET, EXPR ldv_malloc(sizeof(struct A21)) [L762] struct A21 *p = (struct A21*)ldv_malloc(sizeof(struct A21)); [L763] COND TRUE \read(*p) [L764] return &p->dev; [L770] RET, EXPR alloc_21() [L770] struct ldv_device *dev = alloc_21(); [L773] RET entry_point() * Results from de.uni_freiburg.informatik.ultimate.core: - StatisticsResult: Toolchain Benchmarks Benchmark results are: * CDTParser took 0.88ms. Allocated memory is still 117.4MB. Free memory is still 73.4MB. There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 672.85ms. Allocated memory is still 142.6MB. Free memory was 115.7MB in the beginning and 93.9MB in the end (delta: 21.8MB). Peak memory consumption was 16.8MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 51.43ms. Allocated memory is still 142.6MB. Free memory was 93.9MB in the beginning and 92.2MB in the end (delta: 1.7MB). There was no memory consumed. Max. memory is 16.1GB. * Boogie Preprocessor took 19.11ms. Allocated memory is still 142.6MB. Free memory was 92.2MB in the beginning and 91.5MB in the end (delta: 793.4kB). There was no memory consumed. Max. memory is 16.1GB. * RCFGBuilder took 341.42ms. Allocated memory is still 142.6MB. Free memory was 91.3MB in the beginning and 77.0MB in the end (delta: 14.3MB). Peak memory consumption was 16.8MB. Max. memory is 16.1GB. * CodeCheck took 357.80ms. Allocated memory is still 142.6MB. Free memory was 76.8MB in the beginning and 64.9MB in the end (delta: 11.9MB). Peak memory consumption was 8.4MB. Max. memory is 16.1GB. * Witness Printer took 4.53ms. Allocated memory is still 142.6MB. Free memory was 64.9MB in the beginning and 64.8MB in the end (delta: 176.8kB). 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 22:48:31,877 INFO L540 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_0b926f29-d03a-42f2-a65c-26202147845b/bin/ukojak-verify-EEHR8qb7sm/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (1)] Forceful destruction successful, exit code 0 Received shutdown request... --- End real Ultimate output --- Execution finished normally 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_0b926f29-d03a-42f2-a65c-26202147845b/bin/ukojak-verify-EEHR8qb7sm/data/config -Xmx15G -Xms4m -jar /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_0b926f29-d03a-42f2-a65c-26202147845b/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_0b926f29-d03a-42f2-a65c-26202147845b/bin/ukojak-verify-EEHR8qb7sm/data -tc /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_0b926f29-d03a-42f2-a65c-26202147845b/bin/ukojak-verify-EEHR8qb7sm/config/KojakMemDerefMemtrack.xml -i ../../sv-benchmarks/c/ldv-memsafety/memleaks_test21-1.i -s /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_0b926f29-d03a-42f2-a65c-26202147845b/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_0b926f29-d03a-42f2-a65c-26202147845b/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 a0e9b5e5974624d339c473c60bd24fb1680015e54b9e482095b70f536f7e1e76 --- Real Ultimate output --- This is Ultimate 0.3.0-dev-826ab2b [2024-11-13 22:48:34,398 INFO L188 SettingsManager]: Resetting all preferences to default values... [2024-11-13 22:48:34,517 INFO L114 SettingsManager]: Loading settings from /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_0b926f29-d03a-42f2-a65c-26202147845b/bin/ukojak-verify-EEHR8qb7sm/config/svcomp-DerefFreeMemtrack-32bit-Kojak_Bitvector.epf [2024-11-13 22:48:34,563 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2024-11-13 22:48:34,563 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2024-11-13 22:48:34,564 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2024-11-13 22:48:34,564 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2024-11-13 22:48:34,564 INFO L153 SettingsManager]: * sizeof long=4 [2024-11-13 22:48:34,564 INFO L153 SettingsManager]: * Overapproximate operations on floating types=true [2024-11-13 22:48:34,564 INFO L153 SettingsManager]: * sizeof POINTER=4 [2024-11-13 22:48:34,564 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2024-11-13 22:48:34,564 INFO L153 SettingsManager]: * Check for the main procedure if all allocated memory was freed=true [2024-11-13 22:48:34,565 INFO L153 SettingsManager]: * Bitprecise bitfields=true [2024-11-13 22:48:34,565 INFO L153 SettingsManager]: * SV-COMP memtrack compatibility mode=true [2024-11-13 22:48:34,565 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2024-11-13 22:48:34,566 INFO L153 SettingsManager]: * Adapt memory model on pointer casts if necessary=true [2024-11-13 22:48:34,566 INFO L153 SettingsManager]: * Use bitvectors instead of ints=true [2024-11-13 22:48:34,566 INFO L153 SettingsManager]: * Allow undefined functions=false [2024-11-13 22:48:34,567 INFO L153 SettingsManager]: * Memory model=HoenickeLindenmann_4ByteResolution [2024-11-13 22:48:34,567 INFO L153 SettingsManager]: * Check unreachability of reach_error function=false [2024-11-13 22:48:34,567 INFO L153 SettingsManager]: * sizeof long double=12 [2024-11-13 22:48:34,567 INFO L153 SettingsManager]: * Use constant arrays=true [2024-11-13 22:48:34,568 INFO L151 SettingsManager]: Preferences of CodeCheck differ from their defaults: [2024-11-13 22:48:34,568 INFO L153 SettingsManager]: * Timeout in seconds=1000000 [2024-11-13 22:48:34,568 INFO L153 SettingsManager]: * Theory for external solver=ALL [2024-11-13 22:48:34,568 INFO L153 SettingsManager]: * Command for calling external solver=cvc4 --incremental --print-success --lang smt [2024-11-13 22:48:34,568 INFO L153 SettingsManager]: * Choose which separate solver to use for tracechecks=External_ModelsAndUnsatCoreMode [2024-11-13 22:48:34,568 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2024-11-13 22:48:34,568 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2024-11-13 22:48:34,569 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2024-11-13 22:48:34,569 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2024-11-13 22:48:34,569 INFO L153 SettingsManager]: * Trace refinement strategy=WALRUS [2024-11-13 22:48:34,569 INFO L153 SettingsManager]: * Command for external solver=cvc4 --incremental --print-success --lang smt [2024-11-13 22:48:34,569 INFO L153 SettingsManager]: * Use separate solver for trace checks=false [2024-11-13 22:48:34,570 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_0b926f29-d03a-42f2-a65c-26202147845b/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 -> a0e9b5e5974624d339c473c60bd24fb1680015e54b9e482095b70f536f7e1e76 [2024-11-13 22:48:34,879 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2024-11-13 22:48:34,888 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2024-11-13 22:48:34,890 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2024-11-13 22:48:34,892 INFO L270 PluginConnector]: Initializing CDTParser... [2024-11-13 22:48:34,892 INFO L274 PluginConnector]: CDTParser initialized [2024-11-13 22:48:34,893 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_0b926f29-d03a-42f2-a65c-26202147845b/bin/ukojak-verify-EEHR8qb7sm/../../sv-benchmarks/c/ldv-memsafety/memleaks_test21-1.i Unable to find full path for "g++" [2024-11-13 22:48:36,865 INFO L533 CDTParser]: Created temporary CDT project at NULL [2024-11-13 22:48:37,219 INFO L384 CDTParser]: Found 1 translation units. [2024-11-13 22:48:37,222 INFO L180 CDTParser]: Scanning /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_0b926f29-d03a-42f2-a65c-26202147845b/sv-benchmarks/c/ldv-memsafety/memleaks_test21-1.i [2024-11-13 22:48:37,244 INFO L427 CDTParser]: About to delete temporary CDT project at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_0b926f29-d03a-42f2-a65c-26202147845b/bin/ukojak-verify-EEHR8qb7sm/data/ffa3f32ca/b6119d366ffd44d6bdf9094505464255/FLAGa4e6fea39 [2024-11-13 22:48:37,269 INFO L435 CDTParser]: Successfully deleted /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_0b926f29-d03a-42f2-a65c-26202147845b/bin/ukojak-verify-EEHR8qb7sm/data/ffa3f32ca/b6119d366ffd44d6bdf9094505464255 [2024-11-13 22:48:37,271 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2024-11-13 22:48:37,273 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2024-11-13 22:48:37,274 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2024-11-13 22:48:37,274 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2024-11-13 22:48:37,279 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2024-11-13 22:48:37,281 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 13.11 10:48:37" (1/1) ... [2024-11-13 22:48:37,281 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@30d54894 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 10:48:37, skipping insertion in model container [2024-11-13 22:48:37,282 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 13.11 10:48:37" (1/1) ... [2024-11-13 22:48:37,327 INFO L175 MainTranslator]: Built tables and reachable declarations [2024-11-13 22:48:37,744 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 22:48:37,841 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 22:48:37,845 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-13 22:48:37,868 INFO L197 MainTranslator]: Restarting translation with changed settings: SettingsChange [mNewPreferredMemoryModel=HoenickeLindenmann_1ByteResolution] [2024-11-13 22:48:37,884 INFO L175 MainTranslator]: Built tables and reachable declarations [2024-11-13 22:48:37,930 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 22:48:37,964 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 22:48:37,965 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-13 22:48:37,981 INFO L200 MainTranslator]: Completed pre-run [2024-11-13 22:48:38,060 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-13 22:48:38,112 INFO L204 MainTranslator]: Completed translation [2024-11-13 22:48:38,113 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 10:48:38 WrapperNode [2024-11-13 22:48:38,113 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2024-11-13 22:48:38,114 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2024-11-13 22:48:38,114 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2024-11-13 22:48:38,114 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2024-11-13 22:48:38,120 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 10:48:38" (1/1) ... [2024-11-13 22:48:38,139 INFO L184 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 10:48:38" (1/1) ... [2024-11-13 22:48:38,159 INFO L138 Inliner]: procedures = 166, calls = 69, calls flagged for inlining = 30, calls inlined = 5, statements flattened = 33 [2024-11-13 22:48:38,159 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2024-11-13 22:48:38,160 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2024-11-13 22:48:38,160 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2024-11-13 22:48:38,160 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2024-11-13 22:48:38,167 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 10:48:38" (1/1) ... [2024-11-13 22:48:38,168 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 10:48:38" (1/1) ... [2024-11-13 22:48:38,170 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 10:48:38" (1/1) ... [2024-11-13 22:48:38,171 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 10:48:38" (1/1) ... [2024-11-13 22:48:38,176 INFO L184 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 10:48:38" (1/1) ... [2024-11-13 22:48:38,178 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 10:48:38" (1/1) ... [2024-11-13 22:48:38,179 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 10:48:38" (1/1) ... [2024-11-13 22:48:38,180 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 10:48:38" (1/1) ... [2024-11-13 22:48:38,182 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2024-11-13 22:48:38,183 INFO L112 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2024-11-13 22:48:38,183 INFO L270 PluginConnector]: Initializing RCFGBuilder... [2024-11-13 22:48:38,183 INFO L274 PluginConnector]: RCFGBuilder initialized [2024-11-13 22:48:38,184 INFO L184 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 10:48:38" (1/1) ... [2024-11-13 22:48:38,191 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2024-11-13 22:48:38,209 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_0b926f29-d03a-42f2-a65c-26202147845b/bin/ukojak-verify-EEHR8qb7sm/z3 [2024-11-13 22:48:38,219 INFO L229 MonitoredProcess]: Starting monitored process 1 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_0b926f29-d03a-42f2-a65c-26202147845b/bin/ukojak-verify-EEHR8qb7sm/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (exit command is (exit), workingDir is null) [2024-11-13 22:48:38,222 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_0b926f29-d03a-42f2-a65c-26202147845b/bin/ukojak-verify-EEHR8qb7sm/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (1)] Waiting until timeout for monitored process [2024-11-13 22:48:38,247 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnHeap [2024-11-13 22:48:38,248 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2024-11-13 22:48:38,248 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~$Pointer$ [2024-11-13 22:48:38,248 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2024-11-13 22:48:38,248 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2024-11-13 22:48:38,398 INFO L238 CfgBuilder]: Building ICFG [2024-11-13 22:48:38,399 INFO L264 CfgBuilder]: Building CFG for each procedure with an implementation [2024-11-13 22:48:38,530 INFO L? ?]: Removed 14 outVars from TransFormulas that were not future-live. [2024-11-13 22:48:38,530 INFO L287 CfgBuilder]: Performing block encoding [2024-11-13 22:48:38,665 INFO L311 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2024-11-13 22:48:38,665 INFO L316 CfgBuilder]: Removed 0 assume(true) statements. [2024-11-13 22:48:38,666 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 13.11 10:48:38 BoogieIcfgContainer [2024-11-13 22:48:38,666 INFO L131 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2024-11-13 22:48:38,666 INFO L112 PluginConnector]: ------------------------CodeCheck---------------------------- [2024-11-13 22:48:38,667 INFO L270 PluginConnector]: Initializing CodeCheck... [2024-11-13 22:48:38,679 INFO L274 PluginConnector]: CodeCheck initialized [2024-11-13 22:48:38,679 INFO L184 PluginConnector]: Executing the observer CodeCheckObserver from plugin CodeCheck for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 13.11 10:48:38" (1/1) ... [2024-11-13 22:48:38,688 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-11-13 22:48:38,737 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-13 22:48:38,744 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 4 states and 3 transitions. [2024-11-13 22:48:38,745 INFO L276 IsEmpty]: Start isEmpty. Operand 4 states and 3 transitions. [2024-11-13 22:48:38,747 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 3 [2024-11-13 22:48:38,747 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-13 22:48:38,750 INFO L173 SolverBuilder]: Constructing external solver with command: cvc4 --incremental --print-success --lang smt [2024-11-13 22:48:38,751 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_0b926f29-d03a-42f2-a65c-26202147845b/bin/ukojak-verify-EEHR8qb7sm/cvc4 [2024-11-13 22:48:38,755 INFO L229 MonitoredProcess]: Starting monitored process 2 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_0b926f29-d03a-42f2-a65c-26202147845b/bin/ukojak-verify-EEHR8qb7sm/cvc4 --incremental --print-success --lang smt (exit command is (exit), workingDir is null) [2024-11-13 22:48:38,756 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_0b926f29-d03a-42f2-a65c-26202147845b/bin/ukojak-verify-EEHR8qb7sm/cvc4 --incremental --print-success --lang smt (2)] Waiting until timeout for monitored process [2024-11-13 22:48:38,919 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-13 22:48:38,919 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-11-13 22:48:38,951 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-13 22:48:39,009 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-13 22:48:39,009 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-11-13 22:48:39,028 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-13 22:48:39,045 INFO L552 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_0b926f29-d03a-42f2-a65c-26202147845b/bin/ukojak-verify-EEHR8qb7sm/cvc4 --incremental --print-success --lang smt (2)] Ended with exit code 0 [2024-11-13 22:48:39,047 WARN L473 CodeCheckObserver]: This program is UNSAFE, Check terminated with 1 iterations. [2024-11-13 22:48:39,072 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck CFG 13.11 10:48:39 ImpRootNode [2024-11-13 22:48:39,072 INFO L131 PluginConnector]: ------------------------ END CodeCheck---------------------------- [2024-11-13 22:48:39,073 INFO L112 PluginConnector]: ------------------------Witness Printer---------------------------- [2024-11-13 22:48:39,074 INFO L270 PluginConnector]: Initializing Witness Printer... [2024-11-13 22:48:39,074 INFO L274 PluginConnector]: Witness Printer initialized [2024-11-13 22:48:39,075 INFO L184 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 13.11 10:48:38" (3/4) ... [2024-11-13 22:48:39,077 INFO L145 WitnessPrinter]: No result that supports witness generation found [2024-11-13 22:48:39,078 INFO L131 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2024-11-13 22:48:39,081 INFO L158 Benchmark]: Toolchain (without parser) took 1806.17ms. Allocated memory is still 83.9MB. Free memory was 58.9MB in the beginning and 38.9MB in the end (delta: 20.0MB). Peak memory consumption was 20.3MB. Max. memory is 16.1GB. [2024-11-13 22:48:39,081 INFO L158 Benchmark]: CDTParser took 0.43ms. Allocated memory is still 83.9MB. Free memory is still 64.6MB. There was no memory consumed. Max. memory is 16.1GB. [2024-11-13 22:48:39,082 INFO L158 Benchmark]: CACSL2BoogieTranslator took 838.93ms. Allocated memory is still 83.9MB. Free memory was 58.9MB in the beginning and 31.4MB in the end (delta: 27.5MB). Peak memory consumption was 16.8MB. Max. memory is 16.1GB. [2024-11-13 22:48:39,083 INFO L158 Benchmark]: Boogie Procedure Inliner took 45.81ms. Allocated memory is still 83.9MB. Free memory was 31.4MB in the beginning and 29.8MB in the end (delta: 1.7MB). Peak memory consumption was 8.4MB. Max. memory is 16.1GB. [2024-11-13 22:48:39,083 INFO L158 Benchmark]: Boogie Preprocessor took 22.26ms. Allocated memory is still 83.9MB. Free memory was 29.5MB in the beginning and 28.6MB in the end (delta: 906.3kB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-13 22:48:39,083 INFO L158 Benchmark]: RCFGBuilder took 483.03ms. Allocated memory is still 83.9MB. Free memory was 28.6MB in the beginning and 49.7MB in the end (delta: -21.1MB). Peak memory consumption was 12.0MB. Max. memory is 16.1GB. [2024-11-13 22:48:39,085 INFO L158 Benchmark]: CodeCheck took 405.55ms. Allocated memory is still 83.9MB. Free memory was 49.7MB in the beginning and 38.9MB in the end (delta: 10.8MB). Peak memory consumption was 8.4MB. Max. memory is 16.1GB. [2024-11-13 22:48:39,085 INFO L158 Benchmark]: Witness Printer took 4.75ms. Allocated memory is still 83.9MB. Free memory is still 38.9MB. There was no memory consumed. Max. memory is 16.1GB. [2024-11-13 22:48:39,088 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 - UnprovableResult [Line: 772]: Unable to prove that all allocated memory was freed Unable to prove that all allocated memory was freed Reason: overapproximation of memtrack at line 772. Possible FailurePath: [L569] struct ldv_list_head ldv_global_msg_list = { &(ldv_global_msg_list), &(ldv_global_msg_list) }; [L773] CALL entry_point() [L770] CALL, EXPR alloc_21() [L762] CALL, EXPR ldv_malloc(sizeof(struct A21)) [L526] COND TRUE __VERIFIER_nondet_int() [L527] return malloc(size); [L762] RET, EXPR ldv_malloc(sizeof(struct A21)) [L762] struct A21 *p = (struct A21*)ldv_malloc(sizeof(struct A21)); [L763] COND TRUE \read(*p) [L764] return &p->dev; [L770] RET, EXPR alloc_21() [L770] struct ldv_device *dev = alloc_21(); [L773] RET entry_point() * Results from de.uni_freiburg.informatik.ultimate.core: - StatisticsResult: Toolchain Benchmarks Benchmark results are: * CDTParser took 0.43ms. Allocated memory is still 83.9MB. Free memory is still 64.6MB. There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 838.93ms. Allocated memory is still 83.9MB. Free memory was 58.9MB in the beginning and 31.4MB in the end (delta: 27.5MB). Peak memory consumption was 16.8MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 45.81ms. Allocated memory is still 83.9MB. Free memory was 31.4MB in the beginning and 29.8MB in the end (delta: 1.7MB). Peak memory consumption was 8.4MB. Max. memory is 16.1GB. * Boogie Preprocessor took 22.26ms. Allocated memory is still 83.9MB. Free memory was 29.5MB in the beginning and 28.6MB in the end (delta: 906.3kB). There was no memory consumed. Max. memory is 16.1GB. * RCFGBuilder took 483.03ms. Allocated memory is still 83.9MB. Free memory was 28.6MB in the beginning and 49.7MB in the end (delta: -21.1MB). Peak memory consumption was 12.0MB. Max. memory is 16.1GB. * CodeCheck took 405.55ms. Allocated memory is still 83.9MB. Free memory was 49.7MB in the beginning and 38.9MB in the end (delta: 10.8MB). Peak memory consumption was 8.4MB. Max. memory is 16.1GB. * Witness Printer took 4.75ms. Allocated memory is still 83.9MB. Free memory is still 38.9MB. 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 22:48:39,114 INFO L552 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_0b926f29-d03a-42f2-a65c-26202147845b/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