./Ultimate.py --spec ../../../trunk/examples/svcomp/properties/unreach-call.prp --file ../../../trunk/examples/svcomp/ldv-sets/test_add-1.i --full-output --witness-type violation_witness --validate ./svcomp-yaml-violation-generation.2024-08-01_14-26-22.files/Default/test_add-1.yml/witness.yml -tc ../../../trunk/examples/toolchains/AutomizerC_IcfgBuilder.xml -s ../../../trunk/examples/settings/svcomp-Reach-32bit-Automizer_IcfgBuilder.epf --architecture 32bit -------------------------------------------------------------------------------- Checking for ERROR reachability Using default analysis Version bf1304be Calling Ultimate with: /root/.sdkman/candidates/java/current/bin/java -Dosgi.configuration.area=/storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/config -Xmx15G -Xms4m -jar /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/plugins/org.eclipse.equinox.launcher_1.5.800.v20200727-1323.jar -data @noDefault -ultimatedata /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data -tc /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/config/AutomizerReachWitnessValidation.xml -i ../../../trunk/examples/svcomp/ldv-sets/test_add-1.i ./svcomp-yaml-violation-generation.2024-08-01_14-26-22.files/Default/test_add-1.yml/witness.yml -s /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/config/svcomp-Reach-32bit-Automizer_Default.epf --cacsl2boogietranslator.entry.function main --traceabstraction.compute.hoare.annotation.of.negated.interpolant.automaton,.abstraction.and.cfg false -tc ../../../trunk/examples/toolchains/AutomizerC_IcfgBuilder.xml -s ../../../trunk/examples/settings/svcomp-Reach-32bit-Automizer_IcfgBuilder.epf --- Real Ultimate output --- This is Ultimate 0.2.4-wip.fs.yaml-violation-witnesses-bf1304b-m [2024-08-06 17:19:05,049 INFO L188 SettingsManager]: Resetting all preferences to default values... [2024-08-06 17:19:05,140 INFO L114 SettingsManager]: Loading settings from /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/config/svcomp-Reach-32bit-Automizer_Default.epf [2024-08-06 17:19:05,146 WARN L101 SettingsManager]: Preference file contains the following unknown settings: [2024-08-06 17:19:05,148 WARN L103 SettingsManager]: * de.uni_freiburg.informatik.ultimate.core.Log level for class [2024-08-06 17:19:05,178 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2024-08-06 17:19:05,181 INFO L151 SettingsManager]: Preferences of UltimateCore differ from their defaults: [2024-08-06 17:19:05,181 INFO L153 SettingsManager]: * Log level for class=de.uni_freiburg.informatik.ultimate.lib.smtlibutils.quantifier.QuantifierPusher=ERROR; [2024-08-06 17:19:05,182 INFO L151 SettingsManager]: Preferences of Boogie Preprocessor differ from their defaults: [2024-08-06 17:19:05,183 INFO L153 SettingsManager]: * Use memory slicer=true [2024-08-06 17:19:05,183 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2024-08-06 17:19:05,184 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ONLY_FOR_SEQUENTIAL_PROGRAMS [2024-08-06 17:19:05,184 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2024-08-06 17:19:05,185 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2024-08-06 17:19:05,187 INFO L153 SettingsManager]: * Use SBE=true [2024-08-06 17:19:05,187 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2024-08-06 17:19:05,187 INFO L153 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2024-08-06 17:19:05,188 INFO L153 SettingsManager]: * sizeof long=4 [2024-08-06 17:19:05,188 INFO L153 SettingsManager]: * Overapproximate operations on floating types=true [2024-08-06 17:19:05,188 INFO L153 SettingsManager]: * sizeof POINTER=4 [2024-08-06 17:19:05,189 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2024-08-06 17:19:05,193 INFO L153 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2024-08-06 17:19:05,193 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2024-08-06 17:19:05,193 INFO L153 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2024-08-06 17:19:05,204 INFO L153 SettingsManager]: * Allow undefined functions=false [2024-08-06 17:19:05,205 INFO L153 SettingsManager]: * sizeof long double=12 [2024-08-06 17:19:05,205 INFO L153 SettingsManager]: * Check if freed pointer was valid=false [2024-08-06 17:19:05,205 INFO L153 SettingsManager]: * Use constant arrays=true [2024-08-06 17:19:05,205 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2024-08-06 17:19:05,205 INFO L153 SettingsManager]: * Size of a code block=SequenceOfStatements [2024-08-06 17:19:05,206 INFO L153 SettingsManager]: * Only consider context switches at boundaries of atomic blocks=true [2024-08-06 17:19:05,206 INFO L153 SettingsManager]: * SMT solver=External_DefaultMode [2024-08-06 17:19:05,206 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 [2024-08-06 17:19:05,206 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2024-08-06 17:19:05,207 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2024-08-06 17:19:05,207 INFO L153 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopHeads [2024-08-06 17:19:05,209 INFO L153 SettingsManager]: * Trace refinement strategy=CAMEL [2024-08-06 17:19:05,209 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2024-08-06 17:19:05,209 INFO L153 SettingsManager]: * Apply one-shot large block encoding in concurrent analysis=false [2024-08-06 17:19:05,209 INFO L153 SettingsManager]: * Automaton type used in concurrency analysis=PETRI_NET [2024-08-06 17:19:05,210 INFO L153 SettingsManager]: * Compute Hoare Annotation of negated interpolant automaton, abstraction and CFG=true [2024-08-06 17:19:05,210 INFO L153 SettingsManager]: * Order on configurations for Petri net unfoldings=DBO [2024-08-06 17:19:05,211 INFO L153 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode [2024-08-06 17:19:05,211 INFO L153 SettingsManager]: * Looper check in Petri net analysis=SEMANTIC WARNING: An illegal reflective access operation has occurred WARNING: Illegal reflective access by com.sun.xml.bind.v2.runtime.reflect.opt.Injector$1 (file:/storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/plugins/com.sun.xml.bind_2.2.0.v201505121915.jar) to method java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int) WARNING: Please consider reporting this to the maintainers of com.sun.xml.bind.v2.runtime.reflect.opt.Injector$1 WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations WARNING: All illegal access operations will be denied in a future release Applying setting for plugin de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator: Entry function -> main Applying setting for plugin de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction: Compute Hoare Annotation of negated interpolant automaton, abstraction and CFG -> false [2024-08-06 17:19:05,467 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2024-08-06 17:19:05,492 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2024-08-06 17:19:05,496 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2024-08-06 17:19:05,498 INFO L270 PluginConnector]: Initializing Witness Parser... [2024-08-06 17:19:05,498 INFO L274 PluginConnector]: Witness Parser initialized [2024-08-06 17:19:05,500 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/./svcomp-yaml-violation-generation.2024-08-01_14-26-22.files/Default/test_add-1.yml/witness.yml [2024-08-06 17:19:05,594 INFO L270 PluginConnector]: Initializing CDTParser... [2024-08-06 17:19:05,594 INFO L274 PluginConnector]: CDTParser initialized [2024-08-06 17:19:05,595 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/../../../trunk/examples/svcomp/ldv-sets/test_add-1.i [2024-08-06 17:19:07,101 INFO L533 CDTParser]: Created temporary CDT project at NULL [2024-08-06 17:19:07,416 INFO L384 CDTParser]: Found 1 translation units. [2024-08-06 17:19:07,416 INFO L180 CDTParser]: Scanning /storage/repos/ultimate/trunk/examples/svcomp/ldv-sets/test_add-1.i [2024-08-06 17:19:07,438 INFO L427 CDTParser]: About to delete temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/a20cc5b7b/e7e9adb4ae214350b9f4cd1e7a6c889b/FLAGb12e5bed7 [2024-08-06 17:19:07,455 INFO L435 CDTParser]: Successfully deleted /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/a20cc5b7b/e7e9adb4ae214350b9f4cd1e7a6c889b [2024-08-06 17:19:07,455 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2024-08-06 17:19:07,457 INFO L133 ToolchainWalker]: Walking toolchain with 5 elements. [2024-08-06 17:19:07,460 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2024-08-06 17:19:07,460 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2024-08-06 17:19:07,465 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2024-08-06 17:19:07,467 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "witness.yml de.uni_freiburg.informatik.ultimate.witnessparser VIOLATION_WITNESS 06.08 05:19:05" (1/2) ... [2024-08-06 17:19:07,468 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@1f9e879e and model type witness.yml de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator VIOLATION_WITNESS 06.08 05:19:07, skipping insertion in model container [2024-08-06 17:19:07,469 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "witness.yml de.uni_freiburg.informatik.ultimate.witnessparser VIOLATION_WITNESS 06.08 05:19:05" (1/2) ... [2024-08-06 17:19:07,470 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.CACSL2BoogieTranslatorObserver@6d124b2e and model type witness.yml de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator VIOLATION_WITNESS 06.08 05:19:07, skipping insertion in model container [2024-08-06 17:19:07,471 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 06.08 05:19:07" (2/2) ... [2024-08-06 17:19:07,471 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@1f9e879e and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 06.08 05:19:07, skipping insertion in model container [2024-08-06 17:19:07,471 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 06.08 05:19:07" (2/2) ... [2024-08-06 17:19:07,515 INFO L175 MainTranslator]: Built tables and reachable declarations [2024-08-06 17:19:07,835 WARN L247 ndardFunctionHandler]: Function reach_error is already implemented but we override the implementation for the call at /storage/repos/ultimate/trunk/examples/svcomp/ldv-sets/test_add-1.i[25792,25805] [2024-08-06 17:19:07,841 INFO L207 PostProcessor]: Analyzing one entry point: main [2024-08-06 17:19:07,855 INFO L200 MainTranslator]: Completed pre-run [2024-08-06 17:19:07,907 WARN L247 ndardFunctionHandler]: Function reach_error is already implemented but we override the implementation for the call at /storage/repos/ultimate/trunk/examples/svcomp/ldv-sets/test_add-1.i[25792,25805] [2024-08-06 17:19:07,908 INFO L207 PostProcessor]: Analyzing one entry point: main [2024-08-06 17:19:07,950 INFO L204 MainTranslator]: Completed translation [2024-08-06 17:19:07,950 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 06.08 05:19:07 WrapperNode [2024-08-06 17:19:07,951 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2024-08-06 17:19:07,952 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2024-08-06 17:19:07,952 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2024-08-06 17:19:07,952 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2024-08-06 17:19:07,959 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 06.08 05:19:07" (1/1) ... [2024-08-06 17:19:07,978 INFO L184 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 06.08 05:19:07" (1/1) ... [2024-08-06 17:19:07,998 INFO L138 Inliner]: procedures = 135, calls = 46, calls flagged for inlining = 11, calls inlined = 7, statements flattened = 56 [2024-08-06 17:19:07,999 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2024-08-06 17:19:08,000 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2024-08-06 17:19:08,000 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2024-08-06 17:19:08,000 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2024-08-06 17:19:08,010 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 06.08 05:19:07" (1/1) ... [2024-08-06 17:19:08,011 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 06.08 05:19:07" (1/1) ... [2024-08-06 17:19:08,014 INFO L184 PluginConnector]: Executing the observer MemorySlicer from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 06.08 05:19:07" (1/1) ... [2024-08-06 17:19:08,034 INFO L175 MemorySlicer]: Split 13 memory accesses to 2 slices as follows [2, 11]. 85 percent of accesses are in the largest equivalence class. The 4 initializations are split as follows [2, 2]. The 5 writes are split as follows [0, 5]. [2024-08-06 17:19:08,035 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 06.08 05:19:07" (1/1) ... [2024-08-06 17:19:08,035 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 06.08 05:19:07" (1/1) ... [2024-08-06 17:19:08,043 INFO L184 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 06.08 05:19:07" (1/1) ... [2024-08-06 17:19:08,050 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 06.08 05:19:07" (1/1) ... [2024-08-06 17:19:08,052 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 06.08 05:19:07" (1/1) ... [2024-08-06 17:19:08,053 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 06.08 05:19:07" (1/1) ... [2024-08-06 17:19:08,056 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2024-08-06 17:19:08,057 INFO L112 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2024-08-06 17:19:08,058 INFO L270 PluginConnector]: Initializing RCFGBuilder... [2024-08-06 17:19:08,058 INFO L274 PluginConnector]: RCFGBuilder initialized [2024-08-06 17:19:08,059 INFO L184 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 06.08 05:19:07" (1/1) ... [2024-08-06 17:19:08,064 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 [2024-08-06 17:19:08,077 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2024-08-06 17:19:08,097 INFO L229 MonitoredProcess]: Starting monitored process 1 with /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 (exit command is (exit), workingDir is null) [2024-08-06 17:19:08,100 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 (1)] Waiting until timeout for monitored process [2024-08-06 17:19:08,148 INFO L130 BoogieDeclarations]: Found specification of procedure read~int#0 [2024-08-06 17:19:08,149 INFO L130 BoogieDeclarations]: Found specification of procedure read~int#1 [2024-08-06 17:19:08,149 INFO L130 BoogieDeclarations]: Found specification of procedure __ldv_list_add [2024-08-06 17:19:08,149 INFO L138 BoogieDeclarations]: Found implementation of procedure __ldv_list_add [2024-08-06 17:19:08,149 INFO L130 BoogieDeclarations]: Found specification of procedure write~int#0 [2024-08-06 17:19:08,149 INFO L130 BoogieDeclarations]: Found specification of procedure write~int#1 [2024-08-06 17:19:08,149 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnHeap [2024-08-06 17:19:08,149 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2024-08-06 17:19:08,150 INFO L130 BoogieDeclarations]: Found specification of procedure write~$Pointer$#0 [2024-08-06 17:19:08,150 INFO L130 BoogieDeclarations]: Found specification of procedure write~$Pointer$#1 [2024-08-06 17:19:08,150 INFO L130 BoogieDeclarations]: Found specification of procedure ldv_is_in_set [2024-08-06 17:19:08,150 INFO L138 BoogieDeclarations]: Found implementation of procedure ldv_is_in_set [2024-08-06 17:19:08,150 INFO L130 BoogieDeclarations]: Found specification of procedure read~$Pointer$#0 [2024-08-06 17:19:08,150 INFO L130 BoogieDeclarations]: Found specification of procedure read~$Pointer$#1 [2024-08-06 17:19:08,150 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~$Pointer$#0 [2024-08-06 17:19:08,151 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~$Pointer$#1 [2024-08-06 17:19:08,151 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int#0 [2024-08-06 17:19:08,151 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int#1 [2024-08-06 17:19:08,151 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2024-08-06 17:19:08,151 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2024-08-06 17:19:08,268 INFO L244 CfgBuilder]: Building ICFG [2024-08-06 17:19:08,271 INFO L270 CfgBuilder]: Building CFG for each procedure with an implementation [2024-08-06 17:19:08,437 INFO L? ?]: Removed 33 outVars from TransFormulas that were not future-live. [2024-08-06 17:19:08,438 INFO L293 CfgBuilder]: Performing block encoding [2024-08-06 17:19:08,494 INFO L315 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2024-08-06 17:19:08,494 INFO L320 CfgBuilder]: Removed 1 assume(true) statements. [2024-08-06 17:19:08,495 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 06.08 05:19:08 BoogieIcfgContainer [2024-08-06 17:19:08,495 INFO L131 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2024-08-06 17:19:08,497 INFO L112 PluginConnector]: ------------------------TraceAbstraction---------------------------- [2024-08-06 17:19:08,497 INFO L270 PluginConnector]: Initializing TraceAbstraction... [2024-08-06 17:19:08,501 INFO L274 PluginConnector]: TraceAbstraction initialized [2024-08-06 17:19:08,501 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "witness.yml de.uni_freiburg.informatik.ultimate.witnessparser VIOLATION_WITNESS 06.08 05:19:05" (1/4) ... [2024-08-06 17:19:08,502 INFO L204 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@2b082f5b and model type witness.yml de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction VIOLATION_WITNESS 06.08 05:19:08, skipping insertion in model container [2024-08-06 17:19:08,502 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "CDTParser AST 06.08 05:19:07" (2/4) ... [2024-08-06 17:19:08,503 INFO L204 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@2b082f5b and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 06.08 05:19:08, skipping insertion in model container [2024-08-06 17:19:08,503 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 06.08 05:19:07" (3/4) ... [2024-08-06 17:19:08,503 INFO L204 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@2b082f5b and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 06.08 05:19:08, skipping insertion in model container [2024-08-06 17:19:08,503 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 06.08 05:19:08" (4/4) ... [2024-08-06 17:19:08,504 INFO L119 eAbstractionObserver]: Analyzing ICFG test_add-1.i [2024-08-06 17:19:08,504 WARN L130 eAbstractionObserver]: Found a witness in the YAML format. I will only consider traces that are accepted by the witness [2024-08-06 17:19:08,524 INFO L221 ceAbstractionStarter]: Automizer settings: Hoare:false NWA Interpolation:FPandBP Determinization: PREDICATE_ABSTRACTION [2024-08-06 17:19:08,525 INFO L180 ceAbstractionStarter]: Applying trace abstraction to program that has 1 error locations. [2024-08-06 17:19:08,607 INFO L90 WitnessUtils]: NestedWordAutomaton nwa = ( callAlphabet = {"call __ldv_list_add(ldv_list_add_~new#1.base, ldv_list_add_~new#1.offset, ldv_list_add_~head#1.base, ldv_list_add_~head#1.offset, ldv_list_add_#t~mem6#1.base, ldv_list_add_#t~mem6#1.offset);" "call foo_#t~ret33#1 := ldv_is_in_set(foo_~j~0#1, ~#s1~0.base, ~#s1~0.offset);" "call ldv_set_add_#t~ret17#1 := ldv_is_in_set(ldv_set_add_~new#1, ldv_set_add_~s#1.base, ldv_set_add_~s#1.offset);" }, internalAlphabet = {"SUMMARY for call ldv_set_add_#t~ret17#1 := ldv_is_in_set(ldv_set_add_~new#1, ldv_set_add_~s#1.base, ldv_set_add_~s#1.offset); srcloc: L633" "~new.base, ~new.offset := #in~new.base, #in~new.offset;~prev.base, ~prev.offset := #in~prev.base, #in~prev.offset;~next.base, ~next.offset := #in~next.base, #in~next.offset;call write~$Pointer$#1(~new.base, ~new.offset, ~next.base, 4 + ~next.offset, 4);call write~$Pointer$#1(~next.base, ~next.offset, ~new.base, ~new.offset, 4);call write~$Pointer$#1(~prev.base, ~prev.offset, ~new.base, 4 + ~new.offset, 4);call write~$Pointer$#1(~new.base, ~new.offset, ~prev.base, ~prev.offset, 4);assume true;" "assume -2147483648 <= ldv_set_add_#t~ret17#1 && ldv_set_add_#t~ret17#1 <= 2147483647;" "havoc ldv_list_add_#t~mem6#1.base, ldv_list_add_#t~mem6#1.offset;havoc ldv_list_add_#t~mem6#1.base, ldv_list_add_#t~mem6#1.offset, ldv_list_add_~new#1.base, ldv_list_add_~new#1.offset, ldv_list_add_~head#1.base, ldv_list_add_~head#1.offset;havoc ldv_list_add_#in~new#1.base, ldv_list_add_#in~new#1.offset, ldv_list_add_#in~head#1.base, ldv_list_add_#in~head#1.offset;assume { :end_inline_ldv_list_add } true;havoc ldv_set_add_~le~0#1.base, ldv_set_add_~le~0#1.offset;" "havoc assume_abort_if_not_~cond#1;havoc assume_abort_if_not_#in~cond#1;assume { :end_inline_assume_abort_if_not } true;ldv_successful_malloc_#res#1.base, ldv_successful_malloc_#res#1.offset := ldv_successful_malloc_~ptr~0#1.base, ldv_successful_malloc_~ptr~0#1.offset;ldv_set_add_#t~ret18#1.base, ldv_set_add_#t~ret18#1.offset := ldv_successful_malloc_#res#1.base, ldv_successful_malloc_#res#1.offset;havoc ldv_successful_malloc_#t~malloc5#1.base, ldv_successful_malloc_#t~malloc5#1.offset, ldv_successful_malloc_~size#1, ldv_successful_malloc_~ptr~0#1.base, ldv_successful_malloc_~ptr~0#1.offset;havoc ldv_successful_malloc_#in~size#1;assume { :end_inline_ldv_successful_malloc } true;ldv_set_add_~le~0#1.base, ldv_set_add_~le~0#1.offset := ldv_set_add_#t~ret18#1.base, ldv_set_add_#t~ret18#1.offset;havoc ldv_set_add_#t~ret18#1.base, ldv_set_add_#t~ret18#1.offset;call write~int#1(ldv_set_add_~new#1, ldv_set_add_~le~0#1.base, ldv_set_add_~le~0#1.offset, 4);assume { :begin_inline_ldv_list_add } true;ldv_list_add_#in~new#1.base, ldv_list_add_#in~new#1.offset, ldv_list_add_#in~head#1.base, ldv_list_add_#in~head#1.offset := ldv_set_add_~le~0#1.base, 4 + ldv_set_add_~le~0#1.offset, ldv_set_add_~s#1.base, ldv_set_add_~s#1.offset;havoc ldv_list_add_#t~mem6#1.base, ldv_list_add_#t~mem6#1.offset, ldv_list_add_~new#1.base, ldv_list_add_~new#1.offset, ldv_list_add_~head#1.base, ldv_list_add_~head#1.offset;ldv_list_add_~new#1.base, ldv_list_add_~new#1.offset := ldv_list_add_#in~new#1.base, ldv_list_add_#in~new#1.offset;ldv_list_add_~head#1.base, ldv_list_add_~head#1.offset := ldv_list_add_#in~head#1.base, ldv_list_add_#in~head#1.offset;call ldv_list_add_#t~mem6#1.base, ldv_list_add_#t~mem6#1.offset := read~$Pointer$#1(ldv_list_add_~head#1.base, ldv_list_add_~head#1.offset, 4);" "assume { :begin_inline_ULTIMATE.init } true;assume 0 == #valid[0];assume 0 < #StackHeapBarrier;call #Ultimate.allocInit(2, 1);call write~init~int#0(48, 1, 0, 1);call write~init~int#0(0, 1, 1, 1);call #Ultimate.allocInit(12, 2);call #Ultimate.allocInit(8, 3);~#s1~0.base, ~#s1~0.offset := 3, 0;call write~init~$Pointer$#1(~#s1~0.base, ~#s1~0.offset, ~#s1~0.base, ~#s1~0.offset, 4);call write~init~$Pointer$#1(~#s1~0.base, ~#s1~0.offset, ~#s1~0.base, 4 + ~#s1~0.offset, 4);assume { :end_inline_ULTIMATE.init } true;assume { :begin_inline_main } true;havoc main_#res#1;assume { :begin_inline_foo } true;havoc foo_#t~nondet32#1, foo_#t~ret33#1, foo_~j~0#1;havoc foo_#t~nondet32#1;assume -2147483648 <= foo_#t~nondet32#1 && foo_#t~nondet32#1 <= 2147483647;foo_~j~0#1 := foo_#t~nondet32#1;havoc foo_#t~nondet32#1;assume { :begin_inline_ldv_set_add } true;ldv_set_add_#in~new#1, ldv_set_add_#in~s#1.base, ldv_set_add_#in~s#1.offset := foo_~j~0#1, ~#s1~0.base, ~#s1~0.offset;havoc ldv_set_add_#t~ret17#1, ldv_set_add_#t~ret18#1.base, ldv_set_add_#t~ret18#1.offset, ldv_set_add_~le~0#1.base, ldv_set_add_~le~0#1.offset, ldv_set_add_~new#1, ldv_set_add_~s#1.base, ldv_set_add_~s#1.offset;ldv_set_add_~new#1 := ldv_set_add_#in~new#1;ldv_set_add_~s#1.base, ldv_set_add_~s#1.offset := ldv_set_add_#in~s#1.base, ldv_set_add_#in~s#1.offset;" "assume 0 == ldv_set_add_#t~ret17#1;havoc ldv_set_add_#t~ret17#1;havoc ldv_set_add_~le~0#1.base, ldv_set_add_~le~0#1.offset;assume { :begin_inline_ldv_successful_malloc } true;ldv_successful_malloc_#in~size#1 := 12;havoc ldv_successful_malloc_#res#1.base, ldv_successful_malloc_#res#1.offset;havoc ldv_successful_malloc_#t~malloc5#1.base, ldv_successful_malloc_#t~malloc5#1.offset, ldv_successful_malloc_~size#1, ldv_successful_malloc_~ptr~0#1.base, ldv_successful_malloc_~ptr~0#1.offset;ldv_successful_malloc_~size#1 := ldv_successful_malloc_#in~size#1;call ldv_successful_malloc_#t~malloc5#1.base, ldv_successful_malloc_#t~malloc5#1.offset := #Ultimate.allocOnHeap(ldv_successful_malloc_~size#1 % 4294967296);ldv_successful_malloc_~ptr~0#1.base, ldv_successful_malloc_~ptr~0#1.offset := ldv_successful_malloc_#t~malloc5#1.base, ldv_successful_malloc_#t~malloc5#1.offset;havoc ldv_successful_malloc_#t~malloc5#1.base, ldv_successful_malloc_#t~malloc5#1.offset;assume { :begin_inline_assume_abort_if_not } true;assume_abort_if_not_#in~cond#1 := (if ldv_successful_malloc_~ptr~0#1.base != 0 || ldv_successful_malloc_~ptr~0#1.offset != 0 then 1 else 0);havoc assume_abort_if_not_~cond#1;assume_abort_if_not_~cond#1 := assume_abort_if_not_#in~cond#1;" "havoc foo_#t~nondet32#1, foo_#t~ret33#1, foo_~j~0#1;assume { :end_inline_foo } true;main_#res#1 := 0;#t~ret34#1 := main_#res#1;assume { :end_inline_main } true;assume true;" "assume ~m~1.base != ~s.base || 4 + ~m~1.offset != ~s.offset;call #t~mem28 := read~int#1(~m~1.base, ~m~1.offset, 4);" "assume 0 == assume_abort_if_not_~cond#1;assume false;" "assume !(#t~mem28 == ~e);havoc #t~mem28;call #t~mem29.base, #t~mem29.offset := read~$Pointer$#1(~m~1.base, 4 + ~m~1.offset, 4);~__mptr~4.base, ~__mptr~4.offset := #t~mem29.base, #t~mem29.offset;havoc #t~mem29.base, #t~mem29.offset;#t~ret30.base, #t~ret30.offset := ~__mptr~4.base, ~__mptr~4.offset - 4;havoc ~__mptr~4.base, ~__mptr~4.offset;~m~1.base, ~m~1.offset := #t~ret30.base, #t~ret30.offset;havoc #t~ret30.base, #t~ret30.offset;" "assume !(0 == assume_abort_if_not_~cond#1);" "SUMMARY for call __ldv_list_add(ldv_list_add_~new#1.base, ldv_list_add_~new#1.offset, ldv_list_add_~head#1.base, ldv_list_add_~head#1.offset, ldv_list_add_#t~mem6#1.base, ldv_list_add_#t~mem6#1.offset); srcloc: L605" "assume !(0 == ldv_set_add_#t~ret17#1);havoc ldv_set_add_#t~ret17#1;" "havoc ldv_set_add_#t~ret17#1, ldv_set_add_#t~ret18#1.base, ldv_set_add_#t~ret18#1.offset, ldv_set_add_~le~0#1.base, ldv_set_add_~le~0#1.offset, ldv_set_add_~new#1, ldv_set_add_~s#1.base, ldv_set_add_~s#1.offset;havoc ldv_set_add_#in~new#1, ldv_set_add_#in~s#1.base, ldv_set_add_#in~s#1.offset;assume { :end_inline_ldv_set_add } true;" "SUMMARY for call foo_#t~ret33#1 := ldv_is_in_set(foo_~j~0#1, ~#s1~0.base, ~#s1~0.offset); srcloc: L667" "assume -2147483648 <= foo_#t~ret33#1 && foo_#t~ret33#1 <= 2147483647;" "assume 0 != foo_#t~ret33#1;havoc foo_#t~ret33#1;" "assume !false;" "assume false;assume false;" "assume !(0 != foo_#t~ret33#1);havoc foo_#t~ret33#1;" "~e := #in~e;~s.base, ~s.offset := #in~s.base, #in~s.offset;havoc ~m~1.base, ~m~1.offset;call #t~mem26.base, #t~mem26.offset := read~$Pointer$#1(~s.base, ~s.offset, 4);~__mptr~3.base, ~__mptr~3.offset := #t~mem26.base, #t~mem26.offset;havoc #t~mem26.base, #t~mem26.offset;#t~ret27.base, #t~ret27.offset := ~__mptr~3.base, ~__mptr~3.offset - 4;havoc ~__mptr~3.base, ~__mptr~3.offset;~m~1.base, ~m~1.offset := #t~ret27.base, #t~ret27.offset;havoc #t~ret27.base, #t~ret27.offset;" "assume !(~m~1.base != ~s.base || 4 + ~m~1.offset != ~s.offset);" "assume #t~mem28 == ~e;havoc #t~mem28;#res := 1;" "assume !true;" "#res := 0;" "assume true;" }, returnAlphabet = {"#64#return;" "#66#return;" "#68#return;" }, states = {"CountingPredicate [underlying: 24#L633-1true, annotation: [0, 0]]" "CountingPredicate [underlying: 9#L667true, annotation: [0, 0]]" "CountingPredicate [underlying: 8#ULTIMATE.startErr0ASSERT_VIOLATIONERROR_FUNCTIONtrue, annotation: [0, 0]]" "CountingPredicate [underlying: 18#L632true, annotation: [0, 0]]" "CountingPredicate [underlying: 14#L652-4true, annotation: [0, 0]]" "CountingPredicate [underlying: 2#L605-1true, annotation: [0, 0]]" "CountingPredicate [underlying: 20#$Ultimate##0true, annotation: [0, 0]]" "CountingPredicate [underlying: 16#L667-2true, annotation: [0, 0]]" "CountingPredicate [underlying: 3#ULTIMATE.startEXITtrue, annotation: [0, 0]]" "CountingPredicate [underlying: 6#L653true, annotation: [0, 0]]" "CountingPredicate [underlying: 10#ldv_is_in_setEXITtrue, annotation: [0, 0]]" "CountingPredicate [underlying: 17#L605true, annotation: [0, 0]]" "CountingPredicate [underlying: 5#__ldv_list_addEXITtrue, annotation: [0, 0]]" "CountingPredicate [underlying: 4#L565true, annotation: [0, 0]]" "CountingPredicate [underlying: 25#L667-1true, annotation: [0, 0]]" "CountingPredicate [underlying: 15#L633true, annotation: [0, 0]]" "CountingPredicate [underlying: 7#L633-2true, annotation: [0, 0]]" "CountingPredicate [underlying: 12#$Ultimate##0true, annotation: [0, 0]]" "CountingPredicate [underlying: 22#L663true, annotation: [0, 0]]" "CountingPredicate [underlying: 11#$Ultimate##0true, annotation: [0, 0]]" "CountingPredicate [underlying: 13#L652-5true, annotation: [0, 0]]" "CountingPredicate [underlying: 21#L564true, annotation: [0, 0]]" "CountingPredicate [underlying: 19#L667-3true, annotation: [0, 0]]" "CountingPredicate [underlying: 23#ldv_is_in_setFINALtrue, annotation: [0, 0]]" }, initialStates = {"CountingPredicate [underlying: 20#$Ultimate##0true, annotation: [0, 0]]" }, finalStates = {}, callTransitions = { ("CountingPredicate [underlying: 9#L667true, annotation: [0, 0]]" "call foo_#t~ret33#1 := ldv_is_in_set(foo_~j~0#1, ~#s1~0.base, ~#s1~0.offset);" "CountingPredicate [underlying: 11#$Ultimate##0true, annotation: [0, 0]]") ("CountingPredicate [underlying: 17#L605true, annotation: [0, 0]]" "call __ldv_list_add(ldv_list_add_~new#1.base, ldv_list_add_~new#1.offset, ldv_list_add_~head#1.base, ldv_list_add_~head#1.offset, ldv_list_add_#t~mem6#1.base, ldv_list_add_#t~mem6#1.offset);" "CountingPredicate [underlying: 12#$Ultimate##0true, annotation: [0, 0]]") ("CountingPredicate [underlying: 15#L633true, annotation: [0, 0]]" "call ldv_set_add_#t~ret17#1 := ldv_is_in_set(ldv_set_add_~new#1, ldv_set_add_~s#1.base, ldv_set_add_~s#1.offset);" "CountingPredicate [underlying: 11#$Ultimate##0true, annotation: [0, 0]]") }, internalTransitions = { ("CountingPredicate [underlying: 24#L633-1true, annotation: [0, 0]]" "assume -2147483648 <= ldv_set_add_#t~ret17#1 && ldv_set_add_#t~ret17#1 <= 2147483647;" "CountingPredicate [underlying: 7#L633-2true, annotation: [0, 0]]") ("CountingPredicate [underlying: 18#L632true, annotation: [0, 0]]" "havoc ldv_set_add_#t~ret17#1, ldv_set_add_#t~ret18#1.base, ldv_set_add_#t~ret18#1.offset, ldv_set_add_~le~0#1.base, ldv_set_add_~le~0#1.offset, ldv_set_add_~new#1, ldv_set_add_~s#1.base, ldv_set_add_~s#1.offset;havoc ldv_set_add_#in~new#1, ldv_set_add_#in~s#1.base, ldv_set_add_#in~s#1.offset;assume { :end_inline_ldv_set_add } true;" "CountingPredicate [underlying: 9#L667true, annotation: [0, 0]]") ("CountingPredicate [underlying: 14#L652-4true, annotation: [0, 0]]" "assume ~m~1.base != ~s.base || 4 + ~m~1.offset != ~s.offset;call #t~mem28 := read~int#1(~m~1.base, ~m~1.offset, 4);" "CountingPredicate [underlying: 6#L653true, annotation: [0, 0]]") ("CountingPredicate [underlying: 14#L652-4true, annotation: [0, 0]]" "assume !(~m~1.base != ~s.base || 4 + ~m~1.offset != ~s.offset);" "CountingPredicate [underlying: 13#L652-5true, annotation: [0, 0]]") ("CountingPredicate [underlying: 14#L652-4true, annotation: [0, 0]]" "assume !true;" "CountingPredicate [underlying: 13#L652-5true, annotation: [0, 0]]") ("CountingPredicate [underlying: 2#L605-1true, annotation: [0, 0]]" "havoc ldv_list_add_#t~mem6#1.base, ldv_list_add_#t~mem6#1.offset;havoc ldv_list_add_#t~mem6#1.base, ldv_list_add_#t~mem6#1.offset, ldv_list_add_~new#1.base, ldv_list_add_~new#1.offset, ldv_list_add_~head#1.base, ldv_list_add_~head#1.offset;havoc ldv_list_add_#in~new#1.base, ldv_list_add_#in~new#1.offset, ldv_list_add_#in~head#1.base, ldv_list_add_#in~head#1.offset;assume { :end_inline_ldv_list_add } true;havoc ldv_set_add_~le~0#1.base, ldv_set_add_~le~0#1.offset;" "CountingPredicate [underlying: 18#L632true, annotation: [0, 0]]") ("CountingPredicate [underlying: 20#$Ultimate##0true, annotation: [0, 0]]" "assume { :begin_inline_ULTIMATE.init } true;assume 0 == #valid[0];assume 0 < #StackHeapBarrier;call #Ultimate.allocInit(2, 1);call write~init~int#0(48, 1, 0, 1);call write~init~int#0(0, 1, 1, 1);call #Ultimate.allocInit(12, 2);call #Ultimate.allocInit(8, 3);~#s1~0.base, ~#s1~0.offset := 3, 0;call write~init~$Pointer$#1(~#s1~0.base, ~#s1~0.offset, ~#s1~0.base, ~#s1~0.offset, 4);call write~init~$Pointer$#1(~#s1~0.base, ~#s1~0.offset, ~#s1~0.base, 4 + ~#s1~0.offset, 4);assume { :end_inline_ULTIMATE.init } true;assume { :begin_inline_main } true;havoc main_#res#1;assume { :begin_inline_foo } true;havoc foo_#t~nondet32#1, foo_#t~ret33#1, foo_~j~0#1;havoc foo_#t~nondet32#1;assume -2147483648 <= foo_#t~nondet32#1 && foo_#t~nondet32#1 <= 2147483647;foo_~j~0#1 := foo_#t~nondet32#1;havoc foo_#t~nondet32#1;assume { :begin_inline_ldv_set_add } true;ldv_set_add_#in~new#1, ldv_set_add_#in~s#1.base, ldv_set_add_#in~s#1.offset := foo_~j~0#1, ~#s1~0.base, ~#s1~0.offset;havoc ldv_set_add_#t~ret17#1, ldv_set_add_#t~ret18#1.base, ldv_set_add_#t~ret18#1.offset, ldv_set_add_~le~0#1.base, ldv_set_add_~le~0#1.offset, ldv_set_add_~new#1, ldv_set_add_~s#1.base, ldv_set_add_~s#1.offset;ldv_set_add_~new#1 := ldv_set_add_#in~new#1;ldv_set_add_~s#1.base, ldv_set_add_~s#1.offset := ldv_set_add_#in~s#1.base, ldv_set_add_#in~s#1.offset;" "CountingPredicate [underlying: 15#L633true, annotation: [0, 0]]") ("CountingPredicate [underlying: 16#L667-2true, annotation: [0, 0]]" "assume 0 != foo_#t~ret33#1;havoc foo_#t~ret33#1;" "CountingPredicate [underlying: 19#L667-3true, annotation: [0, 0]]") ("CountingPredicate [underlying: 16#L667-2true, annotation: [0, 0]]" "assume !(0 != foo_#t~ret33#1);havoc foo_#t~ret33#1;" "CountingPredicate [underlying: 22#L663true, annotation: [0, 0]]") ("CountingPredicate [underlying: 6#L653true, annotation: [0, 0]]" "assume !(#t~mem28 == ~e);havoc #t~mem28;call #t~mem29.base, #t~mem29.offset := read~$Pointer$#1(~m~1.base, 4 + ~m~1.offset, 4);~__mptr~4.base, ~__mptr~4.offset := #t~mem29.base, #t~mem29.offset;havoc #t~mem29.base, #t~mem29.offset;#t~ret30.base, #t~ret30.offset := ~__mptr~4.base, ~__mptr~4.offset - 4;havoc ~__mptr~4.base, ~__mptr~4.offset;~m~1.base, ~m~1.offset := #t~ret30.base, #t~ret30.offset;havoc #t~ret30.base, #t~ret30.offset;" "CountingPredicate [underlying: 14#L652-4true, annotation: [0, 0]]") ("CountingPredicate [underlying: 6#L653true, annotation: [0, 0]]" "assume #t~mem28 == ~e;havoc #t~mem28;#res := 1;" "CountingPredicate [underlying: 23#ldv_is_in_setFINALtrue, annotation: [0, 0]]") ("CountingPredicate [underlying: 4#L565true, annotation: [0, 0]]" "assume 0 == assume_abort_if_not_~cond#1;assume false;" "CountingPredicate [underlying: 21#L564true, annotation: [0, 0]]") ("CountingPredicate [underlying: 4#L565true, annotation: [0, 0]]" "assume !(0 == assume_abort_if_not_~cond#1);" "CountingPredicate [underlying: 21#L564true, annotation: [0, 0]]") ("CountingPredicate [underlying: 25#L667-1true, annotation: [0, 0]]" "assume -2147483648 <= foo_#t~ret33#1 && foo_#t~ret33#1 <= 2147483647;" "CountingPredicate [underlying: 16#L667-2true, annotation: [0, 0]]") ("CountingPredicate [underlying: 7#L633-2true, annotation: [0, 0]]" "assume 0 == ldv_set_add_#t~ret17#1;havoc ldv_set_add_#t~ret17#1;havoc ldv_set_add_~le~0#1.base, ldv_set_add_~le~0#1.offset;assume { :begin_inline_ldv_successful_malloc } true;ldv_successful_malloc_#in~size#1 := 12;havoc ldv_successful_malloc_#res#1.base, ldv_successful_malloc_#res#1.offset;havoc ldv_successful_malloc_#t~malloc5#1.base, ldv_successful_malloc_#t~malloc5#1.offset, ldv_successful_malloc_~size#1, ldv_successful_malloc_~ptr~0#1.base, ldv_successful_malloc_~ptr~0#1.offset;ldv_successful_malloc_~size#1 := ldv_successful_malloc_#in~size#1;call ldv_successful_malloc_#t~malloc5#1.base, ldv_successful_malloc_#t~malloc5#1.offset := #Ultimate.allocOnHeap(ldv_successful_malloc_~size#1 % 4294967296);ldv_successful_malloc_~ptr~0#1.base, ldv_successful_malloc_~ptr~0#1.offset := ldv_successful_malloc_#t~malloc5#1.base, ldv_successful_malloc_#t~malloc5#1.offset;havoc ldv_successful_malloc_#t~malloc5#1.base, ldv_successful_malloc_#t~malloc5#1.offset;assume { :begin_inline_assume_abort_if_not } true;assume_abort_if_not_#in~cond#1 := (if ldv_successful_malloc_~ptr~0#1.base != 0 || ldv_successful_malloc_~ptr~0#1.offset != 0 then 1 else 0);havoc assume_abort_if_not_~cond#1;assume_abort_if_not_~cond#1 := assume_abort_if_not_#in~cond#1;" "CountingPredicate [underlying: 4#L565true, annotation: [0, 0]]") ("CountingPredicate [underlying: 7#L633-2true, annotation: [0, 0]]" "assume !(0 == ldv_set_add_#t~ret17#1);havoc ldv_set_add_#t~ret17#1;" "CountingPredicate [underlying: 18#L632true, annotation: [0, 0]]") ("CountingPredicate [underlying: 12#$Ultimate##0true, annotation: [0, 0]]" "~new.base, ~new.offset := #in~new.base, #in~new.offset;~prev.base, ~prev.offset := #in~prev.base, #in~prev.offset;~next.base, ~next.offset := #in~next.base, #in~next.offset;call write~$Pointer$#1(~new.base, ~new.offset, ~next.base, 4 + ~next.offset, 4);call write~$Pointer$#1(~next.base, ~next.offset, ~new.base, ~new.offset, 4);call write~$Pointer$#1(~prev.base, ~prev.offset, ~new.base, 4 + ~new.offset, 4);call write~$Pointer$#1(~new.base, ~new.offset, ~prev.base, ~prev.offset, 4);assume true;" "CountingPredicate [underlying: 5#__ldv_list_addEXITtrue, annotation: [0, 0]]") ("CountingPredicate [underlying: 22#L663true, annotation: [0, 0]]" "havoc foo_#t~nondet32#1, foo_#t~ret33#1, foo_~j~0#1;assume { :end_inline_foo } true;main_#res#1 := 0;#t~ret34#1 := main_#res#1;assume { :end_inline_main } true;assume true;" "CountingPredicate [underlying: 3#ULTIMATE.startEXITtrue, annotation: [0, 0]]") ("CountingPredicate [underlying: 11#$Ultimate##0true, annotation: [0, 0]]" "~e := #in~e;~s.base, ~s.offset := #in~s.base, #in~s.offset;havoc ~m~1.base, ~m~1.offset;call #t~mem26.base, #t~mem26.offset := read~$Pointer$#1(~s.base, ~s.offset, 4);~__mptr~3.base, ~__mptr~3.offset := #t~mem26.base, #t~mem26.offset;havoc #t~mem26.base, #t~mem26.offset;#t~ret27.base, #t~ret27.offset := ~__mptr~3.base, ~__mptr~3.offset - 4;havoc ~__mptr~3.base, ~__mptr~3.offset;~m~1.base, ~m~1.offset := #t~ret27.base, #t~ret27.offset;havoc #t~ret27.base, #t~ret27.offset;" "CountingPredicate [underlying: 14#L652-4true, annotation: [0, 0]]") ("CountingPredicate [underlying: 13#L652-5true, annotation: [0, 0]]" "#res := 0;" "CountingPredicate [underlying: 23#ldv_is_in_setFINALtrue, annotation: [0, 0]]") ("CountingPredicate [underlying: 21#L564true, annotation: [0, 0]]" "havoc assume_abort_if_not_~cond#1;havoc assume_abort_if_not_#in~cond#1;assume { :end_inline_assume_abort_if_not } true;ldv_successful_malloc_#res#1.base, ldv_successful_malloc_#res#1.offset := ldv_successful_malloc_~ptr~0#1.base, ldv_successful_malloc_~ptr~0#1.offset;ldv_set_add_#t~ret18#1.base, ldv_set_add_#t~ret18#1.offset := ldv_successful_malloc_#res#1.base, ldv_successful_malloc_#res#1.offset;havoc ldv_successful_malloc_#t~malloc5#1.base, ldv_successful_malloc_#t~malloc5#1.offset, ldv_successful_malloc_~size#1, ldv_successful_malloc_~ptr~0#1.base, ldv_successful_malloc_~ptr~0#1.offset;havoc ldv_successful_malloc_#in~size#1;assume { :end_inline_ldv_successful_malloc } true;ldv_set_add_~le~0#1.base, ldv_set_add_~le~0#1.offset := ldv_set_add_#t~ret18#1.base, ldv_set_add_#t~ret18#1.offset;havoc ldv_set_add_#t~ret18#1.base, ldv_set_add_#t~ret18#1.offset;call write~int#1(ldv_set_add_~new#1, ldv_set_add_~le~0#1.base, ldv_set_add_~le~0#1.offset, 4);assume { :begin_inline_ldv_list_add } true;ldv_list_add_#in~new#1.base, ldv_list_add_#in~new#1.offset, ldv_list_add_#in~head#1.base, ldv_list_add_#in~head#1.offset := ldv_set_add_~le~0#1.base, 4 + ldv_set_add_~le~0#1.offset, ldv_set_add_~s#1.base, ldv_set_add_~s#1.offset;havoc ldv_list_add_#t~mem6#1.base, ldv_list_add_#t~mem6#1.offset, ldv_list_add_~new#1.base, ldv_list_add_~new#1.offset, ldv_list_add_~head#1.base, ldv_list_add_~head#1.offset;ldv_list_add_~new#1.base, ldv_list_add_~new#1.offset := ldv_list_add_#in~new#1.base, ldv_list_add_#in~new#1.offset;ldv_list_add_~head#1.base, ldv_list_add_~head#1.offset := ldv_list_add_#in~head#1.base, ldv_list_add_#in~head#1.offset;call ldv_list_add_#t~mem6#1.base, ldv_list_add_#t~mem6#1.offset := read~$Pointer$#1(ldv_list_add_~head#1.base, ldv_list_add_~head#1.offset, 4);" "CountingPredicate [underlying: 17#L605true, annotation: [0, 0]]") ("CountingPredicate [underlying: 19#L667-3true, annotation: [0, 0]]" "assume !false;" "CountingPredicate [underlying: 8#ULTIMATE.startErr0ASSERT_VIOLATIONERROR_FUNCTIONtrue, annotation: [0, 0]]") ("CountingPredicate [underlying: 19#L667-3true, annotation: [0, 0]]" "assume false;assume false;" "CountingPredicate [underlying: 22#L663true, annotation: [0, 0]]") ("CountingPredicate [underlying: 23#ldv_is_in_setFINALtrue, annotation: [0, 0]]" "assume true;" "CountingPredicate [underlying: 10#ldv_is_in_setEXITtrue, annotation: [0, 0]]") }, returnTransitions = { ("CountingPredicate [underlying: 10#ldv_is_in_setEXITtrue, annotation: [0, 0]]" "CountingPredicate [underlying: 9#L667true, annotation: [0, 0]]" "#68#return;" "CountingPredicate [underlying: 25#L667-1true, annotation: [0, 0]]") ("CountingPredicate [underlying: 10#ldv_is_in_setEXITtrue, annotation: [0, 0]]" "CountingPredicate [underlying: 15#L633true, annotation: [0, 0]]" "#64#return;" "CountingPredicate [underlying: 24#L633-1true, annotation: [0, 0]]") ("CountingPredicate [underlying: 5#__ldv_list_addEXITtrue, annotation: [0, 0]]" "CountingPredicate [underlying: 17#L605true, annotation: [0, 0]]" "#66#return;" "CountingPredicate [underlying: 2#L605-1true, annotation: [0, 0]]") } ); [2024-08-06 17:19:08,613 INFO L82 GeneralOperation]: Start removeDeadEnds. Operand has 24 states, 17 states have (on average 1.411764705882353) internal successors, (24), 18 states have internal predecessors, (24), 3 states have call successors, (3), 2 states have call predecessors, (3), 2 states have return successors, (3), 3 states have call predecessors, (3), 3 states have call successors, (3) [2024-08-06 17:19:08,626 INFO L88 GeneralOperation]: Finished removeDeadEnds. Reduced from 24 states to 0 states. [2024-08-06 17:19:08,654 INFO L356 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == AllErrorsAtOnce ======== [2024-08-06 17:19:08,664 INFO L357 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, mHoare=false, mAutomataTypeConcurrency=PETRI_NET, mHoareTripleChecks=INCREMENTAL, mHoareAnnotationPositions=LoopHeads, 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;@414c79aa, mLbeIndependenceSettings=[IndependenceType=SEMANTIC, AbstractionType=NONE, UseConditional=false, UseSemiCommutativity=true, Solver=Z3, SolverTimeout=1000ms] [2024-08-06 17:19:08,665 INFO L358 AbstractCegarLoop]: Starting to check reachability of 1 error locations. [2024-08-06 17:19:08,667 INFO L276 IsEmpty]: Start isEmpty. Operand 0 states. [2024-08-06 17:19:08,667 INFO L282 IsEmpty]: Finished isEmpty. No accepting run. [2024-08-06 17:19:08,670 INFO L805 garLoopResultBuilder]: Registering result SAFE for location ULTIMATE.startErr0ASSERT_VIOLATIONERROR_FUNCTION (0 of 1 remaining) [2024-08-06 17:19:08,676 INFO L445 BasicCegarLoop]: Path program histogram: [] [2024-08-06 17:19:08,680 INFO L196 ceAbstractionStarter]: Computing trace abstraction results [2024-08-06 17:19:08,684 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction CFG 06.08 05:19:08 BoogieIcfgContainer [2024-08-06 17:19:08,686 INFO L131 PluginConnector]: ------------------------ END TraceAbstraction---------------------------- [2024-08-06 17:19:08,687 INFO L158 Benchmark]: Toolchain (without parser) took 1230.31ms. Allocated memory is still 184.5MB. Free memory was 126.2MB in the beginning and 72.5MB in the end (delta: 53.7MB). Peak memory consumption was 54.5MB. Max. memory is 16.1GB. [2024-08-06 17:19:08,688 INFO L158 Benchmark]: Witness Parser took 0.21ms. Allocated memory is still 184.5MB. Free memory is still 148.8MB. There was no memory consumed. Max. memory is 16.1GB. [2024-08-06 17:19:08,688 INFO L158 Benchmark]: CDTParser took 0.16ms. Allocated memory is still 184.5MB. Free memory is still 146.1MB. There was no memory consumed. Max. memory is 16.1GB. [2024-08-06 17:19:08,688 INFO L158 Benchmark]: CACSL2BoogieTranslator took 491.08ms. Allocated memory is still 184.5MB. Free memory was 126.2MB in the beginning and 105.2MB in the end (delta: 21.0MB). Peak memory consumption was 21.0MB. Max. memory is 16.1GB. [2024-08-06 17:19:08,689 INFO L158 Benchmark]: Boogie Procedure Inliner took 47.41ms. Allocated memory is still 184.5MB. Free memory was 105.2MB in the beginning and 103.2MB in the end (delta: 2.1MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. [2024-08-06 17:19:08,690 INFO L158 Benchmark]: Boogie Preprocessor took 56.67ms. Allocated memory is still 184.5MB. Free memory was 103.2MB in the beginning and 101.1MB in the end (delta: 2.1MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. [2024-08-06 17:19:08,690 INFO L158 Benchmark]: RCFGBuilder took 437.48ms. Allocated memory is still 184.5MB. Free memory was 101.1MB in the beginning and 82.2MB in the end (delta: 18.9MB). Peak memory consumption was 18.9MB. Max. memory is 16.1GB. [2024-08-06 17:19:08,692 INFO L158 Benchmark]: TraceAbstraction took 189.26ms. Allocated memory is still 184.5MB. Free memory was 81.4MB in the beginning and 72.5MB in the end (delta: 8.8MB). Peak memory consumption was 10.5MB. Max. memory is 16.1GB. [2024-08-06 17:19:08,695 INFO L338 ainManager$Toolchain]: ####################### End [Toolchain 1] ####################### --- Results --- * Results from de.uni_freiburg.informatik.ultimate.core: - StatisticsResult: Toolchain Benchmarks Benchmark results are: * Witness Parser took 0.21ms. Allocated memory is still 184.5MB. Free memory is still 148.8MB. There was no memory consumed. Max. memory is 16.1GB. * CDTParser took 0.16ms. Allocated memory is still 184.5MB. Free memory is still 146.1MB. There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 491.08ms. Allocated memory is still 184.5MB. Free memory was 126.2MB in the beginning and 105.2MB in the end (delta: 21.0MB). Peak memory consumption was 21.0MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 47.41ms. Allocated memory is still 184.5MB. Free memory was 105.2MB in the beginning and 103.2MB in the end (delta: 2.1MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. * Boogie Preprocessor took 56.67ms. Allocated memory is still 184.5MB. Free memory was 103.2MB in the beginning and 101.1MB in the end (delta: 2.1MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. * RCFGBuilder took 437.48ms. Allocated memory is still 184.5MB. Free memory was 101.1MB in the beginning and 82.2MB in the end (delta: 18.9MB). Peak memory consumption was 18.9MB. Max. memory is 16.1GB. * TraceAbstraction took 189.26ms. Allocated memory is still 184.5MB. Free memory was 81.4MB in the beginning and 72.5MB in the end (delta: 8.8MB). Peak memory consumption was 10.5MB. 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 - PositiveResult [Line: 667]: a call to reach_error is unreachable For all program executions holds that a call to reach_error is unreachable at this location - StatisticsResult: Ultimate Automizer benchmark data CFG has 3 procedures, 24 locations, 1 error locations. Started 1 CEGAR loops. OverallTime: 0.1s, OverallIterations: 0, TraceHistogramMax: 0, PathProgramHistogramMax: 0, EmptinessCheckTime: 0.0s, AutomataDifference: 0.0s, DeadEndRemovalTime: 0.0s, HoareAnnotationTime: 0.0s, InitialAbstractionConstructionTime: 0.1s, HoareTripleCheckerStatistics: , PredicateUnifierStatistics: No data available, 0.0s BasicInterpolantAutomatonTime, BiggestAbstraction: size=0occurred in iteration=0, InterpolantAutomatonStates: 0, traceCheckStatistics: No data available, 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 - AllSpecificationsHoldResult: All specifications hold 1 specifications checked. All of them hold RESULT: Ultimate proved your program to be correct! [2024-08-06 17:19:08,725 INFO L552 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 (1)] Ended with exit code 0 Received shutdown request... --- End real Ultimate output --- Execution finished normally Writing output log to file Ultimate.log Result: TRUE