./Ultimate.py --spec ../../sv-benchmarks/c/properties/valid-memsafety.prp --file ../../sv-benchmarks/c/ldv-memsafety/memleaks_test20-1.i --full-output --architecture 32bit -------------------------------------------------------------------------------- Checking for memory safety (deref-memtrack) Using default analysis Version 0e0057cc Calling Ultimate with: /usr/lib/jvm/java-11-openjdk-amd64/bin/java -Dosgi.configuration.area=/tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_a6ccfe7f-f4bd-4ee7-8147-987e237546f8/bin/ukojak-verify-afCqCEvfdi/data/config -Xmx15G -Xms4m -jar /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_a6ccfe7f-f4bd-4ee7-8147-987e237546f8/bin/ukojak-verify-afCqCEvfdi/plugins/org.eclipse.equinox.launcher_1.5.800.v20200727-1323.jar -data @noDefault -ultimatedata /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_a6ccfe7f-f4bd-4ee7-8147-987e237546f8/bin/ukojak-verify-afCqCEvfdi/data -tc /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_a6ccfe7f-f4bd-4ee7-8147-987e237546f8/bin/ukojak-verify-afCqCEvfdi/config/KojakMemDerefMemtrack.xml -i ../../sv-benchmarks/c/ldv-memsafety/memleaks_test20-1.i -s /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_a6ccfe7f-f4bd-4ee7-8147-987e237546f8/bin/ukojak-verify-afCqCEvfdi/config/svcomp-DerefFreeMemtrack-32bit-Kojak_Default.epf --cacsl2boogietranslator.entry.function main --witnessprinter.witness.directory /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_a6ccfe7f-f4bd-4ee7-8147-987e237546f8/bin/ukojak-verify-afCqCEvfdi --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 26c43b0aadda992ac661443360ccdcdee8e428835f1c1ebcc9d46e3a7ce26fc5 --- Real Ultimate output --- This is Ultimate 0.2.4-dev-0e0057c [2023-11-24 23:01:45,292 INFO L188 SettingsManager]: Resetting all preferences to default values... [2023-11-24 23:01:45,423 INFO L114 SettingsManager]: Loading settings from /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_a6ccfe7f-f4bd-4ee7-8147-987e237546f8/bin/ukojak-verify-afCqCEvfdi/config/svcomp-DerefFreeMemtrack-32bit-Kojak_Default.epf [2023-11-24 23:01:45,432 WARN L101 SettingsManager]: Preference file contains the following unknown settings: [2023-11-24 23:01:45,433 WARN L103 SettingsManager]: * de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck.Interpolating solver [2023-11-24 23:01:45,469 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2023-11-24 23:01:45,471 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2023-11-24 23:01:45,472 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2023-11-24 23:01:45,473 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2023-11-24 23:01:45,478 INFO L153 SettingsManager]: * sizeof long=4 [2023-11-24 23:01:45,478 INFO L153 SettingsManager]: * Overapproximate operations on floating types=true [2023-11-24 23:01:45,479 INFO L153 SettingsManager]: * sizeof POINTER=4 [2023-11-24 23:01:45,479 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2023-11-24 23:01:45,481 INFO L153 SettingsManager]: * Check for the main procedure if all allocated memory was freed=true [2023-11-24 23:01:45,482 INFO L153 SettingsManager]: * Bitprecise bitfields=true [2023-11-24 23:01:45,482 INFO L153 SettingsManager]: * SV-COMP memtrack compatibility mode=true [2023-11-24 23:01:45,483 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2023-11-24 23:01:45,483 INFO L153 SettingsManager]: * Check unreachability of reach_error function=false [2023-11-24 23:01:45,484 INFO L153 SettingsManager]: * sizeof long double=12 [2023-11-24 23:01:45,484 INFO L153 SettingsManager]: * Use constant arrays=true [2023-11-24 23:01:45,485 INFO L151 SettingsManager]: Preferences of CodeCheck differ from their defaults: [2023-11-24 23:01:45,485 INFO L153 SettingsManager]: * Timeout in seconds=1000000 [2023-11-24 23:01:45,486 INFO L153 SettingsManager]: * Theory for external solver=ALL [2023-11-24 23:01:45,487 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2023-11-24 23:01:45,488 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2023-11-24 23:01:45,488 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2023-11-24 23:01:45,489 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2023-11-24 23:01:45,489 INFO L153 SettingsManager]: * Trace refinement strategy=PENGUIN [2023-11-24 23:01:45,490 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2023-11-24 23:01:45,490 INFO L153 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode WARNING: An illegal reflective access operation has occurred WARNING: Illegal reflective access by com.sun.xml.bind.v2.runtime.reflect.opt.Injector$1 (file:/tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_a6ccfe7f-f4bd-4ee7-8147-987e237546f8/bin/ukojak-verify-afCqCEvfdi/plugins/com.sun.xml.bind_2.2.0.v201505121915.jar) to method java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int) WARNING: Please consider reporting this to the maintainers of com.sun.xml.bind.v2.runtime.reflect.opt.Injector$1 WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations WARNING: All illegal access operations will be denied in a future release Applying setting for plugin de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator: Entry function -> main Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Witness directory -> /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_a6ccfe7f-f4bd-4ee7-8147-987e237546f8/bin/ukojak-verify-afCqCEvfdi 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 -> 26c43b0aadda992ac661443360ccdcdee8e428835f1c1ebcc9d46e3a7ce26fc5 [2023-11-24 23:01:45,858 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2023-11-24 23:01:45,891 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2023-11-24 23:01:45,894 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2023-11-24 23:01:45,895 INFO L270 PluginConnector]: Initializing CDTParser... [2023-11-24 23:01:45,896 INFO L274 PluginConnector]: CDTParser initialized [2023-11-24 23:01:45,897 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_a6ccfe7f-f4bd-4ee7-8147-987e237546f8/bin/ukojak-verify-afCqCEvfdi/../../sv-benchmarks/c/ldv-memsafety/memleaks_test20-1.i [2023-11-24 23:01:49,082 INFO L533 CDTParser]: Created temporary CDT project at NULL [2023-11-24 23:01:49,347 INFO L384 CDTParser]: Found 1 translation units. [2023-11-24 23:01:49,360 INFO L180 CDTParser]: Scanning /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_a6ccfe7f-f4bd-4ee7-8147-987e237546f8/sv-benchmarks/c/ldv-memsafety/memleaks_test20-1.i [2023-11-24 23:01:49,383 INFO L427 CDTParser]: About to delete temporary CDT project at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_a6ccfe7f-f4bd-4ee7-8147-987e237546f8/bin/ukojak-verify-afCqCEvfdi/data/91574c74c/ed4dec8d22944991acfd3ec2440f8149/FLAG72085fb95 [2023-11-24 23:01:49,398 INFO L435 CDTParser]: Successfully deleted /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_a6ccfe7f-f4bd-4ee7-8147-987e237546f8/bin/ukojak-verify-afCqCEvfdi/data/91574c74c/ed4dec8d22944991acfd3ec2440f8149 [2023-11-24 23:01:49,401 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2023-11-24 23:01:49,402 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2023-11-24 23:01:49,404 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2023-11-24 23:01:49,404 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2023-11-24 23:01:49,416 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2023-11-24 23:01:49,418 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 24.11 11:01:49" (1/1) ... [2023-11-24 23:01:49,419 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@77dae82f and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 11:01:49, skipping insertion in model container [2023-11-24 23:01:49,419 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 24.11 11:01:49" (1/1) ... [2023-11-24 23:01:49,474 INFO L177 MainTranslator]: Built tables and reachable declarations [2023-11-24 23:01:49,937 INFO L209 PostProcessor]: Analyzing one entry point: main [2023-11-24 23:01:49,965 INFO L202 MainTranslator]: Completed pre-run [2023-11-24 23:01:50,040 INFO L209 PostProcessor]: Analyzing one entry point: main [2023-11-24 23:01:50,084 WARN L675 CHandler]: The function release is called, but not defined or handled by StandardFunctionHandler. [2023-11-24 23:01:50,093 INFO L206 MainTranslator]: Completed translation [2023-11-24 23:01:50,093 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 11:01:50 WrapperNode [2023-11-24 23:01:50,093 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2023-11-24 23:01:50,095 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2023-11-24 23:01:50,095 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2023-11-24 23:01:50,095 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2023-11-24 23:01:50,103 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 11:01:50" (1/1) ... [2023-11-24 23:01:50,124 INFO L184 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 11:01:50" (1/1) ... [2023-11-24 23:01:50,147 INFO L138 Inliner]: procedures = 168, calls = 70, calls flagged for inlining = 31, calls inlined = 6, statements flattened = 31 [2023-11-24 23:01:50,148 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2023-11-24 23:01:50,149 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2023-11-24 23:01:50,149 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2023-11-24 23:01:50,149 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2023-11-24 23:01:50,160 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 11:01:50" (1/1) ... [2023-11-24 23:01:50,160 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 11:01:50" (1/1) ... [2023-11-24 23:01:50,163 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 11:01:50" (1/1) ... [2023-11-24 23:01:50,163 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 11:01:50" (1/1) ... [2023-11-24 23:01:50,169 INFO L184 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 11:01:50" (1/1) ... [2023-11-24 23:01:50,172 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 11:01:50" (1/1) ... [2023-11-24 23:01:50,173 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 11:01:50" (1/1) ... [2023-11-24 23:01:50,175 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 11:01:50" (1/1) ... [2023-11-24 23:01:50,177 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2023-11-24 23:01:50,178 INFO L112 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2023-11-24 23:01:50,179 INFO L270 PluginConnector]: Initializing RCFGBuilder... [2023-11-24 23:01:50,179 INFO L274 PluginConnector]: RCFGBuilder initialized [2023-11-24 23:01:50,180 INFO L184 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 11:01:50" (1/1) ... [2023-11-24 23:01:50,186 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2023-11-24 23:01:50,203 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_a6ccfe7f-f4bd-4ee7-8147-987e237546f8/bin/ukojak-verify-afCqCEvfdi/z3 [2023-11-24 23:01:50,217 INFO L229 MonitoredProcess]: Starting monitored process 1 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_a6ccfe7f-f4bd-4ee7-8147-987e237546f8/bin/ukojak-verify-afCqCEvfdi/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (exit command is (exit), workingDir is null) [2023-11-24 23:01:50,221 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_a6ccfe7f-f4bd-4ee7-8147-987e237546f8/bin/ukojak-verify-afCqCEvfdi/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (1)] Waiting until timeout for monitored process [2023-11-24 23:01:50,251 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnHeap [2023-11-24 23:01:50,252 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2023-11-24 23:01:50,252 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~$Pointer$ [2023-11-24 23:01:50,252 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2023-11-24 23:01:50,252 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2023-11-24 23:01:50,367 INFO L241 CfgBuilder]: Building ICFG [2023-11-24 23:01:50,369 INFO L267 CfgBuilder]: Building CFG for each procedure with an implementation [2023-11-24 23:01:50,469 INFO L282 CfgBuilder]: Performing block encoding [2023-11-24 23:01:50,593 INFO L304 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2023-11-24 23:01:50,593 INFO L309 CfgBuilder]: Removed 0 assume(true) statements. [2023-11-24 23:01:50,595 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 24.11 11:01:50 BoogieIcfgContainer [2023-11-24 23:01:50,595 INFO L131 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2023-11-24 23:01:50,596 INFO L112 PluginConnector]: ------------------------CodeCheck---------------------------- [2023-11-24 23:01:50,596 INFO L270 PluginConnector]: Initializing CodeCheck... [2023-11-24 23:01:50,608 INFO L274 PluginConnector]: CodeCheck initialized [2023-11-24 23:01:50,609 INFO L184 PluginConnector]: Executing the observer CodeCheckObserver from plugin CodeCheck for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 24.11 11:01:50" (1/1) ... [2023-11-24 23:01:50,618 INFO L160 PredicateUnifier]: Initialized classic predicate unifier [2023-11-24 23:01:50,673 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2023-11-24 23:01:50,679 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 4 states and 3 transitions. [2023-11-24 23:01:50,680 INFO L276 IsEmpty]: Start isEmpty. Operand 4 states and 3 transitions. [2023-11-24 23:01:50,683 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 3 [2023-11-24 23:01:50,683 INFO L423 CodeCheckObserver]: Error Path is FOUND. [2023-11-24 23:01:50,684 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-24 23:01:50,852 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-11-24 23:01:50,852 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2023-11-24 23:01:50,878 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-11-24 23:01:50,966 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-11-24 23:01:50,966 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2023-11-24 23:01:50,978 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-11-24 23:01:50,993 WARN L476 CodeCheckObserver]: This program is UNSAFE, Check terminated with 1 iterations. [2023-11-24 23:01:51,034 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck CFG 24.11 11:01:51 ImpRootNode [2023-11-24 23:01:51,035 INFO L131 PluginConnector]: ------------------------ END CodeCheck---------------------------- [2023-11-24 23:01:51,036 INFO L112 PluginConnector]: ------------------------Witness Printer---------------------------- [2023-11-24 23:01:51,039 INFO L270 PluginConnector]: Initializing Witness Printer... [2023-11-24 23:01:51,039 INFO L274 PluginConnector]: Witness Printer initialized [2023-11-24 23:01:51,040 INFO L184 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 24.11 11:01:50" (3/4) ... [2023-11-24 23:01:51,067 INFO L140 WitnessPrinter]: No result that supports witness generation found [2023-11-24 23:01:51,068 INFO L131 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2023-11-24 23:01:51,070 INFO L158 Benchmark]: Toolchain (without parser) took 1666.88ms. Allocated memory is still 159.4MB. Free memory was 112.7MB in the beginning and 126.5MB in the end (delta: -13.8MB). Peak memory consumption was 62.7MB. Max. memory is 16.1GB. [2023-11-24 23:01:51,070 INFO L158 Benchmark]: CDTParser took 0.34ms. Allocated memory is still 159.4MB. Free memory is still 127.2MB. There was no memory consumed. Max. memory is 16.1GB. [2023-11-24 23:01:51,071 INFO L158 Benchmark]: CACSL2BoogieTranslator took 689.97ms. Allocated memory is still 159.4MB. Free memory was 112.4MB in the beginning and 89.8MB in the end (delta: 22.6MB). Peak memory consumption was 23.1MB. Max. memory is 16.1GB. [2023-11-24 23:01:51,072 INFO L158 Benchmark]: Boogie Procedure Inliner took 53.39ms. Allocated memory is still 159.4MB. Free memory was 89.8MB in the beginning and 87.6MB in the end (delta: 2.3MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. [2023-11-24 23:01:51,073 INFO L158 Benchmark]: Boogie Preprocessor took 28.90ms. Allocated memory is still 159.4MB. Free memory was 87.6MB in the beginning and 86.4MB in the end (delta: 1.2MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. [2023-11-24 23:01:51,073 INFO L158 Benchmark]: RCFGBuilder took 416.67ms. Allocated memory is still 159.4MB. Free memory was 86.4MB in the beginning and 70.5MB in the end (delta: 15.9MB). Peak memory consumption was 14.7MB. Max. memory is 16.1GB. [2023-11-24 23:01:51,074 INFO L158 Benchmark]: CodeCheck took 439.09ms. Allocated memory is still 159.4MB. Free memory was 70.2MB in the beginning and 57.3MB in the end (delta: 12.9MB). Peak memory consumption was 12.6MB. Max. memory is 16.1GB. [2023-11-24 23:01:51,075 INFO L158 Benchmark]: Witness Printer took 33.11ms. Allocated memory is still 159.4MB. Free memory was 57.3MB in the beginning and 126.5MB in the end (delta: -69.2MB). Peak memory consumption was 8.2MB. Max. memory is 16.1GB. [2023-11-24 23:01:51,082 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.4s, 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: 781]: Unable to prove that all allocated memory was freed Unable to prove that all allocated memory was freed Reason: overapproximation of memtrack at line 781. Possible FailurePath: [L569] struct ldv_list_head ldv_global_msg_list = { &(ldv_global_msg_list), &(ldv_global_msg_list) }; [L761] struct ldv_device *saved_device_20; [L782] CALL entry_point() [L778] CALL alloc_20() [L772] CALL, EXPR ldv_malloc(sizeof(struct A20)) [L526] COND TRUE __VERIFIER_nondet_int() [L527] return malloc(size); [L772] RET, EXPR ldv_malloc(sizeof(struct A20)) [L772] struct A20 *p = (struct A20*)ldv_malloc(sizeof(struct A20)); [L773] COND TRUE \read(*p) [L774] CALL ldv_register_device(&p->dev) [L763] saved_device_20 = dev [L774] RET ldv_register_device(&p->dev) [L778] RET alloc_20() [L779] saved_device_20 = 0 [L782] RET entry_point() * Results from de.uni_freiburg.informatik.ultimate.core: - StatisticsResult: Toolchain Benchmarks Benchmark results are: * CDTParser took 0.34ms. Allocated memory is still 159.4MB. Free memory is still 127.2MB. There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 689.97ms. Allocated memory is still 159.4MB. Free memory was 112.4MB in the beginning and 89.8MB in the end (delta: 22.6MB). Peak memory consumption was 23.1MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 53.39ms. Allocated memory is still 159.4MB. Free memory was 89.8MB in the beginning and 87.6MB in the end (delta: 2.3MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. * Boogie Preprocessor took 28.90ms. Allocated memory is still 159.4MB. Free memory was 87.6MB in the beginning and 86.4MB in the end (delta: 1.2MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. * RCFGBuilder took 416.67ms. Allocated memory is still 159.4MB. Free memory was 86.4MB in the beginning and 70.5MB in the end (delta: 15.9MB). Peak memory consumption was 14.7MB. Max. memory is 16.1GB. * CodeCheck took 439.09ms. Allocated memory is still 159.4MB. Free memory was 70.2MB in the beginning and 57.3MB in the end (delta: 12.9MB). Peak memory consumption was 12.6MB. Max. memory is 16.1GB. * Witness Printer took 33.11ms. Allocated memory is still 159.4MB. Free memory was 57.3MB in the beginning and 126.5MB in the end (delta: -69.2MB). Peak memory consumption was 8.2MB. Max. memory is 16.1GB. RESULT: Ultimate could not prove your program: unable to determine feasibility of some traces [2023-11-24 23:01:51,112 INFO L540 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_a6ccfe7f-f4bd-4ee7-8147-987e237546f8/bin/ukojak-verify-afCqCEvfdi/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/lib/jvm/java-11-openjdk-amd64/bin/java -Dosgi.configuration.area=/tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_a6ccfe7f-f4bd-4ee7-8147-987e237546f8/bin/ukojak-verify-afCqCEvfdi/data/config -Xmx15G -Xms4m -jar /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_a6ccfe7f-f4bd-4ee7-8147-987e237546f8/bin/ukojak-verify-afCqCEvfdi/plugins/org.eclipse.equinox.launcher_1.5.800.v20200727-1323.jar -data @noDefault -ultimatedata /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_a6ccfe7f-f4bd-4ee7-8147-987e237546f8/bin/ukojak-verify-afCqCEvfdi/data -tc /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_a6ccfe7f-f4bd-4ee7-8147-987e237546f8/bin/ukojak-verify-afCqCEvfdi/config/KojakMemDerefMemtrack.xml -i ../../sv-benchmarks/c/ldv-memsafety/memleaks_test20-1.i -s /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_a6ccfe7f-f4bd-4ee7-8147-987e237546f8/bin/ukojak-verify-afCqCEvfdi/config/svcomp-DerefFreeMemtrack-32bit-Kojak_Bitvector.epf --cacsl2boogietranslator.entry.function main --witnessprinter.witness.directory /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_a6ccfe7f-f4bd-4ee7-8147-987e237546f8/bin/ukojak-verify-afCqCEvfdi --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 26c43b0aadda992ac661443360ccdcdee8e428835f1c1ebcc9d46e3a7ce26fc5 --- Real Ultimate output --- This is Ultimate 0.2.4-dev-0e0057c [2023-11-24 23:01:54,067 INFO L188 SettingsManager]: Resetting all preferences to default values... [2023-11-24 23:01:54,161 INFO L114 SettingsManager]: Loading settings from /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_a6ccfe7f-f4bd-4ee7-8147-987e237546f8/bin/ukojak-verify-afCqCEvfdi/config/svcomp-DerefFreeMemtrack-32bit-Kojak_Bitvector.epf [2023-11-24 23:01:54,197 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2023-11-24 23:01:54,199 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2023-11-24 23:01:54,199 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2023-11-24 23:01:54,200 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2023-11-24 23:01:54,201 INFO L153 SettingsManager]: * sizeof long=4 [2023-11-24 23:01:54,201 INFO L153 SettingsManager]: * Overapproximate operations on floating types=true [2023-11-24 23:01:54,202 INFO L153 SettingsManager]: * sizeof POINTER=4 [2023-11-24 23:01:54,203 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2023-11-24 23:01:54,203 INFO L153 SettingsManager]: * Check for the main procedure if all allocated memory was freed=true [2023-11-24 23:01:54,204 INFO L153 SettingsManager]: * Bitprecise bitfields=true [2023-11-24 23:01:54,204 INFO L153 SettingsManager]: * SV-COMP memtrack compatibility mode=true [2023-11-24 23:01:54,205 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2023-11-24 23:01:54,206 INFO L153 SettingsManager]: * Adapt memory model on pointer casts if necessary=true [2023-11-24 23:01:54,206 INFO L153 SettingsManager]: * Use bitvectors instead of ints=true [2023-11-24 23:01:54,207 INFO L153 SettingsManager]: * Memory model=HoenickeLindenmann_4ByteResolution [2023-11-24 23:01:54,207 INFO L153 SettingsManager]: * Check unreachability of reach_error function=false [2023-11-24 23:01:54,208 INFO L153 SettingsManager]: * sizeof long double=12 [2023-11-24 23:01:54,208 INFO L153 SettingsManager]: * Use constant arrays=true [2023-11-24 23:01:54,209 INFO L151 SettingsManager]: Preferences of CodeCheck differ from their defaults: [2023-11-24 23:01:54,210 INFO L153 SettingsManager]: * Timeout in seconds=1000000 [2023-11-24 23:01:54,210 INFO L153 SettingsManager]: * Theory for external solver=ALL [2023-11-24 23:01:54,211 INFO L153 SettingsManager]: * Command for calling external solver=cvc4 --incremental --print-success --lang smt [2023-11-24 23:01:54,211 INFO L153 SettingsManager]: * Choose which separate solver to use for tracechecks=External_ModelsAndUnsatCoreMode [2023-11-24 23:01:54,212 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2023-11-24 23:01:54,212 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2023-11-24 23:01:54,213 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2023-11-24 23:01:54,213 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2023-11-24 23:01:54,214 INFO L153 SettingsManager]: * Trace refinement strategy=WALRUS [2023-11-24 23:01:54,214 INFO L153 SettingsManager]: * Command for external solver=cvc4 --incremental --print-success --lang smt [2023-11-24 23:01:54,215 INFO L153 SettingsManager]: * Use separate solver for trace checks=false [2023-11-24 23:01:54,215 INFO L153 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode [2023-11-24 23:01:54,216 INFO L153 SettingsManager]: * Logic for external solver=AUFBV WARNING: An illegal reflective access operation has occurred WARNING: Illegal reflective access by com.sun.xml.bind.v2.runtime.reflect.opt.Injector$1 (file:/tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_a6ccfe7f-f4bd-4ee7-8147-987e237546f8/bin/ukojak-verify-afCqCEvfdi/plugins/com.sun.xml.bind_2.2.0.v201505121915.jar) to method java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int) WARNING: Please consider reporting this to the maintainers of com.sun.xml.bind.v2.runtime.reflect.opt.Injector$1 WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations WARNING: All illegal access operations will be denied in a future release Applying setting for plugin de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator: Entry function -> main Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Witness directory -> /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_a6ccfe7f-f4bd-4ee7-8147-987e237546f8/bin/ukojak-verify-afCqCEvfdi 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 -> 26c43b0aadda992ac661443360ccdcdee8e428835f1c1ebcc9d46e3a7ce26fc5 [2023-11-24 23:01:54,681 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2023-11-24 23:01:54,717 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2023-11-24 23:01:54,720 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2023-11-24 23:01:54,723 INFO L270 PluginConnector]: Initializing CDTParser... [2023-11-24 23:01:54,723 INFO L274 PluginConnector]: CDTParser initialized [2023-11-24 23:01:54,726 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_a6ccfe7f-f4bd-4ee7-8147-987e237546f8/bin/ukojak-verify-afCqCEvfdi/../../sv-benchmarks/c/ldv-memsafety/memleaks_test20-1.i [2023-11-24 23:01:58,252 INFO L533 CDTParser]: Created temporary CDT project at NULL [2023-11-24 23:01:58,659 INFO L384 CDTParser]: Found 1 translation units. [2023-11-24 23:01:58,660 INFO L180 CDTParser]: Scanning /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_a6ccfe7f-f4bd-4ee7-8147-987e237546f8/sv-benchmarks/c/ldv-memsafety/memleaks_test20-1.i [2023-11-24 23:01:58,688 INFO L427 CDTParser]: About to delete temporary CDT project at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_a6ccfe7f-f4bd-4ee7-8147-987e237546f8/bin/ukojak-verify-afCqCEvfdi/data/cbcf36093/80da78eff6834fb5b199fe018741b6ee/FLAGf65bbf98c [2023-11-24 23:01:58,705 INFO L435 CDTParser]: Successfully deleted /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_a6ccfe7f-f4bd-4ee7-8147-987e237546f8/bin/ukojak-verify-afCqCEvfdi/data/cbcf36093/80da78eff6834fb5b199fe018741b6ee [2023-11-24 23:01:58,711 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2023-11-24 23:01:58,713 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2023-11-24 23:01:58,715 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2023-11-24 23:01:58,715 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2023-11-24 23:01:58,720 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2023-11-24 23:01:58,723 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 24.11 11:01:58" (1/1) ... [2023-11-24 23:01:58,724 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@10e5eeef and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 11:01:58, skipping insertion in model container [2023-11-24 23:01:58,725 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 24.11 11:01:58" (1/1) ... [2023-11-24 23:01:58,796 INFO L177 MainTranslator]: Built tables and reachable declarations [2023-11-24 23:01:59,329 INFO L209 PostProcessor]: Analyzing one entry point: main [2023-11-24 23:01:59,352 INFO L199 MainTranslator]: Restarting translation with changed settings: SettingsChange [mNewPreferredMemoryModel=HoenickeLindenmann_1ByteResolution] [2023-11-24 23:01:59,375 INFO L177 MainTranslator]: Built tables and reachable declarations [2023-11-24 23:01:59,496 INFO L209 PostProcessor]: Analyzing one entry point: main [2023-11-24 23:01:59,505 INFO L202 MainTranslator]: Completed pre-run [2023-11-24 23:01:59,564 INFO L209 PostProcessor]: Analyzing one entry point: main [2023-11-24 23:01:59,610 WARN L675 CHandler]: The function release is called, but not defined or handled by StandardFunctionHandler. [2023-11-24 23:01:59,619 INFO L206 MainTranslator]: Completed translation [2023-11-24 23:01:59,620 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 11:01:59 WrapperNode [2023-11-24 23:01:59,620 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2023-11-24 23:01:59,621 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2023-11-24 23:01:59,621 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2023-11-24 23:01:59,621 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2023-11-24 23:01:59,630 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 11:01:59" (1/1) ... [2023-11-24 23:01:59,655 INFO L184 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 11:01:59" (1/1) ... [2023-11-24 23:01:59,677 INFO L138 Inliner]: procedures = 169, calls = 70, calls flagged for inlining = 31, calls inlined = 6, statements flattened = 31 [2023-11-24 23:01:59,678 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2023-11-24 23:01:59,678 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2023-11-24 23:01:59,679 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2023-11-24 23:01:59,679 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2023-11-24 23:01:59,689 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 11:01:59" (1/1) ... [2023-11-24 23:01:59,689 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 11:01:59" (1/1) ... [2023-11-24 23:01:59,693 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 11:01:59" (1/1) ... [2023-11-24 23:01:59,693 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 11:01:59" (1/1) ... [2023-11-24 23:01:59,700 INFO L184 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 11:01:59" (1/1) ... [2023-11-24 23:01:59,702 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 11:01:59" (1/1) ... [2023-11-24 23:01:59,704 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 11:01:59" (1/1) ... [2023-11-24 23:01:59,705 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 11:01:59" (1/1) ... [2023-11-24 23:01:59,708 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2023-11-24 23:01:59,709 INFO L112 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2023-11-24 23:01:59,710 INFO L270 PluginConnector]: Initializing RCFGBuilder... [2023-11-24 23:01:59,710 INFO L274 PluginConnector]: RCFGBuilder initialized [2023-11-24 23:01:59,711 INFO L184 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 11:01:59" (1/1) ... [2023-11-24 23:01:59,717 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2023-11-24 23:01:59,738 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_a6ccfe7f-f4bd-4ee7-8147-987e237546f8/bin/ukojak-verify-afCqCEvfdi/z3 [2023-11-24 23:01:59,762 INFO L229 MonitoredProcess]: Starting monitored process 1 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_a6ccfe7f-f4bd-4ee7-8147-987e237546f8/bin/ukojak-verify-afCqCEvfdi/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (exit command is (exit), workingDir is null) [2023-11-24 23:01:59,768 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_a6ccfe7f-f4bd-4ee7-8147-987e237546f8/bin/ukojak-verify-afCqCEvfdi/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (1)] Waiting until timeout for monitored process [2023-11-24 23:01:59,799 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnHeap [2023-11-24 23:01:59,799 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2023-11-24 23:01:59,799 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~$Pointer$ [2023-11-24 23:01:59,799 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2023-11-24 23:01:59,800 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2023-11-24 23:01:59,925 INFO L241 CfgBuilder]: Building ICFG [2023-11-24 23:01:59,928 INFO L267 CfgBuilder]: Building CFG for each procedure with an implementation [2023-11-24 23:02:00,047 INFO L282 CfgBuilder]: Performing block encoding [2023-11-24 23:02:00,189 INFO L304 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2023-11-24 23:02:00,189 INFO L309 CfgBuilder]: Removed 0 assume(true) statements. [2023-11-24 23:02:00,191 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 24.11 11:02:00 BoogieIcfgContainer [2023-11-24 23:02:00,191 INFO L131 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2023-11-24 23:02:00,192 INFO L112 PluginConnector]: ------------------------CodeCheck---------------------------- [2023-11-24 23:02:00,192 INFO L270 PluginConnector]: Initializing CodeCheck... [2023-11-24 23:02:00,216 INFO L274 PluginConnector]: CodeCheck initialized [2023-11-24 23:02:00,216 INFO L184 PluginConnector]: Executing the observer CodeCheckObserver from plugin CodeCheck for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 24.11 11:02:00" (1/1) ... [2023-11-24 23:02:00,228 INFO L160 PredicateUnifier]: Initialized classic predicate unifier [2023-11-24 23:02:00,282 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2023-11-24 23:02:00,289 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 4 states and 3 transitions. [2023-11-24 23:02:00,291 INFO L276 IsEmpty]: Start isEmpty. Operand 4 states and 3 transitions. [2023-11-24 23:02:00,295 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 3 [2023-11-24 23:02:00,296 INFO L423 CodeCheckObserver]: Error Path is FOUND. [2023-11-24 23:02:00,297 INFO L173 SolverBuilder]: Constructing external solver with command: cvc4 --incremental --print-success --lang smt [2023-11-24 23:02:00,297 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_a6ccfe7f-f4bd-4ee7-8147-987e237546f8/bin/ukojak-verify-afCqCEvfdi/cvc4 [2023-11-24 23:02:00,301 INFO L229 MonitoredProcess]: Starting monitored process 2 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_a6ccfe7f-f4bd-4ee7-8147-987e237546f8/bin/ukojak-verify-afCqCEvfdi/cvc4 --incremental --print-success --lang smt (exit command is (exit), workingDir is null) [2023-11-24 23:02:00,323 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_a6ccfe7f-f4bd-4ee7-8147-987e237546f8/bin/ukojak-verify-afCqCEvfdi/cvc4 --incremental --print-success --lang smt (2)] Waiting until timeout for monitored process [2023-11-24 23:02:00,481 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-11-24 23:02:00,482 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2023-11-24 23:02:00,529 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-11-24 23:02:00,596 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-11-24 23:02:00,596 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2023-11-24 23:02:00,610 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-11-24 23:02:00,622 ERROR L418 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_a6ccfe7f-f4bd-4ee7-8147-987e237546f8/bin/ukojak-verify-afCqCEvfdi/cvc4 --incremental --print-success --lang smt (2)] Exception during sending of exit command (exit): Broken pipe [2023-11-24 23:02:00,626 INFO L540 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_a6ccfe7f-f4bd-4ee7-8147-987e237546f8/bin/ukojak-verify-afCqCEvfdi/cvc4 --incremental --print-success --lang smt (2)] Forceful destruction successful, exit code 0 [2023-11-24 23:02:00,627 WARN L476 CodeCheckObserver]: This program is UNSAFE, Check terminated with 1 iterations. [2023-11-24 23:02:00,660 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck CFG 24.11 11:02:00 ImpRootNode [2023-11-24 23:02:00,661 INFO L131 PluginConnector]: ------------------------ END CodeCheck---------------------------- [2023-11-24 23:02:00,666 INFO L112 PluginConnector]: ------------------------Witness Printer---------------------------- [2023-11-24 23:02:00,666 INFO L270 PluginConnector]: Initializing Witness Printer... [2023-11-24 23:02:00,667 INFO L274 PluginConnector]: Witness Printer initialized [2023-11-24 23:02:00,667 INFO L184 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 24.11 11:02:00" (3/4) ... [2023-11-24 23:02:00,670 INFO L140 WitnessPrinter]: No result that supports witness generation found [2023-11-24 23:02:00,671 INFO L131 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2023-11-24 23:02:00,673 INFO L158 Benchmark]: Toolchain (without parser) took 1959.34ms. Allocated memory was 71.3MB in the beginning and 92.3MB in the end (delta: 21.0MB). Free memory was 45.9MB in the beginning and 64.9MB in the end (delta: -19.0MB). Peak memory consumption was 3.7MB. Max. memory is 16.1GB. [2023-11-24 23:02:00,674 INFO L158 Benchmark]: CDTParser took 7.44ms. Allocated memory is still 71.3MB. Free memory is still 47.2MB. There was no memory consumed. Max. memory is 16.1GB. [2023-11-24 23:02:00,675 INFO L158 Benchmark]: CACSL2BoogieTranslator took 905.49ms. Allocated memory was 71.3MB in the beginning and 92.3MB in the end (delta: 21.0MB). Free memory was 45.7MB in the beginning and 57.7MB in the end (delta: -12.0MB). Peak memory consumption was 15.6MB. Max. memory is 16.1GB. [2023-11-24 23:02:00,676 INFO L158 Benchmark]: Boogie Procedure Inliner took 56.72ms. Allocated memory is still 92.3MB. Free memory was 57.7MB in the beginning and 55.6MB in the end (delta: 2.1MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. [2023-11-24 23:02:00,677 INFO L158 Benchmark]: Boogie Preprocessor took 30.22ms. Allocated memory is still 92.3MB. Free memory was 55.0MB in the beginning and 53.8MB in the end (delta: 1.2MB). There was no memory consumed. Max. memory is 16.1GB. [2023-11-24 23:02:00,686 INFO L158 Benchmark]: RCFGBuilder took 481.94ms. Allocated memory is still 92.3MB. Free memory was 53.8MB in the beginning and 34.6MB in the end (delta: 19.2MB). Peak memory consumption was 18.9MB. Max. memory is 16.1GB. [2023-11-24 23:02:00,687 INFO L158 Benchmark]: CodeCheck took 469.48ms. Allocated memory is still 92.3MB. Free memory was 34.6MB in the beginning and 65.4MB in the end (delta: -30.8MB). There was no memory consumed. Max. memory is 16.1GB. [2023-11-24 23:02:00,687 INFO L158 Benchmark]: Witness Printer took 5.44ms. Allocated memory is still 92.3MB. Free memory was 65.4MB in the beginning and 64.9MB in the end (delta: 544.2kB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. [2023-11-24 23:02:00,696 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.4s, 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: 781]: Unable to prove that all allocated memory was freed Unable to prove that all allocated memory was freed Reason: overapproximation of memtrack at line 781. Possible FailurePath: [L569] struct ldv_list_head ldv_global_msg_list = { &(ldv_global_msg_list), &(ldv_global_msg_list) }; [L761] struct ldv_device *saved_device_20; [L782] CALL entry_point() [L778] CALL alloc_20() [L772] CALL, EXPR ldv_malloc(sizeof(struct A20)) [L526] COND TRUE __VERIFIER_nondet_int() [L527] return malloc(size); [L772] RET, EXPR ldv_malloc(sizeof(struct A20)) [L772] struct A20 *p = (struct A20*)ldv_malloc(sizeof(struct A20)); [L773] COND TRUE \read(*p) [L774] CALL ldv_register_device(&p->dev) [L763] saved_device_20 = dev [L774] RET ldv_register_device(&p->dev) [L778] RET alloc_20() [L779] saved_device_20 = 0 [L782] RET entry_point() * Results from de.uni_freiburg.informatik.ultimate.core: - StatisticsResult: Toolchain Benchmarks Benchmark results are: * CDTParser took 7.44ms. Allocated memory is still 71.3MB. Free memory is still 47.2MB. There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 905.49ms. Allocated memory was 71.3MB in the beginning and 92.3MB in the end (delta: 21.0MB). Free memory was 45.7MB in the beginning and 57.7MB in the end (delta: -12.0MB). Peak memory consumption was 15.6MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 56.72ms. Allocated memory is still 92.3MB. Free memory was 57.7MB in the beginning and 55.6MB in the end (delta: 2.1MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. * Boogie Preprocessor took 30.22ms. Allocated memory is still 92.3MB. Free memory was 55.0MB in the beginning and 53.8MB in the end (delta: 1.2MB). There was no memory consumed. Max. memory is 16.1GB. * RCFGBuilder took 481.94ms. Allocated memory is still 92.3MB. Free memory was 53.8MB in the beginning and 34.6MB in the end (delta: 19.2MB). Peak memory consumption was 18.9MB. Max. memory is 16.1GB. * CodeCheck took 469.48ms. Allocated memory is still 92.3MB. Free memory was 34.6MB in the beginning and 65.4MB in the end (delta: -30.8MB). There was no memory consumed. Max. memory is 16.1GB. * Witness Printer took 5.44ms. Allocated memory is still 92.3MB. Free memory was 65.4MB in the beginning and 64.9MB in the end (delta: 544.2kB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. RESULT: Ultimate could not prove your program: unable to determine feasibility of some traces [2023-11-24 23:02:00,720 INFO L540 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_a6ccfe7f-f4bd-4ee7-8147-987e237546f8/bin/ukojak-verify-afCqCEvfdi/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (1)] Forceful destruction successful, exit code 0 Received shutdown request... --- End real Ultimate output --- Execution finished normally Writing output log to file Ultimate.log Result: UNKNOWN: Overapproximated counterexample