./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_140c90a1-5e41-4574-935d-f593ceb73eb3/bin/ukojak-verify-Qdu7aM0XO9/data/config -Xmx15G -Xms4m -jar /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_140c90a1-5e41-4574-935d-f593ceb73eb3/bin/ukojak-verify-Qdu7aM0XO9/plugins/org.eclipse.equinox.launcher_1.5.800.v20200727-1323.jar -data @noDefault -ultimatedata /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_140c90a1-5e41-4574-935d-f593ceb73eb3/bin/ukojak-verify-Qdu7aM0XO9/data -tc /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_140c90a1-5e41-4574-935d-f593ceb73eb3/bin/ukojak-verify-Qdu7aM0XO9/config/KojakMemDerefMemtrack.xml -i ../../sv-benchmarks/c/ldv-memsafety/memleaks_test20-1.i -s /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_140c90a1-5e41-4574-935d-f593ceb73eb3/bin/ukojak-verify-Qdu7aM0XO9/config/svcomp-DerefFreeMemtrack-32bit-Kojak_Default.epf --cacsl2boogietranslator.entry.function main --witnessprinter.witness.directory /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_140c90a1-5e41-4574-935d-f593ceb73eb3/bin/ukojak-verify-Qdu7aM0XO9 --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-12-02 21:09:34,444 INFO L188 SettingsManager]: Resetting all preferences to default values... [2023-12-02 21:09:34,507 INFO L114 SettingsManager]: Loading settings from /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_140c90a1-5e41-4574-935d-f593ceb73eb3/bin/ukojak-verify-Qdu7aM0XO9/config/svcomp-DerefFreeMemtrack-32bit-Kojak_Default.epf [2023-12-02 21:09:34,511 WARN L101 SettingsManager]: Preference file contains the following unknown settings: [2023-12-02 21:09:34,512 WARN L103 SettingsManager]: * de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck.Interpolating solver [2023-12-02 21:09:34,533 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2023-12-02 21:09:34,534 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2023-12-02 21:09:34,534 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2023-12-02 21:09:34,535 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2023-12-02 21:09:34,535 INFO L153 SettingsManager]: * sizeof long=4 [2023-12-02 21:09:34,536 INFO L153 SettingsManager]: * Overapproximate operations on floating types=true [2023-12-02 21:09:34,536 INFO L153 SettingsManager]: * sizeof POINTER=4 [2023-12-02 21:09:34,537 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2023-12-02 21:09:34,537 INFO L153 SettingsManager]: * Check for the main procedure if all allocated memory was freed=true [2023-12-02 21:09:34,538 INFO L153 SettingsManager]: * Bitprecise bitfields=true [2023-12-02 21:09:34,538 INFO L153 SettingsManager]: * SV-COMP memtrack compatibility mode=true [2023-12-02 21:09:34,539 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2023-12-02 21:09:34,539 INFO L153 SettingsManager]: * Check unreachability of reach_error function=false [2023-12-02 21:09:34,540 INFO L153 SettingsManager]: * sizeof long double=12 [2023-12-02 21:09:34,540 INFO L153 SettingsManager]: * Use constant arrays=true [2023-12-02 21:09:34,541 INFO L151 SettingsManager]: Preferences of CodeCheck differ from their defaults: [2023-12-02 21:09:34,542 INFO L153 SettingsManager]: * Timeout in seconds=1000000 [2023-12-02 21:09:34,543 INFO L153 SettingsManager]: * Theory for external solver=ALL [2023-12-02 21:09:34,543 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2023-12-02 21:09:34,544 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2023-12-02 21:09:34,544 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2023-12-02 21:09:34,544 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2023-12-02 21:09:34,545 INFO L153 SettingsManager]: * Trace refinement strategy=PENGUIN [2023-12-02 21:09:34,545 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2023-12-02 21:09:34,545 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_140c90a1-5e41-4574-935d-f593ceb73eb3/bin/ukojak-verify-Qdu7aM0XO9/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_140c90a1-5e41-4574-935d-f593ceb73eb3/bin/ukojak-verify-Qdu7aM0XO9 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-12-02 21:09:34,746 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2023-12-02 21:09:34,767 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2023-12-02 21:09:34,770 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2023-12-02 21:09:34,771 INFO L270 PluginConnector]: Initializing CDTParser... [2023-12-02 21:09:34,772 INFO L274 PluginConnector]: CDTParser initialized [2023-12-02 21:09:34,773 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_140c90a1-5e41-4574-935d-f593ceb73eb3/bin/ukojak-verify-Qdu7aM0XO9/../../sv-benchmarks/c/ldv-memsafety/memleaks_test20-1.i [2023-12-02 21:09:37,548 INFO L533 CDTParser]: Created temporary CDT project at NULL [2023-12-02 21:09:37,788 INFO L384 CDTParser]: Found 1 translation units. [2023-12-02 21:09:37,789 INFO L180 CDTParser]: Scanning /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_140c90a1-5e41-4574-935d-f593ceb73eb3/sv-benchmarks/c/ldv-memsafety/memleaks_test20-1.i [2023-12-02 21:09:37,806 INFO L427 CDTParser]: About to delete temporary CDT project at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_140c90a1-5e41-4574-935d-f593ceb73eb3/bin/ukojak-verify-Qdu7aM0XO9/data/7ffa1c161/3291d7943c6f40aab68fb447c6fc428f/FLAGf7c2fa6bf [2023-12-02 21:09:37,822 INFO L435 CDTParser]: Successfully deleted /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_140c90a1-5e41-4574-935d-f593ceb73eb3/bin/ukojak-verify-Qdu7aM0XO9/data/7ffa1c161/3291d7943c6f40aab68fb447c6fc428f [2023-12-02 21:09:37,825 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2023-12-02 21:09:37,827 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2023-12-02 21:09:37,828 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2023-12-02 21:09:37,828 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2023-12-02 21:09:37,833 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2023-12-02 21:09:37,834 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 02.12 09:09:37" (1/1) ... [2023-12-02 21:09:37,836 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@22d864b2 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 02.12 09:09:37, skipping insertion in model container [2023-12-02 21:09:37,836 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 02.12 09:09:37" (1/1) ... [2023-12-02 21:09:37,886 INFO L177 MainTranslator]: Built tables and reachable declarations [2023-12-02 21:09:38,201 INFO L209 PostProcessor]: Analyzing one entry point: main [2023-12-02 21:09:38,219 INFO L202 MainTranslator]: Completed pre-run [2023-12-02 21:09:38,274 INFO L209 PostProcessor]: Analyzing one entry point: main [2023-12-02 21:09:38,311 WARN L675 CHandler]: The function release is called, but not defined or handled by StandardFunctionHandler. [2023-12-02 21:09:38,319 INFO L206 MainTranslator]: Completed translation [2023-12-02 21:09:38,319 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 02.12 09:09:38 WrapperNode [2023-12-02 21:09:38,320 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2023-12-02 21:09:38,321 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2023-12-02 21:09:38,321 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2023-12-02 21:09:38,321 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2023-12-02 21:09:38,328 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 02.12 09:09:38" (1/1) ... [2023-12-02 21:09:38,348 INFO L184 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 02.12 09:09:38" (1/1) ... [2023-12-02 21:09:38,369 INFO L138 Inliner]: procedures = 168, calls = 70, calls flagged for inlining = 31, calls inlined = 6, statements flattened = 31 [2023-12-02 21:09:38,369 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2023-12-02 21:09:38,370 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2023-12-02 21:09:38,370 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2023-12-02 21:09:38,370 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2023-12-02 21:09:38,379 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 02.12 09:09:38" (1/1) ... [2023-12-02 21:09:38,380 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 02.12 09:09:38" (1/1) ... [2023-12-02 21:09:38,382 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 02.12 09:09:38" (1/1) ... [2023-12-02 21:09:38,382 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 02.12 09:09:38" (1/1) ... [2023-12-02 21:09:38,387 INFO L184 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 02.12 09:09:38" (1/1) ... [2023-12-02 21:09:38,389 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 02.12 09:09:38" (1/1) ... [2023-12-02 21:09:38,390 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 02.12 09:09:38" (1/1) ... [2023-12-02 21:09:38,391 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 02.12 09:09:38" (1/1) ... [2023-12-02 21:09:38,393 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2023-12-02 21:09:38,394 INFO L112 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2023-12-02 21:09:38,394 INFO L270 PluginConnector]: Initializing RCFGBuilder... [2023-12-02 21:09:38,395 INFO L274 PluginConnector]: RCFGBuilder initialized [2023-12-02 21:09:38,395 INFO L184 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 02.12 09:09:38" (1/1) ... [2023-12-02 21:09:38,401 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2023-12-02 21:09:38,411 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_140c90a1-5e41-4574-935d-f593ceb73eb3/bin/ukojak-verify-Qdu7aM0XO9/z3 [2023-12-02 21:09:38,424 INFO L229 MonitoredProcess]: Starting monitored process 1 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_140c90a1-5e41-4574-935d-f593ceb73eb3/bin/ukojak-verify-Qdu7aM0XO9/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (exit command is (exit), workingDir is null) [2023-12-02 21:09:38,426 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_140c90a1-5e41-4574-935d-f593ceb73eb3/bin/ukojak-verify-Qdu7aM0XO9/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (1)] Waiting until timeout for monitored process [2023-12-02 21:09:38,457 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnHeap [2023-12-02 21:09:38,457 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2023-12-02 21:09:38,457 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~$Pointer$ [2023-12-02 21:09:38,457 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2023-12-02 21:09:38,458 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2023-12-02 21:09:38,571 INFO L241 CfgBuilder]: Building ICFG [2023-12-02 21:09:38,574 INFO L267 CfgBuilder]: Building CFG for each procedure with an implementation [2023-12-02 21:09:38,650 INFO L282 CfgBuilder]: Performing block encoding [2023-12-02 21:09:38,726 INFO L304 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2023-12-02 21:09:38,726 INFO L309 CfgBuilder]: Removed 0 assume(true) statements. [2023-12-02 21:09:38,728 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 02.12 09:09:38 BoogieIcfgContainer [2023-12-02 21:09:38,728 INFO L131 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2023-12-02 21:09:38,729 INFO L112 PluginConnector]: ------------------------CodeCheck---------------------------- [2023-12-02 21:09:38,729 INFO L270 PluginConnector]: Initializing CodeCheck... [2023-12-02 21:09:38,737 INFO L274 PluginConnector]: CodeCheck initialized [2023-12-02 21:09:38,737 INFO L184 PluginConnector]: Executing the observer CodeCheckObserver from plugin CodeCheck for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 02.12 09:09:38" (1/1) ... [2023-12-02 21:09:38,745 INFO L160 PredicateUnifier]: Initialized classic predicate unifier [2023-12-02 21:09:38,785 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2023-12-02 21:09:38,790 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 4 states and 3 transitions. [2023-12-02 21:09:38,790 INFO L276 IsEmpty]: Start isEmpty. Operand 4 states and 3 transitions. [2023-12-02 21:09:38,793 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 3 [2023-12-02 21:09:38,793 INFO L423 CodeCheckObserver]: Error Path is FOUND. [2023-12-02 21:09:38,793 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-12-02 21:09:38,893 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-12-02 21:09:38,894 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2023-12-02 21:09:38,913 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-12-02 21:09:38,959 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-12-02 21:09:38,960 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2023-12-02 21:09:38,971 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-12-02 21:09:38,981 WARN L476 CodeCheckObserver]: This program is UNSAFE, Check terminated with 1 iterations. [2023-12-02 21:09:38,998 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck CFG 02.12 09:09:38 ImpRootNode [2023-12-02 21:09:38,998 INFO L131 PluginConnector]: ------------------------ END CodeCheck---------------------------- [2023-12-02 21:09:38,998 INFO L112 PluginConnector]: ------------------------Witness Printer---------------------------- [2023-12-02 21:09:38,998 INFO L270 PluginConnector]: Initializing Witness Printer... [2023-12-02 21:09:38,999 INFO L274 PluginConnector]: Witness Printer initialized [2023-12-02 21:09:38,999 INFO L184 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 02.12 09:09:38" (3/4) ... [2023-12-02 21:09:39,001 INFO L140 WitnessPrinter]: No result that supports witness generation found [2023-12-02 21:09:39,002 INFO L131 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2023-12-02 21:09:39,003 INFO L158 Benchmark]: Toolchain (without parser) took 1176.05ms. Allocated memory is still 182.5MB. Free memory was 137.2MB in the beginning and 81.3MB in the end (delta: 55.8MB). Peak memory consumption was 54.5MB. Max. memory is 16.1GB. [2023-12-02 21:09:39,004 INFO L158 Benchmark]: CDTParser took 0.21ms. Allocated memory is still 121.6MB. Free memory is still 69.6MB. There was no memory consumed. Max. memory is 16.1GB. [2023-12-02 21:09:39,004 INFO L158 Benchmark]: CACSL2BoogieTranslator took 491.73ms. Allocated memory is still 182.5MB. Free memory was 136.5MB in the beginning and 114.8MB in the end (delta: 21.8MB). Peak memory consumption was 21.0MB. Max. memory is 16.1GB. [2023-12-02 21:09:39,005 INFO L158 Benchmark]: Boogie Procedure Inliner took 48.77ms. Allocated memory is still 182.5MB. Free memory was 114.8MB in the beginning and 112.7MB in the end (delta: 2.1MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. [2023-12-02 21:09:39,006 INFO L158 Benchmark]: Boogie Preprocessor took 23.44ms. Allocated memory is still 182.5MB. Free memory was 112.0MB in the beginning and 111.4MB in the end (delta: 654.9kB). There was no memory consumed. Max. memory is 16.1GB. [2023-12-02 21:09:39,006 INFO L158 Benchmark]: RCFGBuilder took 333.66ms. Allocated memory is still 182.5MB. Free memory was 111.4MB in the beginning and 95.2MB in the end (delta: 16.1MB). Peak memory consumption was 16.8MB. Max. memory is 16.1GB. [2023-12-02 21:09:39,007 INFO L158 Benchmark]: CodeCheck took 268.97ms. Allocated memory is still 182.5MB. Free memory was 95.2MB in the beginning and 82.0MB in the end (delta: 13.2MB). Peak memory consumption was 12.6MB. Max. memory is 16.1GB. [2023-12-02 21:09:39,007 INFO L158 Benchmark]: Witness Printer took 4.02ms. Allocated memory is still 182.5MB. Free memory was 82.0MB in the beginning and 81.3MB in the end (delta: 654.9kB). There was no memory consumed. Max. memory is 16.1GB. [2023-12-02 21:09:39,011 INFO L338 ainManager$Toolchain]: ####################### End [Toolchain 1] ####################### --- Results --- * Results from de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck: - StatisticsResult: Ultimate CodeCheck benchmark data CFG has 1 procedures, 4 locations, 1 error locations. Started 1 CEGAR loops. OverallTime: 0.2s, OverallIterations: 1, TraceHistogramMax: 0, PathProgramHistogramMax: 0, EmptinessCheckTime: 0.0s, AutomataDifference: 0.0s, DeadEndRemovalTime: 0.0s, HoareAnnotationTime: 0.0s, InitialAbstractionConstructionTime: 0.0s, HoareTripleCheckerStatistics: , PredicateUnifierStatistics: 0 DeclaredPredicates, 0 GetRequests, 0 SyntacticMatches, 0 SemanticMatches, 0 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 0 ImplicationChecksByTransitivity, 0.0s Time, 0.0s BasicInterpolantAutomatonTime, BiggestAbstraction: size=-1occurred in iteration=-1, InterpolantAutomatonStates: 0, traceCheckStatistics: 0.0s SsaConstructionTime, 0.0s SatisfiabilityAnalysisTime, 0.0s InterpolantComputationTime, 2 NumberOfCodeBlocks, 2 NumberOfCodeBlocksAsserted, 1 NumberOfCheckSat, 0 ConstructedInterpolants, 0 QuantifiedInterpolants, 0 SizeOfPredicates, 0 NumberOfNonLiveVariables, 0 ConjunctsInSsa, 0 ConjunctsInUnsatCore, 0 InterpolantComputations, 0 PerfectInterpolantSequences, 0/0 InterpolantCoveringCapability, InterpolantConsolidationStatistics: No data available, PathInvariantsStatistics: No data available, 0/0 InterpolantCoveringCapability, TotalInterpolationStatistics: No data available, 0.0s DumpTime, AutomataMinimizationStatistics: No data available, HoareAnnotationStatistics: No data available, RefinementEngineStatistics: No data available, ReuseStatistics: No data available - 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.21ms. Allocated memory is still 121.6MB. Free memory is still 69.6MB. There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 491.73ms. Allocated memory is still 182.5MB. Free memory was 136.5MB in the beginning and 114.8MB in the end (delta: 21.8MB). Peak memory consumption was 21.0MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 48.77ms. Allocated memory is still 182.5MB. Free memory was 114.8MB in the beginning and 112.7MB in the end (delta: 2.1MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. * Boogie Preprocessor took 23.44ms. Allocated memory is still 182.5MB. Free memory was 112.0MB in the beginning and 111.4MB in the end (delta: 654.9kB). There was no memory consumed. Max. memory is 16.1GB. * RCFGBuilder took 333.66ms. Allocated memory is still 182.5MB. Free memory was 111.4MB in the beginning and 95.2MB in the end (delta: 16.1MB). Peak memory consumption was 16.8MB. Max. memory is 16.1GB. * CodeCheck took 268.97ms. Allocated memory is still 182.5MB. Free memory was 95.2MB in the beginning and 82.0MB in the end (delta: 13.2MB). Peak memory consumption was 12.6MB. Max. memory is 16.1GB. * Witness Printer took 4.02ms. Allocated memory is still 182.5MB. Free memory was 82.0MB in the beginning and 81.3MB in the end (delta: 654.9kB). There was no memory consumed. Max. memory is 16.1GB. RESULT: Ultimate could not prove your program: unable to determine feasibility of some traces [2023-12-02 21:09:39,036 INFO L540 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_140c90a1-5e41-4574-935d-f593ceb73eb3/bin/ukojak-verify-Qdu7aM0XO9/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_140c90a1-5e41-4574-935d-f593ceb73eb3/bin/ukojak-verify-Qdu7aM0XO9/data/config -Xmx15G -Xms4m -jar /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_140c90a1-5e41-4574-935d-f593ceb73eb3/bin/ukojak-verify-Qdu7aM0XO9/plugins/org.eclipse.equinox.launcher_1.5.800.v20200727-1323.jar -data @noDefault -ultimatedata /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_140c90a1-5e41-4574-935d-f593ceb73eb3/bin/ukojak-verify-Qdu7aM0XO9/data -tc /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_140c90a1-5e41-4574-935d-f593ceb73eb3/bin/ukojak-verify-Qdu7aM0XO9/config/KojakMemDerefMemtrack.xml -i ../../sv-benchmarks/c/ldv-memsafety/memleaks_test20-1.i -s /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_140c90a1-5e41-4574-935d-f593ceb73eb3/bin/ukojak-verify-Qdu7aM0XO9/config/svcomp-DerefFreeMemtrack-32bit-Kojak_Bitvector.epf --cacsl2boogietranslator.entry.function main --witnessprinter.witness.directory /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_140c90a1-5e41-4574-935d-f593ceb73eb3/bin/ukojak-verify-Qdu7aM0XO9 --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-12-02 21:09:40,891 INFO L188 SettingsManager]: Resetting all preferences to default values... [2023-12-02 21:09:40,969 INFO L114 SettingsManager]: Loading settings from /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_140c90a1-5e41-4574-935d-f593ceb73eb3/bin/ukojak-verify-Qdu7aM0XO9/config/svcomp-DerefFreeMemtrack-32bit-Kojak_Bitvector.epf [2023-12-02 21:09:41,002 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2023-12-02 21:09:41,003 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2023-12-02 21:09:41,003 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2023-12-02 21:09:41,004 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2023-12-02 21:09:41,005 INFO L153 SettingsManager]: * sizeof long=4 [2023-12-02 21:09:41,005 INFO L153 SettingsManager]: * Overapproximate operations on floating types=true [2023-12-02 21:09:41,006 INFO L153 SettingsManager]: * sizeof POINTER=4 [2023-12-02 21:09:41,006 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2023-12-02 21:09:41,007 INFO L153 SettingsManager]: * Check for the main procedure if all allocated memory was freed=true [2023-12-02 21:09:41,007 INFO L153 SettingsManager]: * Bitprecise bitfields=true [2023-12-02 21:09:41,008 INFO L153 SettingsManager]: * SV-COMP memtrack compatibility mode=true [2023-12-02 21:09:41,008 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2023-12-02 21:09:41,009 INFO L153 SettingsManager]: * Adapt memory model on pointer casts if necessary=true [2023-12-02 21:09:41,009 INFO L153 SettingsManager]: * Use bitvectors instead of ints=true [2023-12-02 21:09:41,010 INFO L153 SettingsManager]: * Memory model=HoenickeLindenmann_4ByteResolution [2023-12-02 21:09:41,010 INFO L153 SettingsManager]: * Check unreachability of reach_error function=false [2023-12-02 21:09:41,011 INFO L153 SettingsManager]: * sizeof long double=12 [2023-12-02 21:09:41,011 INFO L153 SettingsManager]: * Use constant arrays=true [2023-12-02 21:09:41,012 INFO L151 SettingsManager]: Preferences of CodeCheck differ from their defaults: [2023-12-02 21:09:41,013 INFO L153 SettingsManager]: * Timeout in seconds=1000000 [2023-12-02 21:09:41,013 INFO L153 SettingsManager]: * Theory for external solver=ALL [2023-12-02 21:09:41,014 INFO L153 SettingsManager]: * Command for calling external solver=cvc4 --incremental --print-success --lang smt [2023-12-02 21:09:41,014 INFO L153 SettingsManager]: * Choose which separate solver to use for tracechecks=External_ModelsAndUnsatCoreMode [2023-12-02 21:09:41,015 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2023-12-02 21:09:41,015 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2023-12-02 21:09:41,016 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2023-12-02 21:09:41,016 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2023-12-02 21:09:41,017 INFO L153 SettingsManager]: * Trace refinement strategy=WALRUS [2023-12-02 21:09:41,017 INFO L153 SettingsManager]: * Command for external solver=cvc4 --incremental --print-success --lang smt [2023-12-02 21:09:41,017 INFO L153 SettingsManager]: * Use separate solver for trace checks=false [2023-12-02 21:09:41,017 INFO L153 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode [2023-12-02 21:09:41,018 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_140c90a1-5e41-4574-935d-f593ceb73eb3/bin/ukojak-verify-Qdu7aM0XO9/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_140c90a1-5e41-4574-935d-f593ceb73eb3/bin/ukojak-verify-Qdu7aM0XO9 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-12-02 21:09:41,309 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2023-12-02 21:09:41,328 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2023-12-02 21:09:41,331 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2023-12-02 21:09:41,332 INFO L270 PluginConnector]: Initializing CDTParser... [2023-12-02 21:09:41,332 INFO L274 PluginConnector]: CDTParser initialized [2023-12-02 21:09:41,334 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_140c90a1-5e41-4574-935d-f593ceb73eb3/bin/ukojak-verify-Qdu7aM0XO9/../../sv-benchmarks/c/ldv-memsafety/memleaks_test20-1.i [2023-12-02 21:09:44,092 INFO L533 CDTParser]: Created temporary CDT project at NULL [2023-12-02 21:09:44,368 INFO L384 CDTParser]: Found 1 translation units. [2023-12-02 21:09:44,369 INFO L180 CDTParser]: Scanning /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_140c90a1-5e41-4574-935d-f593ceb73eb3/sv-benchmarks/c/ldv-memsafety/memleaks_test20-1.i [2023-12-02 21:09:44,385 INFO L427 CDTParser]: About to delete temporary CDT project at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_140c90a1-5e41-4574-935d-f593ceb73eb3/bin/ukojak-verify-Qdu7aM0XO9/data/10e53d94a/c46834b044c94080a4e99809828c874b/FLAGde8439565 [2023-12-02 21:09:44,396 INFO L435 CDTParser]: Successfully deleted /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_140c90a1-5e41-4574-935d-f593ceb73eb3/bin/ukojak-verify-Qdu7aM0XO9/data/10e53d94a/c46834b044c94080a4e99809828c874b [2023-12-02 21:09:44,398 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2023-12-02 21:09:44,400 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2023-12-02 21:09:44,401 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2023-12-02 21:09:44,401 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2023-12-02 21:09:44,404 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2023-12-02 21:09:44,405 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 02.12 09:09:44" (1/1) ... [2023-12-02 21:09:44,406 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@428e507d and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 02.12 09:09:44, skipping insertion in model container [2023-12-02 21:09:44,406 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 02.12 09:09:44" (1/1) ... [2023-12-02 21:09:44,460 INFO L177 MainTranslator]: Built tables and reachable declarations [2023-12-02 21:09:44,812 INFO L209 PostProcessor]: Analyzing one entry point: main [2023-12-02 21:09:44,832 INFO L199 MainTranslator]: Restarting translation with changed settings: SettingsChange [mNewPreferredMemoryModel=HoenickeLindenmann_1ByteResolution] [2023-12-02 21:09:44,853 INFO L177 MainTranslator]: Built tables and reachable declarations [2023-12-02 21:09:44,895 INFO L209 PostProcessor]: Analyzing one entry point: main [2023-12-02 21:09:44,902 INFO L202 MainTranslator]: Completed pre-run [2023-12-02 21:09:44,947 INFO L209 PostProcessor]: Analyzing one entry point: main [2023-12-02 21:09:44,989 WARN L675 CHandler]: The function release is called, but not defined or handled by StandardFunctionHandler. [2023-12-02 21:09:44,997 INFO L206 MainTranslator]: Completed translation [2023-12-02 21:09:44,997 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 02.12 09:09:44 WrapperNode [2023-12-02 21:09:44,997 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2023-12-02 21:09:44,998 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2023-12-02 21:09:44,998 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2023-12-02 21:09:44,999 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2023-12-02 21:09:45,006 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 02.12 09:09:44" (1/1) ... [2023-12-02 21:09:45,029 INFO L184 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 02.12 09:09:44" (1/1) ... [2023-12-02 21:09:45,050 INFO L138 Inliner]: procedures = 169, calls = 70, calls flagged for inlining = 31, calls inlined = 6, statements flattened = 31 [2023-12-02 21:09:45,051 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2023-12-02 21:09:45,052 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2023-12-02 21:09:45,052 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2023-12-02 21:09:45,052 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2023-12-02 21:09:45,062 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 02.12 09:09:44" (1/1) ... [2023-12-02 21:09:45,062 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 02.12 09:09:44" (1/1) ... [2023-12-02 21:09:45,065 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 02.12 09:09:44" (1/1) ... [2023-12-02 21:09:45,065 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 02.12 09:09:44" (1/1) ... [2023-12-02 21:09:45,071 INFO L184 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 02.12 09:09:44" (1/1) ... [2023-12-02 21:09:45,073 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 02.12 09:09:44" (1/1) ... [2023-12-02 21:09:45,074 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 02.12 09:09:44" (1/1) ... [2023-12-02 21:09:45,076 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 02.12 09:09:44" (1/1) ... [2023-12-02 21:09:45,079 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2023-12-02 21:09:45,080 INFO L112 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2023-12-02 21:09:45,080 INFO L270 PluginConnector]: Initializing RCFGBuilder... [2023-12-02 21:09:45,080 INFO L274 PluginConnector]: RCFGBuilder initialized [2023-12-02 21:09:45,081 INFO L184 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 02.12 09:09:44" (1/1) ... [2023-12-02 21:09:45,086 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2023-12-02 21:09:45,098 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_140c90a1-5e41-4574-935d-f593ceb73eb3/bin/ukojak-verify-Qdu7aM0XO9/z3 [2023-12-02 21:09:45,108 INFO L229 MonitoredProcess]: Starting monitored process 1 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_140c90a1-5e41-4574-935d-f593ceb73eb3/bin/ukojak-verify-Qdu7aM0XO9/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (exit command is (exit), workingDir is null) [2023-12-02 21:09:45,115 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_140c90a1-5e41-4574-935d-f593ceb73eb3/bin/ukojak-verify-Qdu7aM0XO9/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (1)] Waiting until timeout for monitored process [2023-12-02 21:09:45,147 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnHeap [2023-12-02 21:09:45,147 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2023-12-02 21:09:45,147 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~$Pointer$ [2023-12-02 21:09:45,147 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2023-12-02 21:09:45,148 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2023-12-02 21:09:45,279 INFO L241 CfgBuilder]: Building ICFG [2023-12-02 21:09:45,281 INFO L267 CfgBuilder]: Building CFG for each procedure with an implementation [2023-12-02 21:09:45,375 INFO L282 CfgBuilder]: Performing block encoding [2023-12-02 21:09:45,466 INFO L304 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2023-12-02 21:09:45,466 INFO L309 CfgBuilder]: Removed 0 assume(true) statements. [2023-12-02 21:09:45,468 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 02.12 09:09:45 BoogieIcfgContainer [2023-12-02 21:09:45,468 INFO L131 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2023-12-02 21:09:45,469 INFO L112 PluginConnector]: ------------------------CodeCheck---------------------------- [2023-12-02 21:09:45,469 INFO L270 PluginConnector]: Initializing CodeCheck... [2023-12-02 21:09:45,479 INFO L274 PluginConnector]: CodeCheck initialized [2023-12-02 21:09:45,479 INFO L184 PluginConnector]: Executing the observer CodeCheckObserver from plugin CodeCheck for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 02.12 09:09:45" (1/1) ... [2023-12-02 21:09:45,487 INFO L160 PredicateUnifier]: Initialized classic predicate unifier [2023-12-02 21:09:45,532 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2023-12-02 21:09:45,538 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 4 states and 3 transitions. [2023-12-02 21:09:45,538 INFO L276 IsEmpty]: Start isEmpty. Operand 4 states and 3 transitions. [2023-12-02 21:09:45,540 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 3 [2023-12-02 21:09:45,540 INFO L423 CodeCheckObserver]: Error Path is FOUND. [2023-12-02 21:09:45,541 INFO L173 SolverBuilder]: Constructing external solver with command: cvc4 --incremental --print-success --lang smt [2023-12-02 21:09:45,541 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_140c90a1-5e41-4574-935d-f593ceb73eb3/bin/ukojak-verify-Qdu7aM0XO9/cvc4 [2023-12-02 21:09:45,542 INFO L229 MonitoredProcess]: Starting monitored process 2 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_140c90a1-5e41-4574-935d-f593ceb73eb3/bin/ukojak-verify-Qdu7aM0XO9/cvc4 --incremental --print-success --lang smt (exit command is (exit), workingDir is null) [2023-12-02 21:09:45,544 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_140c90a1-5e41-4574-935d-f593ceb73eb3/bin/ukojak-verify-Qdu7aM0XO9/cvc4 --incremental --print-success --lang smt (2)] Waiting until timeout for monitored process [2023-12-02 21:09:45,659 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-12-02 21:09:45,659 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2023-12-02 21:09:45,693 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-12-02 21:09:45,736 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-12-02 21:09:45,736 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2023-12-02 21:09:45,748 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-12-02 21:09:45,760 ERROR L418 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_140c90a1-5e41-4574-935d-f593ceb73eb3/bin/ukojak-verify-Qdu7aM0XO9/cvc4 --incremental --print-success --lang smt (2)] Exception during sending of exit command (exit): Broken pipe [2023-12-02 21:09:45,765 INFO L540 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_140c90a1-5e41-4574-935d-f593ceb73eb3/bin/ukojak-verify-Qdu7aM0XO9/cvc4 --incremental --print-success --lang smt (2)] Forceful destruction successful, exit code 0 [2023-12-02 21:09:45,766 WARN L476 CodeCheckObserver]: This program is UNSAFE, Check terminated with 1 iterations. [2023-12-02 21:09:45,783 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck CFG 02.12 09:09:45 ImpRootNode [2023-12-02 21:09:45,784 INFO L131 PluginConnector]: ------------------------ END CodeCheck---------------------------- [2023-12-02 21:09:45,784 INFO L112 PluginConnector]: ------------------------Witness Printer---------------------------- [2023-12-02 21:09:45,784 INFO L270 PluginConnector]: Initializing Witness Printer... [2023-12-02 21:09:45,785 INFO L274 PluginConnector]: Witness Printer initialized [2023-12-02 21:09:45,785 INFO L184 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 02.12 09:09:45" (3/4) ... [2023-12-02 21:09:45,787 INFO L140 WitnessPrinter]: No result that supports witness generation found [2023-12-02 21:09:45,788 INFO L131 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2023-12-02 21:09:45,789 INFO L158 Benchmark]: Toolchain (without parser) took 1389.12ms. Allocated memory is still 130.0MB. Free memory was 104.8MB in the beginning and 80.8MB in the end (delta: 24.0MB). Peak memory consumption was 25.7MB. Max. memory is 16.1GB. [2023-12-02 21:09:45,789 INFO L158 Benchmark]: CDTParser took 0.32ms. Allocated memory is still 65.0MB. Free memory was 41.4MB in the beginning and 41.3MB in the end (delta: 81.7kB). There was no memory consumed. Max. memory is 16.1GB. [2023-12-02 21:09:45,790 INFO L158 Benchmark]: CACSL2BoogieTranslator took 597.03ms. Allocated memory is still 130.0MB. Free memory was 104.8MB in the beginning and 75.9MB in the end (delta: 28.9MB). Peak memory consumption was 27.3MB. Max. memory is 16.1GB. [2023-12-02 21:09:45,791 INFO L158 Benchmark]: Boogie Procedure Inliner took 52.64ms. Allocated memory is still 130.0MB. Free memory was 75.9MB in the beginning and 73.8MB in the end (delta: 2.1MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. [2023-12-02 21:09:45,791 INFO L158 Benchmark]: Boogie Preprocessor took 27.53ms. Allocated memory is still 130.0MB. Free memory was 73.8MB in the beginning and 72.2MB in the end (delta: 1.6MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. [2023-12-02 21:09:45,792 INFO L158 Benchmark]: RCFGBuilder took 388.43ms. Allocated memory is still 130.0MB. Free memory was 72.2MB in the beginning and 93.4MB in the end (delta: -21.2MB). Peak memory consumption was 11.0MB. Max. memory is 16.1GB. [2023-12-02 21:09:45,792 INFO L158 Benchmark]: CodeCheck took 314.76ms. Allocated memory is still 130.0MB. Free memory was 93.4MB in the beginning and 80.8MB in the end (delta: 12.6MB). Peak memory consumption was 12.6MB. Max. memory is 16.1GB. [2023-12-02 21:09:45,793 INFO L158 Benchmark]: Witness Printer took 3.89ms. Allocated memory is still 130.0MB. Free memory is still 80.8MB. There was no memory consumed. Max. memory is 16.1GB. [2023-12-02 21:09:45,796 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: 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.32ms. Allocated memory is still 65.0MB. Free memory was 41.4MB in the beginning and 41.3MB in the end (delta: 81.7kB). There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 597.03ms. Allocated memory is still 130.0MB. Free memory was 104.8MB in the beginning and 75.9MB in the end (delta: 28.9MB). Peak memory consumption was 27.3MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 52.64ms. Allocated memory is still 130.0MB. Free memory was 75.9MB in the beginning and 73.8MB in the end (delta: 2.1MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. * Boogie Preprocessor took 27.53ms. Allocated memory is still 130.0MB. Free memory was 73.8MB in the beginning and 72.2MB in the end (delta: 1.6MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. * RCFGBuilder took 388.43ms. Allocated memory is still 130.0MB. Free memory was 72.2MB in the beginning and 93.4MB in the end (delta: -21.2MB). Peak memory consumption was 11.0MB. Max. memory is 16.1GB. * CodeCheck took 314.76ms. Allocated memory is still 130.0MB. Free memory was 93.4MB in the beginning and 80.8MB in the end (delta: 12.6MB). Peak memory consumption was 12.6MB. Max. memory is 16.1GB. * Witness Printer took 3.89ms. Allocated memory is still 130.0MB. Free memory is still 80.8MB. There was no memory consumed. Max. memory is 16.1GB. RESULT: Ultimate could not prove your program: unable to determine feasibility of some traces [2023-12-02 21:09:45,813 INFO L552 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_140c90a1-5e41-4574-935d-f593ceb73eb3/bin/ukojak-verify-Qdu7aM0XO9/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