./Ultimate.py --spec ../../sv-benchmarks/c/properties/valid-memcleanup.prp --file ../../sv-benchmarks/c/verifythis/tree_del_iter.c --full-output --architecture 32bit -------------------------------------------------------------------------------- Checking for memory safety (memcleanup) Using default analysis Version d790fecc Calling Ultimate with: /usr/bin/java -Dosgi.configuration.area=/tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_08fe5715-a3ac-468f-8c85-c519d88319ab/bin/uautomizer-verify-84ZbGMXZE1/data/config -Xmx15G -Xms4m -jar /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_08fe5715-a3ac-468f-8c85-c519d88319ab/bin/uautomizer-verify-84ZbGMXZE1/plugins/org.eclipse.equinox.launcher_1.6.800.v20240513-1750.jar -data @noDefault -ultimatedata /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_08fe5715-a3ac-468f-8c85-c519d88319ab/bin/uautomizer-verify-84ZbGMXZE1/data -tc /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_08fe5715-a3ac-468f-8c85-c519d88319ab/bin/uautomizer-verify-84ZbGMXZE1/config/AutomizerMemDerefMemtrack.xml -i ../../sv-benchmarks/c/verifythis/tree_del_iter.c -s /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_08fe5715-a3ac-468f-8c85-c519d88319ab/bin/uautomizer-verify-84ZbGMXZE1/config/svcomp-MemCleanup-32bit-Automizer_Default.epf --cacsl2boogietranslator.entry.function main --witnessprinter.witness.directory /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_08fe5715-a3ac-468f-8c85-c519d88319ab/bin/uautomizer-verify-84ZbGMXZE1 --witnessprinter.witness.filename witness --witnessprinter.write.witness.besides.input.file false --witnessprinter.graph.data.specification CHECK( init(main()), LTL(G valid-memcleanup) ) --witnessprinter.graph.data.producer Automizer --witnessprinter.graph.data.architecture 32bit --witnessprinter.graph.data.programhash cce1bb7a06b9dd56fbf663e182ffe801720ee05ee19a126a08070f1616bc4afe --- Real Ultimate output --- This is Ultimate 0.3.0-dev-d790fec [2024-12-02 07:06:52,721 INFO L188 SettingsManager]: Resetting all preferences to default values... [2024-12-02 07:06:52,775 INFO L114 SettingsManager]: Loading settings from /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_08fe5715-a3ac-468f-8c85-c519d88319ab/bin/uautomizer-verify-84ZbGMXZE1/config/svcomp-MemCleanup-32bit-Automizer_Default.epf [2024-12-02 07:06:52,779 WARN L101 SettingsManager]: Preference file contains the following unknown settings: [2024-12-02 07:06:52,779 WARN L103 SettingsManager]: * de.uni_freiburg.informatik.ultimate.core.Log level for class [2024-12-02 07:06:52,798 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2024-12-02 07:06:52,798 INFO L151 SettingsManager]: Preferences of UltimateCore differ from their defaults: [2024-12-02 07:06:52,799 INFO L153 SettingsManager]: * Log level for class=de.uni_freiburg.informatik.ultimate.lib.smtlibutils.quantifier.QuantifierPusher=ERROR; [2024-12-02 07:06:52,799 INFO L151 SettingsManager]: Preferences of Boogie Preprocessor differ from their defaults: [2024-12-02 07:06:52,799 INFO L153 SettingsManager]: * Use memory slicer=true [2024-12-02 07:06:52,799 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2024-12-02 07:06:52,799 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ONLY_FOR_SEQUENTIAL_PROGRAMS [2024-12-02 07:06:52,800 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2024-12-02 07:06:52,800 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2024-12-02 07:06:52,800 INFO L153 SettingsManager]: * Use SBE=true [2024-12-02 07:06:52,800 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2024-12-02 07:06:52,800 INFO L153 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2024-12-02 07:06:52,800 INFO L153 SettingsManager]: * sizeof long=4 [2024-12-02 07:06:52,800 INFO L153 SettingsManager]: * Overapproximate operations on floating types=true [2024-12-02 07:06:52,801 INFO L153 SettingsManager]: * sizeof POINTER=4 [2024-12-02 07:06:52,801 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2024-12-02 07:06:52,801 INFO L153 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2024-12-02 07:06:52,801 INFO L153 SettingsManager]: * Check for the main procedure if all allocated memory was freed=true [2024-12-02 07:06:52,801 INFO L153 SettingsManager]: * Bitprecise bitfields=true [2024-12-02 07:06:52,801 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2024-12-02 07:06:52,801 INFO L153 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2024-12-02 07:06:52,801 INFO L153 SettingsManager]: * Adapt memory model on pointer casts if necessary=true [2024-12-02 07:06:52,801 INFO L153 SettingsManager]: * Check unreachability of reach_error function=false [2024-12-02 07:06:52,801 INFO L153 SettingsManager]: * sizeof long double=12 [2024-12-02 07:06:52,801 INFO L153 SettingsManager]: * Check if freed pointer was valid=false [2024-12-02 07:06:52,802 INFO L153 SettingsManager]: * Behaviour of calls to undefined functions=OVERAPPROXIMATE_BEHAVIOUR [2024-12-02 07:06:52,802 INFO L153 SettingsManager]: * Use constant arrays=true [2024-12-02 07:06:52,802 INFO L151 SettingsManager]: Preferences of IcfgBuilder differ from their defaults: [2024-12-02 07:06:52,802 INFO L153 SettingsManager]: * Size of a code block=SequenceOfStatements [2024-12-02 07:06:52,802 INFO L153 SettingsManager]: * Only consider context switches at boundaries of atomic blocks=true [2024-12-02 07:06:52,802 INFO L153 SettingsManager]: * SMT solver=External_DefaultMode [2024-12-02 07:06:52,802 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 [2024-12-02 07:06:52,802 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2024-12-02 07:06:52,802 INFO L153 SettingsManager]: * Size of a code block=SequenceOfStatements [2024-12-02 07:06:52,802 INFO L153 SettingsManager]: * Only consider context switches at boundaries of atomic blocks=true [2024-12-02 07:06:52,803 INFO L153 SettingsManager]: * SMT solver=External_DefaultMode [2024-12-02 07:06:52,803 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 [2024-12-02 07:06:52,803 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2024-12-02 07:06:52,803 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2024-12-02 07:06:52,803 INFO L153 SettingsManager]: * Trace refinement strategy=CAMEL [2024-12-02 07:06:52,803 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2024-12-02 07:06:52,803 INFO L153 SettingsManager]: * Apply one-shot large block encoding in concurrent analysis=false [2024-12-02 07:06:52,803 INFO L153 SettingsManager]: * Automaton type used in concurrency analysis=PETRI_NET [2024-12-02 07:06:52,803 INFO L153 SettingsManager]: * Order on configurations for Petri net unfoldings=DBO [2024-12-02 07:06:52,804 INFO L153 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode [2024-12-02 07:06:52,804 INFO L153 SettingsManager]: * Looper check in Petri net analysis=SEMANTIC 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_08fe5715-a3ac-468f-8c85-c519d88319ab/bin/uautomizer-verify-84ZbGMXZE1 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-memcleanup) ) Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data producer -> Automizer 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 -> cce1bb7a06b9dd56fbf663e182ffe801720ee05ee19a126a08070f1616bc4afe [2024-12-02 07:06:53,033 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2024-12-02 07:06:53,040 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2024-12-02 07:06:53,043 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2024-12-02 07:06:53,044 INFO L270 PluginConnector]: Initializing CDTParser... [2024-12-02 07:06:53,044 INFO L274 PluginConnector]: CDTParser initialized [2024-12-02 07:06:53,045 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_08fe5715-a3ac-468f-8c85-c519d88319ab/bin/uautomizer-verify-84ZbGMXZE1/../../sv-benchmarks/c/verifythis/tree_del_iter.c [2024-12-02 07:06:55,769 INFO L533 CDTParser]: Created temporary CDT project at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_08fe5715-a3ac-468f-8c85-c519d88319ab/bin/uautomizer-verify-84ZbGMXZE1/data/18b8f1a1f/3b12f14a55b141299d2e87968a2a792d/FLAG7fc5d5363 [2024-12-02 07:06:55,978 INFO L384 CDTParser]: Found 1 translation units. [2024-12-02 07:06:55,978 INFO L180 CDTParser]: Scanning /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_08fe5715-a3ac-468f-8c85-c519d88319ab/sv-benchmarks/c/verifythis/tree_del_iter.c [2024-12-02 07:06:55,985 INFO L427 CDTParser]: About to delete temporary CDT project at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_08fe5715-a3ac-468f-8c85-c519d88319ab/bin/uautomizer-verify-84ZbGMXZE1/data/18b8f1a1f/3b12f14a55b141299d2e87968a2a792d/FLAG7fc5d5363 [2024-12-02 07:06:56,000 INFO L435 CDTParser]: Successfully deleted /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_08fe5715-a3ac-468f-8c85-c519d88319ab/bin/uautomizer-verify-84ZbGMXZE1/data/18b8f1a1f/3b12f14a55b141299d2e87968a2a792d [2024-12-02 07:06:56,002 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2024-12-02 07:06:56,004 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2024-12-02 07:06:56,005 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2024-12-02 07:06:56,005 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2024-12-02 07:06:56,009 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2024-12-02 07:06:56,010 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 02.12 07:06:56" (1/1) ... [2024-12-02 07:06:56,010 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@e822376 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 02.12 07:06:56, skipping insertion in model container [2024-12-02 07:06:56,010 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 02.12 07:06:56" (1/1) ... [2024-12-02 07:06:56,025 INFO L175 MainTranslator]: Built tables and reachable declarations [2024-12-02 07:06:56,148 WARN L1063 CHandler]: saw a pointer cast to a type that we could not get a type size for, not adapting memory model [2024-12-02 07:06:56,159 WARN L1675 CHandler]: Possible shadowing of function min [2024-12-02 07:06:56,175 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-12-02 07:06:56,184 INFO L200 MainTranslator]: Completed pre-run [2024-12-02 07:06:56,203 WARN L1675 CHandler]: Possible shadowing of function min [2024-12-02 07:06:56,214 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-12-02 07:06:56,228 INFO L204 MainTranslator]: Completed translation [2024-12-02 07:06:56,228 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 02.12 07:06:56 WrapperNode [2024-12-02 07:06:56,229 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2024-12-02 07:06:56,230 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2024-12-02 07:06:56,230 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2024-12-02 07:06:56,230 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2024-12-02 07:06:56,237 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 02.12 07:06:56" (1/1) ... [2024-12-02 07:06:56,246 INFO L184 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 02.12 07:06:56" (1/1) ... [2024-12-02 07:06:56,268 INFO L138 Inliner]: procedures = 29, calls = 65, calls flagged for inlining = 6, calls inlined = 6, statements flattened = 116 [2024-12-02 07:06:56,269 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2024-12-02 07:06:56,269 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2024-12-02 07:06:56,269 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2024-12-02 07:06:56,269 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2024-12-02 07:06:56,278 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 02.12 07:06:56" (1/1) ... [2024-12-02 07:06:56,278 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 02.12 07:06:56" (1/1) ... [2024-12-02 07:06:56,283 INFO L184 PluginConnector]: Executing the observer MemorySlicer from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 02.12 07:06:56" (1/1) ... [2024-12-02 07:06:56,313 INFO L175 MemorySlicer]: Split 28 memory accesses to 4 slices as follows [2, 5, 2, 19]. 68 percent of accesses are in the largest equivalence class. The 2 initializations are split as follows [2, 0, 0, 0]. The 7 writes are split as follows [0, 2, 1, 4]. [2024-12-02 07:06:56,313 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 02.12 07:06:56" (1/1) ... [2024-12-02 07:06:56,313 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 02.12 07:06:56" (1/1) ... [2024-12-02 07:06:56,326 INFO L184 PluginConnector]: Executing the observer ReplaceArrayAssignments from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 02.12 07:06:56" (1/1) ... [2024-12-02 07:06:56,327 INFO L184 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 02.12 07:06:56" (1/1) ... [2024-12-02 07:06:56,331 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 02.12 07:06:56" (1/1) ... [2024-12-02 07:06:56,333 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 02.12 07:06:56" (1/1) ... [2024-12-02 07:06:56,334 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 02.12 07:06:56" (1/1) ... [2024-12-02 07:06:56,337 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2024-12-02 07:06:56,338 INFO L112 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2024-12-02 07:06:56,338 INFO L270 PluginConnector]: Initializing RCFGBuilder... [2024-12-02 07:06:56,338 INFO L274 PluginConnector]: RCFGBuilder initialized [2024-12-02 07:06:56,339 INFO L184 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 02.12 07:06:56" (1/1) ... [2024-12-02 07:06:56,345 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 [2024-12-02 07:06:56,356 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_08fe5715-a3ac-468f-8c85-c519d88319ab/bin/uautomizer-verify-84ZbGMXZE1/z3 [2024-12-02 07:06:56,369 INFO L229 MonitoredProcess]: Starting monitored process 1 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_08fe5715-a3ac-468f-8c85-c519d88319ab/bin/uautomizer-verify-84ZbGMXZE1/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 (exit command is (exit), workingDir is null) [2024-12-02 07:06:56,372 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_08fe5715-a3ac-468f-8c85-c519d88319ab/bin/uautomizer-verify-84ZbGMXZE1/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 (1)] Waiting until timeout for monitored process [2024-12-02 07:06:56,395 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2024-12-02 07:06:56,396 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnStack [2024-12-02 07:06:56,396 INFO L130 BoogieDeclarations]: Found specification of procedure write~$Pointer$#0 [2024-12-02 07:06:56,396 INFO L130 BoogieDeclarations]: Found specification of procedure write~$Pointer$#1 [2024-12-02 07:06:56,396 INFO L130 BoogieDeclarations]: Found specification of procedure write~$Pointer$#2 [2024-12-02 07:06:56,396 INFO L130 BoogieDeclarations]: Found specification of procedure write~$Pointer$#3 [2024-12-02 07:06:56,396 INFO L130 BoogieDeclarations]: Found specification of procedure write~int#0 [2024-12-02 07:06:56,396 INFO L130 BoogieDeclarations]: Found specification of procedure write~int#1 [2024-12-02 07:06:56,396 INFO L130 BoogieDeclarations]: Found specification of procedure write~int#2 [2024-12-02 07:06:56,396 INFO L130 BoogieDeclarations]: Found specification of procedure write~int#3 [2024-12-02 07:06:56,397 INFO L130 BoogieDeclarations]: Found specification of procedure min [2024-12-02 07:06:56,397 INFO L138 BoogieDeclarations]: Found implementation of procedure min [2024-12-02 07:06:56,397 INFO L130 BoogieDeclarations]: Found specification of procedure read~int#0 [2024-12-02 07:06:56,397 INFO L130 BoogieDeclarations]: Found specification of procedure read~int#1 [2024-12-02 07:06:56,397 INFO L130 BoogieDeclarations]: Found specification of procedure read~int#2 [2024-12-02 07:06:56,397 INFO L130 BoogieDeclarations]: Found specification of procedure read~int#3 [2024-12-02 07:06:56,397 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.meminit [2024-12-02 07:06:56,397 INFO L138 BoogieDeclarations]: Found implementation of procedure #Ultimate.meminit [2024-12-02 07:06:56,397 INFO L130 BoogieDeclarations]: Found specification of procedure read~$Pointer$#0 [2024-12-02 07:06:56,397 INFO L130 BoogieDeclarations]: Found specification of procedure read~$Pointer$#1 [2024-12-02 07:06:56,397 INFO L130 BoogieDeclarations]: Found specification of procedure read~$Pointer$#2 [2024-12-02 07:06:56,398 INFO L130 BoogieDeclarations]: Found specification of procedure read~$Pointer$#3 [2024-12-02 07:06:56,398 INFO L130 BoogieDeclarations]: Found specification of procedure nondet_tree [2024-12-02 07:06:56,398 INFO L138 BoogieDeclarations]: Found implementation of procedure nondet_tree [2024-12-02 07:06:56,398 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int#0 [2024-12-02 07:06:56,398 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int#1 [2024-12-02 07:06:56,398 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int#2 [2024-12-02 07:06:56,398 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int#3 [2024-12-02 07:06:56,398 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnHeap [2024-12-02 07:06:56,398 INFO L130 BoogieDeclarations]: Found specification of procedure size [2024-12-02 07:06:56,398 INFO L138 BoogieDeclarations]: Found implementation of procedure size [2024-12-02 07:06:56,398 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2024-12-02 07:06:56,398 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2024-12-02 07:06:56,398 INFO L130 BoogieDeclarations]: Found specification of procedure __VERIFIER_assert [2024-12-02 07:06:56,399 INFO L138 BoogieDeclarations]: Found implementation of procedure __VERIFIER_assert [2024-12-02 07:06:56,399 INFO L130 BoogieDeclarations]: Found specification of procedure tree_inorder [2024-12-02 07:06:56,399 INFO L138 BoogieDeclarations]: Found implementation of procedure tree_inorder [2024-12-02 07:06:56,399 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.dealloc [2024-12-02 07:06:56,537 INFO L234 CfgBuilder]: Building ICFG [2024-12-02 07:06:56,539 INFO L260 CfgBuilder]: Building CFG for each procedure with an implementation [2024-12-02 07:06:56,851 INFO L? ?]: Removed 74 outVars from TransFormulas that were not future-live. [2024-12-02 07:06:56,851 INFO L283 CfgBuilder]: Performing block encoding [2024-12-02 07:06:56,862 INFO L307 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2024-12-02 07:06:56,862 INFO L312 CfgBuilder]: Removed 4 assume(true) statements. [2024-12-02 07:06:56,862 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 02.12 07:06:56 BoogieIcfgContainer [2024-12-02 07:06:56,862 INFO L131 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2024-12-02 07:06:56,865 INFO L112 PluginConnector]: ------------------------TraceAbstraction---------------------------- [2024-12-02 07:06:56,865 INFO L270 PluginConnector]: Initializing TraceAbstraction... [2024-12-02 07:06:56,869 INFO L274 PluginConnector]: TraceAbstraction initialized [2024-12-02 07:06:56,869 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "CDTParser AST 02.12 07:06:56" (1/3) ... [2024-12-02 07:06:56,869 INFO L204 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@518c6859 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 02.12 07:06:56, skipping insertion in model container [2024-12-02 07:06:56,869 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 02.12 07:06:56" (2/3) ... [2024-12-02 07:06:56,870 INFO L204 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@518c6859 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 02.12 07:06:56, skipping insertion in model container [2024-12-02 07:06:56,870 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 02.12 07:06:56" (3/3) ... [2024-12-02 07:06:56,871 INFO L128 eAbstractionObserver]: Analyzing ICFG tree_del_iter.c [2024-12-02 07:06:56,884 INFO L216 ceAbstractionStarter]: Automizer settings: Hoare:None NWA Interpolation:FPandBP Determinization: PREDICATE_ABSTRACTION [2024-12-02 07:06:56,885 INFO L151 ceAbstractionStarter]: Applying trace abstraction to ICFG tree_del_iter.c that has 7 procedures, 87 locations, 1 initial locations, 3 loop locations, and 2 error locations. [2024-12-02 07:06:56,920 INFO L332 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == AllErrorsAtOnce ======== [2024-12-02 07:06:56,932 INFO L333 AbstractCegarLoop]: Settings: SEPARATE_VIOLATION_CHECK=true, mInterprocedural=true, mMaxIterations=1000000, mWatchIteration=1000000, mArtifact=RCFG, mInterpolation=FPandBP, mInterpolantAutomaton=STRAIGHT_LINE, mDumpAutomata=false, mAutomataFormat=ATS_NUMERATE, mDumpPath=., mDeterminiation=PREDICATE_ABSTRACTION, mMinimize=MINIMIZE_SEVPA, mAutomataTypeConcurrency=PETRI_NET, mHoareTripleChecks=INCREMENTAL, mHoareAnnotationPositions=None, mDumpOnlyReuseAutomata=false, mLimitTraceHistogram=0, mErrorLocTimeLimit=0, mLimitPathProgramCount=0, mCollectInterpolantStatistics=true, mHeuristicEmptinessCheck=false, mHeuristicEmptinessCheckAStarHeuristic=ZERO, mHeuristicEmptinessCheckAStarHeuristicRandomSeed=1337, mHeuristicEmptinessCheckSmtFeatureScoringMethod=DAGSIZE, mSMTFeatureExtraction=false, mSMTFeatureExtractionDumpPath=., mOverrideInterpolantAutomaton=false, mMcrInterpolantMethod=WP, mPorIndependenceSettings=[Lde.uni_freiburg.informatik.ultimate.lib.tracecheckerutils.partialorder.independence.IndependenceSettings;@56987eac, mLbeIndependenceSettings=[IndependenceType=SEMANTIC, AbstractionType=NONE, UseConditional=false, UseSemiCommutativity=true, Solver=Z3, SolverTimeout=1000ms] [2024-12-02 07:06:56,932 INFO L334 AbstractCegarLoop]: Starting to check reachability of 2 error locations. [2024-12-02 07:06:56,935 INFO L276 IsEmpty]: Start isEmpty. Operand has 87 states, 58 states have (on average 1.293103448275862) internal successors, (75), 60 states have internal predecessors, (75), 20 states have call successors, (20), 6 states have call predecessors, (20), 6 states have return successors, (20), 20 states have call predecessors, (20), 20 states have call successors, (20) [2024-12-02 07:06:56,943 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 38 [2024-12-02 07:06:56,943 INFO L210 NwaCegarLoop]: Found error trace [2024-12-02 07:06:56,944 INFO L218 NwaCegarLoop]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2024-12-02 07:06:56,944 INFO L396 AbstractCegarLoop]: === Iteration 1 === Targeting __VERIFIER_assertErr0ASSERT_VIOLATIONMEMORY_LEAK === [ULTIMATE.startErr0ASSERT_VIOLATIONMEMORY_LEAK, __VERIFIER_assertErr0ASSERT_VIOLATIONMEMORY_LEAK] === [2024-12-02 07:06:56,949 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-12-02 07:06:56,949 INFO L85 PathProgramCache]: Analyzing trace with hash -1458925727, now seen corresponding path program 1 times [2024-12-02 07:06:56,956 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2024-12-02 07:06:56,956 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [844510700] [2024-12-02 07:06:56,956 INFO L97 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-12-02 07:06:56,957 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-12-02 07:06:57,084 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-12-02 07:06:57,359 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2024-12-02 07:06:57,359 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2024-12-02 07:06:57,359 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [844510700] [2024-12-02 07:06:57,360 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [844510700] provided 1 perfect and 0 imperfect interpolant sequences [2024-12-02 07:06:57,360 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2024-12-02 07:06:57,360 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [5] imperfect sequences [] total 5 [2024-12-02 07:06:57,362 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [284591667] [2024-12-02 07:06:57,362 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2024-12-02 07:06:57,366 INFO L548 AbstractCegarLoop]: INTERPOLANT automaton has 5 states [2024-12-02 07:06:57,366 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2024-12-02 07:06:57,392 INFO L144 InterpolantAutomaton]: Constructing interpolant automaton starting with 5 interpolants. [2024-12-02 07:06:57,393 INFO L146 InterpolantAutomaton]: CoverageRelationStatistics Valid=7, Invalid=13, Unknown=0, NotChecked=0, Total=20 [2024-12-02 07:06:57,395 INFO L87 Difference]: Start difference. First operand has 87 states, 58 states have (on average 1.293103448275862) internal successors, (75), 60 states have internal predecessors, (75), 20 states have call successors, (20), 6 states have call predecessors, (20), 6 states have return successors, (20), 20 states have call predecessors, (20), 20 states have call successors, (20) Second operand has 5 states, 5 states have (on average 5.2) internal successors, (26), 4 states have internal predecessors, (26), 2 states have call successors, (6), 2 states have call predecessors, (6), 2 states have return successors, (5), 3 states have call predecessors, (5), 2 states have call successors, (5) [2024-12-02 07:06:57,453 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2024-12-02 07:06:57,453 INFO L93 Difference]: Finished difference Result 90 states and 116 transitions. [2024-12-02 07:06:57,455 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 5 states. [2024-12-02 07:06:57,456 INFO L78 Accepts]: Start accepts. Automaton has has 5 states, 5 states have (on average 5.2) internal successors, (26), 4 states have internal predecessors, (26), 2 states have call successors, (6), 2 states have call predecessors, (6), 2 states have return successors, (5), 3 states have call predecessors, (5), 2 states have call successors, (5) Word has length 37 [2024-12-02 07:06:57,456 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2024-12-02 07:06:57,464 INFO L225 Difference]: With dead ends: 90 [2024-12-02 07:06:57,464 INFO L226 Difference]: Without dead ends: 85 [2024-12-02 07:06:57,466 INFO L434 NwaCegarLoop]: 0 DeclaredPredicates, 5 GetRequests, 2 SyntacticMatches, 0 SemanticMatches, 3 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 0 ImplicationChecksByTransitivity, 0.0s TimeCoverageRelationStatistics Valid=7, Invalid=13, Unknown=0, NotChecked=0, Total=20 [2024-12-02 07:06:57,469 INFO L435 NwaCegarLoop]: 107 mSDtfsCounter, 0 mSDsluCounter, 312 mSDsCounter, 0 mSdLazyCounter, 16 mSolverCounterSat, 0 mSolverCounterUnsat, 0 mSolverCounterUnknown, 0 mSolverCounterNotChecked, 0.0s Time, 0 mProtectedPredicate, 0 mProtectedAction, 0 SdHoareTripleChecker+Valid, 419 SdHoareTripleChecker+Invalid, 16 SdHoareTripleChecker+Unknown, 0 SdHoareTripleChecker+Unchecked, 0.0s SdHoareTripleChecker+Time, 0 IncrementalHoareTripleChecker+Valid, 16 IncrementalHoareTripleChecker+Invalid, 0 IncrementalHoareTripleChecker+Unknown, 0 IncrementalHoareTripleChecker+Unchecked, 0.0s IncrementalHoareTripleChecker+Time [2024-12-02 07:06:57,469 INFO L436 NwaCegarLoop]: SdHoareTripleChecker [0 Valid, 419 Invalid, 16 Unknown, 0 Unchecked, 0.0s Time], IncrementalHoareTripleChecker [0 Valid, 16 Invalid, 0 Unknown, 0 Unchecked, 0.0s Time] [2024-12-02 07:06:57,484 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 85 states. [2024-12-02 07:06:57,507 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 85 to 85. [2024-12-02 07:06:57,508 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 85 states, 56 states have (on average 1.1785714285714286) internal successors, (66), 58 states have internal predecessors, (66), 20 states have call successors, (20), 6 states have call predecessors, (20), 7 states have return successors, (23), 20 states have call predecessors, (23), 20 states have call successors, (23) [2024-12-02 07:06:57,513 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 85 states to 85 states and 109 transitions. [2024-12-02 07:06:57,514 INFO L78 Accepts]: Start accepts. Automaton has 85 states and 109 transitions. Word has length 37 [2024-12-02 07:06:57,515 INFO L84 Accepts]: Finished accepts. word is rejected. [2024-12-02 07:06:57,515 INFO L471 AbstractCegarLoop]: Abstraction has 85 states and 109 transitions. [2024-12-02 07:06:57,515 INFO L472 AbstractCegarLoop]: INTERPOLANT automaton has has 5 states, 5 states have (on average 5.2) internal successors, (26), 4 states have internal predecessors, (26), 2 states have call successors, (6), 2 states have call predecessors, (6), 2 states have return successors, (5), 3 states have call predecessors, (5), 2 states have call successors, (5) [2024-12-02 07:06:57,515 INFO L276 IsEmpty]: Start isEmpty. Operand 85 states and 109 transitions. [2024-12-02 07:06:57,517 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 50 [2024-12-02 07:06:57,517 INFO L210 NwaCegarLoop]: Found error trace [2024-12-02 07:06:57,518 INFO L218 NwaCegarLoop]: trace histogram [3, 3, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2024-12-02 07:06:57,518 WARN L453 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable0 [2024-12-02 07:06:57,518 INFO L396 AbstractCegarLoop]: === Iteration 2 === Targeting __VERIFIER_assertErr0ASSERT_VIOLATIONMEMORY_LEAK === [ULTIMATE.startErr0ASSERT_VIOLATIONMEMORY_LEAK, __VERIFIER_assertErr0ASSERT_VIOLATIONMEMORY_LEAK] === [2024-12-02 07:06:57,519 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-12-02 07:06:57,519 INFO L85 PathProgramCache]: Analyzing trace with hash -1448713294, now seen corresponding path program 1 times [2024-12-02 07:06:57,519 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2024-12-02 07:06:57,519 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1151133013] [2024-12-02 07:06:57,519 INFO L97 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-12-02 07:06:57,519 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-12-02 07:06:57,546 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-12-02 07:06:57,812 INFO L134 CoverageAnalysis]: Checked inductivity of 12 backedges. 4 proven. 2 refuted. 0 times theorem prover too weak. 6 trivial. 0 not checked. [2024-12-02 07:06:57,812 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2024-12-02 07:06:57,812 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1151133013] [2024-12-02 07:06:57,812 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1151133013] provided 0 perfect and 1 imperfect interpolant sequences [2024-12-02 07:06:57,813 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleZ3 [1913413332] [2024-12-02 07:06:57,813 INFO L97 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-12-02 07:06:57,813 INFO L173 SolverBuilder]: Constructing external solver with command: z3 -smt2 -in SMTLIB2_COMPLIANT=true [2024-12-02 07:06:57,813 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_08fe5715-a3ac-468f-8c85-c519d88319ab/bin/uautomizer-verify-84ZbGMXZE1/z3 [2024-12-02 07:06:57,815 INFO L229 MonitoredProcess]: Starting monitored process 2 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_08fe5715-a3ac-468f-8c85-c519d88319ab/bin/uautomizer-verify-84ZbGMXZE1/z3 -smt2 -in SMTLIB2_COMPLIANT=true (exit command is (exit), workingDir is null) [2024-12-02 07:06:57,817 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_08fe5715-a3ac-468f-8c85-c519d88319ab/bin/uautomizer-verify-84ZbGMXZE1/z3 -smt2 -in SMTLIB2_COMPLIANT=true (2)] Waiting until timeout for monitored process [2024-12-02 07:06:57,948 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-12-02 07:06:57,951 INFO L256 TraceCheckSpWp]: Trace formula consists of 242 conjuncts, 25 conjuncts are in the unsatisfiable core [2024-12-02 07:06:57,958 INFO L279 TraceCheckSpWp]: Computing forward predicates... [2024-12-02 07:06:58,087 INFO L134 CoverageAnalysis]: Checked inductivity of 12 backedges. 4 proven. 2 refuted. 0 times theorem prover too weak. 6 trivial. 0 not checked. [2024-12-02 07:06:58,087 INFO L312 TraceCheckSpWp]: Computing backward predicates... [2024-12-02 07:06:58,314 INFO L134 CoverageAnalysis]: Checked inductivity of 12 backedges. 4 proven. 2 refuted. 0 times theorem prover too weak. 6 trivial. 0 not checked. [2024-12-02 07:06:58,315 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleZ3 [1913413332] provided 0 perfect and 2 imperfect interpolant sequences [2024-12-02 07:06:58,315 INFO L185 FreeRefinementEngine]: Found 0 perfect and 3 imperfect interpolant sequences. [2024-12-02 07:06:58,315 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [] imperfect sequences [7, 7, 7] total 8 [2024-12-02 07:06:58,316 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [689379338] [2024-12-02 07:06:58,316 INFO L85 oduleStraightlineAll]: Using 3 imperfect interpolants to construct interpolant automaton [2024-12-02 07:06:58,316 INFO L548 AbstractCegarLoop]: INTERPOLANT automaton has 8 states [2024-12-02 07:06:58,317 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2024-12-02 07:06:58,317 INFO L144 InterpolantAutomaton]: Constructing interpolant automaton starting with 8 interpolants. [2024-12-02 07:06:58,317 INFO L146 InterpolantAutomaton]: CoverageRelationStatistics Valid=15, Invalid=41, Unknown=0, NotChecked=0, Total=56 [2024-12-02 07:06:58,318 INFO L87 Difference]: Start difference. First operand 85 states and 109 transitions. Second operand has 8 states, 8 states have (on average 4.75) internal successors, (38), 7 states have internal predecessors, (38), 4 states have call successors, (10), 2 states have call predecessors, (10), 4 states have return successors, (9), 4 states have call predecessors, (9), 4 states have call successors, (9) [2024-12-02 07:06:58,437 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2024-12-02 07:06:58,437 INFO L93 Difference]: Finished difference Result 91 states and 118 transitions. [2024-12-02 07:06:58,437 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 8 states. [2024-12-02 07:06:58,438 INFO L78 Accepts]: Start accepts. Automaton has has 8 states, 8 states have (on average 4.75) internal successors, (38), 7 states have internal predecessors, (38), 4 states have call successors, (10), 2 states have call predecessors, (10), 4 states have return successors, (9), 4 states have call predecessors, (9), 4 states have call successors, (9) Word has length 49 [2024-12-02 07:06:58,438 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2024-12-02 07:06:58,439 INFO L225 Difference]: With dead ends: 91 [2024-12-02 07:06:58,440 INFO L226 Difference]: Without dead ends: 87 [2024-12-02 07:06:58,440 INFO L434 NwaCegarLoop]: 0 DeclaredPredicates, 104 GetRequests, 97 SyntacticMatches, 0 SemanticMatches, 7 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 0 ImplicationChecksByTransitivity, 0.1s TimeCoverageRelationStatistics Valid=20, Invalid=52, Unknown=0, NotChecked=0, Total=72 [2024-12-02 07:06:58,441 INFO L435 NwaCegarLoop]: 101 mSDtfsCounter, 1 mSDsluCounter, 385 mSDsCounter, 0 mSdLazyCounter, 55 mSolverCounterSat, 1 mSolverCounterUnsat, 0 mSolverCounterUnknown, 0 mSolverCounterNotChecked, 0.1s Time, 0 mProtectedPredicate, 0 mProtectedAction, 1 SdHoareTripleChecker+Valid, 486 SdHoareTripleChecker+Invalid, 56 SdHoareTripleChecker+Unknown, 0 SdHoareTripleChecker+Unchecked, 0.0s SdHoareTripleChecker+Time, 1 IncrementalHoareTripleChecker+Valid, 55 IncrementalHoareTripleChecker+Invalid, 0 IncrementalHoareTripleChecker+Unknown, 0 IncrementalHoareTripleChecker+Unchecked, 0.1s IncrementalHoareTripleChecker+Time [2024-12-02 07:06:58,441 INFO L436 NwaCegarLoop]: SdHoareTripleChecker [1 Valid, 486 Invalid, 56 Unknown, 0 Unchecked, 0.0s Time], IncrementalHoareTripleChecker [1 Valid, 55 Invalid, 0 Unknown, 0 Unchecked, 0.1s Time] [2024-12-02 07:06:58,442 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 87 states. [2024-12-02 07:06:58,451 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 87 to 87. [2024-12-02 07:06:58,451 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 87 states, 57 states have (on average 1.1754385964912282) internal successors, (67), 60 states have internal predecessors, (67), 20 states have call successors, (20), 6 states have call predecessors, (20), 8 states have return successors, (25), 20 states have call predecessors, (25), 20 states have call successors, (25) [2024-12-02 07:06:58,453 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 87 states to 87 states and 112 transitions. [2024-12-02 07:06:58,454 INFO L78 Accepts]: Start accepts. Automaton has 87 states and 112 transitions. Word has length 49 [2024-12-02 07:06:58,454 INFO L84 Accepts]: Finished accepts. word is rejected. [2024-12-02 07:06:58,454 INFO L471 AbstractCegarLoop]: Abstraction has 87 states and 112 transitions. [2024-12-02 07:06:58,454 INFO L472 AbstractCegarLoop]: INTERPOLANT automaton has has 8 states, 8 states have (on average 4.75) internal successors, (38), 7 states have internal predecessors, (38), 4 states have call successors, (10), 2 states have call predecessors, (10), 4 states have return successors, (9), 4 states have call predecessors, (9), 4 states have call successors, (9) [2024-12-02 07:06:58,454 INFO L276 IsEmpty]: Start isEmpty. Operand 87 states and 112 transitions. [2024-12-02 07:06:58,456 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 62 [2024-12-02 07:06:58,456 INFO L210 NwaCegarLoop]: Found error trace [2024-12-02 07:06:58,456 INFO L218 NwaCegarLoop]: trace histogram [3, 3, 3, 3, 2, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2024-12-02 07:06:58,467 INFO L552 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_08fe5715-a3ac-468f-8c85-c519d88319ab/bin/uautomizer-verify-84ZbGMXZE1/z3 -smt2 -in SMTLIB2_COMPLIANT=true (2)] Ended with exit code 0 [2024-12-02 07:06:58,657 WARN L453 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable1,2 /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_08fe5715-a3ac-468f-8c85-c519d88319ab/bin/uautomizer-verify-84ZbGMXZE1/z3 -smt2 -in SMTLIB2_COMPLIANT=true [2024-12-02 07:06:58,657 INFO L396 AbstractCegarLoop]: === Iteration 3 === Targeting __VERIFIER_assertErr0ASSERT_VIOLATIONMEMORY_LEAK === [ULTIMATE.startErr0ASSERT_VIOLATIONMEMORY_LEAK, __VERIFIER_assertErr0ASSERT_VIOLATIONMEMORY_LEAK] === [2024-12-02 07:06:58,657 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-12-02 07:06:58,658 INFO L85 PathProgramCache]: Analyzing trace with hash 671285611, now seen corresponding path program 1 times [2024-12-02 07:06:58,658 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2024-12-02 07:06:58,658 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1323559107] [2024-12-02 07:06:58,658 INFO L97 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-12-02 07:06:58,658 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-12-02 07:06:58,690 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-12-02 07:06:58,868 INFO L134 CoverageAnalysis]: Checked inductivity of 24 backedges. 4 proven. 0 refuted. 0 times theorem prover too weak. 20 trivial. 0 not checked. [2024-12-02 07:06:58,869 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2024-12-02 07:06:58,869 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1323559107] [2024-12-02 07:06:58,869 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1323559107] provided 1 perfect and 0 imperfect interpolant sequences [2024-12-02 07:06:58,869 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2024-12-02 07:06:58,869 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [8] imperfect sequences [] total 8 [2024-12-02 07:06:58,869 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [2038889193] [2024-12-02 07:06:58,869 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2024-12-02 07:06:58,869 INFO L548 AbstractCegarLoop]: INTERPOLANT automaton has 8 states [2024-12-02 07:06:58,869 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2024-12-02 07:06:58,870 INFO L144 InterpolantAutomaton]: Constructing interpolant automaton starting with 8 interpolants. [2024-12-02 07:06:58,870 INFO L146 InterpolantAutomaton]: CoverageRelationStatistics Valid=13, Invalid=43, Unknown=0, NotChecked=0, Total=56 [2024-12-02 07:06:58,870 INFO L87 Difference]: Start difference. First operand 87 states and 112 transitions. Second operand has 8 states, 7 states have (on average 4.714285714285714) internal successors, (33), 7 states have internal predecessors, (33), 4 states have call successors, (10), 2 states have call predecessors, (10), 3 states have return successors, (9), 4 states have call predecessors, (9), 4 states have call successors, (9) [2024-12-02 07:06:58,955 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2024-12-02 07:06:58,955 INFO L93 Difference]: Finished difference Result 89 states and 115 transitions. [2024-12-02 07:06:58,956 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 8 states. [2024-12-02 07:06:58,956 INFO L78 Accepts]: Start accepts. Automaton has has 8 states, 7 states have (on average 4.714285714285714) internal successors, (33), 7 states have internal predecessors, (33), 4 states have call successors, (10), 2 states have call predecessors, (10), 3 states have return successors, (9), 4 states have call predecessors, (9), 4 states have call successors, (9) Word has length 61 [2024-12-02 07:06:58,956 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2024-12-02 07:06:58,958 INFO L225 Difference]: With dead ends: 89 [2024-12-02 07:06:58,958 INFO L226 Difference]: Without dead ends: 89 [2024-12-02 07:06:58,959 INFO L434 NwaCegarLoop]: 0 DeclaredPredicates, 8 GetRequests, 2 SyntacticMatches, 0 SemanticMatches, 6 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 0 ImplicationChecksByTransitivity, 0.0s TimeCoverageRelationStatistics Valid=13, Invalid=43, Unknown=0, NotChecked=0, Total=56 [2024-12-02 07:06:58,959 INFO L435 NwaCegarLoop]: 99 mSDtfsCounter, 26 mSDsluCounter, 536 mSDsCounter, 0 mSdLazyCounter, 71 mSolverCounterSat, 0 mSolverCounterUnsat, 0 mSolverCounterUnknown, 0 mSolverCounterNotChecked, 0.1s Time, 0 mProtectedPredicate, 0 mProtectedAction, 39 SdHoareTripleChecker+Valid, 635 SdHoareTripleChecker+Invalid, 71 SdHoareTripleChecker+Unknown, 0 SdHoareTripleChecker+Unchecked, 0.0s SdHoareTripleChecker+Time, 0 IncrementalHoareTripleChecker+Valid, 71 IncrementalHoareTripleChecker+Invalid, 0 IncrementalHoareTripleChecker+Unknown, 0 IncrementalHoareTripleChecker+Unchecked, 0.1s IncrementalHoareTripleChecker+Time [2024-12-02 07:06:58,960 INFO L436 NwaCegarLoop]: SdHoareTripleChecker [39 Valid, 635 Invalid, 71 Unknown, 0 Unchecked, 0.0s Time], IncrementalHoareTripleChecker [0 Valid, 71 Invalid, 0 Unknown, 0 Unchecked, 0.1s Time] [2024-12-02 07:06:58,961 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 89 states. [2024-12-02 07:06:58,968 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 89 to 89. [2024-12-02 07:06:58,968 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 89 states, 58 states have (on average 1.1724137931034482) internal successors, (68), 62 states have internal predecessors, (68), 20 states have call successors, (20), 6 states have call predecessors, (20), 9 states have return successors, (27), 20 states have call predecessors, (27), 20 states have call successors, (27) [2024-12-02 07:06:58,970 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 89 states to 89 states and 115 transitions. [2024-12-02 07:06:58,970 INFO L78 Accepts]: Start accepts. Automaton has 89 states and 115 transitions. Word has length 61 [2024-12-02 07:06:58,970 INFO L84 Accepts]: Finished accepts. word is rejected. [2024-12-02 07:06:58,971 INFO L471 AbstractCegarLoop]: Abstraction has 89 states and 115 transitions. [2024-12-02 07:06:58,971 INFO L472 AbstractCegarLoop]: INTERPOLANT automaton has has 8 states, 7 states have (on average 4.714285714285714) internal successors, (33), 7 states have internal predecessors, (33), 4 states have call successors, (10), 2 states have call predecessors, (10), 3 states have return successors, (9), 4 states have call predecessors, (9), 4 states have call successors, (9) [2024-12-02 07:06:58,971 INFO L276 IsEmpty]: Start isEmpty. Operand 89 states and 115 transitions. [2024-12-02 07:06:58,973 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 75 [2024-12-02 07:06:58,973 INFO L210 NwaCegarLoop]: Found error trace [2024-12-02 07:06:58,973 INFO L218 NwaCegarLoop]: trace histogram [3, 3, 3, 3, 3, 3, 2, 2, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2024-12-02 07:06:58,973 WARN L453 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable2 [2024-12-02 07:06:58,974 INFO L396 AbstractCegarLoop]: === Iteration 4 === Targeting __VERIFIER_assertErr0ASSERT_VIOLATIONMEMORY_LEAK === [ULTIMATE.startErr0ASSERT_VIOLATIONMEMORY_LEAK, __VERIFIER_assertErr0ASSERT_VIOLATIONMEMORY_LEAK] === [2024-12-02 07:06:58,974 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-12-02 07:06:58,974 INFO L85 PathProgramCache]: Analyzing trace with hash 1601678511, now seen corresponding path program 1 times [2024-12-02 07:06:58,974 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2024-12-02 07:06:58,974 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1843796251] [2024-12-02 07:06:58,975 INFO L97 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-12-02 07:06:58,975 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-12-02 07:06:59,013 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-12-02 07:06:59,296 INFO L134 CoverageAnalysis]: Checked inductivity of 36 backedges. 8 proven. 2 refuted. 0 times theorem prover too weak. 26 trivial. 0 not checked. [2024-12-02 07:06:59,297 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2024-12-02 07:06:59,297 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1843796251] [2024-12-02 07:06:59,297 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1843796251] provided 0 perfect and 1 imperfect interpolant sequences [2024-12-02 07:06:59,297 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleZ3 [1878858060] [2024-12-02 07:06:59,297 INFO L97 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-12-02 07:06:59,297 INFO L173 SolverBuilder]: Constructing external solver with command: z3 -smt2 -in SMTLIB2_COMPLIANT=true [2024-12-02 07:06:59,297 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_08fe5715-a3ac-468f-8c85-c519d88319ab/bin/uautomizer-verify-84ZbGMXZE1/z3 [2024-12-02 07:06:59,300 INFO L229 MonitoredProcess]: Starting monitored process 3 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_08fe5715-a3ac-468f-8c85-c519d88319ab/bin/uautomizer-verify-84ZbGMXZE1/z3 -smt2 -in SMTLIB2_COMPLIANT=true (exit command is (exit), workingDir is null) [2024-12-02 07:06:59,302 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_08fe5715-a3ac-468f-8c85-c519d88319ab/bin/uautomizer-verify-84ZbGMXZE1/z3 -smt2 -in SMTLIB2_COMPLIANT=true (3)] Waiting until timeout for monitored process [2024-12-02 07:06:59,460 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-12-02 07:06:59,463 INFO L256 TraceCheckSpWp]: Trace formula consists of 392 conjuncts, 25 conjuncts are in the unsatisfiable core [2024-12-02 07:06:59,467 INFO L279 TraceCheckSpWp]: Computing forward predicates... [2024-12-02 07:06:59,569 INFO L134 CoverageAnalysis]: Checked inductivity of 36 backedges. 8 proven. 2 refuted. 0 times theorem prover too weak. 26 trivial. 0 not checked. [2024-12-02 07:06:59,569 INFO L312 TraceCheckSpWp]: Computing backward predicates... [2024-12-02 07:06:59,839 INFO L134 CoverageAnalysis]: Checked inductivity of 36 backedges. 8 proven. 2 refuted. 0 times theorem prover too weak. 26 trivial. 0 not checked. [2024-12-02 07:06:59,839 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleZ3 [1878858060] provided 0 perfect and 2 imperfect interpolant sequences [2024-12-02 07:06:59,840 INFO L185 FreeRefinementEngine]: Found 0 perfect and 3 imperfect interpolant sequences. [2024-12-02 07:06:59,840 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [] imperfect sequences [11, 11, 11] total 13 [2024-12-02 07:06:59,840 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [843428446] [2024-12-02 07:06:59,840 INFO L85 oduleStraightlineAll]: Using 3 imperfect interpolants to construct interpolant automaton [2024-12-02 07:06:59,840 INFO L548 AbstractCegarLoop]: INTERPOLANT automaton has 13 states [2024-12-02 07:06:59,841 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2024-12-02 07:06:59,841 INFO L144 InterpolantAutomaton]: Constructing interpolant automaton starting with 13 interpolants. [2024-12-02 07:06:59,842 INFO L146 InterpolantAutomaton]: CoverageRelationStatistics Valid=27, Invalid=129, Unknown=0, NotChecked=0, Total=156 [2024-12-02 07:06:59,842 INFO L87 Difference]: Start difference. First operand 89 states and 115 transitions. Second operand has 13 states, 12 states have (on average 3.5833333333333335) internal successors, (43), 12 states have internal predecessors, (43), 6 states have call successors, (12), 2 states have call predecessors, (12), 4 states have return successors, (11), 6 states have call predecessors, (11), 5 states have call successors, (11) [2024-12-02 07:07:00,052 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2024-12-02 07:07:00,052 INFO L93 Difference]: Finished difference Result 91 states and 119 transitions. [2024-12-02 07:07:00,052 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 12 states. [2024-12-02 07:07:00,052 INFO L78 Accepts]: Start accepts. Automaton has has 13 states, 12 states have (on average 3.5833333333333335) internal successors, (43), 12 states have internal predecessors, (43), 6 states have call successors, (12), 2 states have call predecessors, (12), 4 states have return successors, (11), 6 states have call predecessors, (11), 5 states have call successors, (11) Word has length 74 [2024-12-02 07:07:00,053 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2024-12-02 07:07:00,054 INFO L225 Difference]: With dead ends: 91 [2024-12-02 07:07:00,054 INFO L226 Difference]: Without dead ends: 91 [2024-12-02 07:07:00,055 INFO L434 NwaCegarLoop]: 0 DeclaredPredicates, 159 GetRequests, 146 SyntacticMatches, 0 SemanticMatches, 13 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 2 ImplicationChecksByTransitivity, 0.1s TimeCoverageRelationStatistics Valid=36, Invalid=174, Unknown=0, NotChecked=0, Total=210 [2024-12-02 07:07:00,056 INFO L435 NwaCegarLoop]: 92 mSDtfsCounter, 54 mSDsluCounter, 540 mSDsCounter, 0 mSdLazyCounter, 149 mSolverCounterSat, 24 mSolverCounterUnsat, 0 mSolverCounterUnknown, 0 mSolverCounterNotChecked, 0.1s Time, 0 mProtectedPredicate, 0 mProtectedAction, 57 SdHoareTripleChecker+Valid, 632 SdHoareTripleChecker+Invalid, 173 SdHoareTripleChecker+Unknown, 0 SdHoareTripleChecker+Unchecked, 0.0s SdHoareTripleChecker+Time, 24 IncrementalHoareTripleChecker+Valid, 149 IncrementalHoareTripleChecker+Invalid, 0 IncrementalHoareTripleChecker+Unknown, 0 IncrementalHoareTripleChecker+Unchecked, 0.2s IncrementalHoareTripleChecker+Time [2024-12-02 07:07:00,056 INFO L436 NwaCegarLoop]: SdHoareTripleChecker [57 Valid, 632 Invalid, 173 Unknown, 0 Unchecked, 0.0s Time], IncrementalHoareTripleChecker [24 Valid, 149 Invalid, 0 Unknown, 0 Unchecked, 0.2s Time] [2024-12-02 07:07:00,057 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 91 states. [2024-12-02 07:07:00,064 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 91 to 91. [2024-12-02 07:07:00,065 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 91 states, 59 states have (on average 1.1694915254237288) internal successors, (69), 64 states have internal predecessors, (69), 20 states have call successors, (20), 6 states have call predecessors, (20), 10 states have return successors, (30), 20 states have call predecessors, (30), 20 states have call successors, (30) [2024-12-02 07:07:00,066 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 91 states to 91 states and 119 transitions. [2024-12-02 07:07:00,066 INFO L78 Accepts]: Start accepts. Automaton has 91 states and 119 transitions. Word has length 74 [2024-12-02 07:07:00,067 INFO L84 Accepts]: Finished accepts. word is rejected. [2024-12-02 07:07:00,067 INFO L471 AbstractCegarLoop]: Abstraction has 91 states and 119 transitions. [2024-12-02 07:07:00,067 INFO L472 AbstractCegarLoop]: INTERPOLANT automaton has has 13 states, 12 states have (on average 3.5833333333333335) internal successors, (43), 12 states have internal predecessors, (43), 6 states have call successors, (12), 2 states have call predecessors, (12), 4 states have return successors, (11), 6 states have call predecessors, (11), 5 states have call successors, (11) [2024-12-02 07:07:00,067 INFO L276 IsEmpty]: Start isEmpty. Operand 91 states and 119 transitions. [2024-12-02 07:07:00,069 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 87 [2024-12-02 07:07:00,069 INFO L210 NwaCegarLoop]: Found error trace [2024-12-02 07:07:00,069 INFO L218 NwaCegarLoop]: trace histogram [3, 3, 3, 3, 3, 3, 3, 3, 2, 2, 2, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2024-12-02 07:07:00,079 INFO L552 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_08fe5715-a3ac-468f-8c85-c519d88319ab/bin/uautomizer-verify-84ZbGMXZE1/z3 -smt2 -in SMTLIB2_COMPLIANT=true (3)] Ended with exit code 0 [2024-12-02 07:07:00,269 WARN L453 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable3,3 /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_08fe5715-a3ac-468f-8c85-c519d88319ab/bin/uautomizer-verify-84ZbGMXZE1/z3 -smt2 -in SMTLIB2_COMPLIANT=true [2024-12-02 07:07:00,270 INFO L396 AbstractCegarLoop]: === Iteration 5 === Targeting __VERIFIER_assertErr0ASSERT_VIOLATIONMEMORY_LEAK === [ULTIMATE.startErr0ASSERT_VIOLATIONMEMORY_LEAK, __VERIFIER_assertErr0ASSERT_VIOLATIONMEMORY_LEAK] === [2024-12-02 07:07:00,270 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-12-02 07:07:00,270 INFO L85 PathProgramCache]: Analyzing trace with hash -1045864910, now seen corresponding path program 1 times [2024-12-02 07:07:00,271 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2024-12-02 07:07:00,271 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1579223620] [2024-12-02 07:07:00,271 INFO L97 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-12-02 07:07:00,271 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-12-02 07:07:00,318 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-12-02 07:07:00,318 INFO L357 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-12-02 07:07:00,350 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-12-02 07:07:00,378 INFO L130 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2024-12-02 07:07:00,378 INFO L340 BasicCegarLoop]: Counterexample is feasible [2024-12-02 07:07:00,379 INFO L782 garLoopResultBuilder]: Registering result UNSAFE for location __VERIFIER_assertErr0ASSERT_VIOLATIONMEMORY_LEAK (1 of 2 remaining) [2024-12-02 07:07:00,381 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr0ASSERT_VIOLATIONMEMORY_LEAK (0 of 2 remaining) [2024-12-02 07:07:00,381 WARN L453 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable4 [2024-12-02 07:07:00,385 INFO L422 BasicCegarLoop]: Path program histogram: [1, 1, 1, 1, 1] [2024-12-02 07:07:00,425 INFO L170 ceAbstractionStarter]: Computing trace abstraction results [2024-12-02 07:07:00,428 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction CFG 02.12 07:07:00 BoogieIcfgContainer [2024-12-02 07:07:00,428 INFO L131 PluginConnector]: ------------------------ END TraceAbstraction---------------------------- [2024-12-02 07:07:00,428 INFO L112 PluginConnector]: ------------------------Witness Printer---------------------------- [2024-12-02 07:07:00,429 INFO L270 PluginConnector]: Initializing Witness Printer... [2024-12-02 07:07:00,429 INFO L274 PluginConnector]: Witness Printer initialized [2024-12-02 07:07:00,429 INFO L184 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 02.12 07:06:56" (3/4) ... [2024-12-02 07:07:00,430 INFO L140 WitnessPrinter]: Generating witness for reachability counterexample [2024-12-02 07:07:00,485 INFO L129 tionWitnessGenerator]: Generated YAML witness of length 45. [2024-12-02 07:07:00,559 INFO L149 WitnessManager]: Wrote witness to /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_08fe5715-a3ac-468f-8c85-c519d88319ab/bin/uautomizer-verify-84ZbGMXZE1/witness.graphml [2024-12-02 07:07:00,560 INFO L149 WitnessManager]: Wrote witness to /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_08fe5715-a3ac-468f-8c85-c519d88319ab/bin/uautomizer-verify-84ZbGMXZE1/witness.yml [2024-12-02 07:07:00,560 INFO L131 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2024-12-02 07:07:00,560 INFO L158 Benchmark]: Toolchain (without parser) took 4556.81ms. Allocated memory is still 117.4MB. Free memory was 93.2MB in the beginning and 31.3MB in the end (delta: 62.0MB). Peak memory consumption was 59.0MB. Max. memory is 16.1GB. [2024-12-02 07:07:00,561 INFO L158 Benchmark]: CDTParser took 0.31ms. Allocated memory is still 117.4MB. Free memory is still 72.4MB. There was no memory consumed. Max. memory is 16.1GB. [2024-12-02 07:07:00,561 INFO L158 Benchmark]: CACSL2BoogieTranslator took 224.10ms. Allocated memory is still 117.4MB. Free memory was 93.2MB in the beginning and 80.8MB in the end (delta: 12.4MB). Peak memory consumption was 8.4MB. Max. memory is 16.1GB. [2024-12-02 07:07:00,561 INFO L158 Benchmark]: Boogie Procedure Inliner took 39.03ms. Allocated memory is still 117.4MB. Free memory was 80.8MB in the beginning and 79.1MB in the end (delta: 1.7MB). Peak memory consumption was 8.4MB. Max. memory is 16.1GB. [2024-12-02 07:07:00,561 INFO L158 Benchmark]: Boogie Preprocessor took 68.25ms. Allocated memory is still 117.4MB. Free memory was 79.1MB in the beginning and 75.9MB in the end (delta: 3.2MB). There was no memory consumed. Max. memory is 16.1GB. [2024-12-02 07:07:00,562 INFO L158 Benchmark]: RCFGBuilder took 524.26ms. Allocated memory is still 117.4MB. Free memory was 75.9MB in the beginning and 53.4MB in the end (delta: 22.5MB). Peak memory consumption was 16.8MB. Max. memory is 16.1GB. [2024-12-02 07:07:00,562 INFO L158 Benchmark]: TraceAbstraction took 3563.48ms. Allocated memory is still 117.4MB. Free memory was 52.9MB in the beginning and 38.6MB in the end (delta: 14.2MB). Peak memory consumption was 17.0MB. Max. memory is 16.1GB. [2024-12-02 07:07:00,562 INFO L158 Benchmark]: Witness Printer took 131.15ms. Allocated memory is still 117.4MB. Free memory was 38.6MB in the beginning and 31.3MB in the end (delta: 7.4MB). Peak memory consumption was 8.4MB. Max. memory is 16.1GB. [2024-12-02 07:07:00,564 INFO L338 ainManager$Toolchain]: ####################### End [Toolchain 1] ####################### --- Results --- * Results from de.uni_freiburg.informatik.ultimate.core: - StatisticsResult: Toolchain Benchmarks Benchmark results are: * CDTParser took 0.31ms. Allocated memory is still 117.4MB. Free memory is still 72.4MB. There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 224.10ms. Allocated memory is still 117.4MB. Free memory was 93.2MB in the beginning and 80.8MB in the end (delta: 12.4MB). Peak memory consumption was 8.4MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 39.03ms. Allocated memory is still 117.4MB. Free memory was 80.8MB in the beginning and 79.1MB in the end (delta: 1.7MB). Peak memory consumption was 8.4MB. Max. memory is 16.1GB. * Boogie Preprocessor took 68.25ms. Allocated memory is still 117.4MB. Free memory was 79.1MB in the beginning and 75.9MB in the end (delta: 3.2MB). There was no memory consumed. Max. memory is 16.1GB. * RCFGBuilder took 524.26ms. Allocated memory is still 117.4MB. Free memory was 75.9MB in the beginning and 53.4MB in the end (delta: 22.5MB). Peak memory consumption was 16.8MB. Max. memory is 16.1GB. * TraceAbstraction took 3563.48ms. Allocated memory is still 117.4MB. Free memory was 52.9MB in the beginning and 38.6MB in the end (delta: 14.2MB). Peak memory consumption was 17.0MB. Max. memory is 16.1GB. * Witness Printer took 131.15ms. Allocated memory is still 117.4MB. Free memory was 38.6MB in the beginning and 31.3MB in the end (delta: 7.4MB). Peak memory consumption was 8.4MB. Max. memory is 16.1GB. * Results from de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction: - StatisticsResult: ErrorAutomatonStatistics NumberErrorTraces: 0, NumberStatementsAllTraces: 0, NumberRelevantStatements: 0, 0.0s ErrorAutomatonConstructionTimeTotal, 0.0s FaulLocalizationTime, NumberStatementsFirstTrace: -1, TraceLengthAvg: 0, 0.0s ErrorAutomatonConstructionTimeAvg, 0.0s ErrorAutomatonDifferenceTimeAvg, 0.0s ErrorAutomatonDifferenceTimeTotal, NumberOfNoEnhancement: 0, NumberOfFiniteEnhancement: 0, NumberOfInfiniteEnhancement: 0 - CounterExampleResult [Line: 14]: not all allocated memory was freed not all allocated memory was freed We found a FailurePath: [L110] CALL, EXPR nondet_tree() [L25] COND FALSE !(__VERIFIER_nondet_bool()) [L28] struct node *n = (struct node *)malloc(sizeof(struct node)); [L29] n->data = __VERIFIER_nondet_int() [L30] CALL, EXPR nondet_tree() [L25] COND TRUE __VERIFIER_nondet_bool() [L26] return 0; VAL [\result={0:0}] [L30] RET, EXPR nondet_tree() VAL [n={-1:0}] [L30] n->left = nondet_tree() [L31] CALL, EXPR nondet_tree() [L25] COND TRUE __VERIFIER_nondet_bool() [L26] return 0; VAL [\result={0:0}] [L31] RET, EXPR nondet_tree() VAL [n={-1:0}] [L31] n->right = nondet_tree() [L32] return n; VAL [\result={-1:0}] [L110] RET, EXPR nondet_tree() [L110] CALL task(nondet_tree()) [L86] CALL, EXPR min(t) VAL [\old(n)={-1:0}] [L37] COND FALSE !(!n) [L40] EXPR n->data [L40] int a = n->data; [L41] EXPR n->left VAL [\old(n)={-1:0}, a=2147483647, n={-1:0}] [L41] CALL, EXPR min(n->left) VAL [\old(n)={0:0}] [L37] COND TRUE !n [L38] return 2147483647; VAL [\old(n)={0:0}, \result=2147483647] [L41] RET, EXPR min(n->left) VAL [\old(n)={-1:0}, a=2147483647, n={-1:0}] [L41] int b = min(n->left); [L42] EXPR n->right VAL [\old(n)={-1:0}, a=2147483647, b=2147483647] [L42] CALL, EXPR min(n->right) VAL [\old(n)={0:0}] [L37] COND TRUE !n [L38] return 2147483647; VAL [\old(n)={0:0}, \result=2147483647] [L42] RET, EXPR min(n->right) VAL [\old(n)={-1:0}, a=2147483647, b=2147483647] [L42] int c = min(n->right); [L43] COND TRUE b <= a && b <= c [L43] return b; VAL [\old(n)={-1:0}, \result=2147483647] [L86] RET, EXPR min(t) VAL [t={-1:0}] [L86] int a = min(t); [L87] int b; VAL [a=2147483647, b={5:0}, t={-1:0}] [L89] CALL, EXPR size(t) VAL [\old(t)={-1:0}] [L81] COND FALSE !(!t) [L82] EXPR t->left VAL [\old(t)={-1:0}, t={-1:0}] [L82] CALL, EXPR size(t->left) VAL [\old(t)={0:0}] [L81] COND TRUE !t [L81] return 0; VAL [\old(t)={0:0}, \result=0] [L82] RET, EXPR size(t->left) VAL [\old(t)={-1:0}, t={-1:0}] [L82] EXPR t->right VAL [\old(t)={-1:0}] [L82] CALL, EXPR size(t->right) VAL [\old(t)={0:0}] [L81] COND TRUE !t [L81] return 0; VAL [\old(t)={0:0}, \result=0] [L82] RET, EXPR size(t->right) VAL [\old(t)={-1:0}] [L82] return size(t->left) + size(t->right) + 1; [L89] RET, EXPR size(t) VAL [a=2147483647, b={5:0}, t={-1:0}] [L89] int n = size(t); [L90] CALL assume_cycle_if_not(n != 0) [L9] COND FALSE !(!cond) [L90] RET assume_cycle_if_not(n != 0) [L91] EXPR, FCALL calloc(n, sizeof(int)) VAL [a=2147483647, b={5:0}, n=1, t={-1:0}] [L91] int *x = calloc(n, sizeof(int)); [L92] CALL tree_inorder(t, x, n) VAL [\old(a)={-2:0}, \old(i)=1, \old(t)={-1:0}] [L70] COND FALSE !(!t) [L73] EXPR t->left VAL [\old(a)={-2:0}, \old(i)=1, \old(t)={-1:0}, a={-2:0}, i=1, t={-1:0}] [L73] CALL, EXPR tree_inorder(t->left, a, i) VAL [\old(a)={-2:0}, \old(i)=1, \old(t)={0:0}] [L70] COND TRUE !t [L71] return i; VAL [\old(a)={-2:0}, \old(i)=1, \old(t)={0:0}, \result=1, a={-2:0}] [L73] RET, EXPR tree_inorder(t->left, a, i) VAL [\old(a)={-2:0}, \old(i)=1, \old(t)={-1:0}, a={-2:0}, i=1, t={-1:0}] [L73] i = tree_inorder(t->left, a, i) [L74] EXPR i++ [L74] EXPR t->data [L74] a[i++] = t->data [L75] EXPR t->right VAL [\old(a)={-2:0}, \old(i)=1, \old(t)={-1:0}, a={-2:0}, i=2] [L75] CALL, EXPR tree_inorder(t->right, a, i) VAL [\old(a)={-2:0}, \old(i)=2, \old(t)={0:0}] [L70] COND TRUE !t [L71] return i; VAL [\old(a)={-2:0}, \old(i)=2, \old(t)={0:0}, \result=2, a={-2:0}] [L75] RET, EXPR tree_inorder(t->right, a, i) VAL [\old(a)={-2:0}, \old(i)=1, \old(t)={-1:0}, a={-2:0}, i=2] [L75] i = tree_inorder(t->right, a, i) [L76] return i; VAL [\old(a)={-2:0}, \old(i)=1, \old(t)={-1:0}, \result=2, a={-2:0}, i=2] [L92] RET tree_inorder(t, x, n) VAL [a=2147483647, b={5:0}, n=1, t={-1:0}, x={-2:0}] [L93] EXPR x[0] [L93] CALL __VERIFIER_assert(a == x[0]) [L16] COND TRUE !cond [L16] CALL reach_error() [L14] __assert_fail("0", "tree_del_iter.c", 14, "reach_error") - UnprovableResult [Line: 109]: Unable to prove that all allocated memory was freed Unable to prove that all allocated memory was freed Reason: Not analyzed. - StatisticsResult: Ultimate Automizer benchmark data CFG has 7 procedures, 87 locations, 2 error locations. Started 1 CEGAR loops. OverallTime: 3.5s, OverallIterations: 5, TraceHistogramMax: 3, PathProgramHistogramMax: 1, EmptinessCheckTime: 0.0s, AutomataDifference: 0.5s, DeadEndRemovalTime: 0.0s, HoareAnnotationTime: 0.0s, InitialAbstractionConstructionTime: 0.0s, HoareTripleCheckerStatistics: 0 mSolverCounterUnknown, 97 SdHoareTripleChecker+Valid, 0.3s IncrementalHoareTripleChecker+Time, 0 mSdLazyCounter, 81 mSDsluCounter, 2172 SdHoareTripleChecker+Invalid, 0.3s Time, 0 mProtectedAction, 0 SdHoareTripleChecker+Unchecked, 0 IncrementalHoareTripleChecker+Unchecked, 1773 mSDsCounter, 25 IncrementalHoareTripleChecker+Valid, 0 mProtectedPredicate, 291 IncrementalHoareTripleChecker+Invalid, 316 SdHoareTripleChecker+Unknown, 0 mSolverCounterNotChecked, 25 mSolverCounterUnsat, 399 mSDtfsCounter, 291 mSolverCounterSat, 0.0s SdHoareTripleChecker+Time, 0 IncrementalHoareTripleChecker+Unknown, PredicateUnifierStatistics: 0 DeclaredPredicates, 276 GetRequests, 247 SyntacticMatches, 0 SemanticMatches, 29 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 2 ImplicationChecksByTransitivity, 0.2s Time, 0.0s BasicInterpolantAutomatonTime, BiggestAbstraction: size=91occurred in iteration=4, InterpolantAutomatonStates: 33, traceCheckStatistics: No data available, InterpolantConsolidationStatistics: No data available, PathInvariantsStatistics: No data available, 0/0 InterpolantCoveringCapability, TotalInterpolationStatistics: No data available, 0.0s DumpTime, AutomataMinimizationStatistics: 0.1s AutomataMinimizationTime, 4 MinimizatonAttempts, 0 StatesRemovedByMinimization, 0 NontrivialMinimizations, HoareAnnotationStatistics: No data available, RefinementEngineStatistics: TRACE_CHECK: 0.1s SsaConstructionTime, 0.2s SatisfiabilityAnalysisTime, 1.7s InterpolantComputationTime, 430 NumberOfCodeBlocks, 430 NumberOfCodeBlocksAsserted, 7 NumberOfCheckSat, 459 ConstructedInterpolants, 0 QuantifiedInterpolants, 1118 SizeOfPredicates, 6 NumberOfNonLiveVariables, 634 ConjunctsInSsa, 50 ConjunctsInUnsatCore, 8 InterpolantComputations, 2 PerfectInterpolantSequences, 156/168 InterpolantCoveringCapability, INVARIANT_SYNTHESIS: No data available, INTERPOLANT_CONSOLIDATION: No data available, ABSTRACT_INTERPRETATION: No data available, PDR: No data available, ACCELERATED_INTERPOLATION: No data available, SIFA: No data available, ReuseStatistics: No data available, ConComCheckerStatistics: No data available RESULT: Ultimate proved your program to be incorrect! [2024-12-02 07:07:00,580 INFO L540 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_08fe5715-a3ac-468f-8c85-c519d88319ab/bin/uautomizer-verify-84ZbGMXZE1/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 (1)] Forceful destruction successful, exit code 0 Received shutdown request... --- End real Ultimate output --- Execution finished normally Writing output log to file Ultimate.log Writing human readable error path to file UltimateCounterExample.errorpath Result: FALSE(valid-memcleanup)