./Ultimate.py --spec ../../sv-benchmarks/c/properties/valid-memsafety.prp --file ../../sv-benchmarks/c/ldv-memsafety/memleaks_test9_1.i --full-output --architecture 32bit -------------------------------------------------------------------------------- Checking for memory safety (deref-memtrack) Using default analysis Version 826ab2ba Calling Ultimate with: /usr/bin/java -Dosgi.configuration.area=/tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_ede4e4f3-86b6-4b40-a50b-5b22f4778e4c/bin/ukojak-verify-EEHR8qb7sm/data/config -Xmx15G -Xms4m -jar /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_ede4e4f3-86b6-4b40-a50b-5b22f4778e4c/bin/ukojak-verify-EEHR8qb7sm/plugins/org.eclipse.equinox.launcher_1.6.800.v20240513-1750.jar -data @noDefault -ultimatedata /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_ede4e4f3-86b6-4b40-a50b-5b22f4778e4c/bin/ukojak-verify-EEHR8qb7sm/data -tc /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_ede4e4f3-86b6-4b40-a50b-5b22f4778e4c/bin/ukojak-verify-EEHR8qb7sm/config/KojakMemDerefMemtrack.xml -i ../../sv-benchmarks/c/ldv-memsafety/memleaks_test9_1.i -s /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_ede4e4f3-86b6-4b40-a50b-5b22f4778e4c/bin/ukojak-verify-EEHR8qb7sm/config/svcomp-DerefFreeMemtrack-32bit-Kojak_Default.epf --cacsl2boogietranslator.entry.function main --witnessprinter.witness.directory /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_ede4e4f3-86b6-4b40-a50b-5b22f4778e4c/bin/ukojak-verify-EEHR8qb7sm --witnessprinter.witness.filename witness --witnessprinter.write.witness.besides.input.file false --witnessprinter.graph.data.specification CHECK( init(main()), LTL(G valid-free) ) CHECK( init(main()), LTL(G valid-deref) ) CHECK( init(main()), LTL(G valid-memtrack) ) --witnessprinter.graph.data.producer Kojak --witnessprinter.graph.data.architecture 32bit --witnessprinter.graph.data.programhash e65360727cbd68c581cd6e4ddec6424d5deee07e47cefb70d4b6b7d40f9b97f0 --- Real Ultimate output --- This is Ultimate 0.3.0-dev-826ab2b [2024-11-13 20:41:52,372 INFO L188 SettingsManager]: Resetting all preferences to default values... [2024-11-13 20:41:52,466 INFO L114 SettingsManager]: Loading settings from /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_ede4e4f3-86b6-4b40-a50b-5b22f4778e4c/bin/ukojak-verify-EEHR8qb7sm/config/svcomp-DerefFreeMemtrack-32bit-Kojak_Default.epf [2024-11-13 20:41:52,474 WARN L101 SettingsManager]: Preference file contains the following unknown settings: [2024-11-13 20:41:52,474 WARN L103 SettingsManager]: * de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck.Interpolating solver [2024-11-13 20:41:52,505 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2024-11-13 20:41:52,506 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2024-11-13 20:41:52,507 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2024-11-13 20:41:52,507 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2024-11-13 20:41:52,508 INFO L153 SettingsManager]: * sizeof long=4 [2024-11-13 20:41:52,508 INFO L153 SettingsManager]: * Overapproximate operations on floating types=true [2024-11-13 20:41:52,508 INFO L153 SettingsManager]: * sizeof POINTER=4 [2024-11-13 20:41:52,508 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2024-11-13 20:41:52,508 INFO L153 SettingsManager]: * Check for the main procedure if all allocated memory was freed=true [2024-11-13 20:41:52,508 INFO L153 SettingsManager]: * Bitprecise bitfields=true [2024-11-13 20:41:52,508 INFO L153 SettingsManager]: * SV-COMP memtrack compatibility mode=true [2024-11-13 20:41:52,508 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2024-11-13 20:41:52,508 INFO L153 SettingsManager]: * Allow undefined functions=false [2024-11-13 20:41:52,508 INFO L153 SettingsManager]: * Check unreachability of reach_error function=false [2024-11-13 20:41:52,508 INFO L153 SettingsManager]: * sizeof long double=12 [2024-11-13 20:41:52,509 INFO L153 SettingsManager]: * Use constant arrays=true [2024-11-13 20:41:52,509 INFO L151 SettingsManager]: Preferences of CodeCheck differ from their defaults: [2024-11-13 20:41:52,509 INFO L153 SettingsManager]: * Timeout in seconds=1000000 [2024-11-13 20:41:52,509 INFO L153 SettingsManager]: * Theory for external solver=ALL [2024-11-13 20:41:52,509 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2024-11-13 20:41:52,509 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2024-11-13 20:41:52,509 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2024-11-13 20:41:52,509 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2024-11-13 20:41:52,509 INFO L153 SettingsManager]: * Trace refinement strategy=PENGUIN [2024-11-13 20:41:52,509 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2024-11-13 20:41:52,510 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_ede4e4f3-86b6-4b40-a50b-5b22f4778e4c/bin/ukojak-verify-EEHR8qb7sm Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Witness filename -> witness Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Write witness besides input file -> false Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data specification -> CHECK( init(main()), LTL(G valid-free) ) CHECK( init(main()), LTL(G valid-deref) ) CHECK( init(main()), LTL(G valid-memtrack) ) Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data producer -> Kojak Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data architecture -> 32bit Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data programhash -> e65360727cbd68c581cd6e4ddec6424d5deee07e47cefb70d4b6b7d40f9b97f0 [2024-11-13 20:41:52,844 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2024-11-13 20:41:52,853 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2024-11-13 20:41:52,855 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2024-11-13 20:41:52,857 INFO L270 PluginConnector]: Initializing CDTParser... [2024-11-13 20:41:52,857 INFO L274 PluginConnector]: CDTParser initialized [2024-11-13 20:41:52,858 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_ede4e4f3-86b6-4b40-a50b-5b22f4778e4c/bin/ukojak-verify-EEHR8qb7sm/../../sv-benchmarks/c/ldv-memsafety/memleaks_test9_1.i Unable to find full path for "g++" [2024-11-13 20:41:54,775 INFO L533 CDTParser]: Created temporary CDT project at NULL [2024-11-13 20:41:55,052 INFO L384 CDTParser]: Found 1 translation units. [2024-11-13 20:41:55,052 INFO L180 CDTParser]: Scanning /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_ede4e4f3-86b6-4b40-a50b-5b22f4778e4c/sv-benchmarks/c/ldv-memsafety/memleaks_test9_1.i [2024-11-13 20:41:55,067 INFO L427 CDTParser]: About to delete temporary CDT project at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_ede4e4f3-86b6-4b40-a50b-5b22f4778e4c/bin/ukojak-verify-EEHR8qb7sm/data/7582edab5/a45f22df66d34f8e8348beb058ffb699/FLAG158ba46ef [2024-11-13 20:41:55,083 INFO L435 CDTParser]: Successfully deleted /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_ede4e4f3-86b6-4b40-a50b-5b22f4778e4c/bin/ukojak-verify-EEHR8qb7sm/data/7582edab5/a45f22df66d34f8e8348beb058ffb699 [2024-11-13 20:41:55,085 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2024-11-13 20:41:55,087 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2024-11-13 20:41:55,088 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2024-11-13 20:41:55,088 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2024-11-13 20:41:55,093 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2024-11-13 20:41:55,094 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 13.11 08:41:55" (1/1) ... [2024-11-13 20:41:55,095 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@277b464a and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 08:41:55, skipping insertion in model container [2024-11-13 20:41:55,095 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 13.11 08:41:55" (1/1) ... [2024-11-13 20:41:55,130 INFO L175 MainTranslator]: Built tables and reachable declarations [2024-11-13 20:41:55,505 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-13 20:41:55,521 INFO L200 MainTranslator]: Completed pre-run [2024-11-13 20:41:55,630 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-13 20:41:55,683 INFO L204 MainTranslator]: Completed translation [2024-11-13 20:41:55,684 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 08:41:55 WrapperNode [2024-11-13 20:41:55,684 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2024-11-13 20:41:55,685 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2024-11-13 20:41:55,685 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2024-11-13 20:41:55,685 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2024-11-13 20:41:55,690 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 08:41:55" (1/1) ... [2024-11-13 20:41:55,705 INFO L184 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 08:41:55" (1/1) ... [2024-11-13 20:41:55,723 INFO L138 Inliner]: procedures = 166, calls = 71, calls flagged for inlining = 31, calls inlined = 6, statements flattened = 39 [2024-11-13 20:41:55,723 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2024-11-13 20:41:55,724 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2024-11-13 20:41:55,724 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2024-11-13 20:41:55,724 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2024-11-13 20:41:55,732 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 08:41:55" (1/1) ... [2024-11-13 20:41:55,732 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 08:41:55" (1/1) ... [2024-11-13 20:41:55,735 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 08:41:55" (1/1) ... [2024-11-13 20:41:55,735 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 08:41:55" (1/1) ... [2024-11-13 20:41:55,740 INFO L184 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 08:41:55" (1/1) ... [2024-11-13 20:41:55,742 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 08:41:55" (1/1) ... [2024-11-13 20:41:55,743 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 08:41:55" (1/1) ... [2024-11-13 20:41:55,744 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 08:41:55" (1/1) ... [2024-11-13 20:41:55,746 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2024-11-13 20:41:55,747 INFO L112 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2024-11-13 20:41:55,747 INFO L270 PluginConnector]: Initializing RCFGBuilder... [2024-11-13 20:41:55,747 INFO L274 PluginConnector]: RCFGBuilder initialized [2024-11-13 20:41:55,748 INFO L184 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 08:41:55" (1/1) ... [2024-11-13 20:41:55,754 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2024-11-13 20:41:55,768 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_ede4e4f3-86b6-4b40-a50b-5b22f4778e4c/bin/ukojak-verify-EEHR8qb7sm/z3 [2024-11-13 20:41:55,784 INFO L229 MonitoredProcess]: Starting monitored process 1 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_ede4e4f3-86b6-4b40-a50b-5b22f4778e4c/bin/ukojak-verify-EEHR8qb7sm/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (exit command is (exit), workingDir is null) [2024-11-13 20:41:55,789 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_ede4e4f3-86b6-4b40-a50b-5b22f4778e4c/bin/ukojak-verify-EEHR8qb7sm/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (1)] Waiting until timeout for monitored process [2024-11-13 20:41:55,816 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnHeap [2024-11-13 20:41:55,816 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2024-11-13 20:41:55,816 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.dealloc [2024-11-13 20:41:55,816 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~$Pointer$ [2024-11-13 20:41:55,816 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2024-11-13 20:41:55,816 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2024-11-13 20:41:55,955 INFO L238 CfgBuilder]: Building ICFG [2024-11-13 20:41:55,957 INFO L264 CfgBuilder]: Building CFG for each procedure with an implementation [2024-11-13 20:41:56,111 INFO L? ?]: Removed 9 outVars from TransFormulas that were not future-live. [2024-11-13 20:41:56,112 INFO L287 CfgBuilder]: Performing block encoding [2024-11-13 20:41:56,205 INFO L311 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2024-11-13 20:41:56,205 INFO L316 CfgBuilder]: Removed 0 assume(true) statements. [2024-11-13 20:41:56,206 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 13.11 08:41:56 BoogieIcfgContainer [2024-11-13 20:41:56,206 INFO L131 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2024-11-13 20:41:56,207 INFO L112 PluginConnector]: ------------------------CodeCheck---------------------------- [2024-11-13 20:41:56,207 INFO L270 PluginConnector]: Initializing CodeCheck... [2024-11-13 20:41:56,219 INFO L274 PluginConnector]: CodeCheck initialized [2024-11-13 20:41:56,219 INFO L184 PluginConnector]: Executing the observer CodeCheckObserver from plugin CodeCheck for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 13.11 08:41:56" (1/1) ... [2024-11-13 20:41:56,232 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-11-13 20:41:56,281 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-13 20:41:56,288 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 12 states to 12 states and 12 transitions. [2024-11-13 20:41:56,288 INFO L276 IsEmpty]: Start isEmpty. Operand 12 states and 12 transitions. [2024-11-13 20:41:56,290 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 4 [2024-11-13 20:41:56,290 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-13 20:41:56,291 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-13 20:41:56,388 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-13 20:41:56,475 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-13 20:41:56,506 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-13 20:41:56,506 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 5 states to 6 states and 5 transitions. [2024-11-13 20:41:56,506 INFO L276 IsEmpty]: Start isEmpty. Operand 6 states and 5 transitions. [2024-11-13 20:41:56,506 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 5 [2024-11-13 20:41:56,506 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-13 20:41:56,507 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-13 20:41:56,528 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-13 20:41:56,528 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-11-13 20:41:56,554 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-13 20:41:56,638 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-13 20:41:56,638 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-11-13 20:41:56,677 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-13 20:41:56,687 WARN L473 CodeCheckObserver]: This program is UNSAFE, Check terminated with 2 iterations. [2024-11-13 20:41:56,717 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck CFG 13.11 08:41:56 ImpRootNode [2024-11-13 20:41:56,717 INFO L131 PluginConnector]: ------------------------ END CodeCheck---------------------------- [2024-11-13 20:41:56,718 INFO L112 PluginConnector]: ------------------------Witness Printer---------------------------- [2024-11-13 20:41:56,718 INFO L270 PluginConnector]: Initializing Witness Printer... [2024-11-13 20:41:56,718 INFO L274 PluginConnector]: Witness Printer initialized [2024-11-13 20:41:56,719 INFO L184 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 13.11 08:41:56" (3/4) ... [2024-11-13 20:41:56,721 INFO L145 WitnessPrinter]: No result that supports witness generation found [2024-11-13 20:41:56,721 INFO L131 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2024-11-13 20:41:56,722 INFO L158 Benchmark]: Toolchain (without parser) took 1635.48ms. Allocated memory is still 117.4MB. Free memory was 90.8MB in the beginning and 87.8MB in the end (delta: 3.0MB). Peak memory consumption was 5.3MB. Max. memory is 16.1GB. [2024-11-13 20:41:56,723 INFO L158 Benchmark]: CDTParser took 0.31ms. Allocated memory is still 83.9MB. Free memory is still 41.2MB. There was no memory consumed. Max. memory is 16.1GB. [2024-11-13 20:41:56,723 INFO L158 Benchmark]: CACSL2BoogieTranslator took 596.22ms. Allocated memory is still 117.4MB. Free memory was 90.4MB in the beginning and 68.7MB in the end (delta: 21.8MB). Peak memory consumption was 16.8MB. Max. memory is 16.1GB. [2024-11-13 20:41:56,723 INFO L158 Benchmark]: Boogie Procedure Inliner took 38.61ms. Allocated memory is still 117.4MB. Free memory was 68.7MB in the beginning and 67.0MB in the end (delta: 1.7MB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-13 20:41:56,723 INFO L158 Benchmark]: Boogie Preprocessor took 21.84ms. Allocated memory is still 117.4MB. Free memory was 67.0MB in the beginning and 66.1MB in the end (delta: 860.1kB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-13 20:41:56,724 INFO L158 Benchmark]: RCFGBuilder took 459.90ms. Allocated memory is still 117.4MB. Free memory was 66.1MB in the beginning and 52.9MB in the end (delta: 13.3MB). Peak memory consumption was 16.8MB. Max. memory is 16.1GB. [2024-11-13 20:41:56,724 INFO L158 Benchmark]: CodeCheck took 510.24ms. Allocated memory is still 117.4MB. Free memory was 52.9MB in the beginning and 87.8MB in the end (delta: -34.9MB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-13 20:41:56,724 INFO L158 Benchmark]: Witness Printer took 3.51ms. Allocated memory is still 117.4MB. Free memory was 87.8MB in the beginning and 87.8MB in the end (delta: 14.1kB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-13 20:41:56,726 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.4s, 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, 2 IncrementalHoareTripleChecker+Valid, 0 mProtectedPredicate, 4 IncrementalHoareTripleChecker+Invalid, 6 SdHoareTripleChecker+Unknown, 0 mSolverCounterNotChecked, 2 mSolverCounterUnsat, 2 mSDtfsCounter, 4 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, 4 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 - UnprovableResult [Line: 772]: Unable to prove that all allocated memory was freed Unable to prove that all allocated memory was freed Reason: overapproximation of memtrack at line 772. Possible FailurePath: [L569] struct ldv_list_head ldv_global_msg_list = { &(ldv_global_msg_list), &(ldv_global_msg_list) }; [L757] int *a9; [L773] CALL entry_point() [L766] CALL, EXPR probe_9_2() [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] return - -3; [L766] RET, EXPR probe_9_2() [L766] int ret = probe_9_2(); [L767] COND FALSE !(ret==0) VAL [a9={29405:0}, ldv_global_msg_list={1:0}] [L770] a9 = 0 [L773] RET entry_point() * Results from de.uni_freiburg.informatik.ultimate.core: - StatisticsResult: Toolchain Benchmarks Benchmark results are: * CDTParser took 0.31ms. Allocated memory is still 83.9MB. Free memory is still 41.2MB. There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 596.22ms. Allocated memory is still 117.4MB. Free memory was 90.4MB in the beginning and 68.7MB in the end (delta: 21.8MB). Peak memory consumption was 16.8MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 38.61ms. Allocated memory is still 117.4MB. Free memory was 68.7MB in the beginning and 67.0MB in the end (delta: 1.7MB). There was no memory consumed. Max. memory is 16.1GB. * Boogie Preprocessor took 21.84ms. Allocated memory is still 117.4MB. Free memory was 67.0MB in the beginning and 66.1MB in the end (delta: 860.1kB). There was no memory consumed. Max. memory is 16.1GB. * RCFGBuilder took 459.90ms. Allocated memory is still 117.4MB. Free memory was 66.1MB in the beginning and 52.9MB in the end (delta: 13.3MB). Peak memory consumption was 16.8MB. Max. memory is 16.1GB. * CodeCheck took 510.24ms. Allocated memory is still 117.4MB. Free memory was 52.9MB in the beginning and 87.8MB in the end (delta: -34.9MB). There was no memory consumed. Max. memory is 16.1GB. * Witness Printer took 3.51ms. Allocated memory is still 117.4MB. Free memory was 87.8MB in the beginning and 87.8MB in the end (delta: 14.1kB). There was no memory consumed. Max. memory is 16.1GB. RESULT: Ultimate could not prove your program: unable to determine feasibility of some traces [2024-11-13 20:41:56,750 INFO L552 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_ede4e4f3-86b6-4b40-a50b-5b22f4778e4c/bin/ukojak-verify-EEHR8qb7sm/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (1)] Ended with exit code 0 Received shutdown request... --- End real Ultimate output --- Execution finished normally 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_ede4e4f3-86b6-4b40-a50b-5b22f4778e4c/bin/ukojak-verify-EEHR8qb7sm/data/config -Xmx15G -Xms4m -jar /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_ede4e4f3-86b6-4b40-a50b-5b22f4778e4c/bin/ukojak-verify-EEHR8qb7sm/plugins/org.eclipse.equinox.launcher_1.6.800.v20240513-1750.jar -data @noDefault -ultimatedata /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_ede4e4f3-86b6-4b40-a50b-5b22f4778e4c/bin/ukojak-verify-EEHR8qb7sm/data -tc /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_ede4e4f3-86b6-4b40-a50b-5b22f4778e4c/bin/ukojak-verify-EEHR8qb7sm/config/KojakMemDerefMemtrack.xml -i ../../sv-benchmarks/c/ldv-memsafety/memleaks_test9_1.i -s /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_ede4e4f3-86b6-4b40-a50b-5b22f4778e4c/bin/ukojak-verify-EEHR8qb7sm/config/svcomp-DerefFreeMemtrack-32bit-Kojak_Bitvector.epf --cacsl2boogietranslator.entry.function main --witnessprinter.witness.directory /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_ede4e4f3-86b6-4b40-a50b-5b22f4778e4c/bin/ukojak-verify-EEHR8qb7sm --witnessprinter.witness.filename witness --witnessprinter.write.witness.besides.input.file false --witnessprinter.graph.data.specification CHECK( init(main()), LTL(G valid-free) ) CHECK( init(main()), LTL(G valid-deref) ) CHECK( init(main()), LTL(G valid-memtrack) ) --witnessprinter.graph.data.producer Kojak --witnessprinter.graph.data.architecture 32bit --witnessprinter.graph.data.programhash e65360727cbd68c581cd6e4ddec6424d5deee07e47cefb70d4b6b7d40f9b97f0 --- Real Ultimate output --- This is Ultimate 0.3.0-dev-826ab2b [2024-11-13 20:41:59,375 INFO L188 SettingsManager]: Resetting all preferences to default values... [2024-11-13 20:41:59,475 INFO L114 SettingsManager]: Loading settings from /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_ede4e4f3-86b6-4b40-a50b-5b22f4778e4c/bin/ukojak-verify-EEHR8qb7sm/config/svcomp-DerefFreeMemtrack-32bit-Kojak_Bitvector.epf [2024-11-13 20:41:59,530 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2024-11-13 20:41:59,532 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2024-11-13 20:41:59,532 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2024-11-13 20:41:59,532 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2024-11-13 20:41:59,532 INFO L153 SettingsManager]: * sizeof long=4 [2024-11-13 20:41:59,532 INFO L153 SettingsManager]: * Overapproximate operations on floating types=true [2024-11-13 20:41:59,532 INFO L153 SettingsManager]: * sizeof POINTER=4 [2024-11-13 20:41:59,533 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2024-11-13 20:41:59,533 INFO L153 SettingsManager]: * Check for the main procedure if all allocated memory was freed=true [2024-11-13 20:41:59,533 INFO L153 SettingsManager]: * Bitprecise bitfields=true [2024-11-13 20:41:59,533 INFO L153 SettingsManager]: * SV-COMP memtrack compatibility mode=true [2024-11-13 20:41:59,533 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2024-11-13 20:41:59,533 INFO L153 SettingsManager]: * Adapt memory model on pointer casts if necessary=true [2024-11-13 20:41:59,533 INFO L153 SettingsManager]: * Use bitvectors instead of ints=true [2024-11-13 20:41:59,533 INFO L153 SettingsManager]: * Allow undefined functions=false [2024-11-13 20:41:59,533 INFO L153 SettingsManager]: * Memory model=HoenickeLindenmann_4ByteResolution [2024-11-13 20:41:59,534 INFO L153 SettingsManager]: * Check unreachability of reach_error function=false [2024-11-13 20:41:59,534 INFO L153 SettingsManager]: * sizeof long double=12 [2024-11-13 20:41:59,534 INFO L153 SettingsManager]: * Use constant arrays=true [2024-11-13 20:41:59,538 INFO L151 SettingsManager]: Preferences of CodeCheck differ from their defaults: [2024-11-13 20:41:59,538 INFO L153 SettingsManager]: * Timeout in seconds=1000000 [2024-11-13 20:41:59,538 INFO L153 SettingsManager]: * Theory for external solver=ALL [2024-11-13 20:41:59,539 INFO L153 SettingsManager]: * Command for calling external solver=cvc4 --incremental --print-success --lang smt [2024-11-13 20:41:59,539 INFO L153 SettingsManager]: * Choose which separate solver to use for tracechecks=External_ModelsAndUnsatCoreMode [2024-11-13 20:41:59,539 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2024-11-13 20:41:59,539 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2024-11-13 20:41:59,539 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2024-11-13 20:41:59,539 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2024-11-13 20:41:59,540 INFO L153 SettingsManager]: * Trace refinement strategy=WALRUS [2024-11-13 20:41:59,540 INFO L153 SettingsManager]: * Command for external solver=cvc4 --incremental --print-success --lang smt [2024-11-13 20:41:59,540 INFO L153 SettingsManager]: * Use separate solver for trace checks=false [2024-11-13 20:41:59,540 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_ede4e4f3-86b6-4b40-a50b-5b22f4778e4c/bin/ukojak-verify-EEHR8qb7sm Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Witness filename -> witness Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Write witness besides input file -> false Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data specification -> CHECK( init(main()), LTL(G valid-free) ) CHECK( init(main()), LTL(G valid-deref) ) CHECK( init(main()), LTL(G valid-memtrack) ) Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data producer -> Kojak Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data architecture -> 32bit Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data programhash -> e65360727cbd68c581cd6e4ddec6424d5deee07e47cefb70d4b6b7d40f9b97f0 [2024-11-13 20:41:59,920 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2024-11-13 20:41:59,931 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2024-11-13 20:41:59,933 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2024-11-13 20:41:59,936 INFO L270 PluginConnector]: Initializing CDTParser... [2024-11-13 20:41:59,939 INFO L274 PluginConnector]: CDTParser initialized [2024-11-13 20:41:59,941 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_ede4e4f3-86b6-4b40-a50b-5b22f4778e4c/bin/ukojak-verify-EEHR8qb7sm/../../sv-benchmarks/c/ldv-memsafety/memleaks_test9_1.i Unable to find full path for "g++" [2024-11-13 20:42:01,822 INFO L533 CDTParser]: Created temporary CDT project at NULL [2024-11-13 20:42:02,227 INFO L384 CDTParser]: Found 1 translation units. [2024-11-13 20:42:02,227 INFO L180 CDTParser]: Scanning /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_ede4e4f3-86b6-4b40-a50b-5b22f4778e4c/sv-benchmarks/c/ldv-memsafety/memleaks_test9_1.i [2024-11-13 20:42:02,249 INFO L427 CDTParser]: About to delete temporary CDT project at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_ede4e4f3-86b6-4b40-a50b-5b22f4778e4c/bin/ukojak-verify-EEHR8qb7sm/data/7707e9d67/affb01c3676e49f69b925d5154837147/FLAGa09e84418 [2024-11-13 20:42:02,275 INFO L435 CDTParser]: Successfully deleted /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_ede4e4f3-86b6-4b40-a50b-5b22f4778e4c/bin/ukojak-verify-EEHR8qb7sm/data/7707e9d67/affb01c3676e49f69b925d5154837147 [2024-11-13 20:42:02,281 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2024-11-13 20:42:02,284 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2024-11-13 20:42:02,287 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2024-11-13 20:42:02,288 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2024-11-13 20:42:02,294 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2024-11-13 20:42:02,296 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 13.11 08:42:02" (1/1) ... [2024-11-13 20:42:02,297 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@1cb059b9 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 08:42:02, skipping insertion in model container [2024-11-13 20:42:02,298 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 13.11 08:42:02" (1/1) ... [2024-11-13 20:42:02,348 INFO L175 MainTranslator]: Built tables and reachable declarations [2024-11-13 20:42:02,787 WARN L1072 CHandler]: saw a pointer cast to a type that we could not get a type size for, not adapting memory model [2024-11-13 20:42:02,886 WARN L1072 CHandler]: saw a pointer cast to a type that we could not get a type size for, not adapting memory model [2024-11-13 20:42:02,895 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-13 20:42:02,923 INFO L197 MainTranslator]: Restarting translation with changed settings: SettingsChange [mNewPreferredMemoryModel=HoenickeLindenmann_1ByteResolution] [2024-11-13 20:42:02,936 INFO L175 MainTranslator]: Built tables and reachable declarations [2024-11-13 20:42:02,988 WARN L1072 CHandler]: saw a pointer cast to a type that we could not get a type size for, not adapting memory model [2024-11-13 20:42:03,027 WARN L1072 CHandler]: saw a pointer cast to a type that we could not get a type size for, not adapting memory model [2024-11-13 20:42:03,031 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-13 20:42:03,047 INFO L200 MainTranslator]: Completed pre-run [2024-11-13 20:42:03,108 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-13 20:42:03,152 INFO L204 MainTranslator]: Completed translation [2024-11-13 20:42:03,152 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 08:42:03 WrapperNode [2024-11-13 20:42:03,152 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2024-11-13 20:42:03,153 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2024-11-13 20:42:03,154 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2024-11-13 20:42:03,154 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2024-11-13 20:42:03,160 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 08:42:03" (1/1) ... [2024-11-13 20:42:03,184 INFO L184 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 08:42:03" (1/1) ... [2024-11-13 20:42:03,201 INFO L138 Inliner]: procedures = 167, calls = 71, calls flagged for inlining = 31, calls inlined = 6, statements flattened = 38 [2024-11-13 20:42:03,202 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2024-11-13 20:42:03,202 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2024-11-13 20:42:03,203 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2024-11-13 20:42:03,203 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2024-11-13 20:42:03,210 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 08:42:03" (1/1) ... [2024-11-13 20:42:03,211 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 08:42:03" (1/1) ... [2024-11-13 20:42:03,213 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 08:42:03" (1/1) ... [2024-11-13 20:42:03,213 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 08:42:03" (1/1) ... [2024-11-13 20:42:03,219 INFO L184 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 08:42:03" (1/1) ... [2024-11-13 20:42:03,221 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 08:42:03" (1/1) ... [2024-11-13 20:42:03,222 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 08:42:03" (1/1) ... [2024-11-13 20:42:03,223 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 08:42:03" (1/1) ... [2024-11-13 20:42:03,225 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2024-11-13 20:42:03,226 INFO L112 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2024-11-13 20:42:03,227 INFO L270 PluginConnector]: Initializing RCFGBuilder... [2024-11-13 20:42:03,227 INFO L274 PluginConnector]: RCFGBuilder initialized [2024-11-13 20:42:03,228 INFO L184 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 08:42:03" (1/1) ... [2024-11-13 20:42:03,234 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2024-11-13 20:42:03,249 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_ede4e4f3-86b6-4b40-a50b-5b22f4778e4c/bin/ukojak-verify-EEHR8qb7sm/z3 [2024-11-13 20:42:03,263 INFO L229 MonitoredProcess]: Starting monitored process 1 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_ede4e4f3-86b6-4b40-a50b-5b22f4778e4c/bin/ukojak-verify-EEHR8qb7sm/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (exit command is (exit), workingDir is null) [2024-11-13 20:42:03,267 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_ede4e4f3-86b6-4b40-a50b-5b22f4778e4c/bin/ukojak-verify-EEHR8qb7sm/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (1)] Waiting until timeout for monitored process [2024-11-13 20:42:03,295 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnHeap [2024-11-13 20:42:03,295 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2024-11-13 20:42:03,295 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.dealloc [2024-11-13 20:42:03,295 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~$Pointer$ [2024-11-13 20:42:03,295 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2024-11-13 20:42:03,295 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2024-11-13 20:42:03,436 INFO L238 CfgBuilder]: Building ICFG [2024-11-13 20:42:03,438 INFO L264 CfgBuilder]: Building CFG for each procedure with an implementation [2024-11-13 20:42:03,572 INFO L? ?]: Removed 9 outVars from TransFormulas that were not future-live. [2024-11-13 20:42:03,572 INFO L287 CfgBuilder]: Performing block encoding [2024-11-13 20:42:03,638 INFO L311 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2024-11-13 20:42:03,638 INFO L316 CfgBuilder]: Removed 0 assume(true) statements. [2024-11-13 20:42:03,638 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 13.11 08:42:03 BoogieIcfgContainer [2024-11-13 20:42:03,639 INFO L131 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2024-11-13 20:42:03,639 INFO L112 PluginConnector]: ------------------------CodeCheck---------------------------- [2024-11-13 20:42:03,639 INFO L270 PluginConnector]: Initializing CodeCheck... [2024-11-13 20:42:03,665 INFO L274 PluginConnector]: CodeCheck initialized [2024-11-13 20:42:03,665 INFO L184 PluginConnector]: Executing the observer CodeCheckObserver from plugin CodeCheck for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 13.11 08:42:03" (1/1) ... [2024-11-13 20:42:03,673 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-11-13 20:42:03,712 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-13 20:42:03,720 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 12 states to 12 states and 12 transitions. [2024-11-13 20:42:03,720 INFO L276 IsEmpty]: Start isEmpty. Operand 12 states and 12 transitions. [2024-11-13 20:42:03,722 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 4 [2024-11-13 20:42:03,722 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-13 20:42:03,723 INFO L173 SolverBuilder]: Constructing external solver with command: cvc4 --incremental --print-success --lang smt [2024-11-13 20:42:03,724 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_ede4e4f3-86b6-4b40-a50b-5b22f4778e4c/bin/ukojak-verify-EEHR8qb7sm/cvc4 [2024-11-13 20:42:03,727 INFO L229 MonitoredProcess]: Starting monitored process 2 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_ede4e4f3-86b6-4b40-a50b-5b22f4778e4c/bin/ukojak-verify-EEHR8qb7sm/cvc4 --incremental --print-success --lang smt (exit command is (exit), workingDir is null) [2024-11-13 20:42:03,729 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_ede4e4f3-86b6-4b40-a50b-5b22f4778e4c/bin/ukojak-verify-EEHR8qb7sm/cvc4 --incremental --print-success --lang smt (2)] Waiting until timeout for monitored process [2024-11-13 20:42:03,842 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-13 20:42:03,845 ERROR L567 CodeCheckObserver]: First Tracecheck threw exception Proofs are not supported [2024-11-13 20:42:03,881 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-13 20:42:03,883 INFO L255 TraceCheckSpWp]: Trace formula consists of 20 conjuncts, 2 conjuncts are in the unsatisfiable core [2024-11-13 20:42:03,890 INFO L278 TraceCheckSpWp]: Computing forward predicates... [2024-11-13 20:42:04,047 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-13 20:42:04,051 INFO L552 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_ede4e4f3-86b6-4b40-a50b-5b22f4778e4c/bin/ukojak-verify-EEHR8qb7sm/cvc4 --incremental --print-success --lang smt (2)] Ended with exit code 0 [2024-11-13 20:42:04,098 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-13 20:42:04,100 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 11 states to 11 states and 11 transitions. [2024-11-13 20:42:04,100 INFO L276 IsEmpty]: Start isEmpty. Operand 11 states and 11 transitions. [2024-11-13 20:42:04,101 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 5 [2024-11-13 20:42:04,101 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-13 20:42:04,101 INFO L173 SolverBuilder]: Constructing external solver with command: cvc4 --incremental --print-success --lang smt [2024-11-13 20:42:04,102 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_ede4e4f3-86b6-4b40-a50b-5b22f4778e4c/bin/ukojak-verify-EEHR8qb7sm/cvc4 [2024-11-13 20:42:04,104 INFO L229 MonitoredProcess]: Starting monitored process 3 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_ede4e4f3-86b6-4b40-a50b-5b22f4778e4c/bin/ukojak-verify-EEHR8qb7sm/cvc4 --incremental --print-success --lang smt (exit command is (exit), workingDir is null) [2024-11-13 20:42:04,109 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_ede4e4f3-86b6-4b40-a50b-5b22f4778e4c/bin/ukojak-verify-EEHR8qb7sm/cvc4 --incremental --print-success --lang smt (3)] Waiting until timeout for monitored process [2024-11-13 20:42:04,214 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-13 20:42:04,214 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-11-13 20:42:04,242 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-13 20:42:04,283 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-13 20:42:04,283 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-11-13 20:42:04,307 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-13 20:42:04,323 INFO L552 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_ede4e4f3-86b6-4b40-a50b-5b22f4778e4c/bin/ukojak-verify-EEHR8qb7sm/cvc4 --incremental --print-success --lang smt (3)] Ended with exit code 0 [2024-11-13 20:42:04,324 WARN L473 CodeCheckObserver]: This program is UNSAFE, Check terminated with 2 iterations. [2024-11-13 20:42:04,350 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck CFG 13.11 08:42:04 ImpRootNode [2024-11-13 20:42:04,351 INFO L131 PluginConnector]: ------------------------ END CodeCheck---------------------------- [2024-11-13 20:42:04,351 INFO L112 PluginConnector]: ------------------------Witness Printer---------------------------- [2024-11-13 20:42:04,352 INFO L270 PluginConnector]: Initializing Witness Printer... [2024-11-13 20:42:04,352 INFO L274 PluginConnector]: Witness Printer initialized [2024-11-13 20:42:04,352 INFO L184 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 13.11 08:42:03" (3/4) ... [2024-11-13 20:42:04,356 INFO L145 WitnessPrinter]: No result that supports witness generation found [2024-11-13 20:42:04,357 INFO L131 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2024-11-13 20:42:04,358 INFO L158 Benchmark]: Toolchain (without parser) took 2074.35ms. Allocated memory is still 117.4MB. Free memory was 91.6MB in the beginning and 67.9MB in the end (delta: 23.7MB). Peak memory consumption was 20.9MB. Max. memory is 16.1GB. [2024-11-13 20:42:04,359 INFO L158 Benchmark]: CDTParser took 0.48ms. Allocated memory is still 117.4MB. Free memory is still 84.8MB. There was no memory consumed. Max. memory is 16.1GB. [2024-11-13 20:42:04,359 INFO L158 Benchmark]: CACSL2BoogieTranslator took 865.63ms. Allocated memory is still 117.4MB. Free memory was 91.6MB in the beginning and 64.0MB in the end (delta: 27.6MB). Peak memory consumption was 25.2MB. Max. memory is 16.1GB. [2024-11-13 20:42:04,359 INFO L158 Benchmark]: Boogie Procedure Inliner took 48.61ms. Allocated memory is still 117.4MB. Free memory was 64.0MB in the beginning and 62.2MB in the end (delta: 1.8MB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-13 20:42:04,360 INFO L158 Benchmark]: Boogie Preprocessor took 23.18ms. Allocated memory is still 117.4MB. Free memory was 62.2MB in the beginning and 61.1MB in the end (delta: 1.1MB). Peak memory consumption was 8.4MB. Max. memory is 16.1GB. [2024-11-13 20:42:04,362 INFO L158 Benchmark]: RCFGBuilder took 412.29ms. Allocated memory is still 117.4MB. Free memory was 61.1MB in the beginning and 45.6MB in the end (delta: 15.5MB). Peak memory consumption was 8.4MB. Max. memory is 16.1GB. [2024-11-13 20:42:04,362 INFO L158 Benchmark]: CodeCheck took 711.48ms. Allocated memory is still 117.4MB. Free memory was 45.6MB in the beginning and 67.9MB in the end (delta: -22.3MB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-13 20:42:04,362 INFO L158 Benchmark]: Witness Printer took 6.22ms. Allocated memory is still 117.4MB. Free memory is still 67.9MB. There was no memory consumed. Max. memory is 16.1GB. [2024-11-13 20:42:04,367 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.6s, 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, 6 SdHoareTripleChecker+Invalid, 0.0s Time, 0 mProtectedAction, 0 SdHoareTripleChecker+Unchecked, 0 IncrementalHoareTripleChecker+Unchecked, 2 mSDsCounter, 3 IncrementalHoareTripleChecker+Valid, 0 mProtectedPredicate, 3 IncrementalHoareTripleChecker+Invalid, 6 SdHoareTripleChecker+Unknown, 0 mSolverCounterNotChecked, 3 mSolverCounterUnsat, 4 mSDtfsCounter, 3 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.2s InterpolantComputationTime, 7 NumberOfCodeBlocks, 7 NumberOfCodeBlocksAsserted, 2 NumberOfCheckSat, 2 ConstructedInterpolants, 0 QuantifiedInterpolants, 6 SizeOfPredicates, 4 NumberOfNonLiveVariables, 20 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 - UnprovableResult [Line: 772]: Unable to prove that all allocated memory was freed Unable to prove that all allocated memory was freed Reason: overapproximation of memtrack at line 772. Possible FailurePath: [L569] struct ldv_list_head ldv_global_msg_list = { &(ldv_global_msg_list), &(ldv_global_msg_list) }; [L757] int *a9; [L773] CALL entry_point() [L766] CALL, EXPR probe_9_2() [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] return - -3; [L766] RET, EXPR probe_9_2() [L766] int ret = probe_9_2(); [L767] COND FALSE !(ret==0) VAL [a9={2:0}, ldv_global_msg_list={1:0}] [L770] a9 = 0 [L773] RET entry_point() * Results from de.uni_freiburg.informatik.ultimate.core: - StatisticsResult: Toolchain Benchmarks Benchmark results are: * CDTParser took 0.48ms. Allocated memory is still 117.4MB. Free memory is still 84.8MB. There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 865.63ms. Allocated memory is still 117.4MB. Free memory was 91.6MB in the beginning and 64.0MB in the end (delta: 27.6MB). Peak memory consumption was 25.2MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 48.61ms. Allocated memory is still 117.4MB. Free memory was 64.0MB in the beginning and 62.2MB in the end (delta: 1.8MB). There was no memory consumed. Max. memory is 16.1GB. * Boogie Preprocessor took 23.18ms. Allocated memory is still 117.4MB. Free memory was 62.2MB in the beginning and 61.1MB in the end (delta: 1.1MB). Peak memory consumption was 8.4MB. Max. memory is 16.1GB. * RCFGBuilder took 412.29ms. Allocated memory is still 117.4MB. Free memory was 61.1MB in the beginning and 45.6MB in the end (delta: 15.5MB). Peak memory consumption was 8.4MB. Max. memory is 16.1GB. * CodeCheck took 711.48ms. Allocated memory is still 117.4MB. Free memory was 45.6MB in the beginning and 67.9MB in the end (delta: -22.3MB). There was no memory consumed. Max. memory is 16.1GB. * Witness Printer took 6.22ms. Allocated memory is still 117.4MB. Free memory is still 67.9MB. There was no memory consumed. Max. memory is 16.1GB. RESULT: Ultimate could not prove your program: unable to determine feasibility of some traces [2024-11-13 20:42:04,400 INFO L540 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_ede4e4f3-86b6-4b40-a50b-5b22f4778e4c/bin/ukojak-verify-EEHR8qb7sm/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (1)] Forceful destruction successful, exit code 0 Received shutdown request... --- End real Ultimate output --- Execution finished normally Writing output log to file Ultimate.log Result: UNKNOWN: Overapproximated counterexample