./Ultimate.py --spec ../../sv-benchmarks/c/properties/valid-memsafety.prp --file ../../sv-benchmarks/c/ldv-memsafety/memleaks_test5_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_9682d253-f607-4367-98a5-ee24bf9537fa/bin/ukojak-verify-ENZ3QT5qd3/data/config -Xmx15G -Xms4m -jar /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_9682d253-f607-4367-98a5-ee24bf9537fa/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_9682d253-f607-4367-98a5-ee24bf9537fa/bin/ukojak-verify-ENZ3QT5qd3/data -tc /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_9682d253-f607-4367-98a5-ee24bf9537fa/bin/ukojak-verify-ENZ3QT5qd3/config/KojakMemDerefMemtrack.xml -i ../../sv-benchmarks/c/ldv-memsafety/memleaks_test5_2.i -s /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_9682d253-f607-4367-98a5-ee24bf9537fa/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_9682d253-f607-4367-98a5-ee24bf9537fa/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 2ed1b4c32fb34a3b94710a14cca3ab0a8326ba7fa7dcd01a325fa2ad8637f2b6 --- Real Ultimate output --- This is Ultimate 0.3.0-dev-d790fec [2024-11-24 18:14:00,313 INFO L188 SettingsManager]: Resetting all preferences to default values... [2024-11-24 18:14:00,390 INFO L114 SettingsManager]: Loading settings from /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_9682d253-f607-4367-98a5-ee24bf9537fa/bin/ukojak-verify-ENZ3QT5qd3/config/svcomp-DerefFreeMemtrack-32bit-Kojak_Default.epf [2024-11-24 18:14:00,395 WARN L101 SettingsManager]: Preference file contains the following unknown settings: [2024-11-24 18:14:00,395 WARN L103 SettingsManager]: * de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck.Interpolating solver [2024-11-24 18:14:00,416 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2024-11-24 18:14:00,417 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2024-11-24 18:14:00,418 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2024-11-24 18:14:00,418 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2024-11-24 18:14:00,418 INFO L153 SettingsManager]: * sizeof long=4 [2024-11-24 18:14:00,418 INFO L153 SettingsManager]: * Overapproximate operations on floating types=true [2024-11-24 18:14:00,418 INFO L153 SettingsManager]: * sizeof POINTER=4 [2024-11-24 18:14:00,419 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2024-11-24 18:14:00,419 INFO L153 SettingsManager]: * Check for the main procedure if all allocated memory was freed=true [2024-11-24 18:14:00,419 INFO L153 SettingsManager]: * Bitprecise bitfields=true [2024-11-24 18:14:00,419 INFO L153 SettingsManager]: * SV-COMP memtrack compatibility mode=true [2024-11-24 18:14:00,419 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2024-11-24 18:14:00,419 INFO L153 SettingsManager]: * Check unreachability of reach_error function=false [2024-11-24 18:14:00,419 INFO L153 SettingsManager]: * sizeof long double=12 [2024-11-24 18:14:00,420 INFO L153 SettingsManager]: * Behaviour of calls to undefined functions=OVERAPPROXIMATE_BEHAVIOUR [2024-11-24 18:14:00,420 INFO L153 SettingsManager]: * Use constant arrays=true [2024-11-24 18:14:00,420 INFO L151 SettingsManager]: Preferences of CodeCheck differ from their defaults: [2024-11-24 18:14:00,420 INFO L153 SettingsManager]: * Timeout in seconds=1000000 [2024-11-24 18:14:00,420 INFO L153 SettingsManager]: * Theory for external solver=ALL [2024-11-24 18:14:00,420 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2024-11-24 18:14:00,421 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2024-11-24 18:14:00,421 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2024-11-24 18:14:00,421 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2024-11-24 18:14:00,421 INFO L153 SettingsManager]: * Trace refinement strategy=PENGUIN [2024-11-24 18:14:00,421 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2024-11-24 18:14:00,421 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_9682d253-f607-4367-98a5-ee24bf9537fa/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 -> 2ed1b4c32fb34a3b94710a14cca3ab0a8326ba7fa7dcd01a325fa2ad8637f2b6 [2024-11-24 18:14:00,747 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2024-11-24 18:14:00,759 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2024-11-24 18:14:00,761 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2024-11-24 18:14:00,762 INFO L270 PluginConnector]: Initializing CDTParser... [2024-11-24 18:14:00,763 INFO L274 PluginConnector]: CDTParser initialized [2024-11-24 18:14:00,764 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_9682d253-f607-4367-98a5-ee24bf9537fa/bin/ukojak-verify-ENZ3QT5qd3/../../sv-benchmarks/c/ldv-memsafety/memleaks_test5_2.i [2024-11-24 18:14:03,778 INFO L533 CDTParser]: Created temporary CDT project at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_9682d253-f607-4367-98a5-ee24bf9537fa/bin/ukojak-verify-ENZ3QT5qd3/data/8fa5334a8/dee2900a6ee8498fa23ce1f4d69de957/FLAGf39a76792 [2024-11-24 18:14:04,141 INFO L384 CDTParser]: Found 1 translation units. [2024-11-24 18:14:04,142 INFO L180 CDTParser]: Scanning /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_9682d253-f607-4367-98a5-ee24bf9537fa/sv-benchmarks/c/ldv-memsafety/memleaks_test5_2.i [2024-11-24 18:14:04,156 INFO L427 CDTParser]: About to delete temporary CDT project at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_9682d253-f607-4367-98a5-ee24bf9537fa/bin/ukojak-verify-ENZ3QT5qd3/data/8fa5334a8/dee2900a6ee8498fa23ce1f4d69de957/FLAGf39a76792 [2024-11-24 18:14:04,170 INFO L435 CDTParser]: Successfully deleted /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_9682d253-f607-4367-98a5-ee24bf9537fa/bin/ukojak-verify-ENZ3QT5qd3/data/8fa5334a8/dee2900a6ee8498fa23ce1f4d69de957 [2024-11-24 18:14:04,173 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2024-11-24 18:14:04,174 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2024-11-24 18:14:04,175 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2024-11-24 18:14:04,176 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2024-11-24 18:14:04,181 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2024-11-24 18:14:04,182 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 24.11 06:14:04" (1/1) ... [2024-11-24 18:14:04,183 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@2fe2b4ca and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 06:14:04, skipping insertion in model container [2024-11-24 18:14:04,183 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 24.11 06:14:04" (1/1) ... [2024-11-24 18:14:04,225 INFO L175 MainTranslator]: Built tables and reachable declarations [2024-11-24 18:14:04,653 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-24 18:14:04,669 INFO L200 MainTranslator]: Completed pre-run [2024-11-24 18:14:04,757 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-24 18:14:04,816 INFO L204 MainTranslator]: Completed translation [2024-11-24 18:14:04,818 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 06:14:04 WrapperNode [2024-11-24 18:14:04,818 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2024-11-24 18:14:04,819 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2024-11-24 18:14:04,819 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2024-11-24 18:14:04,820 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2024-11-24 18:14:04,829 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:14:04" (1/1) ... [2024-11-24 18:14:04,858 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:14:04" (1/1) ... [2024-11-24 18:14:04,886 INFO L138 Inliner]: procedures = 166, calls = 71, calls flagged for inlining = 31, calls inlined = 6, statements flattened = 37 [2024-11-24 18:14:04,889 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2024-11-24 18:14:04,889 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2024-11-24 18:14:04,889 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2024-11-24 18:14:04,890 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2024-11-24 18:14:04,898 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 06:14:04" (1/1) ... [2024-11-24 18:14:04,898 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 06:14:04" (1/1) ... [2024-11-24 18:14:04,900 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 06:14:04" (1/1) ... [2024-11-24 18:14:04,900 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 06:14:04" (1/1) ... [2024-11-24 18:14:04,913 INFO L184 PluginConnector]: Executing the observer ReplaceArrayAssignments from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 06:14:04" (1/1) ... [2024-11-24 18:14:04,914 INFO L184 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 06:14:04" (1/1) ... [2024-11-24 18:14:04,920 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 06:14:04" (1/1) ... [2024-11-24 18:14:04,921 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 06:14:04" (1/1) ... [2024-11-24 18:14:04,922 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 06:14:04" (1/1) ... [2024-11-24 18:14:04,923 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2024-11-24 18:14:04,924 INFO L112 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2024-11-24 18:14:04,924 INFO L270 PluginConnector]: Initializing RCFGBuilder... [2024-11-24 18:14:04,924 INFO L274 PluginConnector]: RCFGBuilder initialized [2024-11-24 18:14:04,927 INFO L184 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 06:14:04" (1/1) ... [2024-11-24 18:14:04,936 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2024-11-24 18:14:04,950 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_9682d253-f607-4367-98a5-ee24bf9537fa/bin/ukojak-verify-ENZ3QT5qd3/z3 [2024-11-24 18:14:04,966 INFO L229 MonitoredProcess]: Starting monitored process 1 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_9682d253-f607-4367-98a5-ee24bf9537fa/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:14:04,969 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_9682d253-f607-4367-98a5-ee24bf9537fa/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:14:04,998 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnHeap [2024-11-24 18:14:04,999 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2024-11-24 18:14:04,999 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.dealloc [2024-11-24 18:14:04,999 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~$Pointer$ [2024-11-24 18:14:04,999 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2024-11-24 18:14:04,999 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2024-11-24 18:14:05,110 INFO L234 CfgBuilder]: Building ICFG [2024-11-24 18:14:05,112 INFO L260 CfgBuilder]: Building CFG for each procedure with an implementation [2024-11-24 18:14:05,216 INFO L? ?]: Removed 21 outVars from TransFormulas that were not future-live. [2024-11-24 18:14:05,216 INFO L283 CfgBuilder]: Performing block encoding [2024-11-24 18:14:05,277 INFO L307 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2024-11-24 18:14:05,277 INFO L312 CfgBuilder]: Removed 0 assume(true) statements. [2024-11-24 18:14:05,278 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 24.11 06:14:05 BoogieIcfgContainer [2024-11-24 18:14:05,278 INFO L131 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2024-11-24 18:14:05,279 INFO L112 PluginConnector]: ------------------------CodeCheck---------------------------- [2024-11-24 18:14:05,279 INFO L270 PluginConnector]: Initializing CodeCheck... [2024-11-24 18:14:05,291 INFO L274 PluginConnector]: CodeCheck initialized [2024-11-24 18:14:05,291 INFO L184 PluginConnector]: Executing the observer CodeCheckObserver from plugin CodeCheck for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 24.11 06:14:05" (1/1) ... [2024-11-24 18:14:05,300 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-11-24 18:14:05,345 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-24 18:14:05,353 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 12 states to 12 states and 12 transitions. [2024-11-24 18:14:05,354 INFO L276 IsEmpty]: Start isEmpty. Operand 12 states and 12 transitions. [2024-11-24 18:14:05,356 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 4 [2024-11-24 18:14:05,357 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-24 18:14:05,357 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-24 18:14:05,466 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-24 18:14:05,604 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2024-11-24 18:14:05,674 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-24 18:14:05,676 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 5 states to 6 states and 5 transitions. [2024-11-24 18:14:05,676 INFO L276 IsEmpty]: Start isEmpty. Operand 6 states and 5 transitions. [2024-11-24 18:14:05,676 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 5 [2024-11-24 18:14:05,677 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-24 18:14:05,677 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-24 18:14:05,725 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-24 18:14:05,726 INFO L357 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-11-24 18:14:05,737 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-24 18:14:05,815 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-24 18:14:05,815 INFO L357 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-11-24 18:14:05,835 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-24 18:14:05,850 WARN L473 CodeCheckObserver]: This program is UNSAFE, Check terminated with 2 iterations. [2024-11-24 18:14:05,876 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck CFG 24.11 06:14:05 ImpRootNode [2024-11-24 18:14:05,876 INFO L131 PluginConnector]: ------------------------ END CodeCheck---------------------------- [2024-11-24 18:14:05,877 INFO L112 PluginConnector]: ------------------------Witness Printer---------------------------- [2024-11-24 18:14:05,877 INFO L270 PluginConnector]: Initializing Witness Printer... [2024-11-24 18:14:05,877 INFO L274 PluginConnector]: Witness Printer initialized [2024-11-24 18:14:05,878 INFO L184 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 24.11 06:14:05" (3/4) ... [2024-11-24 18:14:05,881 INFO L149 WitnessPrinter]: No result that supports witness generation found [2024-11-24 18:14:05,882 INFO L131 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2024-11-24 18:14:05,883 INFO L158 Benchmark]: Toolchain (without parser) took 1708.99ms. Allocated memory is still 117.4MB. Free memory was 90.3MB in the beginning and 86.3MB in the end (delta: 4.0MB). Peak memory consumption was 5.3MB. Max. memory is 16.1GB. [2024-11-24 18:14:05,884 INFO L158 Benchmark]: CDTParser took 0.37ms. Allocated memory is still 83.9MB. Free memory is still 39.7MB. There was no memory consumed. Max. memory is 16.1GB. [2024-11-24 18:14:05,884 INFO L158 Benchmark]: CACSL2BoogieTranslator took 643.27ms. Allocated memory is still 117.4MB. Free memory was 90.1MB in the beginning and 68.5MB in the end (delta: 21.6MB). Peak memory consumption was 16.8MB. Max. memory is 16.1GB. [2024-11-24 18:14:05,885 INFO L158 Benchmark]: Boogie Procedure Inliner took 69.84ms. Allocated memory is still 117.4MB. Free memory was 68.5MB in the beginning and 66.5MB in the end (delta: 2.0MB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-24 18:14:05,886 INFO L158 Benchmark]: Boogie Preprocessor took 34.00ms. Allocated memory is still 117.4MB. Free memory was 66.5MB in the beginning and 65.7MB in the end (delta: 821.6kB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-24 18:14:05,886 INFO L158 Benchmark]: RCFGBuilder took 354.14ms. Allocated memory is still 117.4MB. Free memory was 65.7MB in the beginning and 52.5MB in the end (delta: 13.2MB). Peak memory consumption was 16.8MB. Max. memory is 16.1GB. [2024-11-24 18:14:05,887 INFO L158 Benchmark]: CodeCheck took 596.99ms. Allocated memory is still 117.4MB. Free memory was 52.5MB in the beginning and 86.9MB in the end (delta: -34.4MB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-24 18:14:05,887 INFO L158 Benchmark]: Witness Printer took 5.92ms. Allocated memory is still 117.4MB. Free memory was 86.9MB in the beginning and 86.3MB in the end (delta: 617.8kB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-24 18:14:05,890 INFO L338 ainManager$Toolchain]: ####################### End [Toolchain 1] ####################### --- Results --- * Results from de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck: - StatisticsResult: Ultimate CodeCheck benchmark data CFG has 1 procedures, 12 locations, 4 error locations. Started 1 CEGAR loops. OverallTime: 0.5s, OverallIterations: 2, TraceHistogramMax: 0, PathProgramHistogramMax: 0, EmptinessCheckTime: 0.0s, AutomataDifference: 0.0s, DeadEndRemovalTime: 0.0s, HoareAnnotationTime: 0.0s, InitialAbstractionConstructionTime: 0.0s, HoareTripleCheckerStatistics: 0 mSolverCounterUnknown, 3 SdHoareTripleChecker+Valid, 0.0s IncrementalHoareTripleChecker+Time, 0 mSdLazyCounter, 0 mSDsluCounter, 2 SdHoareTripleChecker+Invalid, 0.0s Time, 0 mProtectedAction, 0 SdHoareTripleChecker+Unchecked, 0 IncrementalHoareTripleChecker+Unchecked, 0 mSDsCounter, 3 IncrementalHoareTripleChecker+Valid, 0 mProtectedPredicate, 3 IncrementalHoareTripleChecker+Invalid, 6 SdHoareTripleChecker+Unknown, 0 mSolverCounterNotChecked, 3 mSolverCounterUnsat, 2 mSDtfsCounter, 3 mSolverCounterSat, 0.0s SdHoareTripleChecker+Time, 0 IncrementalHoareTripleChecker+Unknown, PredicateUnifierStatistics: 0 DeclaredPredicates, 16 GetRequests, 14 SyntacticMatches, 0 SemanticMatches, 2 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 0 ImplicationChecksByTransitivity, 0.0s Time, 0.0s BasicInterpolantAutomatonTime, BiggestAbstraction: size=-1occurred in iteration=-1, InterpolantAutomatonStates: 0, traceCheckStatistics: 0.0s SsaConstructionTime, 0.0s SatisfiabilityAnalysisTime, 0.1s InterpolantComputationTime, 7 NumberOfCodeBlocks, 7 NumberOfCodeBlocksAsserted, 2 NumberOfCheckSat, 2 ConstructedInterpolants, 0 QuantifiedInterpolants, 8 SizeOfPredicates, 0 NumberOfNonLiveVariables, 0 ConjunctsInSsa, 0 ConjunctsInUnsatCore, 1 InterpolantComputations, 1 PerfectInterpolantSequences, 0/0 InterpolantCoveringCapability, InterpolantConsolidationStatistics: No data available, PathInvariantsStatistics: No data available, 0/0 InterpolantCoveringCapability, TotalInterpolationStatistics: No data available, 0.0s DumpTime, AutomataMinimizationStatistics: No data available, HoareAnnotationStatistics: No data available, RefinementEngineStatistics: No data available, ReuseStatistics: No data available, ConComCheckerStatistics: No data available - UnprovableResult [Line: 770]: Unable to prove that all allocated memory was freed Unable to prove that all allocated memory was freed Reason: overapproximation of memtrack at line 770. Possible FailurePath: [L569] struct ldv_list_head ldv_global_msg_list = { &(ldv_global_msg_list), &(ldv_global_msg_list) }; [L771] CALL entry_point() [L767] CALL, EXPR f5() [L758] CALL, EXPR ldv_malloc(sizeof(int)) [L526] COND TRUE __VERIFIER_nondet_int() [L527] return malloc(size); [L758] RET, EXPR ldv_malloc(sizeof(int)) [L758] int *p = (int *)ldv_malloc(sizeof(int)); [L759] return 0; [L767] RET, EXPR f5() [L767] int *p = f5(); [L768] CALL g5(p) [L762] COND FALSE !(\read(*p)) VAL [ldv_global_msg_list={1:0}] [L768] RET g5(p) [L771] RET entry_point() * Results from de.uni_freiburg.informatik.ultimate.core: - StatisticsResult: Toolchain Benchmarks Benchmark results are: * CDTParser took 0.37ms. Allocated memory is still 83.9MB. Free memory is still 39.7MB. There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 643.27ms. Allocated memory is still 117.4MB. Free memory was 90.1MB in the beginning and 68.5MB in the end (delta: 21.6MB). Peak memory consumption was 16.8MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 69.84ms. Allocated memory is still 117.4MB. Free memory was 68.5MB in the beginning and 66.5MB in the end (delta: 2.0MB). There was no memory consumed. Max. memory is 16.1GB. * Boogie Preprocessor took 34.00ms. Allocated memory is still 117.4MB. Free memory was 66.5MB in the beginning and 65.7MB in the end (delta: 821.6kB). There was no memory consumed. Max. memory is 16.1GB. * RCFGBuilder took 354.14ms. Allocated memory is still 117.4MB. Free memory was 65.7MB in the beginning and 52.5MB in the end (delta: 13.2MB). Peak memory consumption was 16.8MB. Max. memory is 16.1GB. * CodeCheck took 596.99ms. Allocated memory is still 117.4MB. Free memory was 52.5MB in the beginning and 86.9MB in the end (delta: -34.4MB). There was no memory consumed. Max. memory is 16.1GB. * Witness Printer took 5.92ms. Allocated memory is still 117.4MB. Free memory was 86.9MB in the beginning and 86.3MB in the end (delta: 617.8kB). There was no memory consumed. Max. memory is 16.1GB. RESULT: Ultimate could not prove your program: unable to determine feasibility of some traces [2024-11-24 18:14:05,913 INFO L540 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_9682d253-f607-4367-98a5-ee24bf9537fa/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 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_9682d253-f607-4367-98a5-ee24bf9537fa/bin/ukojak-verify-ENZ3QT5qd3/data/config -Xmx15G -Xms4m -jar /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_9682d253-f607-4367-98a5-ee24bf9537fa/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_9682d253-f607-4367-98a5-ee24bf9537fa/bin/ukojak-verify-ENZ3QT5qd3/data -tc /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_9682d253-f607-4367-98a5-ee24bf9537fa/bin/ukojak-verify-ENZ3QT5qd3/config/KojakMemDerefMemtrack.xml -i ../../sv-benchmarks/c/ldv-memsafety/memleaks_test5_2.i -s /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_9682d253-f607-4367-98a5-ee24bf9537fa/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_9682d253-f607-4367-98a5-ee24bf9537fa/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 2ed1b4c32fb34a3b94710a14cca3ab0a8326ba7fa7dcd01a325fa2ad8637f2b6 --- Real Ultimate output --- This is Ultimate 0.3.0-dev-d790fec [2024-11-24 18:14:08,779 INFO L188 SettingsManager]: Resetting all preferences to default values... [2024-11-24 18:14:08,894 INFO L114 SettingsManager]: Loading settings from /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_9682d253-f607-4367-98a5-ee24bf9537fa/bin/ukojak-verify-ENZ3QT5qd3/config/svcomp-DerefFreeMemtrack-32bit-Kojak_Bitvector.epf [2024-11-24 18:14:08,925 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2024-11-24 18:14:08,926 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2024-11-24 18:14:08,926 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2024-11-24 18:14:08,927 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2024-11-24 18:14:08,927 INFO L153 SettingsManager]: * sizeof long=4 [2024-11-24 18:14:08,927 INFO L153 SettingsManager]: * Overapproximate operations on floating types=true [2024-11-24 18:14:08,927 INFO L153 SettingsManager]: * sizeof POINTER=4 [2024-11-24 18:14:08,927 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2024-11-24 18:14:08,927 INFO L153 SettingsManager]: * Check for the main procedure if all allocated memory was freed=true [2024-11-24 18:14:08,927 INFO L153 SettingsManager]: * Bitprecise bitfields=true [2024-11-24 18:14:08,927 INFO L153 SettingsManager]: * SV-COMP memtrack compatibility mode=true [2024-11-24 18:14:08,928 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2024-11-24 18:14:08,928 INFO L153 SettingsManager]: * Adapt memory model on pointer casts if necessary=true [2024-11-24 18:14:08,928 INFO L153 SettingsManager]: * Use bitvectors instead of ints=true [2024-11-24 18:14:08,928 INFO L153 SettingsManager]: * Memory model=HoenickeLindenmann_4ByteResolution [2024-11-24 18:14:08,928 INFO L153 SettingsManager]: * Check unreachability of reach_error function=false [2024-11-24 18:14:08,928 INFO L153 SettingsManager]: * sizeof long double=12 [2024-11-24 18:14:08,928 INFO L153 SettingsManager]: * Behaviour of calls to undefined functions=OVERAPPROXIMATE_BEHAVIOUR [2024-11-24 18:14:08,928 INFO L153 SettingsManager]: * Use constant arrays=true [2024-11-24 18:14:08,929 INFO L151 SettingsManager]: Preferences of CodeCheck differ from their defaults: [2024-11-24 18:14:08,929 INFO L153 SettingsManager]: * Timeout in seconds=1000000 [2024-11-24 18:14:08,929 INFO L153 SettingsManager]: * Theory for external solver=ALL [2024-11-24 18:14:08,929 INFO L153 SettingsManager]: * Command for calling external solver=cvc4 --incremental --print-success --lang smt [2024-11-24 18:14:08,929 INFO L153 SettingsManager]: * Choose which separate solver to use for tracechecks=External_ModelsAndUnsatCoreMode [2024-11-24 18:14:08,929 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2024-11-24 18:14:08,929 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2024-11-24 18:14:08,930 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2024-11-24 18:14:08,930 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2024-11-24 18:14:08,930 INFO L153 SettingsManager]: * Trace refinement strategy=WALRUS [2024-11-24 18:14:08,930 INFO L153 SettingsManager]: * Command for external solver=cvc4 --incremental --print-success --lang smt [2024-11-24 18:14:08,930 INFO L153 SettingsManager]: * Use separate solver for trace checks=false [2024-11-24 18:14:08,930 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_9682d253-f607-4367-98a5-ee24bf9537fa/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 -> 2ed1b4c32fb34a3b94710a14cca3ab0a8326ba7fa7dcd01a325fa2ad8637f2b6 [2024-11-24 18:14:09,273 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2024-11-24 18:14:09,285 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2024-11-24 18:14:09,290 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2024-11-24 18:14:09,292 INFO L270 PluginConnector]: Initializing CDTParser... [2024-11-24 18:14:09,293 INFO L274 PluginConnector]: CDTParser initialized [2024-11-24 18:14:09,294 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_9682d253-f607-4367-98a5-ee24bf9537fa/bin/ukojak-verify-ENZ3QT5qd3/../../sv-benchmarks/c/ldv-memsafety/memleaks_test5_2.i [2024-11-24 18:14:12,247 INFO L533 CDTParser]: Created temporary CDT project at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_9682d253-f607-4367-98a5-ee24bf9537fa/bin/ukojak-verify-ENZ3QT5qd3/data/ef75d44c9/84c0452f8275426eaf52ff520db190dd/FLAG5fe161fc1 [2024-11-24 18:14:12,638 INFO L384 CDTParser]: Found 1 translation units. [2024-11-24 18:14:12,639 INFO L180 CDTParser]: Scanning /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_9682d253-f607-4367-98a5-ee24bf9537fa/sv-benchmarks/c/ldv-memsafety/memleaks_test5_2.i [2024-11-24 18:14:12,661 INFO L427 CDTParser]: About to delete temporary CDT project at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_9682d253-f607-4367-98a5-ee24bf9537fa/bin/ukojak-verify-ENZ3QT5qd3/data/ef75d44c9/84c0452f8275426eaf52ff520db190dd/FLAG5fe161fc1 [2024-11-24 18:14:12,842 INFO L435 CDTParser]: Successfully deleted /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_9682d253-f607-4367-98a5-ee24bf9537fa/bin/ukojak-verify-ENZ3QT5qd3/data/ef75d44c9/84c0452f8275426eaf52ff520db190dd [2024-11-24 18:14:12,847 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2024-11-24 18:14:12,848 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2024-11-24 18:14:12,850 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2024-11-24 18:14:12,852 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2024-11-24 18:14:12,859 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2024-11-24 18:14:12,861 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 24.11 06:14:12" (1/1) ... [2024-11-24 18:14:12,864 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@1cf7dcdd and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 06:14:12, skipping insertion in model container [2024-11-24 18:14:12,865 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 24.11 06:14:12" (1/1) ... [2024-11-24 18:14:12,920 INFO L175 MainTranslator]: Built tables and reachable declarations [2024-11-24 18:14:13,409 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:14:13,482 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:14:13,486 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-24 18:14:13,511 INFO L197 MainTranslator]: Restarting translation with changed settings: SettingsChange [mNewPreferredMemoryModel=HoenickeLindenmann_1ByteResolution] [2024-11-24 18:14:13,522 INFO L175 MainTranslator]: Built tables and reachable declarations [2024-11-24 18:14:13,572 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:14:13,605 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:14:13,606 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-24 18:14:13,619 INFO L200 MainTranslator]: Completed pre-run [2024-11-24 18:14:13,712 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-24 18:14:13,765 INFO L204 MainTranslator]: Completed translation [2024-11-24 18:14:13,766 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 06:14:13 WrapperNode [2024-11-24 18:14:13,767 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2024-11-24 18:14:13,768 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2024-11-24 18:14:13,768 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2024-11-24 18:14:13,768 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2024-11-24 18:14:13,776 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:14:13" (1/1) ... [2024-11-24 18:14:13,805 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:14:13" (1/1) ... [2024-11-24 18:14:13,827 INFO L138 Inliner]: procedures = 167, calls = 71, calls flagged for inlining = 31, calls inlined = 6, statements flattened = 37 [2024-11-24 18:14:13,827 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2024-11-24 18:14:13,828 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2024-11-24 18:14:13,828 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2024-11-24 18:14:13,828 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2024-11-24 18:14:13,837 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 06:14:13" (1/1) ... [2024-11-24 18:14:13,837 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 06:14:13" (1/1) ... [2024-11-24 18:14:13,840 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 06:14:13" (1/1) ... [2024-11-24 18:14:13,840 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 06:14:13" (1/1) ... [2024-11-24 18:14:13,847 INFO L184 PluginConnector]: Executing the observer ReplaceArrayAssignments from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 06:14:13" (1/1) ... [2024-11-24 18:14:13,848 INFO L184 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 06:14:13" (1/1) ... [2024-11-24 18:14:13,850 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 06:14:13" (1/1) ... [2024-11-24 18:14:13,851 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 06:14:13" (1/1) ... [2024-11-24 18:14:13,852 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 06:14:13" (1/1) ... [2024-11-24 18:14:13,855 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2024-11-24 18:14:13,856 INFO L112 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2024-11-24 18:14:13,856 INFO L270 PluginConnector]: Initializing RCFGBuilder... [2024-11-24 18:14:13,856 INFO L274 PluginConnector]: RCFGBuilder initialized [2024-11-24 18:14:13,857 INFO L184 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 06:14:13" (1/1) ... [2024-11-24 18:14:13,864 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2024-11-24 18:14:13,883 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_9682d253-f607-4367-98a5-ee24bf9537fa/bin/ukojak-verify-ENZ3QT5qd3/z3 [2024-11-24 18:14:13,902 INFO L229 MonitoredProcess]: Starting monitored process 1 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_9682d253-f607-4367-98a5-ee24bf9537fa/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:14:13,907 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_9682d253-f607-4367-98a5-ee24bf9537fa/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:14:13,941 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnHeap [2024-11-24 18:14:13,941 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2024-11-24 18:14:13,941 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.dealloc [2024-11-24 18:14:13,941 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~$Pointer$ [2024-11-24 18:14:13,941 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2024-11-24 18:14:13,941 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2024-11-24 18:14:14,134 INFO L234 CfgBuilder]: Building ICFG [2024-11-24 18:14:14,137 INFO L260 CfgBuilder]: Building CFG for each procedure with an implementation [2024-11-24 18:14:14,310 INFO L? ?]: Removed 21 outVars from TransFormulas that were not future-live. [2024-11-24 18:14:14,310 INFO L283 CfgBuilder]: Performing block encoding [2024-11-24 18:14:14,394 INFO L307 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2024-11-24 18:14:14,395 INFO L312 CfgBuilder]: Removed 0 assume(true) statements. [2024-11-24 18:14:14,395 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 24.11 06:14:14 BoogieIcfgContainer [2024-11-24 18:14:14,395 INFO L131 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2024-11-24 18:14:14,396 INFO L112 PluginConnector]: ------------------------CodeCheck---------------------------- [2024-11-24 18:14:14,396 INFO L270 PluginConnector]: Initializing CodeCheck... [2024-11-24 18:14:14,414 INFO L274 PluginConnector]: CodeCheck initialized [2024-11-24 18:14:14,415 INFO L184 PluginConnector]: Executing the observer CodeCheckObserver from plugin CodeCheck for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 24.11 06:14:14" (1/1) ... [2024-11-24 18:14:14,424 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-11-24 18:14:14,473 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-24 18:14:14,483 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 12 states to 12 states and 12 transitions. [2024-11-24 18:14:14,484 INFO L276 IsEmpty]: Start isEmpty. Operand 12 states and 12 transitions. [2024-11-24 18:14:14,487 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 4 [2024-11-24 18:14:14,488 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-24 18:14:14,489 INFO L173 SolverBuilder]: Constructing external solver with command: cvc4 --incremental --print-success --lang smt [2024-11-24 18:14:14,489 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_9682d253-f607-4367-98a5-ee24bf9537fa/bin/ukojak-verify-ENZ3QT5qd3/cvc4 [2024-11-24 18:14:14,495 INFO L229 MonitoredProcess]: Starting monitored process 2 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_9682d253-f607-4367-98a5-ee24bf9537fa/bin/ukojak-verify-ENZ3QT5qd3/cvc4 --incremental --print-success --lang smt (exit command is (exit), workingDir is null) [2024-11-24 18:14:14,496 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_9682d253-f607-4367-98a5-ee24bf9537fa/bin/ukojak-verify-ENZ3QT5qd3/cvc4 --incremental --print-success --lang smt (2)] Waiting until timeout for monitored process [2024-11-24 18:14:14,655 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-24 18:14:14,658 ERROR L568 CodeCheckObserver]: First Tracecheck threw exception Proofs are not supported [2024-11-24 18:14:14,696 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-24 18:14:14,698 INFO L256 TraceCheckSpWp]: Trace formula consists of 21 conjuncts, 2 conjuncts are in the unsatisfiable core [2024-11-24 18:14:14,703 INFO L279 TraceCheckSpWp]: Computing forward predicates... [2024-11-24 18:14:14,756 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2024-11-24 18:14:14,762 INFO L540 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_9682d253-f607-4367-98a5-ee24bf9537fa/bin/ukojak-verify-ENZ3QT5qd3/cvc4 --incremental --print-success --lang smt (2)] Forceful destruction successful, exit code 0 [2024-11-24 18:14:14,824 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-24 18:14:14,825 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 11 states to 11 states and 11 transitions. [2024-11-24 18:14:14,825 INFO L276 IsEmpty]: Start isEmpty. Operand 11 states and 11 transitions. [2024-11-24 18:14:14,825 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 5 [2024-11-24 18:14:14,825 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-24 18:14:14,828 INFO L173 SolverBuilder]: Constructing external solver with command: cvc4 --incremental --print-success --lang smt [2024-11-24 18:14:14,828 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_9682d253-f607-4367-98a5-ee24bf9537fa/bin/ukojak-verify-ENZ3QT5qd3/cvc4 [2024-11-24 18:14:14,830 INFO L229 MonitoredProcess]: Starting monitored process 3 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_9682d253-f607-4367-98a5-ee24bf9537fa/bin/ukojak-verify-ENZ3QT5qd3/cvc4 --incremental --print-success --lang smt (exit command is (exit), workingDir is null) [2024-11-24 18:14:14,834 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_9682d253-f607-4367-98a5-ee24bf9537fa/bin/ukojak-verify-ENZ3QT5qd3/cvc4 --incremental --print-success --lang smt (3)] Waiting until timeout for monitored process [2024-11-24 18:14:14,966 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-24 18:14:14,966 INFO L357 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-11-24 18:14:15,001 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-24 18:14:15,068 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-24 18:14:15,068 INFO L357 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-11-24 18:14:15,090 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-24 18:14:15,118 INFO L540 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_9682d253-f607-4367-98a5-ee24bf9537fa/bin/ukojak-verify-ENZ3QT5qd3/cvc4 --incremental --print-success --lang smt (3)] Forceful destruction successful, exit code 0 [2024-11-24 18:14:15,119 WARN L473 CodeCheckObserver]: This program is UNSAFE, Check terminated with 2 iterations. [2024-11-24 18:14:15,150 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck CFG 24.11 06:14:15 ImpRootNode [2024-11-24 18:14:15,150 INFO L131 PluginConnector]: ------------------------ END CodeCheck---------------------------- [2024-11-24 18:14:15,152 INFO L112 PluginConnector]: ------------------------Witness Printer---------------------------- [2024-11-24 18:14:15,152 INFO L270 PluginConnector]: Initializing Witness Printer... [2024-11-24 18:14:15,152 INFO L274 PluginConnector]: Witness Printer initialized [2024-11-24 18:14:15,153 INFO L184 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 24.11 06:14:14" (3/4) ... [2024-11-24 18:14:15,157 INFO L149 WitnessPrinter]: No result that supports witness generation found [2024-11-24 18:14:15,158 INFO L131 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2024-11-24 18:14:15,159 INFO L158 Benchmark]: Toolchain (without parser) took 2310.63ms. Allocated memory is still 83.9MB. Free memory was 58.8MB in the beginning and 32.5MB in the end (delta: 26.2MB). Peak memory consumption was 28.9MB. Max. memory is 16.1GB. [2024-11-24 18:14:15,159 INFO L158 Benchmark]: CDTParser took 0.35ms. Allocated memory is still 83.9MB. Free memory was 64.3MB in the beginning and 64.3MB in the end (delta: 34.9kB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-24 18:14:15,162 INFO L158 Benchmark]: CACSL2BoogieTranslator took 917.21ms. Allocated memory is still 83.9MB. Free memory was 58.8MB in the beginning and 31.3MB in the end (delta: 27.5MB). Peak memory consumption was 25.2MB. Max. memory is 16.1GB. [2024-11-24 18:14:15,162 INFO L158 Benchmark]: Boogie Procedure Inliner took 59.44ms. Allocated memory is still 83.9MB. Free memory was 31.3MB in the beginning and 29.2MB in the end (delta: 2.1MB). Peak memory consumption was 8.4MB. Max. memory is 16.1GB. [2024-11-24 18:14:15,163 INFO L158 Benchmark]: Boogie Preprocessor took 27.27ms. Allocated memory is still 83.9MB. Free memory was 29.2MB in the beginning and 28.3MB in the end (delta: 895.4kB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-24 18:14:15,163 INFO L158 Benchmark]: RCFGBuilder took 539.56ms. Allocated memory is still 83.9MB. Free memory was 28.3MB in the beginning and 51.0MB in the end (delta: -22.7MB). Peak memory consumption was 12.1MB. Max. memory is 16.1GB. [2024-11-24 18:14:15,163 INFO L158 Benchmark]: CodeCheck took 755.20ms. Allocated memory is still 83.9MB. Free memory was 51.0MB in the beginning and 33.1MB in the end (delta: 17.9MB). Peak memory consumption was 16.8MB. Max. memory is 16.1GB. [2024-11-24 18:14:15,166 INFO L158 Benchmark]: Witness Printer took 6.42ms. Allocated memory is still 83.9MB. Free memory was 33.1MB in the beginning and 32.5MB in the end (delta: 528.5kB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-24 18:14:15,168 INFO L338 ainManager$Toolchain]: ####################### End [Toolchain 1] ####################### --- Results --- * Results from de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck: - StatisticsResult: Ultimate CodeCheck benchmark data CFG has 1 procedures, 12 locations, 4 error locations. Started 1 CEGAR loops. OverallTime: 0.7s, OverallIterations: 2, TraceHistogramMax: 0, PathProgramHistogramMax: 0, EmptinessCheckTime: 0.0s, AutomataDifference: 0.0s, DeadEndRemovalTime: 0.0s, HoareAnnotationTime: 0.0s, InitialAbstractionConstructionTime: 0.0s, HoareTripleCheckerStatistics: 0 mSolverCounterUnknown, 2 SdHoareTripleChecker+Valid, 0.0s IncrementalHoareTripleChecker+Time, 0 mSdLazyCounter, 2 mSDsluCounter, 0 SdHoareTripleChecker+Invalid, 0.0s Time, 0 mProtectedAction, 0 SdHoareTripleChecker+Unchecked, 0 IncrementalHoareTripleChecker+Unchecked, 0 mSDsCounter, 4 IncrementalHoareTripleChecker+Valid, 0 mProtectedPredicate, 8 IncrementalHoareTripleChecker+Invalid, 12 SdHoareTripleChecker+Unknown, 0 mSolverCounterNotChecked, 4 mSolverCounterUnsat, 0 mSDtfsCounter, 8 mSolverCounterSat, 0.0s SdHoareTripleChecker+Time, 0 IncrementalHoareTripleChecker+Unknown, PredicateUnifierStatistics: 0 DeclaredPredicates, 18 GetRequests, 16 SyntacticMatches, 0 SemanticMatches, 2 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 0 ImplicationChecksByTransitivity, 0.0s Time, 0.0s BasicInterpolantAutomatonTime, BiggestAbstraction: size=-1occurred in iteration=-1, InterpolantAutomatonStates: 0, traceCheckStatistics: 0.0s SsaConstructionTime, 0.0s SatisfiabilityAnalysisTime, 0.1s InterpolantComputationTime, 7 NumberOfCodeBlocks, 7 NumberOfCodeBlocksAsserted, 2 NumberOfCheckSat, 2 ConstructedInterpolants, 0 QuantifiedInterpolants, 6 SizeOfPredicates, 0 NumberOfNonLiveVariables, 21 ConjunctsInSsa, 2 ConjunctsInUnsatCore, 1 InterpolantComputations, 1 PerfectInterpolantSequences, 0/0 InterpolantCoveringCapability, InterpolantConsolidationStatistics: No data available, PathInvariantsStatistics: No data available, 0/0 InterpolantCoveringCapability, TotalInterpolationStatistics: No data available, 0.0s DumpTime, AutomataMinimizationStatistics: No data available, HoareAnnotationStatistics: No data available, RefinementEngineStatistics: No data available, ReuseStatistics: No data available, ConComCheckerStatistics: No data available - UnprovableResult [Line: 770]: Unable to prove that all allocated memory was freed Unable to prove that all allocated memory was freed Reason: overapproximation of memtrack at line 770. Possible FailurePath: [L569] struct ldv_list_head ldv_global_msg_list = { &(ldv_global_msg_list), &(ldv_global_msg_list) }; [L771] CALL entry_point() [L767] CALL, EXPR f5() [L758] CALL, EXPR ldv_malloc(sizeof(int)) [L526] COND TRUE __VERIFIER_nondet_int() [L527] return malloc(size); [L758] RET, EXPR ldv_malloc(sizeof(int)) [L758] int *p = (int *)ldv_malloc(sizeof(int)); [L759] return 0; [L767] RET, EXPR f5() [L767] int *p = f5(); [L768] CALL g5(p) [L762] COND FALSE !(\read(*p)) VAL [ldv_global_msg_list={1:0}] [L768] RET g5(p) [L771] RET entry_point() * Results from de.uni_freiburg.informatik.ultimate.core: - StatisticsResult: Toolchain Benchmarks Benchmark results are: * CDTParser took 0.35ms. Allocated memory is still 83.9MB. Free memory was 64.3MB in the beginning and 64.3MB in the end (delta: 34.9kB). There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 917.21ms. Allocated memory is still 83.9MB. Free memory was 58.8MB in the beginning and 31.3MB in the end (delta: 27.5MB). Peak memory consumption was 25.2MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 59.44ms. Allocated memory is still 83.9MB. Free memory was 31.3MB in the beginning and 29.2MB in the end (delta: 2.1MB). Peak memory consumption was 8.4MB. Max. memory is 16.1GB. * Boogie Preprocessor took 27.27ms. Allocated memory is still 83.9MB. Free memory was 29.2MB in the beginning and 28.3MB in the end (delta: 895.4kB). There was no memory consumed. Max. memory is 16.1GB. * RCFGBuilder took 539.56ms. Allocated memory is still 83.9MB. Free memory was 28.3MB in the beginning and 51.0MB in the end (delta: -22.7MB). Peak memory consumption was 12.1MB. Max. memory is 16.1GB. * CodeCheck took 755.20ms. Allocated memory is still 83.9MB. Free memory was 51.0MB in the beginning and 33.1MB in the end (delta: 17.9MB). Peak memory consumption was 16.8MB. Max. memory is 16.1GB. * Witness Printer took 6.42ms. Allocated memory is still 83.9MB. Free memory was 33.1MB in the beginning and 32.5MB in the end (delta: 528.5kB). 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:14:15,194 INFO L552 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_9682d253-f607-4367-98a5-ee24bf9537fa/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 Writing output log to file Ultimate.log Result: UNKNOWN: Overapproximated counterexample