./Ultimate.py --spec ../../../trunk/examples/svcomp/properties/unreach-call.prp --file ../../../trunk/examples/svcomp/ldv-sets/test_mutex_double_lock.i --full-output --witness-type violation_witness --validate ./svcomp-yaml-violation-generation.2024-08-01_14-26-22.files/Default/test_mutex_double_lock.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_mutex_double_lock.i ./svcomp-yaml-violation-generation.2024-08-01_14-26-22.files/Default/test_mutex_double_lock.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:04,497 INFO L188 SettingsManager]: Resetting all preferences to default values... [2024-08-06 17:19:04,556 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:04,561 WARN L101 SettingsManager]: Preference file contains the following unknown settings: [2024-08-06 17:19:04,562 WARN L103 SettingsManager]: * de.uni_freiburg.informatik.ultimate.core.Log level for class [2024-08-06 17:19:04,588 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2024-08-06 17:19:04,589 INFO L151 SettingsManager]: Preferences of UltimateCore differ from their defaults: [2024-08-06 17:19:04,590 INFO L153 SettingsManager]: * Log level for class=de.uni_freiburg.informatik.ultimate.lib.smtlibutils.quantifier.QuantifierPusher=ERROR; [2024-08-06 17:19:04,590 INFO L151 SettingsManager]: Preferences of Boogie Preprocessor differ from their defaults: [2024-08-06 17:19:04,591 INFO L153 SettingsManager]: * Use memory slicer=true [2024-08-06 17:19:04,592 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2024-08-06 17:19:04,592 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ONLY_FOR_SEQUENTIAL_PROGRAMS [2024-08-06 17:19:04,592 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2024-08-06 17:19:04,592 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2024-08-06 17:19:04,593 INFO L153 SettingsManager]: * Use SBE=true [2024-08-06 17:19:04,593 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2024-08-06 17:19:04,593 INFO L153 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2024-08-06 17:19:04,593 INFO L153 SettingsManager]: * sizeof long=4 [2024-08-06 17:19:04,594 INFO L153 SettingsManager]: * Overapproximate operations on floating types=true [2024-08-06 17:19:04,594 INFO L153 SettingsManager]: * sizeof POINTER=4 [2024-08-06 17:19:04,594 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2024-08-06 17:19:04,596 INFO L153 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2024-08-06 17:19:04,597 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2024-08-06 17:19:04,597 INFO L153 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2024-08-06 17:19:04,597 INFO L153 SettingsManager]: * Allow undefined functions=false [2024-08-06 17:19:04,597 INFO L153 SettingsManager]: * sizeof long double=12 [2024-08-06 17:19:04,597 INFO L153 SettingsManager]: * Check if freed pointer was valid=false [2024-08-06 17:19:04,597 INFO L153 SettingsManager]: * Use constant arrays=true [2024-08-06 17:19:04,598 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2024-08-06 17:19:04,598 INFO L153 SettingsManager]: * Size of a code block=SequenceOfStatements [2024-08-06 17:19:04,598 INFO L153 SettingsManager]: * Only consider context switches at boundaries of atomic blocks=true [2024-08-06 17:19:04,598 INFO L153 SettingsManager]: * SMT solver=External_DefaultMode [2024-08-06 17:19:04,599 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 [2024-08-06 17:19:04,599 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2024-08-06 17:19:04,599 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2024-08-06 17:19:04,599 INFO L153 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopHeads [2024-08-06 17:19:04,599 INFO L153 SettingsManager]: * Trace refinement strategy=CAMEL [2024-08-06 17:19:04,600 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2024-08-06 17:19:04,600 INFO L153 SettingsManager]: * Apply one-shot large block encoding in concurrent analysis=false [2024-08-06 17:19:04,600 INFO L153 SettingsManager]: * Automaton type used in concurrency analysis=PETRI_NET [2024-08-06 17:19:04,600 INFO L153 SettingsManager]: * Compute Hoare Annotation of negated interpolant automaton, abstraction and CFG=true [2024-08-06 17:19:04,601 INFO L153 SettingsManager]: * Order on configurations for Petri net unfoldings=DBO [2024-08-06 17:19:04,602 INFO L153 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode [2024-08-06 17:19:04,602 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:04,813 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2024-08-06 17:19:04,836 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2024-08-06 17:19:04,839 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2024-08-06 17:19:04,840 INFO L270 PluginConnector]: Initializing CDTParser... [2024-08-06 17:19:04,841 INFO L274 PluginConnector]: CDTParser initialized [2024-08-06 17:19:04,842 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/../../../trunk/examples/svcomp/ldv-sets/test_mutex_double_lock.i [2024-08-06 17:19:06,131 INFO L533 CDTParser]: Created temporary CDT project at NULL [2024-08-06 17:19:06,341 INFO L384 CDTParser]: Found 1 translation units. [2024-08-06 17:19:06,342 INFO L180 CDTParser]: Scanning /storage/repos/ultimate/trunk/examples/svcomp/ldv-sets/test_mutex_double_lock.i [2024-08-06 17:19:06,362 INFO L427 CDTParser]: About to delete temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/3b4441001/0878e2e110654bca9d6e3a62f4440f96/FLAG076bac872 [2024-08-06 17:19:06,377 INFO L435 CDTParser]: Successfully deleted /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/3b4441001/0878e2e110654bca9d6e3a62f4440f96 [2024-08-06 17:19:06,379 INFO L270 PluginConnector]: Initializing Witness Parser... [2024-08-06 17:19:06,388 INFO L274 PluginConnector]: Witness Parser initialized [2024-08-06 17:19:06,389 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_mutex_double_lock.yml/witness.yml [2024-08-06 17:19:06,472 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2024-08-06 17:19:06,473 INFO L133 ToolchainWalker]: Walking toolchain with 5 elements. [2024-08-06 17:19:06,474 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2024-08-06 17:19:06,475 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2024-08-06 17:19:06,478 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2024-08-06 17:19:06,479 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 06.08 05:19:06" (1/2) ... [2024-08-06 17:19:06,480 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@5b77ce2a and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 06.08 05:19:06, skipping insertion in model container [2024-08-06 17:19:06,480 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 06.08 05:19:06" (1/2) ... [2024-08-06 17:19:06,481 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.CACSL2BoogieTranslatorObserver@6c40bd5d and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 06.08 05:19:06, skipping insertion in model container [2024-08-06 17:19:06,481 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:06" (2/2) ... [2024-08-06 17:19:06,482 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@5b77ce2a and model type witness.yml de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator VIOLATION_WITNESS 06.08 05:19:06, skipping insertion in model container [2024-08-06 17:19:06,482 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:06" (2/2) ... [2024-08-06 17:19:06,519 INFO L175 MainTranslator]: Built tables and reachable declarations [2024-08-06 17:19:06,818 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_mutex_double_lock.i[25842,25855] [2024-08-06 17:19:06,826 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_mutex_double_lock.i[25967,25980] [2024-08-06 17:19:06,828 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_mutex_double_lock.i[26082,26095] [2024-08-06 17:19:06,832 INFO L207 PostProcessor]: Analyzing one entry point: main [2024-08-06 17:19:06,846 INFO L200 MainTranslator]: Completed pre-run [2024-08-06 17:19:06,885 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_mutex_double_lock.i[25842,25855] [2024-08-06 17:19:06,886 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_mutex_double_lock.i[25967,25980] [2024-08-06 17:19:06,886 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_mutex_double_lock.i[26082,26095] [2024-08-06 17:19:06,887 INFO L207 PostProcessor]: Analyzing one entry point: main [2024-08-06 17:19:06,917 INFO L204 MainTranslator]: Completed translation [2024-08-06 17:19:06,918 INFO L201 PluginConnector]: Adding new model witness.yml de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator VIOLATION_WITNESS 06.08 05:19:06 WrapperNode [2024-08-06 17:19:06,918 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2024-08-06 17:19:06,919 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2024-08-06 17:19:06,919 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2024-08-06 17:19:06,920 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2024-08-06 17:19:06,925 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "witness.yml de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator VIOLATION_WITNESS 06.08 05:19:06" (1/1) ... [2024-08-06 17:19:06,938 INFO L184 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "witness.yml de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator VIOLATION_WITNESS 06.08 05:19:06" (1/1) ... [2024-08-06 17:19:06,959 INFO L138 Inliner]: procedures = 139, calls = 57, calls flagged for inlining = 14, calls inlined = 13, statements flattened = 140 [2024-08-06 17:19:06,960 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2024-08-06 17:19:06,960 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2024-08-06 17:19:06,960 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2024-08-06 17:19:06,961 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2024-08-06 17:19:06,972 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "witness.yml de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator VIOLATION_WITNESS 06.08 05:19:06" (1/1) ... [2024-08-06 17:19:06,973 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "witness.yml de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator VIOLATION_WITNESS 06.08 05:19:06" (1/1) ... [2024-08-06 17:19:06,982 INFO L184 PluginConnector]: Executing the observer MemorySlicer from plugin Boogie Preprocessor for "witness.yml de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator VIOLATION_WITNESS 06.08 05:19:06" (1/1) ... [2024-08-06 17:19:07,021 INFO L175 MemorySlicer]: Split 22 memory accesses to 2 slices as follows [2, 20]. 91 percent of accesses are in the largest equivalence class. The 4 initializations are split as follows [2, 2]. The 7 writes are split as follows [0, 7]. [2024-08-06 17:19:07,024 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "witness.yml de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator VIOLATION_WITNESS 06.08 05:19:06" (1/1) ... [2024-08-06 17:19:07,024 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "witness.yml de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator VIOLATION_WITNESS 06.08 05:19:06" (1/1) ... [2024-08-06 17:19:07,031 INFO L184 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "witness.yml de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator VIOLATION_WITNESS 06.08 05:19:06" (1/1) ... [2024-08-06 17:19:07,034 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "witness.yml de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator VIOLATION_WITNESS 06.08 05:19:06" (1/1) ... [2024-08-06 17:19:07,036 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "witness.yml de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator VIOLATION_WITNESS 06.08 05:19:06" (1/1) ... [2024-08-06 17:19:07,039 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "witness.yml de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator VIOLATION_WITNESS 06.08 05:19:06" (1/1) ... [2024-08-06 17:19:07,043 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2024-08-06 17:19:07,045 INFO L112 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2024-08-06 17:19:07,045 INFO L270 PluginConnector]: Initializing RCFGBuilder... [2024-08-06 17:19:07,045 INFO L274 PluginConnector]: RCFGBuilder initialized [2024-08-06 17:19:07,046 INFO L184 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "witness.yml de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator VIOLATION_WITNESS 06.08 05:19:06" (1/1) ... [2024-08-06 17:19:07,052 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 [2024-08-06 17:19:07,062 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2024-08-06 17:19:07,080 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:07,083 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:07,122 INFO L130 BoogieDeclarations]: Found specification of procedure __ldv_list_add [2024-08-06 17:19:07,123 INFO L138 BoogieDeclarations]: Found implementation of procedure __ldv_list_add [2024-08-06 17:19:07,123 INFO L130 BoogieDeclarations]: Found specification of procedure mutex_unlock [2024-08-06 17:19:07,123 INFO L138 BoogieDeclarations]: Found implementation of procedure mutex_unlock [2024-08-06 17:19:07,123 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnHeap [2024-08-06 17:19:07,123 INFO L130 BoogieDeclarations]: Found specification of procedure mutex_lock [2024-08-06 17:19:07,123 INFO L138 BoogieDeclarations]: Found implementation of procedure mutex_lock [2024-08-06 17:19:07,123 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2024-08-06 17:19:07,124 INFO L130 BoogieDeclarations]: Found specification of procedure write~$Pointer$#0 [2024-08-06 17:19:07,124 INFO L130 BoogieDeclarations]: Found specification of procedure write~$Pointer$#1 [2024-08-06 17:19:07,124 INFO L130 BoogieDeclarations]: Found specification of procedure ldv_is_in_set [2024-08-06 17:19:07,124 INFO L138 BoogieDeclarations]: Found implementation of procedure ldv_is_in_set [2024-08-06 17:19:07,124 INFO L130 BoogieDeclarations]: Found specification of procedure read~$Pointer$#0 [2024-08-06 17:19:07,125 INFO L130 BoogieDeclarations]: Found specification of procedure read~$Pointer$#1 [2024-08-06 17:19:07,125 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.dealloc [2024-08-06 17:19:07,125 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~$Pointer$#0 [2024-08-06 17:19:07,126 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~$Pointer$#1 [2024-08-06 17:19:07,127 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int#0 [2024-08-06 17:19:07,127 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int#1 [2024-08-06 17:19:07,127 INFO L130 BoogieDeclarations]: Found specification of procedure ldv_successful_malloc [2024-08-06 17:19:07,127 INFO L138 BoogieDeclarations]: Found implementation of procedure ldv_successful_malloc [2024-08-06 17:19:07,127 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2024-08-06 17:19:07,127 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2024-08-06 17:19:07,270 INFO L244 CfgBuilder]: Building ICFG [2024-08-06 17:19:07,273 INFO L270 CfgBuilder]: Building CFG for each procedure with an implementation [2024-08-06 17:19:07,522 INFO L? ?]: Removed 73 outVars from TransFormulas that were not future-live. [2024-08-06 17:19:07,522 INFO L293 CfgBuilder]: Performing block encoding [2024-08-06 17:19:07,584 INFO L315 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2024-08-06 17:19:07,584 INFO L320 CfgBuilder]: Removed 2 assume(true) statements. [2024-08-06 17:19:07,585 INFO L201 PluginConnector]: Adding new model witness.yml de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 06.08 05:19:07 BoogieIcfgContainer [2024-08-06 17:19:07,585 INFO L131 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2024-08-06 17:19:07,587 INFO L112 PluginConnector]: ------------------------TraceAbstraction---------------------------- [2024-08-06 17:19:07,587 INFO L270 PluginConnector]: Initializing TraceAbstraction... [2024-08-06 17:19:07,590 INFO L274 PluginConnector]: TraceAbstraction initialized [2024-08-06 17:19:07,591 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "CDTParser AST 06.08 05:19:06" (1/4) ... [2024-08-06 17:19:07,592 INFO L204 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@138ae924 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 06.08 05:19:07, skipping insertion in model container [2024-08-06 17:19:07,592 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:06" (2/4) ... [2024-08-06 17:19:07,593 INFO L204 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@138ae924 and model type witness.yml de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction VIOLATION_WITNESS 06.08 05:19:07, skipping insertion in model container [2024-08-06 17:19:07,593 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "witness.yml de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator VIOLATION_WITNESS 06.08 05:19:06" (3/4) ... [2024-08-06 17:19:07,593 INFO L204 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@138ae924 and model type witness.yml de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction VIOLATION_WITNESS 06.08 05:19:07, skipping insertion in model container [2024-08-06 17:19:07,593 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "witness.yml de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 06.08 05:19:07" (4/4) ... [2024-08-06 17:19:07,594 INFO L119 eAbstractionObserver]: Analyzing ICFG test_mutex_double_lock.i [2024-08-06 17:19:07,595 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:07,610 INFO L221 ceAbstractionStarter]: Automizer settings: Hoare:false NWA Interpolation:FPandBP Determinization: PREDICATE_ABSTRACTION [2024-08-06 17:19:07,610 INFO L180 ceAbstractionStarter]: Applying trace abstraction to program that has 3 error locations. [2024-08-06 17:19:07,685 INFO L90 WitnessUtils]: NestedWordAutomaton nwa = ( callAlphabet = {"call mutex_lock(foo_~m1~0#1.base, foo_~m1~0#1.offset);" "call mutex_lock(foo_~m1~0#1.base, foo_~m1~0#1.offset);" "call #t~ret33#1 := ldv_is_in_set(~m#1.base, ~m#1.offset, ~#mutexes~0.base, ~#mutexes~0.offset);" "call mutex_unlock(foo_~m2~0#1.base, foo_~m2~0#1.offset);" "call #t~ret32#1 := ldv_is_in_set(~m#1.base, ~m#1.offset, ~#mutexes~0.base, ~#mutexes~0.offset);" "call mutex_unlock(foo_~m1~0#1.base, foo_~m1~0#1.offset);" "call ldv_set_add_#t~ret17#1 := ldv_is_in_set(ldv_set_add_~new#1.base, ldv_set_add_~new#1.offset, ldv_set_add_~s#1.base, ldv_set_add_~s#1.offset);" "call ldv_set_add_#t~ret18#1.base, ldv_set_add_#t~ret18#1.offset := ldv_successful_malloc(12);" "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~ret35#1.base, foo_#t~ret35#1.offset := ldv_successful_malloc(8);" "call foo_#t~ret36#1.base, foo_#t~ret36#1.offset := ldv_successful_malloc(8);" }, internalAlphabet = {"~size#1 := #in~size#1;call #t~malloc5#1.base, #t~malloc5#1.offset := #Ultimate.allocOnHeap(~size#1 % 4294967296);~ptr~0#1.base, ~ptr~0#1.offset := #t~malloc5#1.base, #t~malloc5#1.offset;havoc #t~malloc5#1.base, #t~malloc5#1.offset;assume { :begin_inline_assume_abort_if_not } true;assume_abort_if_not_#in~cond#1 := (if ~ptr~0#1.base != 0 || ~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;" "#res := 0;" "assume true;" "assume 0 == assume_abort_if_not_~cond#1;assume false;" "assume !(0 == assume_abort_if_not_~cond#1);" "~m#1.base, ~m#1.offset := #in~m#1.base, #in~m#1.offset;" "SUMMARY for call #t~ret33#1 := ldv_is_in_set(~m#1.base, ~m#1.offset, ~#mutexes~0.base, ~#mutexes~0.offset); srcloc: L673" "assume -2147483648 <= #t~ret33#1 && #t~ret33#1 <= 2147483647;" "assume 0 == #t~ret33#1;havoc #t~ret33#1;" "assume !false;" "assume false;assume false;" "assume !(0 == #t~ret33#1);havoc #t~ret33#1;" "assume { :begin_inline_ldv_set_del } true;ldv_set_del_#in~e#1.base, ldv_set_del_#in~e#1.offset, ldv_set_del_#in~s#1.base, ldv_set_del_#in~s#1.offset := ~m#1.base, ~m#1.offset, ~#mutexes~0.base, ~#mutexes~0.offset;havoc ldv_set_del_#t~mem19#1.base, ldv_set_del_#t~mem19#1.offset, ldv_set_del_#t~ret20#1.base, ldv_set_del_#t~ret20#1.offset, ldv_set_del_~__mptr~0#1.base, ldv_set_del_~__mptr~0#1.offset, ldv_set_del_#t~mem21#1.base, ldv_set_del_#t~mem21#1.offset, ldv_set_del_#t~ret22#1.base, ldv_set_del_#t~ret22#1.offset, ldv_set_del_~__mptr~1#1.base, ldv_set_del_~__mptr~1#1.offset, ldv_set_del_#t~mem23#1.base, ldv_set_del_#t~mem23#1.offset, ldv_set_del_#t~mem24#1.base, ldv_set_del_#t~mem24#1.offset, ldv_set_del_#t~ret25#1.base, ldv_set_del_#t~ret25#1.offset, ldv_set_del_~__mptr~2#1.base, ldv_set_del_~__mptr~2#1.offset, ldv_set_del_~e#1.base, ldv_set_del_~e#1.offset, ldv_set_del_~s#1.base, ldv_set_del_~s#1.offset, ldv_set_del_~m~0#1.base, ldv_set_del_~m~0#1.offset, ldv_set_del_~n~0#1.base, ldv_set_del_~n~0#1.offset;ldv_set_del_~e#1.base, ldv_set_del_~e#1.offset := ldv_set_del_#in~e#1.base, ldv_set_del_#in~e#1.offset;ldv_set_del_~s#1.base, ldv_set_del_~s#1.offset := ldv_set_del_#in~s#1.base, ldv_set_del_#in~s#1.offset;havoc ldv_set_del_~m~0#1.base, ldv_set_del_~m~0#1.offset;havoc ldv_set_del_~n~0#1.base, ldv_set_del_~n~0#1.offset;call ldv_set_del_#t~mem19#1.base, ldv_set_del_#t~mem19#1.offset := read~$Pointer$#1(ldv_set_del_~s#1.base, ldv_set_del_~s#1.offset, 4);ldv_set_del_~__mptr~0#1.base, ldv_set_del_~__mptr~0#1.offset := ldv_set_del_#t~mem19#1.base, ldv_set_del_#t~mem19#1.offset;havoc ldv_set_del_#t~mem19#1.base, ldv_set_del_#t~mem19#1.offset;ldv_set_del_#t~ret20#1.base, ldv_set_del_#t~ret20#1.offset := ldv_set_del_~__mptr~0#1.base, ldv_set_del_~__mptr~0#1.offset - 4;havoc ldv_set_del_~__mptr~0#1.base, ldv_set_del_~__mptr~0#1.offset;ldv_set_del_~m~0#1.base, ldv_set_del_~m~0#1.offset := ldv_set_del_#t~ret20#1.base, ldv_set_del_#t~ret20#1.offset;call ldv_set_del_#t~mem21#1.base, ldv_set_del_#t~mem21#1.offset := read~$Pointer$#1(ldv_set_del_~m~0#1.base, 4 + ldv_set_del_~m~0#1.offset, 4);ldv_set_del_~__mptr~1#1.base, ldv_set_del_~__mptr~1#1.offset := ldv_set_del_#t~mem21#1.base, ldv_set_del_#t~mem21#1.offset;havoc ldv_set_del_#t~mem21#1.base, ldv_set_del_#t~mem21#1.offset;ldv_set_del_#t~ret22#1.base, ldv_set_del_#t~ret22#1.offset := ldv_set_del_~__mptr~1#1.base, ldv_set_del_~__mptr~1#1.offset - 4;havoc ldv_set_del_~__mptr~1#1.base, ldv_set_del_~__mptr~1#1.offset;ldv_set_del_~n~0#1.base, ldv_set_del_~n~0#1.offset := ldv_set_del_#t~ret22#1.base, ldv_set_del_#t~ret22#1.offset;havoc ldv_set_del_#t~ret20#1.base, ldv_set_del_#t~ret20#1.offset;havoc ldv_set_del_#t~ret22#1.base, ldv_set_del_#t~ret22#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;#res#1.base, #res#1.offset := ~ptr~0#1.base, ~ptr~0#1.offset;assume true;" "~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;" "havoc ldv_set_del_#t~mem19#1.base, ldv_set_del_#t~mem19#1.offset, ldv_set_del_#t~ret20#1.base, ldv_set_del_#t~ret20#1.offset, ldv_set_del_~__mptr~0#1.base, ldv_set_del_~__mptr~0#1.offset, ldv_set_del_#t~mem21#1.base, ldv_set_del_#t~mem21#1.offset, ldv_set_del_#t~ret22#1.base, ldv_set_del_#t~ret22#1.offset, ldv_set_del_~__mptr~1#1.base, ldv_set_del_~__mptr~1#1.offset, ldv_set_del_#t~mem23#1.base, ldv_set_del_#t~mem23#1.offset, ldv_set_del_#t~mem24#1.base, ldv_set_del_#t~mem24#1.offset, ldv_set_del_#t~ret25#1.base, ldv_set_del_#t~ret25#1.offset, ldv_set_del_~__mptr~2#1.base, ldv_set_del_~__mptr~2#1.offset, ldv_set_del_~e#1.base, ldv_set_del_~e#1.offset, ldv_set_del_~s#1.base, ldv_set_del_~s#1.offset, ldv_set_del_~m~0#1.base, ldv_set_del_~m~0#1.offset, ldv_set_del_~n~0#1.base, ldv_set_del_~n~0#1.offset;havoc ldv_set_del_#in~e#1.base, ldv_set_del_#in~e#1.offset, ldv_set_del_#in~s#1.base, ldv_set_del_#in~s#1.offset;assume { :end_inline_ldv_set_del } true;assume true;" "assume ldv_set_del_#t~mem23#1.base == ldv_set_del_~e#1.base && ldv_set_del_#t~mem23#1.offset == ldv_set_del_~e#1.offset;havoc ldv_set_del_#t~mem23#1.base, ldv_set_del_#t~mem23#1.offset;assume { :begin_inline_ldv_list_del } true;ldv_list_del_#in~entry#1.base, ldv_list_del_#in~entry#1.offset := ldv_set_del_~m~0#1.base, 4 + ldv_set_del_~m~0#1.offset;havoc ldv_list_del_#t~mem8#1.base, ldv_list_del_#t~mem8#1.offset, ldv_list_del_#t~mem9#1.base, ldv_list_del_#t~mem9#1.offset, ldv_list_del_~entry#1.base, ldv_list_del_~entry#1.offset;ldv_list_del_~entry#1.base, ldv_list_del_~entry#1.offset := ldv_list_del_#in~entry#1.base, ldv_list_del_#in~entry#1.offset;call ldv_list_del_#t~mem8#1.base, ldv_list_del_#t~mem8#1.offset := read~$Pointer$#1(ldv_list_del_~entry#1.base, 4 + ldv_list_del_~entry#1.offset, 4);call ldv_list_del_#t~mem9#1.base, ldv_list_del_#t~mem9#1.offset := read~$Pointer$#1(ldv_list_del_~entry#1.base, ldv_list_del_~entry#1.offset, 4);assume { :begin_inline___ldv_list_del } true;__ldv_list_del_#in~prev#1.base, __ldv_list_del_#in~prev#1.offset, __ldv_list_del_#in~next#1.base, __ldv_list_del_#in~next#1.offset := ldv_list_del_#t~mem8#1.base, ldv_list_del_#t~mem8#1.offset, ldv_list_del_#t~mem9#1.base, ldv_list_del_#t~mem9#1.offset;havoc __ldv_list_del_~prev#1.base, __ldv_list_del_~prev#1.offset, __ldv_list_del_~next#1.base, __ldv_list_del_~next#1.offset;__ldv_list_del_~prev#1.base, __ldv_list_del_~prev#1.offset := __ldv_list_del_#in~prev#1.base, __ldv_list_del_#in~prev#1.offset;__ldv_list_del_~next#1.base, __ldv_list_del_~next#1.offset := __ldv_list_del_#in~next#1.base, __ldv_list_del_#in~next#1.offset;call write~$Pointer$#1(__ldv_list_del_~prev#1.base, __ldv_list_del_~prev#1.offset, __ldv_list_del_~next#1.base, 4 + __ldv_list_del_~next#1.offset, 4);call write~$Pointer$#1(__ldv_list_del_~next#1.base, __ldv_list_del_~next#1.offset, __ldv_list_del_~prev#1.base, __ldv_list_del_~prev#1.offset, 4);havoc __ldv_list_del_~prev#1.base, __ldv_list_del_~prev#1.offset, __ldv_list_del_~next#1.base, __ldv_list_del_~next#1.offset;havoc __ldv_list_del_#in~prev#1.base, __ldv_list_del_#in~prev#1.offset, __ldv_list_del_#in~next#1.base, __ldv_list_del_#in~next#1.offset;assume { :end_inline___ldv_list_del } true;havoc ldv_list_del_#t~mem8#1.base, ldv_list_del_#t~mem8#1.offset;havoc ldv_list_del_#t~mem9#1.base, ldv_list_del_#t~mem9#1.offset;havoc ldv_list_del_#t~mem8#1.base, ldv_list_del_#t~mem8#1.offset, ldv_list_del_#t~mem9#1.base, ldv_list_del_#t~mem9#1.offset, ldv_list_del_~entry#1.base, ldv_list_del_~entry#1.offset;havoc ldv_list_del_#in~entry#1.base, ldv_list_del_#in~entry#1.offset;assume { :end_inline_ldv_list_del } true;call ULTIMATE.dealloc(ldv_set_del_~m~0#1.base, ldv_set_del_~m~0#1.offset);" "assume !(ldv_set_del_~m~0#1.base != ldv_set_del_~s#1.base || 4 + ldv_set_del_~m~0#1.offset != ldv_set_del_~s#1.offset);" "assume ldv_set_del_~m~0#1.base != ldv_set_del_~s#1.base || 4 + ldv_set_del_~m~0#1.offset != ldv_set_del_~s#1.offset;call ldv_set_del_#t~mem23#1.base, ldv_set_del_#t~mem23#1.offset := read~$Pointer$#1(ldv_set_del_~m~0#1.base, ldv_set_del_~m~0#1.offset, 4);" "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 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.base, ldv_set_add_~new#1.offset, ldv_set_add_~s#1.base, ldv_set_add_~s#1.offset;havoc ldv_set_add_#in~new#1.base, ldv_set_add_#in~new#1.offset, ldv_set_add_#in~s#1.base, ldv_set_add_#in~s#1.offset;assume { :end_inline_ldv_set_add } true;assume true;" "assume { :begin_inline_ldv_check_final_state } true;havoc ldv_check_final_state_#t~ret34#1;assume { :begin_inline_ldv_set_empty } true;ldv_set_empty_#in~s#1.base, ldv_set_empty_#in~s#1.offset := ~#mutexes~0.base, ~#mutexes~0.offset;havoc ldv_set_empty_#res#1;havoc ldv_set_empty_#t~ret31#1, ldv_set_empty_~s#1.base, ldv_set_empty_~s#1.offset;ldv_set_empty_~s#1.base, ldv_set_empty_~s#1.offset := ldv_set_empty_#in~s#1.base, ldv_set_empty_#in~s#1.offset;assume { :begin_inline_ldv_list_empty } true;ldv_list_empty_#in~head#1.base, ldv_list_empty_#in~head#1.offset := ldv_set_empty_~s#1.base, ldv_set_empty_~s#1.offset;havoc ldv_list_empty_#res#1;havoc ldv_list_empty_#t~mem10#1.base, ldv_list_empty_#t~mem10#1.offset, ldv_list_empty_~head#1.base, ldv_list_empty_~head#1.offset;ldv_list_empty_~head#1.base, ldv_list_empty_~head#1.offset := ldv_list_empty_#in~head#1.base, ldv_list_empty_#in~head#1.offset;call ldv_list_empty_#t~mem10#1.base, ldv_list_empty_#t~mem10#1.offset := read~$Pointer$#1(ldv_list_empty_~head#1.base, ldv_list_empty_~head#1.offset, 4);ldv_list_empty_#res#1 := (if ldv_list_empty_#t~mem10#1.base == ldv_list_empty_~head#1.base && ldv_list_empty_#t~mem10#1.offset == ldv_list_empty_~head#1.offset then 1 else 0);havoc ldv_list_empty_#t~mem10#1.base, ldv_list_empty_#t~mem10#1.offset;ldv_set_empty_#t~ret31#1 := ldv_list_empty_#res#1;havoc ldv_list_empty_#t~mem10#1.base, ldv_list_empty_#t~mem10#1.offset, ldv_list_empty_~head#1.base, ldv_list_empty_~head#1.offset;havoc ldv_list_empty_#in~head#1.base, ldv_list_empty_#in~head#1.offset;assume { :end_inline_ldv_list_empty } true;assume -2147483648 <= ldv_set_empty_#t~ret31#1 && ldv_set_empty_#t~ret31#1 <= 2147483647;ldv_set_empty_#res#1 := ldv_set_empty_#t~ret31#1;havoc ldv_set_empty_#t~ret31#1;ldv_check_final_state_#t~ret34#1 := ldv_set_empty_#res#1;havoc ldv_set_empty_#t~ret31#1, ldv_set_empty_~s#1.base, ldv_set_empty_~s#1.offset;havoc ldv_set_empty_#in~s#1.base, ldv_set_empty_#in~s#1.offset;assume { :end_inline_ldv_set_empty } true;assume -2147483648 <= ldv_check_final_state_#t~ret34#1 && ldv_check_final_state_#t~ret34#1 <= 2147483647;" "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);~#mutexes~0.base, ~#mutexes~0.offset := 3, 0;call write~init~$Pointer$#1(~#mutexes~0.base, ~#mutexes~0.offset, ~#mutexes~0.base, ~#mutexes~0.offset, 4);call write~init~$Pointer$#1(~#mutexes~0.base, ~#mutexes~0.offset, ~#mutexes~0.base, 4 + ~#mutexes~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~ret35#1.base, foo_#t~ret35#1.offset, foo_#t~ret36#1.base, foo_#t~ret36#1.offset, foo_~m1~0#1.base, foo_~m1~0#1.offset, foo_~m2~0#1.base, foo_~m2~0#1.offset;assume { :begin_inline_ldv_initialize } true;assume { :end_inline_ldv_initialize } true;" "havoc ldv_check_final_state_#t~ret34#1;assume { :end_inline_ldv_check_final_state } true;havoc foo_#t~ret35#1.base, foo_#t~ret35#1.offset, foo_#t~ret36#1.base, foo_#t~ret36#1.offset, foo_~m1~0#1.base, foo_~m1~0#1.offset, foo_~m2~0#1.base, foo_~m2~0#1.offset;assume { :end_inline_foo } true;main_#res#1 := 0;#t~ret37#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.base, #t~mem28.offset := read~$Pointer$#1(~m~1.base, ~m~1.offset, 4);" "assume !(#t~mem28.base == ~e.base && #t~mem28.offset == ~e.offset);havoc #t~mem28.base, #t~mem28.offset;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 !(ldv_set_del_#t~mem23#1.base == ldv_set_del_~e#1.base && ldv_set_del_#t~mem23#1.offset == ldv_set_del_~e#1.offset);havoc ldv_set_del_#t~mem23#1.base, ldv_set_del_#t~mem23#1.offset;" "ldv_set_del_~m~0#1.base, ldv_set_del_~m~0#1.offset := ldv_set_del_~n~0#1.base, ldv_set_del_~n~0#1.offset;call ldv_set_del_#t~mem24#1.base, ldv_set_del_#t~mem24#1.offset := read~$Pointer$#1(ldv_set_del_~n~0#1.base, 4 + ldv_set_del_~n~0#1.offset, 4);ldv_set_del_~__mptr~2#1.base, ldv_set_del_~__mptr~2#1.offset := ldv_set_del_#t~mem24#1.base, ldv_set_del_#t~mem24#1.offset;havoc ldv_set_del_#t~mem24#1.base, ldv_set_del_#t~mem24#1.offset;ldv_set_del_#t~ret25#1.base, ldv_set_del_#t~ret25#1.offset := ldv_set_del_~__mptr~2#1.base, ldv_set_del_~__mptr~2#1.offset - 4;havoc ldv_set_del_~__mptr~2#1.base, ldv_set_del_~__mptr~2#1.offset;ldv_set_del_~n~0#1.base, ldv_set_del_~n~0#1.offset := ldv_set_del_#t~ret25#1.base, ldv_set_del_#t~ret25#1.offset;havoc ldv_set_del_#t~ret25#1.base, ldv_set_del_#t~ret25#1.offset;" "assume !true;" "~m#1.base, ~m#1.offset := #in~m#1.base, #in~m#1.offset;" "SUMMARY for call #t~ret32#1 := ldv_is_in_set(~m#1.base, ~m#1.offset, ~#mutexes~0.base, ~#mutexes~0.offset); srcloc: L669" "assume -2147483648 <= #t~ret32#1 && #t~ret32#1 <= 2147483647;" "assume 0 != #t~ret32#1;havoc #t~ret32#1;" "assume !false;" "assume false;assume false;" "assume !(0 != #t~ret32#1);havoc #t~ret32#1;" "assume { :begin_inline_ldv_set_add } true;ldv_set_add_#in~new#1.base, ldv_set_add_#in~new#1.offset, ldv_set_add_#in~s#1.base, ldv_set_add_#in~s#1.offset := ~m#1.base, ~m#1.offset, ~#mutexes~0.base, ~#mutexes~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.base, ldv_set_add_~new#1.offset, ldv_set_add_~s#1.base, ldv_set_add_~s#1.offset;ldv_set_add_~new#1.base, ldv_set_add_~new#1.offset := ldv_set_add_#in~new#1.base, ldv_set_add_#in~new#1.offset;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;" "SUMMARY for call ldv_set_add_#t~ret17#1 := ldv_is_in_set(ldv_set_add_~new#1.base, ldv_set_add_~new#1.offset, ldv_set_add_~s#1.base, ldv_set_add_~s#1.offset); srcloc: L636" "assume -2147483648 <= ldv_set_add_#t~ret17#1 && ldv_set_add_#t~ret17#1 <= 2147483647;" "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;" "SUMMARY for call ldv_set_add_#t~ret18#1.base, ldv_set_add_#t~ret18#1.offset := ldv_successful_malloc(12); srcloc: L638" "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~$Pointer$#1(ldv_set_add_~new#1.base, ldv_set_add_~new#1.offset, 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);" "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: L608" "assume !(0 == ldv_set_add_#t~ret17#1);havoc ldv_set_add_#t~ret17#1;" "SUMMARY for call foo_#t~ret35#1.base, foo_#t~ret35#1.offset := ldv_successful_malloc(8); srcloc: L682" "foo_~m1~0#1.base, foo_~m1~0#1.offset := foo_#t~ret35#1.base, foo_#t~ret35#1.offset;havoc foo_#t~ret35#1.base, foo_#t~ret35#1.offset;" "SUMMARY for call foo_#t~ret36#1.base, foo_#t~ret36#1.offset := ldv_successful_malloc(8); srcloc: L683" "foo_~m2~0#1.base, foo_~m2~0#1.offset := foo_#t~ret36#1.base, foo_#t~ret36#1.offset;havoc foo_#t~ret36#1.base, foo_#t~ret36#1.offset;" "SUMMARY for call mutex_lock(foo_~m1~0#1.base, foo_~m1~0#1.offset); srcloc: L684" "SUMMARY for call mutex_lock(foo_~m1~0#1.base, foo_~m1~0#1.offset); srcloc: L684-1" "SUMMARY for call mutex_unlock(foo_~m2~0#1.base, foo_~m2~0#1.offset); srcloc: L685" "SUMMARY for call mutex_unlock(foo_~m1~0#1.base, foo_~m1~0#1.offset); srcloc: L686" "assume 0 == ldv_check_final_state_#t~ret34#1;havoc ldv_check_final_state_#t~ret34#1;" "assume !false;" "assume false;assume false;" "assume !(0 == ldv_check_final_state_#t~ret34#1);havoc ldv_check_final_state_#t~ret34#1;" "~e.base, ~e.offset := #in~e.base, #in~e.offset;~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.base == ~e.base && #t~mem28.offset == ~e.offset;havoc #t~mem28.base, #t~mem28.offset;#res := 1;" "assume !true;" }, returnAlphabet = {"#144#return;" "#146#return;" "#148#return;" "#132#return;" "#134#return;" "#150#return;" "#136#return;" "#152#return;" "#138#return;" "#140#return;" "#142#return;" }, states = {"CountingPredicate [underlying: 8#L673-1true, annotation: [0, 0]]" "CountingPredicate [underlying: 26#mutex_unlockEXITtrue, annotation: [0, 0]]" "CountingPredicate [underlying: 37#ldv_is_in_setFINALtrue, annotation: [0, 0]]" "CountingPredicate [underlying: 16#L669-5true, annotation: [0, 0]]" "CountingPredicate [underlying: 3#mutex_lockErr0ASSERT_VIOLATIONERROR_FUNCTIONtrue, annotation: [0, 0]]" "CountingPredicate [underlying: 43#L646-4true, annotation: [0, 0]]" "CountingPredicate [underlying: 36#L655-5true, annotation: [0, 0]]" "CountingPredicate [underlying: 52#L565true, annotation: [0, 0]]" "CountingPredicate [underlying: 41#L673-2true, annotation: [0, 0]]" "CountingPredicate [underlying: 5#L682true, annotation: [0, 0]]" "CountingPredicate [underlying: 17#L669-2true, annotation: [0, 0]]" "CountingPredicate [underlying: 34#L636-1true, annotation: [0, 0]]" "CountingPredicate [underlying: 27#L608true, annotation: [0, 0]]" "CountingPredicate [underlying: 31#mutex_unlockErr0ASSERT_VIOLATIONERROR_FUNCTIONtrue, annotation: [0, 0]]" "CountingPredicate [underlying: 35#L673-3true, annotation: [0, 0]]" "CountingPredicate [underlying: 13#$Ultimate##0true, annotation: [0, 0]]" "CountingPredicate [underlying: 28#$Ultimate##0true, annotation: [0, 0]]" "CountingPredicate [underlying: 55#L677-1true, annotation: [0, 0]]" "CountingPredicate [underlying: 30#ldv_successful_mallocEXITtrue, annotation: [0, 0]]" "CountingPredicate [underlying: 24#mutex_lockEXITtrue, annotation: [0, 0]]" "CountingPredicate [underlying: 42#__ldv_list_addEXITtrue, annotation: [0, 0]]" "CountingPredicate [underlying: 2#L564true, annotation: [0, 0]]" "CountingPredicate [underlying: 44#L687true, annotation: [0, 0]]" "CountingPredicate [underlying: 20#L682-1true, annotation: [0, 0]]" "CountingPredicate [underlying: 32#$Ultimate##0true, annotation: [0, 0]]" "CountingPredicate [underlying: 47#ldv_is_in_setEXITtrue, annotation: [0, 0]]" "CountingPredicate [underlying: 56#L669-1true, annotation: [0, 0]]" "CountingPredicate [underlying: 50#L635true, annotation: [0, 0]]" "CountingPredicate [underlying: 39#L683-1true, annotation: [0, 0]]" "CountingPredicate [underlying: 15#L655-4true, annotation: [0, 0]]" "CountingPredicate [underlying: 22#L673-5true, annotation: [0, 0]]" "CountingPredicate [underlying: 46#L638-1true, annotation: [0, 0]]" "CountingPredicate [underlying: 23#$Ultimate##0true, annotation: [0, 0]]" "CountingPredicate [underlying: 9#L677true, annotation: [0, 0]]" "CountingPredicate [underlying: 14#L685true, annotation: [0, 0]]" "CountingPredicate [underlying: 29#L684-1true, annotation: [0, 0]]" "CountingPredicate [underlying: 6#L684true, annotation: [0, 0]]" "CountingPredicate [underlying: 53#L686true, annotation: [0, 0]]" "CountingPredicate [underlying: 10#L683true, annotation: [0, 0]]" "CountingPredicate [underlying: 38#L643true, annotation: [0, 0]]" "CountingPredicate [underlying: 40#L608-1true, annotation: [0, 0]]" "CountingPredicate [underlying: 4#ULTIMATE.startEXITtrue, annotation: [0, 0]]" "CountingPredicate [underlying: 25#L636-2true, annotation: [0, 0]]" "CountingPredicate [underlying: 12#L673true, annotation: [0, 0]]" "CountingPredicate [underlying: 11#L638true, annotation: [0, 0]]" "CountingPredicate [underlying: 18#L636true, annotation: [0, 0]]" "CountingPredicate [underlying: 48#$Ultimate##0true, annotation: [0, 0]]" "CountingPredicate [underlying: 33#L647true, annotation: [0, 0]]" "CountingPredicate [underlying: 54#L676true, annotation: [0, 0]]" "CountingPredicate [underlying: 51#L646-3true, annotation: [0, 0]]" "CountingPredicate [underlying: 49#L669-3true, annotation: [0, 0]]" "CountingPredicate [underlying: 7#$Ultimate##0true, annotation: [0, 0]]" "CountingPredicate [underlying: 19#L669true, annotation: [0, 0]]" "CountingPredicate [underlying: 21#L656true, annotation: [0, 0]]" "CountingPredicate [underlying: 45#ULTIMATE.startErr0ASSERT_VIOLATIONERROR_FUNCTIONtrue, annotation: [0, 0]]" }, initialStates = {"CountingPredicate [underlying: 23#$Ultimate##0true, annotation: [0, 0]]" }, finalStates = {}, callTransitions = { ("CountingPredicate [underlying: 5#L682true, annotation: [0, 0]]" "call foo_#t~ret35#1.base, foo_#t~ret35#1.offset := ldv_successful_malloc(8);" "CountingPredicate [underlying: 28#$Ultimate##0true, annotation: [0, 0]]") ("CountingPredicate [underlying: 27#L608true, 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: 48#$Ultimate##0true, annotation: [0, 0]]") ("CountingPredicate [underlying: 14#L685true, annotation: [0, 0]]" "call mutex_unlock(foo_~m2~0#1.base, foo_~m2~0#1.offset);" "CountingPredicate [underlying: 32#$Ultimate##0true, annotation: [0, 0]]") ("CountingPredicate [underlying: 29#L684-1true, annotation: [0, 0]]" "call mutex_lock(foo_~m1~0#1.base, foo_~m1~0#1.offset);" "CountingPredicate [underlying: 13#$Ultimate##0true, annotation: [0, 0]]") ("CountingPredicate [underlying: 6#L684true, annotation: [0, 0]]" "call mutex_lock(foo_~m1~0#1.base, foo_~m1~0#1.offset);" "CountingPredicate [underlying: 13#$Ultimate##0true, annotation: [0, 0]]") ("CountingPredicate [underlying: 53#L686true, annotation: [0, 0]]" "call mutex_unlock(foo_~m1~0#1.base, foo_~m1~0#1.offset);" "CountingPredicate [underlying: 32#$Ultimate##0true, annotation: [0, 0]]") ("CountingPredicate [underlying: 10#L683true, annotation: [0, 0]]" "call foo_#t~ret36#1.base, foo_#t~ret36#1.offset := ldv_successful_malloc(8);" "CountingPredicate [underlying: 28#$Ultimate##0true, annotation: [0, 0]]") ("CountingPredicate [underlying: 12#L673true, annotation: [0, 0]]" "call #t~ret33#1 := ldv_is_in_set(~m#1.base, ~m#1.offset, ~#mutexes~0.base, ~#mutexes~0.offset);" "CountingPredicate [underlying: 7#$Ultimate##0true, annotation: [0, 0]]") ("CountingPredicate [underlying: 11#L638true, annotation: [0, 0]]" "call ldv_set_add_#t~ret18#1.base, ldv_set_add_#t~ret18#1.offset := ldv_successful_malloc(12);" "CountingPredicate [underlying: 28#$Ultimate##0true, annotation: [0, 0]]") ("CountingPredicate [underlying: 18#L636true, annotation: [0, 0]]" "call ldv_set_add_#t~ret17#1 := ldv_is_in_set(ldv_set_add_~new#1.base, ldv_set_add_~new#1.offset, ldv_set_add_~s#1.base, ldv_set_add_~s#1.offset);" "CountingPredicate [underlying: 7#$Ultimate##0true, annotation: [0, 0]]") ("CountingPredicate [underlying: 19#L669true, annotation: [0, 0]]" "call #t~ret32#1 := ldv_is_in_set(~m#1.base, ~m#1.offset, ~#mutexes~0.base, ~#mutexes~0.offset);" "CountingPredicate [underlying: 7#$Ultimate##0true, annotation: [0, 0]]") }, internalTransitions = { ("CountingPredicate [underlying: 8#L673-1true, annotation: [0, 0]]" "assume -2147483648 <= #t~ret33#1 && #t~ret33#1 <= 2147483647;" "CountingPredicate [underlying: 41#L673-2true, annotation: [0, 0]]") ("CountingPredicate [underlying: 37#ldv_is_in_setFINALtrue, annotation: [0, 0]]" "assume true;" "CountingPredicate [underlying: 47#ldv_is_in_setEXITtrue, annotation: [0, 0]]") ("CountingPredicate [underlying: 16#L669-5true, annotation: [0, 0]]" "assume { :begin_inline_ldv_set_add } true;ldv_set_add_#in~new#1.base, ldv_set_add_#in~new#1.offset, ldv_set_add_#in~s#1.base, ldv_set_add_#in~s#1.offset := ~m#1.base, ~m#1.offset, ~#mutexes~0.base, ~#mutexes~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.base, ldv_set_add_~new#1.offset, ldv_set_add_~s#1.base, ldv_set_add_~s#1.offset;ldv_set_add_~new#1.base, ldv_set_add_~new#1.offset := ldv_set_add_#in~new#1.base, ldv_set_add_#in~new#1.offset;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: 18#L636true, annotation: [0, 0]]") ("CountingPredicate [underlying: 43#L646-4true, annotation: [0, 0]]" "assume !(ldv_set_del_~m~0#1.base != ldv_set_del_~s#1.base || 4 + ldv_set_del_~m~0#1.offset != ldv_set_del_~s#1.offset);" "CountingPredicate [underlying: 38#L643true, annotation: [0, 0]]") ("CountingPredicate [underlying: 43#L646-4true, annotation: [0, 0]]" "assume ldv_set_del_~m~0#1.base != ldv_set_del_~s#1.base || 4 + ldv_set_del_~m~0#1.offset != ldv_set_del_~s#1.offset;call ldv_set_del_#t~mem23#1.base, ldv_set_del_#t~mem23#1.offset := read~$Pointer$#1(ldv_set_del_~m~0#1.base, ldv_set_del_~m~0#1.offset, 4);" "CountingPredicate [underlying: 33#L647true, annotation: [0, 0]]") ("CountingPredicate [underlying: 43#L646-4true, annotation: [0, 0]]" "assume !true;" "CountingPredicate [underlying: 38#L643true, annotation: [0, 0]]") ("CountingPredicate [underlying: 36#L655-5true, annotation: [0, 0]]" "#res := 0;" "CountingPredicate [underlying: 37#ldv_is_in_setFINALtrue, annotation: [0, 0]]") ("CountingPredicate [underlying: 52#L565true, annotation: [0, 0]]" "assume 0 == assume_abort_if_not_~cond#1;assume false;" "CountingPredicate [underlying: 2#L564true, annotation: [0, 0]]") ("CountingPredicate [underlying: 52#L565true, annotation: [0, 0]]" "assume !(0 == assume_abort_if_not_~cond#1);" "CountingPredicate [underlying: 2#L564true, annotation: [0, 0]]") ("CountingPredicate [underlying: 41#L673-2true, annotation: [0, 0]]" "assume 0 == #t~ret33#1;havoc #t~ret33#1;" "CountingPredicate [underlying: 35#L673-3true, annotation: [0, 0]]") ("CountingPredicate [underlying: 41#L673-2true, annotation: [0, 0]]" "assume !(0 == #t~ret33#1);havoc #t~ret33#1;" "CountingPredicate [underlying: 22#L673-5true, annotation: [0, 0]]") ("CountingPredicate [underlying: 17#L669-2true, annotation: [0, 0]]" "assume 0 != #t~ret32#1;havoc #t~ret32#1;" "CountingPredicate [underlying: 49#L669-3true, annotation: [0, 0]]") ("CountingPredicate [underlying: 17#L669-2true, annotation: [0, 0]]" "assume !(0 != #t~ret32#1);havoc #t~ret32#1;" "CountingPredicate [underlying: 16#L669-5true, annotation: [0, 0]]") ("CountingPredicate [underlying: 34#L636-1true, annotation: [0, 0]]" "assume -2147483648 <= ldv_set_add_#t~ret17#1 && ldv_set_add_#t~ret17#1 <= 2147483647;" "CountingPredicate [underlying: 25#L636-2true, annotation: [0, 0]]") ("CountingPredicate [underlying: 35#L673-3true, annotation: [0, 0]]" "assume !false;" "CountingPredicate [underlying: 31#mutex_unlockErr0ASSERT_VIOLATIONERROR_FUNCTIONtrue, annotation: [0, 0]]") ("CountingPredicate [underlying: 35#L673-3true, annotation: [0, 0]]" "assume false;assume false;" "CountingPredicate [underlying: 22#L673-5true, annotation: [0, 0]]") ("CountingPredicate [underlying: 13#$Ultimate##0true, annotation: [0, 0]]" "~m#1.base, ~m#1.offset := #in~m#1.base, #in~m#1.offset;" "CountingPredicate [underlying: 19#L669true, annotation: [0, 0]]") ("CountingPredicate [underlying: 28#$Ultimate##0true, annotation: [0, 0]]" "~size#1 := #in~size#1;call #t~malloc5#1.base, #t~malloc5#1.offset := #Ultimate.allocOnHeap(~size#1 % 4294967296);~ptr~0#1.base, ~ptr~0#1.offset := #t~malloc5#1.base, #t~malloc5#1.offset;havoc #t~malloc5#1.base, #t~malloc5#1.offset;assume { :begin_inline_assume_abort_if_not } true;assume_abort_if_not_#in~cond#1 := (if ~ptr~0#1.base != 0 || ~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: 52#L565true, annotation: [0, 0]]") ("CountingPredicate [underlying: 55#L677-1true, annotation: [0, 0]]" "assume !false;" "CountingPredicate [underlying: 45#ULTIMATE.startErr0ASSERT_VIOLATIONERROR_FUNCTIONtrue, annotation: [0, 0]]") ("CountingPredicate [underlying: 55#L677-1true, annotation: [0, 0]]" "assume false;assume false;" "CountingPredicate [underlying: 54#L676true, annotation: [0, 0]]") ("CountingPredicate [underlying: 2#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;#res#1.base, #res#1.offset := ~ptr~0#1.base, ~ptr~0#1.offset;assume true;" "CountingPredicate [underlying: 30#ldv_successful_mallocEXITtrue, annotation: [0, 0]]") ("CountingPredicate [underlying: 44#L687true, annotation: [0, 0]]" "assume { :begin_inline_ldv_check_final_state } true;havoc ldv_check_final_state_#t~ret34#1;assume { :begin_inline_ldv_set_empty } true;ldv_set_empty_#in~s#1.base, ldv_set_empty_#in~s#1.offset := ~#mutexes~0.base, ~#mutexes~0.offset;havoc ldv_set_empty_#res#1;havoc ldv_set_empty_#t~ret31#1, ldv_set_empty_~s#1.base, ldv_set_empty_~s#1.offset;ldv_set_empty_~s#1.base, ldv_set_empty_~s#1.offset := ldv_set_empty_#in~s#1.base, ldv_set_empty_#in~s#1.offset;assume { :begin_inline_ldv_list_empty } true;ldv_list_empty_#in~head#1.base, ldv_list_empty_#in~head#1.offset := ldv_set_empty_~s#1.base, ldv_set_empty_~s#1.offset;havoc ldv_list_empty_#res#1;havoc ldv_list_empty_#t~mem10#1.base, ldv_list_empty_#t~mem10#1.offset, ldv_list_empty_~head#1.base, ldv_list_empty_~head#1.offset;ldv_list_empty_~head#1.base, ldv_list_empty_~head#1.offset := ldv_list_empty_#in~head#1.base, ldv_list_empty_#in~head#1.offset;call ldv_list_empty_#t~mem10#1.base, ldv_list_empty_#t~mem10#1.offset := read~$Pointer$#1(ldv_list_empty_~head#1.base, ldv_list_empty_~head#1.offset, 4);ldv_list_empty_#res#1 := (if ldv_list_empty_#t~mem10#1.base == ldv_list_empty_~head#1.base && ldv_list_empty_#t~mem10#1.offset == ldv_list_empty_~head#1.offset then 1 else 0);havoc ldv_list_empty_#t~mem10#1.base, ldv_list_empty_#t~mem10#1.offset;ldv_set_empty_#t~ret31#1 := ldv_list_empty_#res#1;havoc ldv_list_empty_#t~mem10#1.base, ldv_list_empty_#t~mem10#1.offset, ldv_list_empty_~head#1.base, ldv_list_empty_~head#1.offset;havoc ldv_list_empty_#in~head#1.base, ldv_list_empty_#in~head#1.offset;assume { :end_inline_ldv_list_empty } true;assume -2147483648 <= ldv_set_empty_#t~ret31#1 && ldv_set_empty_#t~ret31#1 <= 2147483647;ldv_set_empty_#res#1 := ldv_set_empty_#t~ret31#1;havoc ldv_set_empty_#t~ret31#1;ldv_check_final_state_#t~ret34#1 := ldv_set_empty_#res#1;havoc ldv_set_empty_#t~ret31#1, ldv_set_empty_~s#1.base, ldv_set_empty_~s#1.offset;havoc ldv_set_empty_#in~s#1.base, ldv_set_empty_#in~s#1.offset;assume { :end_inline_ldv_set_empty } true;assume -2147483648 <= ldv_check_final_state_#t~ret34#1 && ldv_check_final_state_#t~ret34#1 <= 2147483647;" "CountingPredicate [underlying: 9#L677true, annotation: [0, 0]]") ("CountingPredicate [underlying: 20#L682-1true, annotation: [0, 0]]" "foo_~m1~0#1.base, foo_~m1~0#1.offset := foo_#t~ret35#1.base, foo_#t~ret35#1.offset;havoc foo_#t~ret35#1.base, foo_#t~ret35#1.offset;" "CountingPredicate [underlying: 10#L683true, annotation: [0, 0]]") ("CountingPredicate [underlying: 32#$Ultimate##0true, annotation: [0, 0]]" "~m#1.base, ~m#1.offset := #in~m#1.base, #in~m#1.offset;" "CountingPredicate [underlying: 12#L673true, annotation: [0, 0]]") ("CountingPredicate [underlying: 56#L669-1true, annotation: [0, 0]]" "assume -2147483648 <= #t~ret32#1 && #t~ret32#1 <= 2147483647;" "CountingPredicate [underlying: 17#L669-2true, annotation: [0, 0]]") ("CountingPredicate [underlying: 50#L635true, 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.base, ldv_set_add_~new#1.offset, ldv_set_add_~s#1.base, ldv_set_add_~s#1.offset;havoc ldv_set_add_#in~new#1.base, ldv_set_add_#in~new#1.offset, ldv_set_add_#in~s#1.base, ldv_set_add_#in~s#1.offset;assume { :end_inline_ldv_set_add } true;assume true;" "CountingPredicate [underlying: 24#mutex_lockEXITtrue, annotation: [0, 0]]") ("CountingPredicate [underlying: 39#L683-1true, annotation: [0, 0]]" "foo_~m2~0#1.base, foo_~m2~0#1.offset := foo_#t~ret36#1.base, foo_#t~ret36#1.offset;havoc foo_#t~ret36#1.base, foo_#t~ret36#1.offset;" "CountingPredicate [underlying: 6#L684true, annotation: [0, 0]]") ("CountingPredicate [underlying: 15#L655-4true, annotation: [0, 0]]" "assume ~m~1.base != ~s.base || 4 + ~m~1.offset != ~s.offset;call #t~mem28.base, #t~mem28.offset := read~$Pointer$#1(~m~1.base, ~m~1.offset, 4);" "CountingPredicate [underlying: 21#L656true, annotation: [0, 0]]") ("CountingPredicate [underlying: 15#L655-4true, annotation: [0, 0]]" "assume !(~m~1.base != ~s.base || 4 + ~m~1.offset != ~s.offset);" "CountingPredicate [underlying: 36#L655-5true, annotation: [0, 0]]") ("CountingPredicate [underlying: 15#L655-4true, annotation: [0, 0]]" "assume !true;" "CountingPredicate [underlying: 36#L655-5true, annotation: [0, 0]]") ("CountingPredicate [underlying: 22#L673-5true, annotation: [0, 0]]" "assume { :begin_inline_ldv_set_del } true;ldv_set_del_#in~e#1.base, ldv_set_del_#in~e#1.offset, ldv_set_del_#in~s#1.base, ldv_set_del_#in~s#1.offset := ~m#1.base, ~m#1.offset, ~#mutexes~0.base, ~#mutexes~0.offset;havoc ldv_set_del_#t~mem19#1.base, ldv_set_del_#t~mem19#1.offset, ldv_set_del_#t~ret20#1.base, ldv_set_del_#t~ret20#1.offset, ldv_set_del_~__mptr~0#1.base, ldv_set_del_~__mptr~0#1.offset, ldv_set_del_#t~mem21#1.base, ldv_set_del_#t~mem21#1.offset, ldv_set_del_#t~ret22#1.base, ldv_set_del_#t~ret22#1.offset, ldv_set_del_~__mptr~1#1.base, ldv_set_del_~__mptr~1#1.offset, ldv_set_del_#t~mem23#1.base, ldv_set_del_#t~mem23#1.offset, ldv_set_del_#t~mem24#1.base, ldv_set_del_#t~mem24#1.offset, ldv_set_del_#t~ret25#1.base, ldv_set_del_#t~ret25#1.offset, ldv_set_del_~__mptr~2#1.base, ldv_set_del_~__mptr~2#1.offset, ldv_set_del_~e#1.base, ldv_set_del_~e#1.offset, ldv_set_del_~s#1.base, ldv_set_del_~s#1.offset, ldv_set_del_~m~0#1.base, ldv_set_del_~m~0#1.offset, ldv_set_del_~n~0#1.base, ldv_set_del_~n~0#1.offset;ldv_set_del_~e#1.base, ldv_set_del_~e#1.offset := ldv_set_del_#in~e#1.base, ldv_set_del_#in~e#1.offset;ldv_set_del_~s#1.base, ldv_set_del_~s#1.offset := ldv_set_del_#in~s#1.base, ldv_set_del_#in~s#1.offset;havoc ldv_set_del_~m~0#1.base, ldv_set_del_~m~0#1.offset;havoc ldv_set_del_~n~0#1.base, ldv_set_del_~n~0#1.offset;call ldv_set_del_#t~mem19#1.base, ldv_set_del_#t~mem19#1.offset := read~$Pointer$#1(ldv_set_del_~s#1.base, ldv_set_del_~s#1.offset, 4);ldv_set_del_~__mptr~0#1.base, ldv_set_del_~__mptr~0#1.offset := ldv_set_del_#t~mem19#1.base, ldv_set_del_#t~mem19#1.offset;havoc ldv_set_del_#t~mem19#1.base, ldv_set_del_#t~mem19#1.offset;ldv_set_del_#t~ret20#1.base, ldv_set_del_#t~ret20#1.offset := ldv_set_del_~__mptr~0#1.base, ldv_set_del_~__mptr~0#1.offset - 4;havoc ldv_set_del_~__mptr~0#1.base, ldv_set_del_~__mptr~0#1.offset;ldv_set_del_~m~0#1.base, ldv_set_del_~m~0#1.offset := ldv_set_del_#t~ret20#1.base, ldv_set_del_#t~ret20#1.offset;call ldv_set_del_#t~mem21#1.base, ldv_set_del_#t~mem21#1.offset := read~$Pointer$#1(ldv_set_del_~m~0#1.base, 4 + ldv_set_del_~m~0#1.offset, 4);ldv_set_del_~__mptr~1#1.base, ldv_set_del_~__mptr~1#1.offset := ldv_set_del_#t~mem21#1.base, ldv_set_del_#t~mem21#1.offset;havoc ldv_set_del_#t~mem21#1.base, ldv_set_del_#t~mem21#1.offset;ldv_set_del_#t~ret22#1.base, ldv_set_del_#t~ret22#1.offset := ldv_set_del_~__mptr~1#1.base, ldv_set_del_~__mptr~1#1.offset - 4;havoc ldv_set_del_~__mptr~1#1.base, ldv_set_del_~__mptr~1#1.offset;ldv_set_del_~n~0#1.base, ldv_set_del_~n~0#1.offset := ldv_set_del_#t~ret22#1.base, ldv_set_del_#t~ret22#1.offset;havoc ldv_set_del_#t~ret20#1.base, ldv_set_del_#t~ret20#1.offset;havoc ldv_set_del_#t~ret22#1.base, ldv_set_del_#t~ret22#1.offset;" "CountingPredicate [underlying: 43#L646-4true, annotation: [0, 0]]") ("CountingPredicate [underlying: 46#L638-1true, annotation: [0, 0]]" "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~$Pointer$#1(ldv_set_add_~new#1.base, ldv_set_add_~new#1.offset, 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: 27#L608true, annotation: [0, 0]]") ("CountingPredicate [underlying: 23#$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);~#mutexes~0.base, ~#mutexes~0.offset := 3, 0;call write~init~$Pointer$#1(~#mutexes~0.base, ~#mutexes~0.offset, ~#mutexes~0.base, ~#mutexes~0.offset, 4);call write~init~$Pointer$#1(~#mutexes~0.base, ~#mutexes~0.offset, ~#mutexes~0.base, 4 + ~#mutexes~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~ret35#1.base, foo_#t~ret35#1.offset, foo_#t~ret36#1.base, foo_#t~ret36#1.offset, foo_~m1~0#1.base, foo_~m1~0#1.offset, foo_~m2~0#1.base, foo_~m2~0#1.offset;assume { :begin_inline_ldv_initialize } true;assume { :end_inline_ldv_initialize } true;" "CountingPredicate [underlying: 5#L682true, annotation: [0, 0]]") ("CountingPredicate [underlying: 9#L677true, annotation: [0, 0]]" "assume 0 == ldv_check_final_state_#t~ret34#1;havoc ldv_check_final_state_#t~ret34#1;" "CountingPredicate [underlying: 55#L677-1true, annotation: [0, 0]]") ("CountingPredicate [underlying: 9#L677true, annotation: [0, 0]]" "assume !(0 == ldv_check_final_state_#t~ret34#1);havoc ldv_check_final_state_#t~ret34#1;" "CountingPredicate [underlying: 54#L676true, annotation: [0, 0]]") ("CountingPredicate [underlying: 38#L643true, annotation: [0, 0]]" "havoc ldv_set_del_#t~mem19#1.base, ldv_set_del_#t~mem19#1.offset, ldv_set_del_#t~ret20#1.base, ldv_set_del_#t~ret20#1.offset, ldv_set_del_~__mptr~0#1.base, ldv_set_del_~__mptr~0#1.offset, ldv_set_del_#t~mem21#1.base, ldv_set_del_#t~mem21#1.offset, ldv_set_del_#t~ret22#1.base, ldv_set_del_#t~ret22#1.offset, ldv_set_del_~__mptr~1#1.base, ldv_set_del_~__mptr~1#1.offset, ldv_set_del_#t~mem23#1.base, ldv_set_del_#t~mem23#1.offset, ldv_set_del_#t~mem24#1.base, ldv_set_del_#t~mem24#1.offset, ldv_set_del_#t~ret25#1.base, ldv_set_del_#t~ret25#1.offset, ldv_set_del_~__mptr~2#1.base, ldv_set_del_~__mptr~2#1.offset, ldv_set_del_~e#1.base, ldv_set_del_~e#1.offset, ldv_set_del_~s#1.base, ldv_set_del_~s#1.offset, ldv_set_del_~m~0#1.base, ldv_set_del_~m~0#1.offset, ldv_set_del_~n~0#1.base, ldv_set_del_~n~0#1.offset;havoc ldv_set_del_#in~e#1.base, ldv_set_del_#in~e#1.offset, ldv_set_del_#in~s#1.base, ldv_set_del_#in~s#1.offset;assume { :end_inline_ldv_set_del } true;assume true;" "CountingPredicate [underlying: 26#mutex_unlockEXITtrue, annotation: [0, 0]]") ("CountingPredicate [underlying: 40#L608-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: 50#L635true, annotation: [0, 0]]") ("CountingPredicate [underlying: 25#L636-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;" "CountingPredicate [underlying: 11#L638true, annotation: [0, 0]]") ("CountingPredicate [underlying: 25#L636-2true, annotation: [0, 0]]" "assume !(0 == ldv_set_add_#t~ret17#1);havoc ldv_set_add_#t~ret17#1;" "CountingPredicate [underlying: 50#L635true, annotation: [0, 0]]") ("CountingPredicate [underlying: 48#$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: 42#__ldv_list_addEXITtrue, annotation: [0, 0]]") ("CountingPredicate [underlying: 33#L647true, annotation: [0, 0]]" "assume ldv_set_del_#t~mem23#1.base == ldv_set_del_~e#1.base && ldv_set_del_#t~mem23#1.offset == ldv_set_del_~e#1.offset;havoc ldv_set_del_#t~mem23#1.base, ldv_set_del_#t~mem23#1.offset;assume { :begin_inline_ldv_list_del } true;ldv_list_del_#in~entry#1.base, ldv_list_del_#in~entry#1.offset := ldv_set_del_~m~0#1.base, 4 + ldv_set_del_~m~0#1.offset;havoc ldv_list_del_#t~mem8#1.base, ldv_list_del_#t~mem8#1.offset, ldv_list_del_#t~mem9#1.base, ldv_list_del_#t~mem9#1.offset, ldv_list_del_~entry#1.base, ldv_list_del_~entry#1.offset;ldv_list_del_~entry#1.base, ldv_list_del_~entry#1.offset := ldv_list_del_#in~entry#1.base, ldv_list_del_#in~entry#1.offset;call ldv_list_del_#t~mem8#1.base, ldv_list_del_#t~mem8#1.offset := read~$Pointer$#1(ldv_list_del_~entry#1.base, 4 + ldv_list_del_~entry#1.offset, 4);call ldv_list_del_#t~mem9#1.base, ldv_list_del_#t~mem9#1.offset := read~$Pointer$#1(ldv_list_del_~entry#1.base, ldv_list_del_~entry#1.offset, 4);assume { :begin_inline___ldv_list_del } true;__ldv_list_del_#in~prev#1.base, __ldv_list_del_#in~prev#1.offset, __ldv_list_del_#in~next#1.base, __ldv_list_del_#in~next#1.offset := ldv_list_del_#t~mem8#1.base, ldv_list_del_#t~mem8#1.offset, ldv_list_del_#t~mem9#1.base, ldv_list_del_#t~mem9#1.offset;havoc __ldv_list_del_~prev#1.base, __ldv_list_del_~prev#1.offset, __ldv_list_del_~next#1.base, __ldv_list_del_~next#1.offset;__ldv_list_del_~prev#1.base, __ldv_list_del_~prev#1.offset := __ldv_list_del_#in~prev#1.base, __ldv_list_del_#in~prev#1.offset;__ldv_list_del_~next#1.base, __ldv_list_del_~next#1.offset := __ldv_list_del_#in~next#1.base, __ldv_list_del_#in~next#1.offset;call write~$Pointer$#1(__ldv_list_del_~prev#1.base, __ldv_list_del_~prev#1.offset, __ldv_list_del_~next#1.base, 4 + __ldv_list_del_~next#1.offset, 4);call write~$Pointer$#1(__ldv_list_del_~next#1.base, __ldv_list_del_~next#1.offset, __ldv_list_del_~prev#1.base, __ldv_list_del_~prev#1.offset, 4);havoc __ldv_list_del_~prev#1.base, __ldv_list_del_~prev#1.offset, __ldv_list_del_~next#1.base, __ldv_list_del_~next#1.offset;havoc __ldv_list_del_#in~prev#1.base, __ldv_list_del_#in~prev#1.offset, __ldv_list_del_#in~next#1.base, __ldv_list_del_#in~next#1.offset;assume { :end_inline___ldv_list_del } true;havoc ldv_list_del_#t~mem8#1.base, ldv_list_del_#t~mem8#1.offset;havoc ldv_list_del_#t~mem9#1.base, ldv_list_del_#t~mem9#1.offset;havoc ldv_list_del_#t~mem8#1.base, ldv_list_del_#t~mem8#1.offset, ldv_list_del_#t~mem9#1.base, ldv_list_del_#t~mem9#1.offset, ldv_list_del_~entry#1.base, ldv_list_del_~entry#1.offset;havoc ldv_list_del_#in~entry#1.base, ldv_list_del_#in~entry#1.offset;assume { :end_inline_ldv_list_del } true;call ULTIMATE.dealloc(ldv_set_del_~m~0#1.base, ldv_set_del_~m~0#1.offset);" "CountingPredicate [underlying: 51#L646-3true, annotation: [0, 0]]") ("CountingPredicate [underlying: 33#L647true, annotation: [0, 0]]" "assume !(ldv_set_del_#t~mem23#1.base == ldv_set_del_~e#1.base && ldv_set_del_#t~mem23#1.offset == ldv_set_del_~e#1.offset);havoc ldv_set_del_#t~mem23#1.base, ldv_set_del_#t~mem23#1.offset;" "CountingPredicate [underlying: 51#L646-3true, annotation: [0, 0]]") ("CountingPredicate [underlying: 54#L676true, annotation: [0, 0]]" "havoc ldv_check_final_state_#t~ret34#1;assume { :end_inline_ldv_check_final_state } true;havoc foo_#t~ret35#1.base, foo_#t~ret35#1.offset, foo_#t~ret36#1.base, foo_#t~ret36#1.offset, foo_~m1~0#1.base, foo_~m1~0#1.offset, foo_~m2~0#1.base, foo_~m2~0#1.offset;assume { :end_inline_foo } true;main_#res#1 := 0;#t~ret37#1 := main_#res#1;assume { :end_inline_main } true;assume true;" "CountingPredicate [underlying: 4#ULTIMATE.startEXITtrue, annotation: [0, 0]]") ("CountingPredicate [underlying: 51#L646-3true, annotation: [0, 0]]" "ldv_set_del_~m~0#1.base, ldv_set_del_~m~0#1.offset := ldv_set_del_~n~0#1.base, ldv_set_del_~n~0#1.offset;call ldv_set_del_#t~mem24#1.base, ldv_set_del_#t~mem24#1.offset := read~$Pointer$#1(ldv_set_del_~n~0#1.base, 4 + ldv_set_del_~n~0#1.offset, 4);ldv_set_del_~__mptr~2#1.base, ldv_set_del_~__mptr~2#1.offset := ldv_set_del_#t~mem24#1.base, ldv_set_del_#t~mem24#1.offset;havoc ldv_set_del_#t~mem24#1.base, ldv_set_del_#t~mem24#1.offset;ldv_set_del_#t~ret25#1.base, ldv_set_del_#t~ret25#1.offset := ldv_set_del_~__mptr~2#1.base, ldv_set_del_~__mptr~2#1.offset - 4;havoc ldv_set_del_~__mptr~2#1.base, ldv_set_del_~__mptr~2#1.offset;ldv_set_del_~n~0#1.base, ldv_set_del_~n~0#1.offset := ldv_set_del_#t~ret25#1.base, ldv_set_del_#t~ret25#1.offset;havoc ldv_set_del_#t~ret25#1.base, ldv_set_del_#t~ret25#1.offset;" "CountingPredicate [underlying: 43#L646-4true, annotation: [0, 0]]") ("CountingPredicate [underlying: 49#L669-3true, annotation: [0, 0]]" "assume !false;" "CountingPredicate [underlying: 3#mutex_lockErr0ASSERT_VIOLATIONERROR_FUNCTIONtrue, annotation: [0, 0]]") ("CountingPredicate [underlying: 49#L669-3true, annotation: [0, 0]]" "assume false;assume false;" "CountingPredicate [underlying: 16#L669-5true, annotation: [0, 0]]") ("CountingPredicate [underlying: 7#$Ultimate##0true, annotation: [0, 0]]" "~e.base, ~e.offset := #in~e.base, #in~e.offset;~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: 15#L655-4true, annotation: [0, 0]]") ("CountingPredicate [underlying: 21#L656true, annotation: [0, 0]]" "assume !(#t~mem28.base == ~e.base && #t~mem28.offset == ~e.offset);havoc #t~mem28.base, #t~mem28.offset;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: 15#L655-4true, annotation: [0, 0]]") ("CountingPredicate [underlying: 21#L656true, annotation: [0, 0]]" "assume #t~mem28.base == ~e.base && #t~mem28.offset == ~e.offset;havoc #t~mem28.base, #t~mem28.offset;#res := 1;" "CountingPredicate [underlying: 37#ldv_is_in_setFINALtrue, annotation: [0, 0]]") }, returnTransitions = { ("CountingPredicate [underlying: 26#mutex_unlockEXITtrue, annotation: [0, 0]]" "CountingPredicate [underlying: 14#L685true, annotation: [0, 0]]" "#150#return;" "CountingPredicate [underlying: 53#L686true, annotation: [0, 0]]") ("CountingPredicate [underlying: 26#mutex_unlockEXITtrue, annotation: [0, 0]]" "CountingPredicate [underlying: 53#L686true, annotation: [0, 0]]" "#152#return;" "CountingPredicate [underlying: 44#L687true, annotation: [0, 0]]") ("CountingPredicate [underlying: 30#ldv_successful_mallocEXITtrue, annotation: [0, 0]]" "CountingPredicate [underlying: 5#L682true, annotation: [0, 0]]" "#142#return;" "CountingPredicate [underlying: 20#L682-1true, annotation: [0, 0]]") ("CountingPredicate [underlying: 30#ldv_successful_mallocEXITtrue, annotation: [0, 0]]" "CountingPredicate [underlying: 11#L638true, annotation: [0, 0]]" "#138#return;" "CountingPredicate [underlying: 46#L638-1true, annotation: [0, 0]]") ("CountingPredicate [underlying: 30#ldv_successful_mallocEXITtrue, annotation: [0, 0]]" "CountingPredicate [underlying: 10#L683true, annotation: [0, 0]]" "#144#return;" "CountingPredicate [underlying: 39#L683-1true, annotation: [0, 0]]") ("CountingPredicate [underlying: 24#mutex_lockEXITtrue, annotation: [0, 0]]" "CountingPredicate [underlying: 29#L684-1true, annotation: [0, 0]]" "#148#return;" "CountingPredicate [underlying: 14#L685true, annotation: [0, 0]]") ("CountingPredicate [underlying: 24#mutex_lockEXITtrue, annotation: [0, 0]]" "CountingPredicate [underlying: 6#L684true, annotation: [0, 0]]" "#146#return;" "CountingPredicate [underlying: 29#L684-1true, annotation: [0, 0]]") ("CountingPredicate [underlying: 42#__ldv_list_addEXITtrue, annotation: [0, 0]]" "CountingPredicate [underlying: 27#L608true, annotation: [0, 0]]" "#140#return;" "CountingPredicate [underlying: 40#L608-1true, annotation: [0, 0]]") ("CountingPredicate [underlying: 47#ldv_is_in_setEXITtrue, annotation: [0, 0]]" "CountingPredicate [underlying: 18#L636true, annotation: [0, 0]]" "#136#return;" "CountingPredicate [underlying: 34#L636-1true, annotation: [0, 0]]") ("CountingPredicate [underlying: 47#ldv_is_in_setEXITtrue, annotation: [0, 0]]" "CountingPredicate [underlying: 12#L673true, annotation: [0, 0]]" "#132#return;" "CountingPredicate [underlying: 8#L673-1true, annotation: [0, 0]]") ("CountingPredicate [underlying: 47#ldv_is_in_setEXITtrue, annotation: [0, 0]]" "CountingPredicate [underlying: 19#L669true, annotation: [0, 0]]" "#134#return;" "CountingPredicate [underlying: 56#L669-1true, annotation: [0, 0]]") } ); [2024-08-06 17:19:07,692 INFO L82 GeneralOperation]: Start removeDeadEnds. Operand has 55 states, 35 states have (on average 1.4) internal successors, (49), 38 states have internal predecessors, (49), 11 states have call successors, (11), 5 states have call predecessors, (11), 5 states have return successors, (11), 11 states have call predecessors, (11), 11 states have call successors, (11) [2024-08-06 17:19:07,711 INFO L88 GeneralOperation]: Finished removeDeadEnds. Reduced from 55 states to 0 states. [2024-08-06 17:19:07,730 INFO L356 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == AllErrorsAtOnce ======== [2024-08-06 17:19:07,737 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;@38733a76, mLbeIndependenceSettings=[IndependenceType=SEMANTIC, AbstractionType=NONE, UseConditional=false, UseSemiCommutativity=true, Solver=Z3, SolverTimeout=1000ms] [2024-08-06 17:19:07,737 INFO L358 AbstractCegarLoop]: Starting to check reachability of 3 error locations. [2024-08-06 17:19:07,739 INFO L276 IsEmpty]: Start isEmpty. Operand 0 states. [2024-08-06 17:19:07,739 INFO L282 IsEmpty]: Finished isEmpty. No accepting run. [2024-08-06 17:19:07,741 INFO L805 garLoopResultBuilder]: Registering result SAFE for location mutex_unlockErr0ASSERT_VIOLATIONERROR_FUNCTION (2 of 3 remaining) [2024-08-06 17:19:07,741 INFO L805 garLoopResultBuilder]: Registering result SAFE for location mutex_lockErr0ASSERT_VIOLATIONERROR_FUNCTION (1 of 3 remaining) [2024-08-06 17:19:07,741 INFO L805 garLoopResultBuilder]: Registering result SAFE for location ULTIMATE.startErr0ASSERT_VIOLATIONERROR_FUNCTION (0 of 3 remaining) [2024-08-06 17:19:07,744 INFO L445 BasicCegarLoop]: Path program histogram: [] [2024-08-06 17:19:07,747 INFO L196 ceAbstractionStarter]: Computing trace abstraction results [2024-08-06 17:19:07,752 INFO L201 PluginConnector]: Adding new model witness.yml de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction CFG 06.08 05:19:07 BoogieIcfgContainer [2024-08-06 17:19:07,752 INFO L131 PluginConnector]: ------------------------ END TraceAbstraction---------------------------- [2024-08-06 17:19:07,753 INFO L158 Benchmark]: Toolchain (without parser) took 1279.95ms. Allocated memory is still 169.9MB. Free memory was 92.4MB in the beginning and 77.9MB in the end (delta: 14.5MB). Peak memory consumption was 17.5MB. Max. memory is 16.1GB. [2024-08-06 17:19:07,753 INFO L158 Benchmark]: CDTParser took 0.16ms. Allocated memory is still 169.9MB. Free memory was 124.7MB in the beginning and 124.5MB in the end (delta: 160.9kB). There was no memory consumed. Max. memory is 16.1GB. [2024-08-06 17:19:07,753 INFO L158 Benchmark]: Witness Parser took 0.15ms. Allocated memory is still 169.9MB. Free memory is still 95.8MB. There was no memory consumed. Max. memory is 16.1GB. [2024-08-06 17:19:07,753 INFO L158 Benchmark]: CACSL2BoogieTranslator took 444.23ms. Allocated memory is still 169.9MB. Free memory was 92.2MB in the beginning and 128.2MB in the end (delta: -36.0MB). Peak memory consumption was 15.4MB. Max. memory is 16.1GB. [2024-08-06 17:19:07,754 INFO L158 Benchmark]: Boogie Procedure Inliner took 40.53ms. Allocated memory is still 169.9MB. Free memory was 128.2MB in the beginning and 126.1MB in the end (delta: 2.1MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. [2024-08-06 17:19:07,754 INFO L158 Benchmark]: Boogie Preprocessor took 83.66ms. Allocated memory is still 169.9MB. Free memory was 126.1MB in the beginning and 120.8MB in the end (delta: 5.2MB). Peak memory consumption was 4.2MB. Max. memory is 16.1GB. [2024-08-06 17:19:07,754 INFO L158 Benchmark]: RCFGBuilder took 539.93ms. Allocated memory is still 169.9MB. Free memory was 120.8MB in the beginning and 92.5MB in the end (delta: 28.3MB). Peak memory consumption was 29.4MB. Max. memory is 16.1GB. [2024-08-06 17:19:07,755 INFO L158 Benchmark]: TraceAbstraction took 164.75ms. Allocated memory is still 169.9MB. Free memory was 91.5MB in the beginning and 77.9MB in the end (delta: 13.6MB). Peak memory consumption was 14.7MB. Max. memory is 16.1GB. [2024-08-06 17:19:07,758 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.16ms. Allocated memory is still 169.9MB. Free memory was 124.7MB in the beginning and 124.5MB in the end (delta: 160.9kB). There was no memory consumed. Max. memory is 16.1GB. * Witness Parser took 0.15ms. Allocated memory is still 169.9MB. Free memory is still 95.8MB. There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 444.23ms. Allocated memory is still 169.9MB. Free memory was 92.2MB in the beginning and 128.2MB in the end (delta: -36.0MB). Peak memory consumption was 15.4MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 40.53ms. Allocated memory is still 169.9MB. Free memory was 128.2MB in the beginning and 126.1MB in the end (delta: 2.1MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. * Boogie Preprocessor took 83.66ms. Allocated memory is still 169.9MB. Free memory was 126.1MB in the beginning and 120.8MB in the end (delta: 5.2MB). Peak memory consumption was 4.2MB. Max. memory is 16.1GB. * RCFGBuilder took 539.93ms. Allocated memory is still 169.9MB. Free memory was 120.8MB in the beginning and 92.5MB in the end (delta: 28.3MB). Peak memory consumption was 29.4MB. Max. memory is 16.1GB. * TraceAbstraction took 164.75ms. Allocated memory is still 169.9MB. Free memory was 91.5MB in the beginning and 77.9MB in the end (delta: 13.6MB). Peak memory consumption was 14.7MB. 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: 673]: a call to reach_error is unreachable For all program executions holds that a call to reach_error is unreachable at this location - PositiveResult [Line: 669]: a call to reach_error is unreachable For all program executions holds that a call to reach_error is unreachable at this location - PositiveResult [Line: 677]: 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 6 procedures, 55 locations, 3 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 3 specifications checked. All of them hold RESULT: Ultimate proved your program to be correct! [2024-08-06 17:19:07,791 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