./Ultimate.py --spec ../../sv-benchmarks/c/properties/valid-memsafety.prp --file ../../sv-benchmarks/c/termination-recursive-malloc/chunk1-2.i --full-output --architecture 64bit -------------------------------------------------------------------------------- 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_0bd93ccf-8014-48ed-a7d4-69e9eb3d07a2/bin/ukojak-verify-EEHR8qb7sm/data/config -Xmx15G -Xms4m -jar /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_0bd93ccf-8014-48ed-a7d4-69e9eb3d07a2/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_0bd93ccf-8014-48ed-a7d4-69e9eb3d07a2/bin/ukojak-verify-EEHR8qb7sm/data -tc /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_0bd93ccf-8014-48ed-a7d4-69e9eb3d07a2/bin/ukojak-verify-EEHR8qb7sm/config/KojakMemDerefMemtrack.xml -i ../../sv-benchmarks/c/termination-recursive-malloc/chunk1-2.i -s /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_0bd93ccf-8014-48ed-a7d4-69e9eb3d07a2/bin/ukojak-verify-EEHR8qb7sm/config/svcomp-DerefFreeMemtrack-64bit-Kojak_Default.epf --cacsl2boogietranslator.entry.function main --witnessprinter.witness.directory /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_0bd93ccf-8014-48ed-a7d4-69e9eb3d07a2/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 64bit --witnessprinter.graph.data.programhash 6a66369f5c9a0270ee2408adc274f8f50150ff97d329dbc5d86329753dd9abac --- Real Ultimate output --- This is Ultimate 0.3.0-dev-826ab2b [2024-11-13 22:57:22,653 INFO L188 SettingsManager]: Resetting all preferences to default values... [2024-11-13 22:57:22,752 INFO L114 SettingsManager]: Loading settings from /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_0bd93ccf-8014-48ed-a7d4-69e9eb3d07a2/bin/ukojak-verify-EEHR8qb7sm/config/svcomp-DerefFreeMemtrack-64bit-Kojak_Default.epf [2024-11-13 22:57:22,758 WARN L101 SettingsManager]: Preference file contains the following unknown settings: [2024-11-13 22:57:22,758 WARN L103 SettingsManager]: * de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck.Interpolating solver [2024-11-13 22:57:22,783 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2024-11-13 22:57:22,785 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2024-11-13 22:57:22,785 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2024-11-13 22:57:22,785 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2024-11-13 22:57:22,785 INFO L153 SettingsManager]: * Overapproximate operations on floating types=true [2024-11-13 22:57:22,785 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2024-11-13 22:57:22,785 INFO L153 SettingsManager]: * Check for the main procedure if all allocated memory was freed=true [2024-11-13 22:57:22,786 INFO L153 SettingsManager]: * Bitprecise bitfields=true [2024-11-13 22:57:22,786 INFO L153 SettingsManager]: * SV-COMP memtrack compatibility mode=true [2024-11-13 22:57:22,786 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2024-11-13 22:57:22,786 INFO L153 SettingsManager]: * Allow undefined functions=false [2024-11-13 22:57:22,786 INFO L153 SettingsManager]: * Check unreachability of reach_error function=false [2024-11-13 22:57:22,786 INFO L153 SettingsManager]: * Use constant arrays=true [2024-11-13 22:57:22,787 INFO L151 SettingsManager]: Preferences of CodeCheck differ from their defaults: [2024-11-13 22:57:22,787 INFO L153 SettingsManager]: * Timeout in seconds=1000000 [2024-11-13 22:57:22,787 INFO L153 SettingsManager]: * Theory for external solver=ALL [2024-11-13 22:57:22,787 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2024-11-13 22:57:22,787 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2024-11-13 22:57:22,788 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2024-11-13 22:57:22,788 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2024-11-13 22:57:22,788 INFO L153 SettingsManager]: * Trace refinement strategy=PENGUIN [2024-11-13 22:57:22,788 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2024-11-13 22:57:22,788 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_0bd93ccf-8014-48ed-a7d4-69e9eb3d07a2/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 -> 64bit Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data programhash -> 6a66369f5c9a0270ee2408adc274f8f50150ff97d329dbc5d86329753dd9abac [2024-11-13 22:57:23,105 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2024-11-13 22:57:23,117 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2024-11-13 22:57:23,120 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2024-11-13 22:57:23,121 INFO L270 PluginConnector]: Initializing CDTParser... [2024-11-13 22:57:23,124 INFO L274 PluginConnector]: CDTParser initialized [2024-11-13 22:57:23,125 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_0bd93ccf-8014-48ed-a7d4-69e9eb3d07a2/bin/ukojak-verify-EEHR8qb7sm/../../sv-benchmarks/c/termination-recursive-malloc/chunk1-2.i Unable to find full path for "g++" [2024-11-13 22:57:24,910 INFO L533 CDTParser]: Created temporary CDT project at NULL [2024-11-13 22:57:25,276 INFO L384 CDTParser]: Found 1 translation units. [2024-11-13 22:57:25,281 INFO L180 CDTParser]: Scanning /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_0bd93ccf-8014-48ed-a7d4-69e9eb3d07a2/sv-benchmarks/c/termination-recursive-malloc/chunk1-2.i [2024-11-13 22:57:25,306 INFO L427 CDTParser]: About to delete temporary CDT project at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_0bd93ccf-8014-48ed-a7d4-69e9eb3d07a2/bin/ukojak-verify-EEHR8qb7sm/data/3df426fba/586358330493431b85d6197edee77c87/FLAGb79bfdb96 [2024-11-13 22:57:25,503 INFO L435 CDTParser]: Successfully deleted /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_0bd93ccf-8014-48ed-a7d4-69e9eb3d07a2/bin/ukojak-verify-EEHR8qb7sm/data/3df426fba/586358330493431b85d6197edee77c87 [2024-11-13 22:57:25,506 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2024-11-13 22:57:25,507 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2024-11-13 22:57:25,509 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2024-11-13 22:57:25,509 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2024-11-13 22:57:25,514 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2024-11-13 22:57:25,514 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 13.11 10:57:25" (1/1) ... [2024-11-13 22:57:25,515 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@671dee9b and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 10:57:25, skipping insertion in model container [2024-11-13 22:57:25,516 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 13.11 10:57:25" (1/1) ... [2024-11-13 22:57:25,530 INFO L175 MainTranslator]: Built tables and reachable declarations [2024-11-13 22:57:25,665 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-13 22:57:25,674 INFO L200 MainTranslator]: Completed pre-run [2024-11-13 22:57:25,684 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-13 22:57:25,697 INFO L204 MainTranslator]: Completed translation [2024-11-13 22:57:25,698 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 10:57:25 WrapperNode [2024-11-13 22:57:25,698 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2024-11-13 22:57:25,699 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2024-11-13 22:57:25,699 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2024-11-13 22:57:25,699 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2024-11-13 22:57:25,706 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 10:57:25" (1/1) ... [2024-11-13 22:57:25,716 INFO L184 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 10:57:25" (1/1) ... [2024-11-13 22:57:25,736 INFO L138 Inliner]: procedures = 11, calls = 11, calls flagged for inlining = 2, calls inlined = 2, statements flattened = 21 [2024-11-13 22:57:25,737 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2024-11-13 22:57:25,737 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2024-11-13 22:57:25,737 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2024-11-13 22:57:25,738 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2024-11-13 22:57:25,744 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 10:57:25" (1/1) ... [2024-11-13 22:57:25,745 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 10:57:25" (1/1) ... [2024-11-13 22:57:25,746 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 10:57:25" (1/1) ... [2024-11-13 22:57:25,748 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 10:57:25" (1/1) ... [2024-11-13 22:57:25,752 INFO L184 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 10:57:25" (1/1) ... [2024-11-13 22:57:25,757 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 10:57:25" (1/1) ... [2024-11-13 22:57:25,762 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 10:57:25" (1/1) ... [2024-11-13 22:57:25,762 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 10:57:25" (1/1) ... [2024-11-13 22:57:25,764 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2024-11-13 22:57:25,765 INFO L112 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2024-11-13 22:57:25,768 INFO L270 PluginConnector]: Initializing RCFGBuilder... [2024-11-13 22:57:25,768 INFO L274 PluginConnector]: RCFGBuilder initialized [2024-11-13 22:57:25,770 INFO L184 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 10:57:25" (1/1) ... [2024-11-13 22:57:25,778 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2024-11-13 22:57:25,795 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_0bd93ccf-8014-48ed-a7d4-69e9eb3d07a2/bin/ukojak-verify-EEHR8qb7sm/z3 [2024-11-13 22:57:25,810 INFO L229 MonitoredProcess]: Starting monitored process 1 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_0bd93ccf-8014-48ed-a7d4-69e9eb3d07a2/bin/ukojak-verify-EEHR8qb7sm/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (exit command is (exit), workingDir is null) [2024-11-13 22:57:25,813 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_0bd93ccf-8014-48ed-a7d4-69e9eb3d07a2/bin/ukojak-verify-EEHR8qb7sm/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (1)] Waiting until timeout for monitored process [2024-11-13 22:57:25,840 INFO L130 BoogieDeclarations]: Found specification of procedure write~int [2024-11-13 22:57:25,840 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnHeap [2024-11-13 22:57:25,840 INFO L130 BoogieDeclarations]: Found specification of procedure chunk [2024-11-13 22:57:25,840 INFO L138 BoogieDeclarations]: Found implementation of procedure chunk [2024-11-13 22:57:25,840 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2024-11-13 22:57:25,841 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2024-11-13 22:57:25,841 INFO L130 BoogieDeclarations]: Found specification of procedure read~int [2024-11-13 22:57:25,922 INFO L238 CfgBuilder]: Building ICFG [2024-11-13 22:57:25,925 INFO L264 CfgBuilder]: Building CFG for each procedure with an implementation [2024-11-13 22:57:26,163 INFO L? ?]: Removed 28 outVars from TransFormulas that were not future-live. [2024-11-13 22:57:26,163 INFO L287 CfgBuilder]: Performing block encoding [2024-11-13 22:57:26,194 INFO L311 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2024-11-13 22:57:26,195 INFO L316 CfgBuilder]: Removed 0 assume(true) statements. [2024-11-13 22:57:26,195 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 13.11 10:57:26 BoogieIcfgContainer [2024-11-13 22:57:26,196 INFO L131 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2024-11-13 22:57:26,196 INFO L112 PluginConnector]: ------------------------CodeCheck---------------------------- [2024-11-13 22:57:26,197 INFO L270 PluginConnector]: Initializing CodeCheck... [2024-11-13 22:57:26,211 INFO L274 PluginConnector]: CodeCheck initialized [2024-11-13 22:57:26,211 INFO L184 PluginConnector]: Executing the observer CodeCheckObserver from plugin CodeCheck for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 13.11 10:57:26" (1/1) ... [2024-11-13 22:57:26,222 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-11-13 22:57:26,274 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-13 22:57:26,285 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 31 states to 29 states and 31 transitions. [2024-11-13 22:57:26,287 INFO L276 IsEmpty]: Start isEmpty. Operand 29 states and 31 transitions. [2024-11-13 22:57:26,289 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 4 [2024-11-13 22:57:26,289 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-13 22:57:26,290 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-13 22:57:26,388 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-13 22:57:26,388 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-11-13 22:57:26,401 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-13 22:57:26,447 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-13 22:57:26,448 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-11-13 22:57:26,462 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-13 22:57:26,470 WARN L473 CodeCheckObserver]: This program is UNSAFE, Check terminated with 1 iterations. [2024-11-13 22:57:26,496 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck CFG 13.11 10:57:26 ImpRootNode [2024-11-13 22:57:26,497 INFO L131 PluginConnector]: ------------------------ END CodeCheck---------------------------- [2024-11-13 22:57:26,499 INFO L112 PluginConnector]: ------------------------Witness Printer---------------------------- [2024-11-13 22:57:26,499 INFO L270 PluginConnector]: Initializing Witness Printer... [2024-11-13 22:57:26,499 INFO L274 PluginConnector]: Witness Printer initialized [2024-11-13 22:57:26,500 INFO L184 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 13.11 10:57:26" (3/4) ... [2024-11-13 22:57:26,503 INFO L145 WitnessPrinter]: No result that supports witness generation found [2024-11-13 22:57:26,504 INFO L131 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2024-11-13 22:57:26,509 INFO L158 Benchmark]: Toolchain (without parser) took 998.06ms. Allocated memory is still 142.6MB. Free memory was 119.1MB in the beginning and 83.4MB in the end (delta: 35.7MB). Peak memory consumption was 33.6MB. Max. memory is 16.1GB. [2024-11-13 22:57:26,509 INFO L158 Benchmark]: CDTParser took 1.47ms. Allocated memory is still 142.6MB. Free memory is still 81.3MB. There was no memory consumed. Max. memory is 16.1GB. [2024-11-13 22:57:26,509 INFO L158 Benchmark]: CACSL2BoogieTranslator took 189.73ms. Allocated memory is still 142.6MB. Free memory was 119.1MB in the beginning and 109.0MB in the end (delta: 10.1MB). Peak memory consumption was 8.4MB. Max. memory is 16.1GB. [2024-11-13 22:57:26,510 INFO L158 Benchmark]: Boogie Procedure Inliner took 37.69ms. Allocated memory is still 142.6MB. Free memory was 108.7MB in the beginning and 107.9MB in the end (delta: 832.6kB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-13 22:57:26,510 INFO L158 Benchmark]: Boogie Preprocessor took 26.72ms. Allocated memory is still 142.6MB. Free memory was 107.7MB in the beginning and 107.1MB in the end (delta: 576.7kB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-13 22:57:26,512 INFO L158 Benchmark]: RCFGBuilder took 431.03ms. Allocated memory is still 142.6MB. Free memory was 107.1MB in the beginning and 93.9MB in the end (delta: 13.2MB). Peak memory consumption was 16.8MB. Max. memory is 16.1GB. [2024-11-13 22:57:26,512 INFO L158 Benchmark]: CodeCheck took 300.77ms. Allocated memory is still 142.6MB. Free memory was 93.9MB in the beginning and 83.6MB in the end (delta: 10.3MB). Peak memory consumption was 8.4MB. Max. memory is 16.1GB. [2024-11-13 22:57:26,513 INFO L158 Benchmark]: Witness Printer took 5.56ms. Allocated memory is still 142.6MB. Free memory was 83.6MB in the beginning and 83.4MB in the end (delta: 260.1kB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-13 22:57:26,518 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 2 procedures, 29 locations, 13 error locations. Started 1 CEGAR loops. OverallTime: 0.2s, OverallIterations: 1, TraceHistogramMax: 0, PathProgramHistogramMax: 0, EmptinessCheckTime: 0.0s, AutomataDifference: 0.0s, DeadEndRemovalTime: 0.0s, HoareAnnotationTime: 0.0s, InitialAbstractionConstructionTime: 0.0s, HoareTripleCheckerStatistics: , PredicateUnifierStatistics: 0 DeclaredPredicates, 0 GetRequests, 0 SyntacticMatches, 0 SemanticMatches, 0 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 0 ImplicationChecksByTransitivity, 0.0s Time, 0.0s BasicInterpolantAutomatonTime, BiggestAbstraction: size=-1occurred in iteration=-1, InterpolantAutomatonStates: 0, traceCheckStatistics: 0.0s SsaConstructionTime, 0.0s SatisfiabilityAnalysisTime, 0.0s InterpolantComputationTime, 3 NumberOfCodeBlocks, 3 NumberOfCodeBlocksAsserted, 1 NumberOfCheckSat, 0 ConstructedInterpolants, 0 QuantifiedInterpolants, 0 SizeOfPredicates, 0 NumberOfNonLiveVariables, 0 ConjunctsInSsa, 0 ConjunctsInUnsatCore, 0 InterpolantComputations, 0 PerfectInterpolantSequences, 0/0 InterpolantCoveringCapability, InterpolantConsolidationStatistics: No data available, PathInvariantsStatistics: No data available, 0/0 InterpolantCoveringCapability, TotalInterpolationStatistics: No data available, 0.0s DumpTime, AutomataMinimizationStatistics: No data available, HoareAnnotationStatistics: No data available, RefinementEngineStatistics: No data available, ReuseStatistics: No data available - UnprovableResult [Line: 19]: Unable to prove that all allocated memory was freed Unable to prove that all allocated memory was freed Reason: overapproximation of memtrack at line 19. Possible FailurePath: [L20] int *data = malloc(4*sizeof(int)); [L22] int i = __VERIFIER_nondet_int(); [L23] int upper = __VERIFIER_nondet_int(); [L25] COND TRUE i >= upper [L26] return 0; VAL [\result=0, data={-1:0}] * Results from de.uni_freiburg.informatik.ultimate.core: - StatisticsResult: Toolchain Benchmarks Benchmark results are: * CDTParser took 1.47ms. Allocated memory is still 142.6MB. Free memory is still 81.3MB. There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 189.73ms. Allocated memory is still 142.6MB. Free memory was 119.1MB in the beginning and 109.0MB in the end (delta: 10.1MB). Peak memory consumption was 8.4MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 37.69ms. Allocated memory is still 142.6MB. Free memory was 108.7MB in the beginning and 107.9MB in the end (delta: 832.6kB). There was no memory consumed. Max. memory is 16.1GB. * Boogie Preprocessor took 26.72ms. Allocated memory is still 142.6MB. Free memory was 107.7MB in the beginning and 107.1MB in the end (delta: 576.7kB). There was no memory consumed. Max. memory is 16.1GB. * RCFGBuilder took 431.03ms. Allocated memory is still 142.6MB. Free memory was 107.1MB in the beginning and 93.9MB in the end (delta: 13.2MB). Peak memory consumption was 16.8MB. Max. memory is 16.1GB. * CodeCheck took 300.77ms. Allocated memory is still 142.6MB. Free memory was 93.9MB in the beginning and 83.6MB in the end (delta: 10.3MB). Peak memory consumption was 8.4MB. Max. memory is 16.1GB. * Witness Printer took 5.56ms. Allocated memory is still 142.6MB. Free memory was 83.6MB in the beginning and 83.4MB in the end (delta: 260.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 22:57:26,551 INFO L540 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_0bd93ccf-8014-48ed-a7d4-69e9eb3d07a2/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 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_0bd93ccf-8014-48ed-a7d4-69e9eb3d07a2/bin/ukojak-verify-EEHR8qb7sm/data/config -Xmx15G -Xms4m -jar /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_0bd93ccf-8014-48ed-a7d4-69e9eb3d07a2/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_0bd93ccf-8014-48ed-a7d4-69e9eb3d07a2/bin/ukojak-verify-EEHR8qb7sm/data -tc /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_0bd93ccf-8014-48ed-a7d4-69e9eb3d07a2/bin/ukojak-verify-EEHR8qb7sm/config/KojakMemDerefMemtrack.xml -i ../../sv-benchmarks/c/termination-recursive-malloc/chunk1-2.i -s /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_0bd93ccf-8014-48ed-a7d4-69e9eb3d07a2/bin/ukojak-verify-EEHR8qb7sm/config/svcomp-DerefFreeMemtrack-64bit-Kojak_Bitvector.epf --cacsl2boogietranslator.entry.function main --witnessprinter.witness.directory /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_0bd93ccf-8014-48ed-a7d4-69e9eb3d07a2/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 64bit --witnessprinter.graph.data.programhash 6a66369f5c9a0270ee2408adc274f8f50150ff97d329dbc5d86329753dd9abac --- Real Ultimate output --- This is Ultimate 0.3.0-dev-826ab2b [2024-11-13 22:57:29,217 INFO L188 SettingsManager]: Resetting all preferences to default values... [2024-11-13 22:57:29,350 INFO L114 SettingsManager]: Loading settings from /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_0bd93ccf-8014-48ed-a7d4-69e9eb3d07a2/bin/ukojak-verify-EEHR8qb7sm/config/svcomp-DerefFreeMemtrack-64bit-Kojak_Bitvector.epf [2024-11-13 22:57:29,384 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2024-11-13 22:57:29,385 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2024-11-13 22:57:29,385 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2024-11-13 22:57:29,386 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2024-11-13 22:57:29,386 INFO L153 SettingsManager]: * Overapproximate operations on floating types=true [2024-11-13 22:57:29,386 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2024-11-13 22:57:29,386 INFO L153 SettingsManager]: * Check for the main procedure if all allocated memory was freed=true [2024-11-13 22:57:29,386 INFO L153 SettingsManager]: * Bitprecise bitfields=true [2024-11-13 22:57:29,386 INFO L153 SettingsManager]: * SV-COMP memtrack compatibility mode=true [2024-11-13 22:57:29,386 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2024-11-13 22:57:29,386 INFO L153 SettingsManager]: * Adapt memory model on pointer casts if necessary=true [2024-11-13 22:57:29,387 INFO L153 SettingsManager]: * Use bitvectors instead of ints=true [2024-11-13 22:57:29,387 INFO L153 SettingsManager]: * Allow undefined functions=false [2024-11-13 22:57:29,387 INFO L153 SettingsManager]: * Memory model=HoenickeLindenmann_4ByteResolution [2024-11-13 22:57:29,387 INFO L153 SettingsManager]: * Check unreachability of reach_error function=false [2024-11-13 22:57:29,387 INFO L153 SettingsManager]: * Use constant arrays=true [2024-11-13 22:57:29,387 INFO L151 SettingsManager]: Preferences of CodeCheck differ from their defaults: [2024-11-13 22:57:29,387 INFO L153 SettingsManager]: * Timeout in seconds=1000000 [2024-11-13 22:57:29,387 INFO L153 SettingsManager]: * Theory for external solver=ALL [2024-11-13 22:57:29,387 INFO L153 SettingsManager]: * Command for calling external solver=cvc4 --incremental --print-success --lang smt [2024-11-13 22:57:29,387 INFO L153 SettingsManager]: * Choose which separate solver to use for tracechecks=External_ModelsAndUnsatCoreMode [2024-11-13 22:57:29,388 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2024-11-13 22:57:29,388 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2024-11-13 22:57:29,388 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2024-11-13 22:57:29,388 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2024-11-13 22:57:29,388 INFO L153 SettingsManager]: * Trace refinement strategy=WALRUS [2024-11-13 22:57:29,388 INFO L153 SettingsManager]: * Command for external solver=cvc4 --incremental --print-success --lang smt [2024-11-13 22:57:29,388 INFO L153 SettingsManager]: * Use separate solver for trace checks=false [2024-11-13 22:57:29,388 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_0bd93ccf-8014-48ed-a7d4-69e9eb3d07a2/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 -> 64bit Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data programhash -> 6a66369f5c9a0270ee2408adc274f8f50150ff97d329dbc5d86329753dd9abac [2024-11-13 22:57:29,743 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2024-11-13 22:57:29,752 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2024-11-13 22:57:29,754 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2024-11-13 22:57:29,756 INFO L270 PluginConnector]: Initializing CDTParser... [2024-11-13 22:57:29,756 INFO L274 PluginConnector]: CDTParser initialized [2024-11-13 22:57:29,760 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_0bd93ccf-8014-48ed-a7d4-69e9eb3d07a2/bin/ukojak-verify-EEHR8qb7sm/../../sv-benchmarks/c/termination-recursive-malloc/chunk1-2.i Unable to find full path for "g++" [2024-11-13 22:57:31,751 INFO L533 CDTParser]: Created temporary CDT project at NULL [2024-11-13 22:57:31,976 INFO L384 CDTParser]: Found 1 translation units. [2024-11-13 22:57:31,979 INFO L180 CDTParser]: Scanning /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_0bd93ccf-8014-48ed-a7d4-69e9eb3d07a2/sv-benchmarks/c/termination-recursive-malloc/chunk1-2.i [2024-11-13 22:57:31,988 INFO L427 CDTParser]: About to delete temporary CDT project at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_0bd93ccf-8014-48ed-a7d4-69e9eb3d07a2/bin/ukojak-verify-EEHR8qb7sm/data/8e2586ffe/eeeecde143e541189357d74e4e463f6a/FLAG5b46a4c23 [2024-11-13 22:57:32,012 INFO L435 CDTParser]: Successfully deleted /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_0bd93ccf-8014-48ed-a7d4-69e9eb3d07a2/bin/ukojak-verify-EEHR8qb7sm/data/8e2586ffe/eeeecde143e541189357d74e4e463f6a [2024-11-13 22:57:32,016 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2024-11-13 22:57:32,018 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2024-11-13 22:57:32,021 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2024-11-13 22:57:32,022 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2024-11-13 22:57:32,027 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2024-11-13 22:57:32,028 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 13.11 10:57:32" (1/1) ... [2024-11-13 22:57:32,031 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@4138b60 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 10:57:32, skipping insertion in model container [2024-11-13 22:57:32,031 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 13.11 10:57:32" (1/1) ... [2024-11-13 22:57:32,050 INFO L175 MainTranslator]: Built tables and reachable declarations [2024-11-13 22:57:32,213 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-13 22:57:32,228 INFO L200 MainTranslator]: Completed pre-run [2024-11-13 22:57:32,241 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-13 22:57:32,257 INFO L204 MainTranslator]: Completed translation [2024-11-13 22:57:32,257 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 10:57:32 WrapperNode [2024-11-13 22:57:32,258 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2024-11-13 22:57:32,259 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2024-11-13 22:57:32,259 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2024-11-13 22:57:32,259 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2024-11-13 22:57:32,266 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 10:57:32" (1/1) ... [2024-11-13 22:57:32,273 INFO L184 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 10:57:32" (1/1) ... [2024-11-13 22:57:32,289 INFO L138 Inliner]: procedures = 11, calls = 11, calls flagged for inlining = 2, calls inlined = 2, statements flattened = 19 [2024-11-13 22:57:32,289 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2024-11-13 22:57:32,289 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2024-11-13 22:57:32,290 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2024-11-13 22:57:32,290 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2024-11-13 22:57:32,296 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 10:57:32" (1/1) ... [2024-11-13 22:57:32,296 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 10:57:32" (1/1) ... [2024-11-13 22:57:32,298 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 10:57:32" (1/1) ... [2024-11-13 22:57:32,298 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 10:57:32" (1/1) ... [2024-11-13 22:57:32,304 INFO L184 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 10:57:32" (1/1) ... [2024-11-13 22:57:32,306 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 10:57:32" (1/1) ... [2024-11-13 22:57:32,307 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 10:57:32" (1/1) ... [2024-11-13 22:57:32,308 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 10:57:32" (1/1) ... [2024-11-13 22:57:32,309 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2024-11-13 22:57:32,310 INFO L112 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2024-11-13 22:57:32,310 INFO L270 PluginConnector]: Initializing RCFGBuilder... [2024-11-13 22:57:32,310 INFO L274 PluginConnector]: RCFGBuilder initialized [2024-11-13 22:57:32,311 INFO L184 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 10:57:32" (1/1) ... [2024-11-13 22:57:32,317 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2024-11-13 22:57:32,331 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_0bd93ccf-8014-48ed-a7d4-69e9eb3d07a2/bin/ukojak-verify-EEHR8qb7sm/z3 [2024-11-13 22:57:32,343 INFO L229 MonitoredProcess]: Starting monitored process 1 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_0bd93ccf-8014-48ed-a7d4-69e9eb3d07a2/bin/ukojak-verify-EEHR8qb7sm/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (exit command is (exit), workingDir is null) [2024-11-13 22:57:32,349 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_0bd93ccf-8014-48ed-a7d4-69e9eb3d07a2/bin/ukojak-verify-EEHR8qb7sm/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (1)] Waiting until timeout for monitored process [2024-11-13 22:57:32,381 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnHeap [2024-11-13 22:57:32,381 INFO L130 BoogieDeclarations]: Found specification of procedure read~intINTTYPE4 [2024-11-13 22:57:32,381 INFO L130 BoogieDeclarations]: Found specification of procedure chunk [2024-11-13 22:57:32,381 INFO L138 BoogieDeclarations]: Found implementation of procedure chunk [2024-11-13 22:57:32,381 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2024-11-13 22:57:32,381 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2024-11-13 22:57:32,381 INFO L130 BoogieDeclarations]: Found specification of procedure write~intINTTYPE4 [2024-11-13 22:57:32,475 INFO L238 CfgBuilder]: Building ICFG [2024-11-13 22:57:32,478 INFO L264 CfgBuilder]: Building CFG for each procedure with an implementation [2024-11-13 22:57:32,741 INFO L? ?]: Removed 28 outVars from TransFormulas that were not future-live. [2024-11-13 22:57:32,741 INFO L287 CfgBuilder]: Performing block encoding [2024-11-13 22:57:32,775 INFO L311 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2024-11-13 22:57:32,776 INFO L316 CfgBuilder]: Removed 0 assume(true) statements. [2024-11-13 22:57:32,776 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 13.11 10:57:32 BoogieIcfgContainer [2024-11-13 22:57:32,776 INFO L131 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2024-11-13 22:57:32,777 INFO L112 PluginConnector]: ------------------------CodeCheck---------------------------- [2024-11-13 22:57:32,777 INFO L270 PluginConnector]: Initializing CodeCheck... [2024-11-13 22:57:32,796 INFO L274 PluginConnector]: CodeCheck initialized [2024-11-13 22:57:32,796 INFO L184 PluginConnector]: Executing the observer CodeCheckObserver from plugin CodeCheck for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 13.11 10:57:32" (1/1) ... [2024-11-13 22:57:32,804 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-11-13 22:57:32,847 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-13 22:57:32,857 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 31 states to 29 states and 31 transitions. [2024-11-13 22:57:32,857 INFO L276 IsEmpty]: Start isEmpty. Operand 29 states and 31 transitions. [2024-11-13 22:57:32,859 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 4 [2024-11-13 22:57:32,859 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-13 22:57:32,861 INFO L173 SolverBuilder]: Constructing external solver with command: cvc4 --incremental --print-success --lang smt [2024-11-13 22:57:32,861 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_0bd93ccf-8014-48ed-a7d4-69e9eb3d07a2/bin/ukojak-verify-EEHR8qb7sm/cvc4 [2024-11-13 22:57:32,864 INFO L229 MonitoredProcess]: Starting monitored process 2 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_0bd93ccf-8014-48ed-a7d4-69e9eb3d07a2/bin/ukojak-verify-EEHR8qb7sm/cvc4 --incremental --print-success --lang smt (exit command is (exit), workingDir is null) [2024-11-13 22:57:32,869 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_0bd93ccf-8014-48ed-a7d4-69e9eb3d07a2/bin/ukojak-verify-EEHR8qb7sm/cvc4 --incremental --print-success --lang smt (2)] Waiting until timeout for monitored process [2024-11-13 22:57:32,942 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-13 22:57:32,942 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-11-13 22:57:32,962 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-13 22:57:33,001 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-13 22:57:33,002 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-11-13 22:57:33,014 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-13 22:57:33,022 INFO L552 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_0bd93ccf-8014-48ed-a7d4-69e9eb3d07a2/bin/ukojak-verify-EEHR8qb7sm/cvc4 --incremental --print-success --lang smt (2)] Ended with exit code 0 [2024-11-13 22:57:33,023 WARN L473 CodeCheckObserver]: This program is UNSAFE, Check terminated with 1 iterations. [2024-11-13 22:57:33,050 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck CFG 13.11 10:57:33 ImpRootNode [2024-11-13 22:57:33,050 INFO L131 PluginConnector]: ------------------------ END CodeCheck---------------------------- [2024-11-13 22:57:33,051 INFO L112 PluginConnector]: ------------------------Witness Printer---------------------------- [2024-11-13 22:57:33,051 INFO L270 PluginConnector]: Initializing Witness Printer... [2024-11-13 22:57:33,051 INFO L274 PluginConnector]: Witness Printer initialized [2024-11-13 22:57:33,052 INFO L184 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 13.11 10:57:32" (3/4) ... [2024-11-13 22:57:33,054 INFO L145 WitnessPrinter]: No result that supports witness generation found [2024-11-13 22:57:33,055 INFO L131 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2024-11-13 22:57:33,056 INFO L158 Benchmark]: Toolchain (without parser) took 1037.82ms. Allocated memory is still 83.9MB. Free memory was 60.6MB in the beginning and 25.9MB in the end (delta: 34.6MB). Peak memory consumption was 33.6MB. Max. memory is 16.1GB. [2024-11-13 22:57:33,056 INFO L158 Benchmark]: CDTParser took 2.57ms. Allocated memory is still 83.9MB. Free memory is still 64.8MB. There was no memory consumed. Max. memory is 16.1GB. [2024-11-13 22:57:33,056 INFO L158 Benchmark]: CACSL2BoogieTranslator took 238.96ms. Allocated memory is still 83.9MB. Free memory was 60.6MB in the beginning and 49.9MB in the end (delta: 10.7MB). Peak memory consumption was 8.4MB. Max. memory is 16.1GB. [2024-11-13 22:57:33,057 INFO L158 Benchmark]: Boogie Procedure Inliner took 30.25ms. Allocated memory is still 83.9MB. Free memory was 49.9MB in the beginning and 49.0MB in the end (delta: 909.9kB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-13 22:57:33,057 INFO L158 Benchmark]: Boogie Preprocessor took 20.09ms. Allocated memory is still 83.9MB. Free memory was 49.0MB in the beginning and 48.1MB in the end (delta: 912.9kB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-13 22:57:33,058 INFO L158 Benchmark]: RCFGBuilder took 466.33ms. Allocated memory is still 83.9MB. Free memory was 48.1MB in the beginning and 34.8MB in the end (delta: 13.2MB). Peak memory consumption was 16.8MB. Max. memory is 16.1GB. [2024-11-13 22:57:33,058 INFO L158 Benchmark]: CodeCheck took 272.81ms. Allocated memory is still 83.9MB. Free memory was 34.8MB in the beginning and 26.2MB in the end (delta: 8.6MB). Peak memory consumption was 8.4MB. Max. memory is 16.1GB. [2024-11-13 22:57:33,058 INFO L158 Benchmark]: Witness Printer took 4.13ms. Allocated memory is still 83.9MB. Free memory was 26.2MB in the beginning and 25.9MB in the end (delta: 297.6kB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-13 22:57:33,061 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 2 procedures, 29 locations, 13 error locations. Started 1 CEGAR loops. OverallTime: 0.2s, OverallIterations: 1, TraceHistogramMax: 0, PathProgramHistogramMax: 0, EmptinessCheckTime: 0.0s, AutomataDifference: 0.0s, DeadEndRemovalTime: 0.0s, HoareAnnotationTime: 0.0s, InitialAbstractionConstructionTime: 0.0s, HoareTripleCheckerStatistics: , PredicateUnifierStatistics: 0 DeclaredPredicates, 0 GetRequests, 0 SyntacticMatches, 0 SemanticMatches, 0 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 0 ImplicationChecksByTransitivity, 0.0s Time, 0.0s BasicInterpolantAutomatonTime, BiggestAbstraction: size=-1occurred in iteration=-1, InterpolantAutomatonStates: 0, traceCheckStatistics: 0.0s SsaConstructionTime, 0.0s SatisfiabilityAnalysisTime, 0.0s InterpolantComputationTime, 3 NumberOfCodeBlocks, 3 NumberOfCodeBlocksAsserted, 1 NumberOfCheckSat, 0 ConstructedInterpolants, 0 QuantifiedInterpolants, 0 SizeOfPredicates, 0 NumberOfNonLiveVariables, 0 ConjunctsInSsa, 0 ConjunctsInUnsatCore, 0 InterpolantComputations, 0 PerfectInterpolantSequences, 0/0 InterpolantCoveringCapability, InterpolantConsolidationStatistics: No data available, PathInvariantsStatistics: No data available, 0/0 InterpolantCoveringCapability, TotalInterpolationStatistics: No data available, 0.0s DumpTime, AutomataMinimizationStatistics: No data available, HoareAnnotationStatistics: No data available, RefinementEngineStatistics: No data available, ReuseStatistics: No data available - UnprovableResult [Line: 19]: Unable to prove that all allocated memory was freed Unable to prove that all allocated memory was freed Reason: overapproximation of memtrack at line 19. Possible FailurePath: [L20] int *data = malloc(4*sizeof(int)); [L22] int i = __VERIFIER_nondet_int(); [L23] int upper = __VERIFIER_nondet_int(); [L25] COND TRUE i >= upper [L26] return 0; VAL [\result=0, data={2:0}] * Results from de.uni_freiburg.informatik.ultimate.core: - StatisticsResult: Toolchain Benchmarks Benchmark results are: * CDTParser took 2.57ms. Allocated memory is still 83.9MB. Free memory is still 64.8MB. There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 238.96ms. Allocated memory is still 83.9MB. Free memory was 60.6MB in the beginning and 49.9MB in the end (delta: 10.7MB). Peak memory consumption was 8.4MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 30.25ms. Allocated memory is still 83.9MB. Free memory was 49.9MB in the beginning and 49.0MB in the end (delta: 909.9kB). There was no memory consumed. Max. memory is 16.1GB. * Boogie Preprocessor took 20.09ms. Allocated memory is still 83.9MB. Free memory was 49.0MB in the beginning and 48.1MB in the end (delta: 912.9kB). There was no memory consumed. Max. memory is 16.1GB. * RCFGBuilder took 466.33ms. Allocated memory is still 83.9MB. Free memory was 48.1MB in the beginning and 34.8MB in the end (delta: 13.2MB). Peak memory consumption was 16.8MB. Max. memory is 16.1GB. * CodeCheck took 272.81ms. Allocated memory is still 83.9MB. Free memory was 34.8MB in the beginning and 26.2MB in the end (delta: 8.6MB). Peak memory consumption was 8.4MB. Max. memory is 16.1GB. * Witness Printer took 4.13ms. Allocated memory is still 83.9MB. Free memory was 26.2MB in the beginning and 25.9MB in the end (delta: 297.6kB). 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 22:57:33,087 INFO L540 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_0bd93ccf-8014-48ed-a7d4-69e9eb3d07a2/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