./Ultimate.py --spec ../../sv-benchmarks/c/properties/valid-memsafety.prp --file ../../sv-benchmarks/c/ldv-memsafety/memleaks_test9_2.i --full-output --architecture 32bit -------------------------------------------------------------------------------- Checking for memory safety (deref-memtrack) Using default analysis Version d790fecc Calling Ultimate with: /usr/bin/java -Dosgi.configuration.area=/tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_fba2c0d6-39d8-48a2-ae06-e66d4a535f2f/bin/ukojak-verify-ENZ3QT5qd3/data/config -Xmx15G -Xms4m -jar /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_fba2c0d6-39d8-48a2-ae06-e66d4a535f2f/bin/ukojak-verify-ENZ3QT5qd3/plugins/org.eclipse.equinox.launcher_1.6.800.v20240513-1750.jar -data @noDefault -ultimatedata /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_fba2c0d6-39d8-48a2-ae06-e66d4a535f2f/bin/ukojak-verify-ENZ3QT5qd3/data -tc /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_fba2c0d6-39d8-48a2-ae06-e66d4a535f2f/bin/ukojak-verify-ENZ3QT5qd3/config/KojakMemDerefMemtrack.xml -i ../../sv-benchmarks/c/ldv-memsafety/memleaks_test9_2.i -s /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_fba2c0d6-39d8-48a2-ae06-e66d4a535f2f/bin/ukojak-verify-ENZ3QT5qd3/config/svcomp-DerefFreeMemtrack-32bit-Kojak_Default.epf --cacsl2boogietranslator.entry.function main --witnessprinter.witness.directory /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_fba2c0d6-39d8-48a2-ae06-e66d4a535f2f/bin/ukojak-verify-ENZ3QT5qd3 --witnessprinter.witness.filename witness --witnessprinter.write.witness.besides.input.file false --witnessprinter.graph.data.specification CHECK( init(main()), LTL(G valid-free) ) CHECK( init(main()), LTL(G valid-deref) ) CHECK( init(main()), LTL(G valid-memtrack) ) --witnessprinter.graph.data.producer Kojak --witnessprinter.graph.data.architecture 32bit --witnessprinter.graph.data.programhash b2c0c3bb235b3cb9b743b5348761a25c330a62218c7855ae61dc6807c2962177 --- Real Ultimate output --- This is Ultimate 0.3.0-dev-d790fec [2024-11-24 18:20:53,280 INFO L188 SettingsManager]: Resetting all preferences to default values... [2024-11-24 18:20:53,388 INFO L114 SettingsManager]: Loading settings from /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_fba2c0d6-39d8-48a2-ae06-e66d4a535f2f/bin/ukojak-verify-ENZ3QT5qd3/config/svcomp-DerefFreeMemtrack-32bit-Kojak_Default.epf [2024-11-24 18:20:53,395 WARN L101 SettingsManager]: Preference file contains the following unknown settings: [2024-11-24 18:20:53,395 WARN L103 SettingsManager]: * de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck.Interpolating solver [2024-11-24 18:20:53,449 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2024-11-24 18:20:53,453 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2024-11-24 18:20:53,454 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2024-11-24 18:20:53,455 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2024-11-24 18:20:53,455 INFO L153 SettingsManager]: * sizeof long=4 [2024-11-24 18:20:53,457 INFO L153 SettingsManager]: * Overapproximate operations on floating types=true [2024-11-24 18:20:53,457 INFO L153 SettingsManager]: * sizeof POINTER=4 [2024-11-24 18:20:53,457 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2024-11-24 18:20:53,457 INFO L153 SettingsManager]: * Check for the main procedure if all allocated memory was freed=true [2024-11-24 18:20:53,457 INFO L153 SettingsManager]: * Bitprecise bitfields=true [2024-11-24 18:20:53,457 INFO L153 SettingsManager]: * SV-COMP memtrack compatibility mode=true [2024-11-24 18:20:53,457 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2024-11-24 18:20:53,457 INFO L153 SettingsManager]: * Check unreachability of reach_error function=false [2024-11-24 18:20:53,458 INFO L153 SettingsManager]: * sizeof long double=12 [2024-11-24 18:20:53,458 INFO L153 SettingsManager]: * Behaviour of calls to undefined functions=OVERAPPROXIMATE_BEHAVIOUR [2024-11-24 18:20:53,458 INFO L153 SettingsManager]: * Use constant arrays=true [2024-11-24 18:20:53,459 INFO L151 SettingsManager]: Preferences of CodeCheck differ from their defaults: [2024-11-24 18:20:53,459 INFO L153 SettingsManager]: * Timeout in seconds=1000000 [2024-11-24 18:20:53,459 INFO L153 SettingsManager]: * Theory for external solver=ALL [2024-11-24 18:20:53,460 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2024-11-24 18:20:53,460 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2024-11-24 18:20:53,460 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2024-11-24 18:20:53,460 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2024-11-24 18:20:53,460 INFO L153 SettingsManager]: * Trace refinement strategy=PENGUIN [2024-11-24 18:20:53,461 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2024-11-24 18:20:53,461 INFO L153 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode Applying setting for plugin de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator: Entry function -> main Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Witness directory -> /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_fba2c0d6-39d8-48a2-ae06-e66d4a535f2f/bin/ukojak-verify-ENZ3QT5qd3 Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Witness filename -> witness Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Write witness besides input file -> false Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data specification -> CHECK( init(main()), LTL(G valid-free) ) CHECK( init(main()), LTL(G valid-deref) ) CHECK( init(main()), LTL(G valid-memtrack) ) Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data producer -> Kojak Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data architecture -> 32bit Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data programhash -> b2c0c3bb235b3cb9b743b5348761a25c330a62218c7855ae61dc6807c2962177 [2024-11-24 18:20:53,902 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2024-11-24 18:20:53,917 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2024-11-24 18:20:53,922 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2024-11-24 18:20:53,924 INFO L270 PluginConnector]: Initializing CDTParser... [2024-11-24 18:20:53,925 INFO L274 PluginConnector]: CDTParser initialized [2024-11-24 18:20:53,927 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_fba2c0d6-39d8-48a2-ae06-e66d4a535f2f/bin/ukojak-verify-ENZ3QT5qd3/../../sv-benchmarks/c/ldv-memsafety/memleaks_test9_2.i [2024-11-24 18:20:57,844 INFO L533 CDTParser]: Created temporary CDT project at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_fba2c0d6-39d8-48a2-ae06-e66d4a535f2f/bin/ukojak-verify-ENZ3QT5qd3/data/dd184b44e/95cc636888bd46b38b90a9e23de367ed/FLAG1d2dc2b0b [2024-11-24 18:20:58,404 INFO L384 CDTParser]: Found 1 translation units. [2024-11-24 18:20:58,405 INFO L180 CDTParser]: Scanning /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_fba2c0d6-39d8-48a2-ae06-e66d4a535f2f/sv-benchmarks/c/ldv-memsafety/memleaks_test9_2.i [2024-11-24 18:20:58,423 INFO L427 CDTParser]: About to delete temporary CDT project at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_fba2c0d6-39d8-48a2-ae06-e66d4a535f2f/bin/ukojak-verify-ENZ3QT5qd3/data/dd184b44e/95cc636888bd46b38b90a9e23de367ed/FLAG1d2dc2b0b [2024-11-24 18:20:58,944 INFO L435 CDTParser]: Successfully deleted /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_fba2c0d6-39d8-48a2-ae06-e66d4a535f2f/bin/ukojak-verify-ENZ3QT5qd3/data/dd184b44e/95cc636888bd46b38b90a9e23de367ed [2024-11-24 18:20:58,947 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2024-11-24 18:20:58,949 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2024-11-24 18:20:58,951 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2024-11-24 18:20:58,952 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2024-11-24 18:20:58,958 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2024-11-24 18:20:58,959 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 24.11 06:20:58" (1/1) ... [2024-11-24 18:20:58,961 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@72f509d and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 06:20:58, skipping insertion in model container [2024-11-24 18:20:58,961 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 24.11 06:20:58" (1/1) ... [2024-11-24 18:20:59,015 INFO L175 MainTranslator]: Built tables and reachable declarations [2024-11-24 18:20:59,597 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-24 18:20:59,623 INFO L200 MainTranslator]: Completed pre-run [2024-11-24 18:20:59,698 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-24 18:20:59,740 INFO L204 MainTranslator]: Completed translation [2024-11-24 18:20:59,741 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 06:20:59 WrapperNode [2024-11-24 18:20:59,741 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2024-11-24 18:20:59,742 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2024-11-24 18:20:59,742 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2024-11-24 18:20:59,743 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2024-11-24 18:20:59,750 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 06:20:59" (1/1) ... [2024-11-24 18:20:59,781 INFO L184 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 06:20:59" (1/1) ... [2024-11-24 18:20:59,817 INFO L138 Inliner]: procedures = 165, calls = 69, calls flagged for inlining = 30, calls inlined = 5, statements flattened = 35 [2024-11-24 18:20:59,819 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2024-11-24 18:20:59,820 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2024-11-24 18:20:59,820 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2024-11-24 18:20:59,820 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2024-11-24 18:20:59,831 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 06:20:59" (1/1) ... [2024-11-24 18:20:59,831 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 06:20:59" (1/1) ... [2024-11-24 18:20:59,834 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 06:20:59" (1/1) ... [2024-11-24 18:20:59,837 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 06:20:59" (1/1) ... [2024-11-24 18:20:59,842 INFO L184 PluginConnector]: Executing the observer ReplaceArrayAssignments from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 06:20:59" (1/1) ... [2024-11-24 18:20:59,843 INFO L184 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 06:20:59" (1/1) ... [2024-11-24 18:20:59,846 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 06:20:59" (1/1) ... [2024-11-24 18:20:59,847 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 06:20:59" (1/1) ... [2024-11-24 18:20:59,848 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 06:20:59" (1/1) ... [2024-11-24 18:20:59,850 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2024-11-24 18:20:59,852 INFO L112 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2024-11-24 18:20:59,852 INFO L270 PluginConnector]: Initializing RCFGBuilder... [2024-11-24 18:20:59,853 INFO L274 PluginConnector]: RCFGBuilder initialized [2024-11-24 18:20:59,854 INFO L184 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 06:20:59" (1/1) ... [2024-11-24 18:20:59,862 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2024-11-24 18:20:59,883 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_fba2c0d6-39d8-48a2-ae06-e66d4a535f2f/bin/ukojak-verify-ENZ3QT5qd3/z3 [2024-11-24 18:20:59,899 INFO L229 MonitoredProcess]: Starting monitored process 1 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_fba2c0d6-39d8-48a2-ae06-e66d4a535f2f/bin/ukojak-verify-ENZ3QT5qd3/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (exit command is (exit), workingDir is null) [2024-11-24 18:20:59,904 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_fba2c0d6-39d8-48a2-ae06-e66d4a535f2f/bin/ukojak-verify-ENZ3QT5qd3/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (1)] Waiting until timeout for monitored process [2024-11-24 18:20:59,940 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnHeap [2024-11-24 18:20:59,940 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2024-11-24 18:20:59,940 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~$Pointer$ [2024-11-24 18:20:59,941 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2024-11-24 18:20:59,941 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2024-11-24 18:21:00,067 INFO L234 CfgBuilder]: Building ICFG [2024-11-24 18:21:00,069 INFO L260 CfgBuilder]: Building CFG for each procedure with an implementation [2024-11-24 18:21:00,189 INFO L? ?]: Removed 7 outVars from TransFormulas that were not future-live. [2024-11-24 18:21:00,189 INFO L283 CfgBuilder]: Performing block encoding [2024-11-24 18:21:00,308 INFO L307 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2024-11-24 18:21:00,309 INFO L312 CfgBuilder]: Removed 0 assume(true) statements. [2024-11-24 18:21:00,310 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 24.11 06:21:00 BoogieIcfgContainer [2024-11-24 18:21:00,310 INFO L131 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2024-11-24 18:21:00,311 INFO L112 PluginConnector]: ------------------------CodeCheck---------------------------- [2024-11-24 18:21:00,311 INFO L270 PluginConnector]: Initializing CodeCheck... [2024-11-24 18:21:00,325 INFO L274 PluginConnector]: CodeCheck initialized [2024-11-24 18:21:00,325 INFO L184 PluginConnector]: Executing the observer CodeCheckObserver from plugin CodeCheck for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 24.11 06:21:00" (1/1) ... [2024-11-24 18:21:00,336 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-11-24 18:21:00,402 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-24 18:21:00,417 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 4 states and 3 transitions. [2024-11-24 18:21:00,419 INFO L276 IsEmpty]: Start isEmpty. Operand 4 states and 3 transitions. [2024-11-24 18:21:00,422 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 3 [2024-11-24 18:21:00,422 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-24 18:21:00,423 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-24 18:21:00,540 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-24 18:21:00,541 INFO L357 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-11-24 18:21:00,559 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-24 18:21:00,634 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-24 18:21:00,634 INFO L357 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-11-24 18:21:00,656 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-24 18:21:00,670 WARN L473 CodeCheckObserver]: This program is UNSAFE, Check terminated with 1 iterations. [2024-11-24 18:21:00,694 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck CFG 24.11 06:21:00 ImpRootNode [2024-11-24 18:21:00,695 INFO L131 PluginConnector]: ------------------------ END CodeCheck---------------------------- [2024-11-24 18:21:00,696 INFO L112 PluginConnector]: ------------------------Witness Printer---------------------------- [2024-11-24 18:21:00,696 INFO L270 PluginConnector]: Initializing Witness Printer... [2024-11-24 18:21:00,696 INFO L274 PluginConnector]: Witness Printer initialized [2024-11-24 18:21:00,697 INFO L184 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 24.11 06:21:00" (3/4) ... [2024-11-24 18:21:00,701 INFO L149 WitnessPrinter]: No result that supports witness generation found [2024-11-24 18:21:00,702 INFO L131 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2024-11-24 18:21:00,703 INFO L158 Benchmark]: Toolchain (without parser) took 1754.10ms. Allocated memory is still 167.8MB. Free memory was 129.6MB in the beginning and 77.7MB in the end (delta: 51.8MB). Peak memory consumption was 41.9MB. Max. memory is 16.1GB. [2024-11-24 18:21:00,704 INFO L158 Benchmark]: CDTParser took 0.40ms. Allocated memory is still 167.8MB. Free memory is still 103.7MB. There was no memory consumed. Max. memory is 16.1GB. [2024-11-24 18:21:00,704 INFO L158 Benchmark]: CACSL2BoogieTranslator took 790.31ms. Allocated memory is still 167.8MB. Free memory was 129.6MB in the beginning and 107.8MB in the end (delta: 21.7MB). Peak memory consumption was 16.8MB. Max. memory is 16.1GB. [2024-11-24 18:21:00,705 INFO L158 Benchmark]: Boogie Procedure Inliner took 77.09ms. Allocated memory is still 167.8MB. Free memory was 107.8MB in the beginning and 106.0MB in the end (delta: 1.8MB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-24 18:21:00,705 INFO L158 Benchmark]: Boogie Preprocessor took 30.83ms. Allocated memory is still 167.8MB. Free memory was 106.0MB in the beginning and 105.1MB in the end (delta: 989.8kB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-24 18:21:00,706 INFO L158 Benchmark]: RCFGBuilder took 457.90ms. Allocated memory is still 167.8MB. Free memory was 105.1MB in the beginning and 90.3MB in the end (delta: 14.7MB). Peak memory consumption was 16.8MB. Max. memory is 16.1GB. [2024-11-24 18:21:00,707 INFO L158 Benchmark]: CodeCheck took 384.07ms. Allocated memory is still 167.8MB. Free memory was 90.3MB in the beginning and 78.1MB in the end (delta: 12.2MB). Peak memory consumption was 8.4MB. Max. memory is 16.1GB. [2024-11-24 18:21:00,707 INFO L158 Benchmark]: Witness Printer took 6.34ms. Allocated memory is still 167.8MB. Free memory was 78.1MB in the beginning and 77.7MB in the end (delta: 330.0kB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-24 18:21:00,711 INFO L338 ainManager$Toolchain]: ####################### End [Toolchain 1] ####################### --- Results --- * Results from de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck: - StatisticsResult: Ultimate CodeCheck benchmark data CFG has 1 procedures, 4 locations, 1 error locations. Started 1 CEGAR loops. OverallTime: 0.3s, OverallIterations: 1, TraceHistogramMax: 0, PathProgramHistogramMax: 0, EmptinessCheckTime: 0.0s, AutomataDifference: 0.0s, DeadEndRemovalTime: 0.0s, HoareAnnotationTime: 0.0s, InitialAbstractionConstructionTime: 0.0s, HoareTripleCheckerStatistics: , PredicateUnifierStatistics: 0 DeclaredPredicates, 0 GetRequests, 0 SyntacticMatches, 0 SemanticMatches, 0 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 0 ImplicationChecksByTransitivity, 0.0s Time, 0.0s BasicInterpolantAutomatonTime, BiggestAbstraction: size=-1occurred in iteration=-1, InterpolantAutomatonStates: 0, traceCheckStatistics: 0.0s SsaConstructionTime, 0.0s SatisfiabilityAnalysisTime, 0.0s InterpolantComputationTime, 2 NumberOfCodeBlocks, 2 NumberOfCodeBlocksAsserted, 1 NumberOfCheckSat, 0 ConstructedInterpolants, 0 QuantifiedInterpolants, 0 SizeOfPredicates, 0 NumberOfNonLiveVariables, 0 ConjunctsInSsa, 0 ConjunctsInUnsatCore, 0 InterpolantComputations, 0 PerfectInterpolantSequences, 0/0 InterpolantCoveringCapability, InterpolantConsolidationStatistics: No data available, PathInvariantsStatistics: No data available, 0/0 InterpolantCoveringCapability, TotalInterpolationStatistics: No data available, 0.0s DumpTime, AutomataMinimizationStatistics: No data available, HoareAnnotationStatistics: No data available, RefinementEngineStatistics: No data available, ReuseStatistics: No data available, ConComCheckerStatistics: No data available - UnprovableResult [Line: 769]: Unable to prove that all allocated memory was freed Unable to prove that all allocated memory was freed Reason: overapproximation of memtrack at line 769. Possible FailurePath: [L569] struct ldv_list_head ldv_global_msg_list = { &(ldv_global_msg_list), &(ldv_global_msg_list) }; [L757] int *a9; [L770] CALL entry_point() [L766] CALL probe_9() [L759] CALL, EXPR ldv_malloc(sizeof(int)) [L526] COND TRUE __VERIFIER_nondet_int() [L527] return malloc(size); [L759] RET, EXPR ldv_malloc(sizeof(int)) [L759] a9 = (int *)ldv_malloc(sizeof(int)) [L760] COND TRUE \read(*a9) [L761] return 0; [L766] RET probe_9() [L767] a9 = 0 [L770] RET entry_point() * Results from de.uni_freiburg.informatik.ultimate.core: - StatisticsResult: Toolchain Benchmarks Benchmark results are: * CDTParser took 0.40ms. Allocated memory is still 167.8MB. Free memory is still 103.7MB. There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 790.31ms. Allocated memory is still 167.8MB. Free memory was 129.6MB in the beginning and 107.8MB in the end (delta: 21.7MB). Peak memory consumption was 16.8MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 77.09ms. Allocated memory is still 167.8MB. Free memory was 107.8MB in the beginning and 106.0MB in the end (delta: 1.8MB). There was no memory consumed. Max. memory is 16.1GB. * Boogie Preprocessor took 30.83ms. Allocated memory is still 167.8MB. Free memory was 106.0MB in the beginning and 105.1MB in the end (delta: 989.8kB). There was no memory consumed. Max. memory is 16.1GB. * RCFGBuilder took 457.90ms. Allocated memory is still 167.8MB. Free memory was 105.1MB in the beginning and 90.3MB in the end (delta: 14.7MB). Peak memory consumption was 16.8MB. Max. memory is 16.1GB. * CodeCheck took 384.07ms. Allocated memory is still 167.8MB. Free memory was 90.3MB in the beginning and 78.1MB in the end (delta: 12.2MB). Peak memory consumption was 8.4MB. Max. memory is 16.1GB. * Witness Printer took 6.34ms. Allocated memory is still 167.8MB. Free memory was 78.1MB in the beginning and 77.7MB in the end (delta: 330.0kB). There was no memory consumed. Max. memory is 16.1GB. RESULT: Ultimate could not prove your program: unable to determine feasibility of some traces [2024-11-24 18:21:00,738 INFO L552 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_fba2c0d6-39d8-48a2-ae06-e66d4a535f2f/bin/ukojak-verify-ENZ3QT5qd3/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (1)] Ended with exit code 0 Received shutdown request... --- End real Ultimate output --- Execution finished normally Using bit-precise analysis Retrying with bit-precise analysis ### Bit-precise run ### Calling Ultimate with: /usr/bin/java -Dosgi.configuration.area=/tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_fba2c0d6-39d8-48a2-ae06-e66d4a535f2f/bin/ukojak-verify-ENZ3QT5qd3/data/config -Xmx15G -Xms4m -jar /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_fba2c0d6-39d8-48a2-ae06-e66d4a535f2f/bin/ukojak-verify-ENZ3QT5qd3/plugins/org.eclipse.equinox.launcher_1.6.800.v20240513-1750.jar -data @noDefault -ultimatedata /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_fba2c0d6-39d8-48a2-ae06-e66d4a535f2f/bin/ukojak-verify-ENZ3QT5qd3/data -tc /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_fba2c0d6-39d8-48a2-ae06-e66d4a535f2f/bin/ukojak-verify-ENZ3QT5qd3/config/KojakMemDerefMemtrack.xml -i ../../sv-benchmarks/c/ldv-memsafety/memleaks_test9_2.i -s /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_fba2c0d6-39d8-48a2-ae06-e66d4a535f2f/bin/ukojak-verify-ENZ3QT5qd3/config/svcomp-DerefFreeMemtrack-32bit-Kojak_Bitvector.epf --cacsl2boogietranslator.entry.function main --witnessprinter.witness.directory /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_fba2c0d6-39d8-48a2-ae06-e66d4a535f2f/bin/ukojak-verify-ENZ3QT5qd3 --witnessprinter.witness.filename witness --witnessprinter.write.witness.besides.input.file false --witnessprinter.graph.data.specification CHECK( init(main()), LTL(G valid-free) ) CHECK( init(main()), LTL(G valid-deref) ) CHECK( init(main()), LTL(G valid-memtrack) ) --witnessprinter.graph.data.producer Kojak --witnessprinter.graph.data.architecture 32bit --witnessprinter.graph.data.programhash b2c0c3bb235b3cb9b743b5348761a25c330a62218c7855ae61dc6807c2962177 --- Real Ultimate output --- This is Ultimate 0.3.0-dev-d790fec [2024-11-24 18:21:04,295 INFO L188 SettingsManager]: Resetting all preferences to default values... [2024-11-24 18:21:04,456 INFO L114 SettingsManager]: Loading settings from /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_fba2c0d6-39d8-48a2-ae06-e66d4a535f2f/bin/ukojak-verify-ENZ3QT5qd3/config/svcomp-DerefFreeMemtrack-32bit-Kojak_Bitvector.epf [2024-11-24 18:21:04,492 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2024-11-24 18:21:04,494 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2024-11-24 18:21:04,494 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2024-11-24 18:21:04,494 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2024-11-24 18:21:04,494 INFO L153 SettingsManager]: * sizeof long=4 [2024-11-24 18:21:04,495 INFO L153 SettingsManager]: * Overapproximate operations on floating types=true [2024-11-24 18:21:04,495 INFO L153 SettingsManager]: * sizeof POINTER=4 [2024-11-24 18:21:04,495 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2024-11-24 18:21:04,495 INFO L153 SettingsManager]: * Check for the main procedure if all allocated memory was freed=true [2024-11-24 18:21:04,495 INFO L153 SettingsManager]: * Bitprecise bitfields=true [2024-11-24 18:21:04,495 INFO L153 SettingsManager]: * SV-COMP memtrack compatibility mode=true [2024-11-24 18:21:04,495 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2024-11-24 18:21:04,496 INFO L153 SettingsManager]: * Adapt memory model on pointer casts if necessary=true [2024-11-24 18:21:04,496 INFO L153 SettingsManager]: * Use bitvectors instead of ints=true [2024-11-24 18:21:04,496 INFO L153 SettingsManager]: * Memory model=HoenickeLindenmann_4ByteResolution [2024-11-24 18:21:04,496 INFO L153 SettingsManager]: * Check unreachability of reach_error function=false [2024-11-24 18:21:04,496 INFO L153 SettingsManager]: * sizeof long double=12 [2024-11-24 18:21:04,496 INFO L153 SettingsManager]: * Behaviour of calls to undefined functions=OVERAPPROXIMATE_BEHAVIOUR [2024-11-24 18:21:04,496 INFO L153 SettingsManager]: * Use constant arrays=true [2024-11-24 18:21:04,497 INFO L151 SettingsManager]: Preferences of CodeCheck differ from their defaults: [2024-11-24 18:21:04,497 INFO L153 SettingsManager]: * Timeout in seconds=1000000 [2024-11-24 18:21:04,497 INFO L153 SettingsManager]: * Theory for external solver=ALL [2024-11-24 18:21:04,497 INFO L153 SettingsManager]: * Command for calling external solver=cvc4 --incremental --print-success --lang smt [2024-11-24 18:21:04,497 INFO L153 SettingsManager]: * Choose which separate solver to use for tracechecks=External_ModelsAndUnsatCoreMode [2024-11-24 18:21:04,497 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2024-11-24 18:21:04,498 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2024-11-24 18:21:04,498 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2024-11-24 18:21:04,498 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2024-11-24 18:21:04,498 INFO L153 SettingsManager]: * Trace refinement strategy=WALRUS [2024-11-24 18:21:04,498 INFO L153 SettingsManager]: * Command for external solver=cvc4 --incremental --print-success --lang smt [2024-11-24 18:21:04,499 INFO L153 SettingsManager]: * Use separate solver for trace checks=false [2024-11-24 18:21:04,499 INFO L153 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode Applying setting for plugin de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator: Entry function -> main Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Witness directory -> /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_fba2c0d6-39d8-48a2-ae06-e66d4a535f2f/bin/ukojak-verify-ENZ3QT5qd3 Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Witness filename -> witness Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Write witness besides input file -> false Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data specification -> CHECK( init(main()), LTL(G valid-free) ) CHECK( init(main()), LTL(G valid-deref) ) CHECK( init(main()), LTL(G valid-memtrack) ) Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data producer -> Kojak Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data architecture -> 32bit Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data programhash -> b2c0c3bb235b3cb9b743b5348761a25c330a62218c7855ae61dc6807c2962177 [2024-11-24 18:21:04,965 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2024-11-24 18:21:04,975 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2024-11-24 18:21:04,979 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2024-11-24 18:21:04,980 INFO L270 PluginConnector]: Initializing CDTParser... [2024-11-24 18:21:04,981 INFO L274 PluginConnector]: CDTParser initialized [2024-11-24 18:21:04,983 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_fba2c0d6-39d8-48a2-ae06-e66d4a535f2f/bin/ukojak-verify-ENZ3QT5qd3/../../sv-benchmarks/c/ldv-memsafety/memleaks_test9_2.i [2024-11-24 18:21:08,959 INFO L533 CDTParser]: Created temporary CDT project at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_fba2c0d6-39d8-48a2-ae06-e66d4a535f2f/bin/ukojak-verify-ENZ3QT5qd3/data/0cbb48e91/e52f70d03aa743059cc5d267d15d81f1/FLAGfe72c22e9 [2024-11-24 18:21:09,269 INFO L384 CDTParser]: Found 1 translation units. [2024-11-24 18:21:09,270 INFO L180 CDTParser]: Scanning /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_fba2c0d6-39d8-48a2-ae06-e66d4a535f2f/sv-benchmarks/c/ldv-memsafety/memleaks_test9_2.i [2024-11-24 18:21:09,295 INFO L427 CDTParser]: About to delete temporary CDT project at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_fba2c0d6-39d8-48a2-ae06-e66d4a535f2f/bin/ukojak-verify-ENZ3QT5qd3/data/0cbb48e91/e52f70d03aa743059cc5d267d15d81f1/FLAGfe72c22e9 [2024-11-24 18:21:09,321 INFO L435 CDTParser]: Successfully deleted /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_fba2c0d6-39d8-48a2-ae06-e66d4a535f2f/bin/ukojak-verify-ENZ3QT5qd3/data/0cbb48e91/e52f70d03aa743059cc5d267d15d81f1 [2024-11-24 18:21:09,324 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2024-11-24 18:21:09,326 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2024-11-24 18:21:09,327 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2024-11-24 18:21:09,328 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2024-11-24 18:21:09,340 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2024-11-24 18:21:09,341 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 24.11 06:21:09" (1/1) ... [2024-11-24 18:21:09,342 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@6730f19a and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 06:21:09, skipping insertion in model container [2024-11-24 18:21:09,342 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 24.11 06:21:09" (1/1) ... [2024-11-24 18:21:09,391 INFO L175 MainTranslator]: Built tables and reachable declarations [2024-11-24 18:21:09,844 WARN L1063 CHandler]: saw a pointer cast to a type that we could not get a type size for, not adapting memory model [2024-11-24 18:21:09,913 WARN L1063 CHandler]: saw a pointer cast to a type that we could not get a type size for, not adapting memory model [2024-11-24 18:21:09,916 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-24 18:21:09,942 INFO L197 MainTranslator]: Restarting translation with changed settings: SettingsChange [mNewPreferredMemoryModel=HoenickeLindenmann_1ByteResolution] [2024-11-24 18:21:09,951 INFO L175 MainTranslator]: Built tables and reachable declarations [2024-11-24 18:21:09,994 WARN L1063 CHandler]: saw a pointer cast to a type that we could not get a type size for, not adapting memory model [2024-11-24 18:21:10,020 WARN L1063 CHandler]: saw a pointer cast to a type that we could not get a type size for, not adapting memory model [2024-11-24 18:21:10,022 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-24 18:21:10,031 INFO L200 MainTranslator]: Completed pre-run [2024-11-24 18:21:10,102 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-24 18:21:10,157 INFO L204 MainTranslator]: Completed translation [2024-11-24 18:21:10,157 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 06:21:10 WrapperNode [2024-11-24 18:21:10,158 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2024-11-24 18:21:10,159 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2024-11-24 18:21:10,159 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2024-11-24 18:21:10,159 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2024-11-24 18:21:10,165 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 06:21:10" (1/1) ... [2024-11-24 18:21:10,186 INFO L184 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 06:21:10" (1/1) ... [2024-11-24 18:21:10,212 INFO L138 Inliner]: procedures = 166, calls = 69, calls flagged for inlining = 30, calls inlined = 5, statements flattened = 34 [2024-11-24 18:21:10,212 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2024-11-24 18:21:10,213 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2024-11-24 18:21:10,213 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2024-11-24 18:21:10,213 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2024-11-24 18:21:10,222 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 06:21:10" (1/1) ... [2024-11-24 18:21:10,222 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 06:21:10" (1/1) ... [2024-11-24 18:21:10,224 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 06:21:10" (1/1) ... [2024-11-24 18:21:10,225 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 06:21:10" (1/1) ... [2024-11-24 18:21:10,235 INFO L184 PluginConnector]: Executing the observer ReplaceArrayAssignments from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 06:21:10" (1/1) ... [2024-11-24 18:21:10,236 INFO L184 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 06:21:10" (1/1) ... [2024-11-24 18:21:10,242 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 06:21:10" (1/1) ... [2024-11-24 18:21:10,243 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 06:21:10" (1/1) ... [2024-11-24 18:21:10,247 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 06:21:10" (1/1) ... [2024-11-24 18:21:10,249 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2024-11-24 18:21:10,250 INFO L112 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2024-11-24 18:21:10,250 INFO L270 PluginConnector]: Initializing RCFGBuilder... [2024-11-24 18:21:10,250 INFO L274 PluginConnector]: RCFGBuilder initialized [2024-11-24 18:21:10,255 INFO L184 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 06:21:10" (1/1) ... [2024-11-24 18:21:10,264 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2024-11-24 18:21:10,279 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_fba2c0d6-39d8-48a2-ae06-e66d4a535f2f/bin/ukojak-verify-ENZ3QT5qd3/z3 [2024-11-24 18:21:10,294 INFO L229 MonitoredProcess]: Starting monitored process 1 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_fba2c0d6-39d8-48a2-ae06-e66d4a535f2f/bin/ukojak-verify-ENZ3QT5qd3/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (exit command is (exit), workingDir is null) [2024-11-24 18:21:10,301 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_fba2c0d6-39d8-48a2-ae06-e66d4a535f2f/bin/ukojak-verify-ENZ3QT5qd3/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (1)] Waiting until timeout for monitored process [2024-11-24 18:21:10,336 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnHeap [2024-11-24 18:21:10,336 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2024-11-24 18:21:10,336 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~$Pointer$ [2024-11-24 18:21:10,336 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2024-11-24 18:21:10,336 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2024-11-24 18:21:10,484 INFO L234 CfgBuilder]: Building ICFG [2024-11-24 18:21:10,486 INFO L260 CfgBuilder]: Building CFG for each procedure with an implementation [2024-11-24 18:21:10,588 INFO L? ?]: Removed 8 outVars from TransFormulas that were not future-live. [2024-11-24 18:21:10,588 INFO L283 CfgBuilder]: Performing block encoding [2024-11-24 18:21:10,715 INFO L307 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2024-11-24 18:21:10,716 INFO L312 CfgBuilder]: Removed 0 assume(true) statements. [2024-11-24 18:21:10,716 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 24.11 06:21:10 BoogieIcfgContainer [2024-11-24 18:21:10,717 INFO L131 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2024-11-24 18:21:10,717 INFO L112 PluginConnector]: ------------------------CodeCheck---------------------------- [2024-11-24 18:21:10,718 INFO L270 PluginConnector]: Initializing CodeCheck... [2024-11-24 18:21:10,730 INFO L274 PluginConnector]: CodeCheck initialized [2024-11-24 18:21:10,731 INFO L184 PluginConnector]: Executing the observer CodeCheckObserver from plugin CodeCheck for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 24.11 06:21:10" (1/1) ... [2024-11-24 18:21:10,741 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-11-24 18:21:10,793 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-24 18:21:10,803 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 4 states and 3 transitions. [2024-11-24 18:21:10,803 INFO L276 IsEmpty]: Start isEmpty. Operand 4 states and 3 transitions. [2024-11-24 18:21:10,806 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 3 [2024-11-24 18:21:10,807 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-24 18:21:10,807 INFO L173 SolverBuilder]: Constructing external solver with command: cvc4 --incremental --print-success --lang smt [2024-11-24 18:21:10,808 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_fba2c0d6-39d8-48a2-ae06-e66d4a535f2f/bin/ukojak-verify-ENZ3QT5qd3/cvc4 [2024-11-24 18:21:10,812 INFO L229 MonitoredProcess]: Starting monitored process 2 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_fba2c0d6-39d8-48a2-ae06-e66d4a535f2f/bin/ukojak-verify-ENZ3QT5qd3/cvc4 --incremental --print-success --lang smt (exit command is (exit), workingDir is null) [2024-11-24 18:21:10,815 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_fba2c0d6-39d8-48a2-ae06-e66d4a535f2f/bin/ukojak-verify-ENZ3QT5qd3/cvc4 --incremental --print-success --lang smt (2)] Waiting until timeout for monitored process [2024-11-24 18:21:11,012 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-24 18:21:11,013 INFO L357 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-11-24 18:21:11,056 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-24 18:21:11,118 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-24 18:21:11,118 INFO L357 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-11-24 18:21:11,143 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-24 18:21:11,166 INFO L552 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_fba2c0d6-39d8-48a2-ae06-e66d4a535f2f/bin/ukojak-verify-ENZ3QT5qd3/cvc4 --incremental --print-success --lang smt (2)] Ended with exit code 0 [2024-11-24 18:21:11,168 WARN L473 CodeCheckObserver]: This program is UNSAFE, Check terminated with 1 iterations. [2024-11-24 18:21:11,197 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck CFG 24.11 06:21:11 ImpRootNode [2024-11-24 18:21:11,198 INFO L131 PluginConnector]: ------------------------ END CodeCheck---------------------------- [2024-11-24 18:21:11,199 INFO L112 PluginConnector]: ------------------------Witness Printer---------------------------- [2024-11-24 18:21:11,199 INFO L270 PluginConnector]: Initializing Witness Printer... [2024-11-24 18:21:11,200 INFO L274 PluginConnector]: Witness Printer initialized [2024-11-24 18:21:11,201 INFO L184 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 24.11 06:21:10" (3/4) ... [2024-11-24 18:21:11,205 INFO L149 WitnessPrinter]: No result that supports witness generation found [2024-11-24 18:21:11,206 INFO L131 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2024-11-24 18:21:11,207 INFO L158 Benchmark]: Toolchain (without parser) took 1881.60ms. Allocated memory is still 117.4MB. Free memory was 92.2MB in the beginning and 85.8MB in the end (delta: 6.3MB). Peak memory consumption was 5.0MB. Max. memory is 16.1GB. [2024-11-24 18:21:11,209 INFO L158 Benchmark]: CDTParser took 0.58ms. Allocated memory is still 83.9MB. Free memory is still 64.3MB. There was no memory consumed. Max. memory is 16.1GB. [2024-11-24 18:21:11,212 INFO L158 Benchmark]: CACSL2BoogieTranslator took 830.79ms. Allocated memory is still 117.4MB. Free memory was 92.2MB in the beginning and 64.5MB in the end (delta: 27.7MB). Peak memory consumption was 25.2MB. Max. memory is 16.1GB. [2024-11-24 18:21:11,213 INFO L158 Benchmark]: Boogie Procedure Inliner took 53.76ms. Allocated memory is still 117.4MB. Free memory was 64.5MB in the beginning and 62.5MB in the end (delta: 2.0MB). Peak memory consumption was 8.4MB. Max. memory is 16.1GB. [2024-11-24 18:21:11,213 INFO L158 Benchmark]: Boogie Preprocessor took 36.34ms. Allocated memory is still 117.4MB. Free memory was 62.5MB in the beginning and 61.5MB in the end (delta: 965.0kB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-24 18:21:11,214 INFO L158 Benchmark]: RCFGBuilder took 466.64ms. Allocated memory is still 117.4MB. Free memory was 61.5MB in the beginning and 44.4MB in the end (delta: 17.1MB). Peak memory consumption was 8.4MB. Max. memory is 16.1GB. [2024-11-24 18:21:11,214 INFO L158 Benchmark]: CodeCheck took 480.39ms. Allocated memory is still 117.4MB. Free memory was 44.4MB in the beginning and 85.9MB in the end (delta: -41.4MB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-24 18:21:11,215 INFO L158 Benchmark]: Witness Printer took 7.20ms. Allocated memory is still 117.4MB. Free memory was 85.9MB in the beginning and 85.8MB in the end (delta: 21.2kB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-24 18:21:11,217 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, ConComCheckerStatistics: No data available - UnprovableResult [Line: 769]: Unable to prove that all allocated memory was freed Unable to prove that all allocated memory was freed Reason: overapproximation of memtrack at line 769. Possible FailurePath: [L569] struct ldv_list_head ldv_global_msg_list = { &(ldv_global_msg_list), &(ldv_global_msg_list) }; [L757] int *a9; [L770] CALL entry_point() [L766] CALL probe_9() [L759] CALL, EXPR ldv_malloc(sizeof(int)) [L526] COND TRUE __VERIFIER_nondet_int() [L527] return malloc(size); [L759] RET, EXPR ldv_malloc(sizeof(int)) [L759] a9 = (int *)ldv_malloc(sizeof(int)) [L760] COND TRUE \read(*a9) [L761] return 0; [L766] RET probe_9() [L767] a9 = 0 [L770] RET entry_point() * Results from de.uni_freiburg.informatik.ultimate.core: - StatisticsResult: Toolchain Benchmarks Benchmark results are: * CDTParser took 0.58ms. Allocated memory is still 83.9MB. Free memory is still 64.3MB. There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 830.79ms. Allocated memory is still 117.4MB. Free memory was 92.2MB in the beginning and 64.5MB in the end (delta: 27.7MB). Peak memory consumption was 25.2MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 53.76ms. Allocated memory is still 117.4MB. Free memory was 64.5MB in the beginning and 62.5MB in the end (delta: 2.0MB). Peak memory consumption was 8.4MB. Max. memory is 16.1GB. * Boogie Preprocessor took 36.34ms. Allocated memory is still 117.4MB. Free memory was 62.5MB in the beginning and 61.5MB in the end (delta: 965.0kB). There was no memory consumed. Max. memory is 16.1GB. * RCFGBuilder took 466.64ms. Allocated memory is still 117.4MB. Free memory was 61.5MB in the beginning and 44.4MB in the end (delta: 17.1MB). Peak memory consumption was 8.4MB. Max. memory is 16.1GB. * CodeCheck took 480.39ms. Allocated memory is still 117.4MB. Free memory was 44.4MB in the beginning and 85.9MB in the end (delta: -41.4MB). There was no memory consumed. Max. memory is 16.1GB. * Witness Printer took 7.20ms. Allocated memory is still 117.4MB. Free memory was 85.9MB in the beginning and 85.8MB in the end (delta: 21.2kB). There was no memory consumed. Max. memory is 16.1GB. RESULT: Ultimate could not prove your program: unable to determine feasibility of some traces [2024-11-24 18:21:11,251 INFO L540 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_fba2c0d6-39d8-48a2-ae06-e66d4a535f2f/bin/ukojak-verify-ENZ3QT5qd3/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