./Ultimate.py --spec ../../../trunk/examples/svcomp/properties/unreach-call.prp --file ../../../trunk/examples/svcomp/pthread-wmm/safe018_rmo.opt.i --full-output --witness-type correctness_witness --witnessparser.only.consider.loop.invariants false --validate ./goblint.2024-06-19_11-23-25.files/protection/safe018_rmo.opt.yml/witness.yml --architecture 32bit -------------------------------------------------------------------------------- Checking for ERROR reachability Using default analysis Version 2520d7ca Calling Ultimate with: /root/.sdkman/candidates/java/current/bin/java -Dosgi.configuration.area=/storage/repos/ultimate/releaseScripts/default/UGemCutter-linux/data/config -Xmx15G -Xms4m -jar /storage/repos/ultimate/releaseScripts/default/UGemCutter-linux/plugins/org.eclipse.equinox.launcher_1.5.800.v20200727-1323.jar -data @noDefault -ultimatedata /storage/repos/ultimate/releaseScripts/default/UGemCutter-linux/data -tc /storage/repos/ultimate/releaseScripts/default/UGemCutter-linux/config/GemCutterReachWitnessValidation.xml -i ../../../trunk/examples/svcomp/pthread-wmm/safe018_rmo.opt.i ./goblint.2024-06-19_11-23-25.files/protection/safe018_rmo.opt.yml/witness.yml -s /storage/repos/ultimate/releaseScripts/default/UGemCutter-linux/config/svcomp-Reach-32bit-GemCutter_Default.epf --cacsl2boogietranslator.entry.function main --traceabstraction.compute.hoare.annotation.of.negated.interpolant.automaton,.abstraction.and.cfg false --witnessparser.only.consider.loop.invariants false --- Real Ultimate output --- This is Ultimate 0.2.4-tmp.fs.goblint-validation-2520d7c-m [2024-07-17 12:35:54,411 INFO L188 SettingsManager]: Resetting all preferences to default values... [2024-07-17 12:35:54,445 INFO L114 SettingsManager]: Loading settings from /storage/repos/ultimate/releaseScripts/default/UGemCutter-linux/config/svcomp-Reach-32bit-GemCutter_Default.epf [2024-07-17 12:35:54,448 WARN L101 SettingsManager]: Preference file contains the following unknown settings: [2024-07-17 12:35:54,448 WARN L103 SettingsManager]: * de.uni_freiburg.informatik.ultimate.core.Log level for class [2024-07-17 12:35:54,462 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2024-07-17 12:35:54,462 INFO L151 SettingsManager]: Preferences of UltimateCore differ from their defaults: [2024-07-17 12:35:54,462 INFO L153 SettingsManager]: * Log level for class=de.uni_freiburg.informatik.ultimate.lib.smtlibutils.quantifier.QuantifierPusher=ERROR; [2024-07-17 12:35:54,463 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2024-07-17 12:35:54,463 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ONLY_FOR_SEQUENTIAL_PROGRAMS [2024-07-17 12:35:54,464 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2024-07-17 12:35:54,464 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2024-07-17 12:35:54,465 INFO L153 SettingsManager]: * Use SBE=true [2024-07-17 12:35:54,465 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2024-07-17 12:35:54,465 INFO L153 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2024-07-17 12:35:54,466 INFO L153 SettingsManager]: * sizeof long=4 [2024-07-17 12:35:54,466 INFO L153 SettingsManager]: * Overapproximate operations on floating types=true [2024-07-17 12:35:54,466 INFO L153 SettingsManager]: * sizeof POINTER=4 [2024-07-17 12:35:54,466 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2024-07-17 12:35:54,467 INFO L153 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2024-07-17 12:35:54,467 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2024-07-17 12:35:54,480 INFO L153 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2024-07-17 12:35:54,480 INFO L153 SettingsManager]: * Allow undefined functions=false [2024-07-17 12:35:54,481 INFO L153 SettingsManager]: * sizeof long double=12 [2024-07-17 12:35:54,481 INFO L153 SettingsManager]: * Check if freed pointer was valid=false [2024-07-17 12:35:54,481 INFO L153 SettingsManager]: * Use constant arrays=true [2024-07-17 12:35:54,482 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2024-07-17 12:35:54,482 INFO L153 SettingsManager]: * Size of a code block=SequenceOfStatements [2024-07-17 12:35:54,482 INFO L153 SettingsManager]: * Only consider context switches at boundaries of atomic blocks=true [2024-07-17 12:35:54,482 INFO L153 SettingsManager]: * SMT solver=External_DefaultMode [2024-07-17 12:35:54,482 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 [2024-07-17 12:35:54,483 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2024-07-17 12:35:54,483 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2024-07-17 12:35:54,483 INFO L153 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopHeads [2024-07-17 12:35:54,483 INFO L153 SettingsManager]: * Trace refinement strategy=CAMEL [2024-07-17 12:35:54,484 INFO L153 SettingsManager]: * DFS Order used in POR=LOOP_LOCKSTEP [2024-07-17 12:35:54,484 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2024-07-17 12:35:54,484 INFO L153 SettingsManager]: * Apply one-shot large block encoding in concurrent analysis=false [2024-07-17 12:35:54,484 INFO L153 SettingsManager]: * Automaton type used in concurrency analysis=PARTIAL_ORDER_FA [2024-07-17 12:35:54,484 INFO L153 SettingsManager]: * Compute Hoare Annotation of negated interpolant automaton, abstraction and CFG=true [2024-07-17 12:35:54,485 INFO L153 SettingsManager]: * CEGAR restart behaviour=ONE_CEGAR_PER_THREAD_INSTANCE [2024-07-17 12:35:54,485 INFO L153 SettingsManager]: * Partial Order Reduction in concurrent analysis=PERSISTENT_SLEEP_NEW_STATES_FIXEDORDER [2024-07-17 12:35:54,485 INFO L153 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode 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/UGemCutter-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 Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessparser: Only consider loop invariants -> false [2024-07-17 12:35:54,738 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2024-07-17 12:35:54,766 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2024-07-17 12:35:54,768 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2024-07-17 12:35:54,769 INFO L270 PluginConnector]: Initializing CDTParser... [2024-07-17 12:35:54,769 INFO L274 PluginConnector]: CDTParser initialized [2024-07-17 12:35:54,770 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /storage/repos/ultimate/releaseScripts/default/UGemCutter-linux/../../../trunk/examples/svcomp/pthread-wmm/safe018_rmo.opt.i [2024-07-17 12:35:56,000 INFO L533 CDTParser]: Created temporary CDT project at NULL [2024-07-17 12:35:56,213 INFO L384 CDTParser]: Found 1 translation units. [2024-07-17 12:35:56,214 INFO L180 CDTParser]: Scanning /storage/repos/ultimate/trunk/examples/svcomp/pthread-wmm/safe018_rmo.opt.i [2024-07-17 12:35:56,236 INFO L427 CDTParser]: About to delete temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UGemCutter-linux/data/ef8a826f8/4984ea84252a46228da32e3bcd8bdeba/FLAGd84d1c7b0 [2024-07-17 12:35:56,247 INFO L435 CDTParser]: Successfully deleted /storage/repos/ultimate/releaseScripts/default/UGemCutter-linux/data/ef8a826f8/4984ea84252a46228da32e3bcd8bdeba [2024-07-17 12:35:56,249 INFO L270 PluginConnector]: Initializing Witness Parser... [2024-07-17 12:35:56,250 INFO L274 PluginConnector]: Witness Parser initialized [2024-07-17 12:35:56,250 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /storage/repos/ultimate/releaseScripts/default/UGemCutter-linux/./goblint.2024-06-19_11-23-25.files/protection/safe018_rmo.opt.yml/witness.yml [2024-07-17 12:35:56,442 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2024-07-17 12:35:56,443 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2024-07-17 12:35:56,444 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2024-07-17 12:35:56,444 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2024-07-17 12:35:56,448 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2024-07-17 12:35:56,448 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 17.07 12:35:56" (1/2) ... [2024-07-17 12:35:56,451 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@6cde1d30 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 17.07 12:35:56, skipping insertion in model container [2024-07-17 12:35:56,451 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 17.07 12:35:56" (1/2) ... [2024-07-17 12:35:56,452 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.CACSL2BoogieTranslatorObserver@27da4652 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 17.07 12:35:56, skipping insertion in model container [2024-07-17 12:35:56,452 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "witness.yml de.uni_freiburg.informatik.ultimate.witnessparser CORRECTNESS_WITNESS 17.07 12:35:56" (2/2) ... [2024-07-17 12:35:56,453 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@6cde1d30 and model type witness.yml de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator CORRECTNESS_WITNESS 17.07 12:35:56, skipping insertion in model container [2024-07-17 12:35:56,453 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "witness.yml de.uni_freiburg.informatik.ultimate.witnessparser CORRECTNESS_WITNESS 17.07 12:35:56" (2/2) ... [2024-07-17 12:35:56,453 INFO L83 nessWitnessExtractor]: Extracting all invariants from correctness witness [2024-07-17 12:35:56,624 INFO L95 edCorrectnessWitness]: Found the following entries in the witness: [2024-07-17 12:35:56,625 INFO L97 edCorrectnessWitness]: Location invariant before [L854-L854] ((((((((((((((((((((((((((((((((((((! multithreaded || __unbuffered_p2_EAX$r_buff0_thd3 == (_Bool)0) && (! multithreaded || x$read_delayed == (_Bool)0)) && (! multithreaded || x$r_buff0_thd2 == (_Bool)0)) && (! multithreaded || (__unbuffered_p2_EAX$read_delayed_var == 0 || (__unbuffered_p2_EAX$read_delayed_var == & x && (*__unbuffered_p2_EAX$read_delayed_var == 0 || *__unbuffered_p2_EAX$read_delayed_var == 1))))) && (! multithreaded || x$r_buff0_thd1 == (_Bool)0)) && (! multithreaded || x$r_buff1_thd2 == (_Bool)0)) && (! multithreaded || __unbuffered_p2_EAX$w_buff0_used == (_Bool)0)) && (! multithreaded || (y == 0 || y == 1))) && (! multithreaded || __unbuffered_p2_EAX$r_buff0_thd1 == (_Bool)0)) && (! multithreaded || __unbuffered_p2_EAX$w_buff1_used == (_Bool)0)) && (! multithreaded || (__unbuffered_p0_EBX == 0 || __unbuffered_p0_EBX == 1))) && (! multithreaded || x$w_buff0_used == (_Bool)0)) && (! multithreaded || x$w_buff1_used == (_Bool)0)) && (! multithreaded || __unbuffered_p2_EAX$r_buff0_thd2 == (_Bool)0)) && (! multithreaded || __unbuffered_p2_EAX$r_buff1_thd0 == (_Bool)0)) && (! multithreaded || (__unbuffered_p0_EAX == 0 || __unbuffered_p0_EAX == 1))) && (! multithreaded || (x$mem_tmp == 0 || x$mem_tmp == 1))) && (! multithreaded || x$r_buff1_thd1 == (_Bool)0)) && (! multithreaded || x$read_delayed_var == 0)) && (! multithreaded || __unbuffered_p2_EAX$r_buff0_thd0 == (_Bool)0)) && (! multithreaded || 0 <= __unbuffered_cnt)) && (! multithreaded || __unbuffered_p2_EAX$r_buff1_thd2 == (_Bool)0)) && (! multithreaded || __unbuffered_p2_EAX$mem_tmp == 0)) && (! multithreaded || x$r_buff0_thd0 == (_Bool)0)) && (! multithreaded || (x == 0 || x == 1))) && (! multithreaded || x$flush_delayed == (_Bool)0)) && (! multithreaded || (__unbuffered_p2_EAX == 0 || __unbuffered_p2_EAX == 1))) && (! multithreaded || x$r_buff1_thd0 == (_Bool)0)) && (! multithreaded || __unbuffered_p2_EAX$flush_delayed == (_Bool)0)) && (! multithreaded || __unbuffered_p2_EAX$r_buff1_thd3 == (_Bool)0)) && (! multithreaded || x$w_buff1 == 0)) && (! multithreaded || __unbuffered_p2_EAX$w_buff0 == 0)) && (! multithreaded || __unbuffered_p2_EAX$w_buff1 == 0)) && (! multithreaded || __unbuffered_p2_EAX$r_buff1_thd1 == (_Bool)0)) && (! multithreaded || x$w_buff0 == 0)) && (! multithreaded || x$r_buff0_thd3 == (_Bool)0)) && (! multithreaded || x$r_buff1_thd3 == (_Bool)0) [2024-07-17 12:35:56,625 INFO L97 edCorrectnessWitness]: Location invariant before [L855-L855] ((((((((((((((((((((((((((((((((((((! multithreaded || __unbuffered_p2_EAX$r_buff0_thd3 == (_Bool)0) && (! multithreaded || x$read_delayed == (_Bool)0)) && (! multithreaded || x$r_buff0_thd2 == (_Bool)0)) && (! multithreaded || (__unbuffered_p2_EAX$read_delayed_var == 0 || (__unbuffered_p2_EAX$read_delayed_var == & x && (*__unbuffered_p2_EAX$read_delayed_var == 0 || *__unbuffered_p2_EAX$read_delayed_var == 1))))) && (! multithreaded || x$r_buff0_thd1 == (_Bool)0)) && (! multithreaded || x$r_buff1_thd2 == (_Bool)0)) && (! multithreaded || __unbuffered_p2_EAX$w_buff0_used == (_Bool)0)) && (! multithreaded || (y == 0 || y == 1))) && (! multithreaded || __unbuffered_p2_EAX$r_buff0_thd1 == (_Bool)0)) && (! multithreaded || __unbuffered_p2_EAX$w_buff1_used == (_Bool)0)) && (! multithreaded || (__unbuffered_p0_EBX == 0 || __unbuffered_p0_EBX == 1))) && (! multithreaded || x$w_buff0_used == (_Bool)0)) && (! multithreaded || x$w_buff1_used == (_Bool)0)) && (! multithreaded || __unbuffered_p2_EAX$r_buff0_thd2 == (_Bool)0)) && (! multithreaded || __unbuffered_p2_EAX$r_buff1_thd0 == (_Bool)0)) && (! multithreaded || (__unbuffered_p0_EAX == 0 || __unbuffered_p0_EAX == 1))) && (! multithreaded || (x$mem_tmp == 0 || x$mem_tmp == 1))) && (! multithreaded || x$r_buff1_thd1 == (_Bool)0)) && (! multithreaded || x$read_delayed_var == 0)) && (! multithreaded || __unbuffered_p2_EAX$r_buff0_thd0 == (_Bool)0)) && (! multithreaded || 0 <= __unbuffered_cnt)) && (! multithreaded || __unbuffered_p2_EAX$r_buff1_thd2 == (_Bool)0)) && (! multithreaded || __unbuffered_p2_EAX$mem_tmp == 0)) && (! multithreaded || x$r_buff0_thd0 == (_Bool)0)) && (! multithreaded || (x == 0 || x == 1))) && (! multithreaded || x$flush_delayed == (_Bool)0)) && (! multithreaded || (__unbuffered_p2_EAX == 0 || __unbuffered_p2_EAX == 1))) && (! multithreaded || x$r_buff1_thd0 == (_Bool)0)) && (! multithreaded || __unbuffered_p2_EAX$flush_delayed == (_Bool)0)) && (! multithreaded || __unbuffered_p2_EAX$r_buff1_thd3 == (_Bool)0)) && (! multithreaded || x$w_buff1 == 0)) && (! multithreaded || __unbuffered_p2_EAX$w_buff0 == 0)) && (! multithreaded || __unbuffered_p2_EAX$w_buff1 == 0)) && (! multithreaded || __unbuffered_p2_EAX$r_buff1_thd1 == (_Bool)0)) && (! multithreaded || x$w_buff0 == 0)) && (! multithreaded || x$r_buff0_thd3 == (_Bool)0)) && (! multithreaded || x$r_buff1_thd3 == (_Bool)0) [2024-07-17 12:35:56,626 INFO L97 edCorrectnessWitness]: Location invariant before [L852-L852] ((((((((((((((((((((((((((((((((((((! multithreaded || __unbuffered_p2_EAX$r_buff0_thd3 == (_Bool)0) && (! multithreaded || x$read_delayed == (_Bool)0)) && (! multithreaded || x$r_buff0_thd2 == (_Bool)0)) && (! multithreaded || (__unbuffered_p2_EAX$read_delayed_var == 0 || (__unbuffered_p2_EAX$read_delayed_var == & x && (*__unbuffered_p2_EAX$read_delayed_var == 0 || *__unbuffered_p2_EAX$read_delayed_var == 1))))) && (! multithreaded || x$r_buff0_thd1 == (_Bool)0)) && (! multithreaded || x$r_buff1_thd2 == (_Bool)0)) && (! multithreaded || __unbuffered_p2_EAX$w_buff0_used == (_Bool)0)) && (! multithreaded || (y == 0 || y == 1))) && (! multithreaded || __unbuffered_p2_EAX$r_buff0_thd1 == (_Bool)0)) && (! multithreaded || __unbuffered_p2_EAX$w_buff1_used == (_Bool)0)) && (! multithreaded || (__unbuffered_p0_EBX == 0 || __unbuffered_p0_EBX == 1))) && (! multithreaded || x$w_buff0_used == (_Bool)0)) && (! multithreaded || x$w_buff1_used == (_Bool)0)) && (! multithreaded || __unbuffered_p2_EAX$r_buff0_thd2 == (_Bool)0)) && (! multithreaded || __unbuffered_p2_EAX$r_buff1_thd0 == (_Bool)0)) && (! multithreaded || (__unbuffered_p0_EAX == 0 || __unbuffered_p0_EAX == 1))) && (! multithreaded || (x$mem_tmp == 0 || x$mem_tmp == 1))) && (! multithreaded || x$r_buff1_thd1 == (_Bool)0)) && (! multithreaded || x$read_delayed_var == 0)) && (! multithreaded || __unbuffered_p2_EAX$r_buff0_thd0 == (_Bool)0)) && (! multithreaded || 0 <= __unbuffered_cnt)) && (! multithreaded || __unbuffered_p2_EAX$r_buff1_thd2 == (_Bool)0)) && (! multithreaded || __unbuffered_p2_EAX$mem_tmp == 0)) && (! multithreaded || x$r_buff0_thd0 == (_Bool)0)) && (! multithreaded || (x == 0 || x == 1))) && (! multithreaded || x$flush_delayed == (_Bool)0)) && (! multithreaded || (__unbuffered_p2_EAX == 0 || __unbuffered_p2_EAX == 1))) && (! multithreaded || x$r_buff1_thd0 == (_Bool)0)) && (! multithreaded || __unbuffered_p2_EAX$flush_delayed == (_Bool)0)) && (! multithreaded || __unbuffered_p2_EAX$r_buff1_thd3 == (_Bool)0)) && (! multithreaded || x$w_buff1 == 0)) && (! multithreaded || __unbuffered_p2_EAX$w_buff0 == 0)) && (! multithreaded || __unbuffered_p2_EAX$w_buff1 == 0)) && (! multithreaded || __unbuffered_p2_EAX$r_buff1_thd1 == (_Bool)0)) && (! multithreaded || x$w_buff0 == 0)) && (! multithreaded || x$r_buff0_thd3 == (_Bool)0)) && (! multithreaded || x$r_buff1_thd3 == (_Bool)0) [2024-07-17 12:35:56,626 INFO L103 edCorrectnessWitness]: ghost_variable multithreaded = 0 [2024-07-17 12:35:56,626 INFO L106 edCorrectnessWitness]: ghost_update [L850-L850] multithreaded = 1; [2024-07-17 12:35:56,662 INFO L177 MainTranslator]: Built tables and reachable declarations [2024-07-17 12:35:56,795 WARN L247 ndardFunctionHandler]: Function reach_error is already implemented but we override the implementation for the call at /storage/repos/ultimate/trunk/examples/svcomp/pthread-wmm/safe018_rmo.opt.i[992,1005] [2024-07-17 12:35:56,948 INFO L207 PostProcessor]: Analyzing one entry point: main [2024-07-17 12:35:56,956 INFO L202 MainTranslator]: Completed pre-run Start Parsing Local [2024-07-17 12:35:56,987 WARN L247 ndardFunctionHandler]: Function reach_error is already implemented but we override the implementation for the call at /storage/repos/ultimate/trunk/examples/svcomp/pthread-wmm/safe018_rmo.opt.i[992,1005] Start Parsing Local Start Parsing Local Start Parsing Local Start Parsing Local [2024-07-17 12:35:57,102 INFO L207 PostProcessor]: Analyzing one entry point: main [2024-07-17 12:35:57,135 INFO L206 MainTranslator]: Completed translation [2024-07-17 12:35:57,136 INFO L201 PluginConnector]: Adding new model witness.yml de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator CORRECTNESS_WITNESS 17.07 12:35:57 WrapperNode [2024-07-17 12:35:57,136 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2024-07-17 12:35:57,137 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2024-07-17 12:35:57,137 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2024-07-17 12:35:57,137 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2024-07-17 12:35:57,144 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "witness.yml de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator CORRECTNESS_WITNESS 17.07 12:35:57" (1/1) ... [2024-07-17 12:35:57,168 ERROR L1136 TypeChecker]: ACSL: IdentifierExpression[__unbuffered_p2_EAX$read_delayed_var]: #t~mem30 already declared as local variable [2024-07-17 12:35:57,169 ERROR L1136 TypeChecker]: ACSL: IdentifierExpression[__unbuffered_p2_EAX$read_delayed_var]: #t~mem31 already declared as local variable [2024-07-17 12:35:57,169 ERROR L1136 TypeChecker]: ACSL: IdentifierExpression[x]: #t~mem32 already declared as local variable [2024-07-17 12:35:57,169 ERROR L1136 TypeChecker]: ACSL: IdentifierExpression[x]: #t~mem33 already declared as local variable [2024-07-17 12:35:57,169 ERROR L1136 TypeChecker]: ACSL: IdentifierExpression[__unbuffered_p2_EAX$read_delayed_var]: #t~mem37 already declared as local variable [2024-07-17 12:35:57,170 ERROR L1136 TypeChecker]: ACSL: IdentifierExpression[__unbuffered_p2_EAX$read_delayed_var]: #t~mem38 already declared as local variable [2024-07-17 12:35:57,170 ERROR L1136 TypeChecker]: ACSL: IdentifierExpression[x]: #t~mem39 already declared as local variable [2024-07-17 12:35:57,170 ERROR L1136 TypeChecker]: ACSL: IdentifierExpression[x]: #t~mem40 already declared as local variable [2024-07-17 12:35:57,170 ERROR L1136 TypeChecker]: ACSL: IdentifierExpression[__unbuffered_p2_EAX$read_delayed_var]: #t~mem42 already declared as local variable [2024-07-17 12:35:57,170 ERROR L1136 TypeChecker]: ACSL: IdentifierExpression[__unbuffered_p2_EAX$read_delayed_var]: #t~mem43 already declared as local variable [2024-07-17 12:35:57,170 ERROR L1136 TypeChecker]: ACSL: IdentifierExpression[x]: #t~mem44 already declared as local variable [2024-07-17 12:35:57,170 ERROR L1136 TypeChecker]: ACSL: IdentifierExpression[x]: #t~mem45 already declared as local variable [2024-07-17 12:35:57,172 INFO L184 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "witness.yml de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator CORRECTNESS_WITNESS 17.07 12:35:57" (1/1) ... [2024-07-17 12:35:57,173 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2024-07-17 12:35:57,173 INFO L186 ToolchainWalker]: Toolchain execution was canceled (user or tool) before executing de.uni_freiburg.informatik.ultimate.boogie.preprocessor [2024-07-17 12:35:57,175 INFO L158 Benchmark]: Toolchain (without parser) took 730.86ms. Allocated memory is still 172.0MB. Free memory was 101.0MB in the beginning and 95.4MB in the end (delta: 5.6MB). Peak memory consumption was 4.9MB. Max. memory is 16.1GB. [2024-07-17 12:35:57,175 INFO L158 Benchmark]: CDTParser took 0.16ms. Allocated memory is still 130.0MB. Free memory is still 100.7MB. There was no memory consumed. Max. memory is 16.1GB. [2024-07-17 12:35:57,175 INFO L158 Benchmark]: Witness Parser took 0.13ms. Allocated memory is still 172.0MB. Free memory is still 114.5MB. There was no memory consumed. Max. memory is 16.1GB. [2024-07-17 12:35:57,176 INFO L158 Benchmark]: CACSL2BoogieTranslator took 692.67ms. Allocated memory is still 172.0MB. Free memory was 100.7MB in the beginning and 97.3MB in the end (delta: 3.4MB). Peak memory consumption was 9.0MB. Max. memory is 16.1GB. [2024-07-17 12:35:57,176 INFO L158 Benchmark]: Boogie Procedure Inliner took 35.79ms. Allocated memory is still 172.0MB. Free memory was 97.3MB in the beginning and 95.4MB in the end (delta: 1.9MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. [2024-07-17 12:35:57,178 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 130.0MB. Free memory is still 100.7MB. There was no memory consumed. Max. memory is 16.1GB. * Witness Parser took 0.13ms. Allocated memory is still 172.0MB. Free memory is still 114.5MB. There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 692.67ms. Allocated memory is still 172.0MB. Free memory was 100.7MB in the beginning and 97.3MB in the end (delta: 3.4MB). Peak memory consumption was 9.0MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 35.79ms. Allocated memory is still 172.0MB. Free memory was 97.3MB in the beginning and 95.4MB in the end (delta: 1.9MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. * Results from de.uni_freiburg.informatik.ultimate.boogie.preprocessor: - TypeErrorResult [Line: 852]: Type Error #t~mem30 already declared as local variable - TypeErrorResult [Line: 852]: Type Error #t~mem31 already declared as local variable - TypeErrorResult [Line: 852]: Type Error #t~mem32 already declared as local variable - TypeErrorResult [Line: 852]: Type Error #t~mem33 already declared as local variable - TypeErrorResult [Line: 854]: Type Error #t~mem37 already declared as local variable - TypeErrorResult [Line: 854]: Type Error #t~mem38 already declared as local variable - TypeErrorResult [Line: 854]: Type Error #t~mem39 already declared as local variable - TypeErrorResult [Line: 854]: Type Error #t~mem40 already declared as local variable - TypeErrorResult [Line: 855]: Type Error #t~mem42 already declared as local variable - TypeErrorResult [Line: 855]: Type Error #t~mem43 already declared as local variable - TypeErrorResult [Line: 855]: Type Error #t~mem44 already declared as local variable - TypeErrorResult [Line: 855]: Type Error #t~mem45 already declared as local variable RESULT: Ultimate could not prove your program: Toolchain returned no result. Received shutdown request... --- End real Ultimate output --- Execution finished normally Using bit-precise analysis Retrying with bit-precise analysis ### Bit-precise run ### Calling Ultimate with: /root/.sdkman/candidates/java/current/bin/java -Dosgi.configuration.area=/storage/repos/ultimate/releaseScripts/default/UGemCutter-linux/data/config -Xmx15G -Xms4m -jar /storage/repos/ultimate/releaseScripts/default/UGemCutter-linux/plugins/org.eclipse.equinox.launcher_1.5.800.v20200727-1323.jar -data @noDefault -ultimatedata /storage/repos/ultimate/releaseScripts/default/UGemCutter-linux/data -tc /storage/repos/ultimate/releaseScripts/default/UGemCutter-linux/config/GemCutterReachWitnessValidation.xml -i ../../../trunk/examples/svcomp/pthread-wmm/safe018_rmo.opt.i ./goblint.2024-06-19_11-23-25.files/protection/safe018_rmo.opt.yml/witness.yml -s /storage/repos/ultimate/releaseScripts/default/UGemCutter-linux/config/svcomp-Reach-32bit-GemCutter_Bitvector.epf --cacsl2boogietranslator.entry.function main --traceabstraction.compute.hoare.annotation.of.negated.interpolant.automaton,.abstraction.and.cfg false --witnessparser.only.consider.loop.invariants false --- Real Ultimate output --- This is Ultimate 0.2.4-tmp.fs.goblint-validation-2520d7c-m [2024-07-17 12:35:59,091 INFO L188 SettingsManager]: Resetting all preferences to default values... [2024-07-17 12:35:59,168 INFO L114 SettingsManager]: Loading settings from /storage/repos/ultimate/releaseScripts/default/UGemCutter-linux/config/svcomp-Reach-32bit-GemCutter_Bitvector.epf [2024-07-17 12:35:59,172 WARN L101 SettingsManager]: Preference file contains the following unknown settings: [2024-07-17 12:35:59,173 WARN L103 SettingsManager]: * de.uni_freiburg.informatik.ultimate.core.Log level for class [2024-07-17 12:35:59,198 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2024-07-17 12:35:59,199 INFO L151 SettingsManager]: Preferences of UltimateCore differ from their defaults: [2024-07-17 12:35:59,199 INFO L153 SettingsManager]: * Log level for class=de.uni_freiburg.informatik.ultimate.lib.smtlibutils.quantifier.QuantifierPusher=ERROR; [2024-07-17 12:35:59,200 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2024-07-17 12:35:59,203 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ONLY_FOR_SEQUENTIAL_PROGRAMS [2024-07-17 12:35:59,204 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2024-07-17 12:35:59,204 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2024-07-17 12:35:59,204 INFO L153 SettingsManager]: * Use SBE=true [2024-07-17 12:35:59,206 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2024-07-17 12:35:59,206 INFO L153 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2024-07-17 12:35:59,206 INFO L153 SettingsManager]: * sizeof long=4 [2024-07-17 12:35:59,206 INFO L153 SettingsManager]: * sizeof POINTER=4 [2024-07-17 12:35:59,206 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2024-07-17 12:35:59,207 INFO L153 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2024-07-17 12:35:59,207 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2024-07-17 12:35:59,207 INFO L153 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2024-07-17 12:35:59,208 INFO L153 SettingsManager]: * Use bitvectors instead of ints=true [2024-07-17 12:35:59,208 INFO L153 SettingsManager]: * Allow undefined functions=false [2024-07-17 12:35:59,208 INFO L153 SettingsManager]: * Memory model=HoenickeLindenmann_4ByteResolution [2024-07-17 12:35:59,209 INFO L153 SettingsManager]: * sizeof long double=12 [2024-07-17 12:35:59,209 INFO L153 SettingsManager]: * Check if freed pointer was valid=false [2024-07-17 12:35:59,209 INFO L153 SettingsManager]: * Use constant arrays=true [2024-07-17 12:35:59,209 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2024-07-17 12:35:59,209 INFO L153 SettingsManager]: * Size of a code block=SequenceOfStatements [2024-07-17 12:35:59,210 INFO L153 SettingsManager]: * Only consider context switches at boundaries of atomic blocks=true [2024-07-17 12:35:59,210 INFO L153 SettingsManager]: * SMT solver=External_DefaultMode [2024-07-17 12:35:59,211 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 [2024-07-17 12:35:59,211 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2024-07-17 12:35:59,211 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2024-07-17 12:35:59,212 INFO L153 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopHeads [2024-07-17 12:35:59,212 INFO L153 SettingsManager]: * Trace refinement strategy=WOLF [2024-07-17 12:35:59,212 INFO L153 SettingsManager]: * DFS Order used in POR=LOOP_LOCKSTEP [2024-07-17 12:35:59,212 INFO L153 SettingsManager]: * Command for external solver=cvc4 --incremental --print-success --lang smt [2024-07-17 12:35:59,212 INFO L153 SettingsManager]: * Apply one-shot large block encoding in concurrent analysis=false [2024-07-17 12:35:59,213 INFO L153 SettingsManager]: * Automaton type used in concurrency analysis=PARTIAL_ORDER_FA [2024-07-17 12:35:59,213 INFO L153 SettingsManager]: * Compute Hoare Annotation of negated interpolant automaton, abstraction and CFG=true [2024-07-17 12:35:59,213 INFO L153 SettingsManager]: * CEGAR restart behaviour=ONE_CEGAR_PER_THREAD_INSTANCE [2024-07-17 12:35:59,214 INFO L153 SettingsManager]: * Partial Order Reduction in concurrent analysis=PERSISTENT_SLEEP_NEW_STATES_FIXEDORDER [2024-07-17 12:35:59,214 INFO L153 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode [2024-07-17 12:35:59,214 INFO L153 SettingsManager]: * Logic for external solver=AUFBV 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/UGemCutter-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 Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessparser: Only consider loop invariants -> false [2024-07-17 12:35:59,517 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2024-07-17 12:35:59,547 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2024-07-17 12:35:59,550 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2024-07-17 12:35:59,550 INFO L270 PluginConnector]: Initializing CDTParser... [2024-07-17 12:35:59,551 INFO L274 PluginConnector]: CDTParser initialized [2024-07-17 12:35:59,552 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /storage/repos/ultimate/releaseScripts/default/UGemCutter-linux/../../../trunk/examples/svcomp/pthread-wmm/safe018_rmo.opt.i [2024-07-17 12:36:00,966 INFO L533 CDTParser]: Created temporary CDT project at NULL [2024-07-17 12:36:01,158 INFO L384 CDTParser]: Found 1 translation units. [2024-07-17 12:36:01,158 INFO L180 CDTParser]: Scanning /storage/repos/ultimate/trunk/examples/svcomp/pthread-wmm/safe018_rmo.opt.i [2024-07-17 12:36:01,171 INFO L427 CDTParser]: About to delete temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UGemCutter-linux/data/6f6108a51/ad496892b8244256b63ec406bae0db4d/FLAG76fc7ff78 [2024-07-17 12:36:01,184 INFO L435 CDTParser]: Successfully deleted /storage/repos/ultimate/releaseScripts/default/UGemCutter-linux/data/6f6108a51/ad496892b8244256b63ec406bae0db4d [2024-07-17 12:36:01,186 INFO L270 PluginConnector]: Initializing Witness Parser... [2024-07-17 12:36:01,187 INFO L274 PluginConnector]: Witness Parser initialized [2024-07-17 12:36:01,187 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /storage/repos/ultimate/releaseScripts/default/UGemCutter-linux/./goblint.2024-06-19_11-23-25.files/protection/safe018_rmo.opt.yml/witness.yml [2024-07-17 12:36:01,389 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2024-07-17 12:36:01,390 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2024-07-17 12:36:01,391 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2024-07-17 12:36:01,391 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2024-07-17 12:36:01,395 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2024-07-17 12:36:01,395 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 17.07 12:36:01" (1/2) ... [2024-07-17 12:36:01,396 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@6233e56a and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 17.07 12:36:01, skipping insertion in model container [2024-07-17 12:36:01,396 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 17.07 12:36:01" (1/2) ... [2024-07-17 12:36:01,397 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.CACSL2BoogieTranslatorObserver@2015e974 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 17.07 12:36:01, skipping insertion in model container [2024-07-17 12:36:01,397 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "witness.yml de.uni_freiburg.informatik.ultimate.witnessparser CORRECTNESS_WITNESS 17.07 12:36:01" (2/2) ... [2024-07-17 12:36:01,398 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@6233e56a and model type witness.yml de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator CORRECTNESS_WITNESS 17.07 12:36:01, skipping insertion in model container [2024-07-17 12:36:01,398 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "witness.yml de.uni_freiburg.informatik.ultimate.witnessparser CORRECTNESS_WITNESS 17.07 12:36:01" (2/2) ... [2024-07-17 12:36:01,398 INFO L83 nessWitnessExtractor]: Extracting all invariants from correctness witness [2024-07-17 12:36:01,536 INFO L95 edCorrectnessWitness]: Found the following entries in the witness: [2024-07-17 12:36:01,537 INFO L97 edCorrectnessWitness]: Location invariant before [L854-L854] ((((((((((((((((((((((((((((((((((((! multithreaded || __unbuffered_p2_EAX$r_buff0_thd3 == (_Bool)0) && (! multithreaded || x$read_delayed == (_Bool)0)) && (! multithreaded || x$r_buff0_thd2 == (_Bool)0)) && (! multithreaded || (__unbuffered_p2_EAX$read_delayed_var == 0 || (__unbuffered_p2_EAX$read_delayed_var == & x && (*__unbuffered_p2_EAX$read_delayed_var == 0 || *__unbuffered_p2_EAX$read_delayed_var == 1))))) && (! multithreaded || x$r_buff0_thd1 == (_Bool)0)) && (! multithreaded || x$r_buff1_thd2 == (_Bool)0)) && (! multithreaded || __unbuffered_p2_EAX$w_buff0_used == (_Bool)0)) && (! multithreaded || (y == 0 || y == 1))) && (! multithreaded || __unbuffered_p2_EAX$r_buff0_thd1 == (_Bool)0)) && (! multithreaded || __unbuffered_p2_EAX$w_buff1_used == (_Bool)0)) && (! multithreaded || (__unbuffered_p0_EBX == 0 || __unbuffered_p0_EBX == 1))) && (! multithreaded || x$w_buff0_used == (_Bool)0)) && (! multithreaded || x$w_buff1_used == (_Bool)0)) && (! multithreaded || __unbuffered_p2_EAX$r_buff0_thd2 == (_Bool)0)) && (! multithreaded || __unbuffered_p2_EAX$r_buff1_thd0 == (_Bool)0)) && (! multithreaded || (__unbuffered_p0_EAX == 0 || __unbuffered_p0_EAX == 1))) && (! multithreaded || (x$mem_tmp == 0 || x$mem_tmp == 1))) && (! multithreaded || x$r_buff1_thd1 == (_Bool)0)) && (! multithreaded || x$read_delayed_var == 0)) && (! multithreaded || __unbuffered_p2_EAX$r_buff0_thd0 == (_Bool)0)) && (! multithreaded || 0 <= __unbuffered_cnt)) && (! multithreaded || __unbuffered_p2_EAX$r_buff1_thd2 == (_Bool)0)) && (! multithreaded || __unbuffered_p2_EAX$mem_tmp == 0)) && (! multithreaded || x$r_buff0_thd0 == (_Bool)0)) && (! multithreaded || (x == 0 || x == 1))) && (! multithreaded || x$flush_delayed == (_Bool)0)) && (! multithreaded || (__unbuffered_p2_EAX == 0 || __unbuffered_p2_EAX == 1))) && (! multithreaded || x$r_buff1_thd0 == (_Bool)0)) && (! multithreaded || __unbuffered_p2_EAX$flush_delayed == (_Bool)0)) && (! multithreaded || __unbuffered_p2_EAX$r_buff1_thd3 == (_Bool)0)) && (! multithreaded || x$w_buff1 == 0)) && (! multithreaded || __unbuffered_p2_EAX$w_buff0 == 0)) && (! multithreaded || __unbuffered_p2_EAX$w_buff1 == 0)) && (! multithreaded || __unbuffered_p2_EAX$r_buff1_thd1 == (_Bool)0)) && (! multithreaded || x$w_buff0 == 0)) && (! multithreaded || x$r_buff0_thd3 == (_Bool)0)) && (! multithreaded || x$r_buff1_thd3 == (_Bool)0) [2024-07-17 12:36:01,537 INFO L97 edCorrectnessWitness]: Location invariant before [L852-L852] ((((((((((((((((((((((((((((((((((((! multithreaded || __unbuffered_p2_EAX$r_buff0_thd3 == (_Bool)0) && (! multithreaded || x$read_delayed == (_Bool)0)) && (! multithreaded || x$r_buff0_thd2 == (_Bool)0)) && (! multithreaded || (__unbuffered_p2_EAX$read_delayed_var == 0 || (__unbuffered_p2_EAX$read_delayed_var == & x && (*__unbuffered_p2_EAX$read_delayed_var == 0 || *__unbuffered_p2_EAX$read_delayed_var == 1))))) && (! multithreaded || x$r_buff0_thd1 == (_Bool)0)) && (! multithreaded || x$r_buff1_thd2 == (_Bool)0)) && (! multithreaded || __unbuffered_p2_EAX$w_buff0_used == (_Bool)0)) && (! multithreaded || (y == 0 || y == 1))) && (! multithreaded || __unbuffered_p2_EAX$r_buff0_thd1 == (_Bool)0)) && (! multithreaded || __unbuffered_p2_EAX$w_buff1_used == (_Bool)0)) && (! multithreaded || (__unbuffered_p0_EBX == 0 || __unbuffered_p0_EBX == 1))) && (! multithreaded || x$w_buff0_used == (_Bool)0)) && (! multithreaded || x$w_buff1_used == (_Bool)0)) && (! multithreaded || __unbuffered_p2_EAX$r_buff0_thd2 == (_Bool)0)) && (! multithreaded || __unbuffered_p2_EAX$r_buff1_thd0 == (_Bool)0)) && (! multithreaded || (__unbuffered_p0_EAX == 0 || __unbuffered_p0_EAX == 1))) && (! multithreaded || (x$mem_tmp == 0 || x$mem_tmp == 1))) && (! multithreaded || x$r_buff1_thd1 == (_Bool)0)) && (! multithreaded || x$read_delayed_var == 0)) && (! multithreaded || __unbuffered_p2_EAX$r_buff0_thd0 == (_Bool)0)) && (! multithreaded || 0 <= __unbuffered_cnt)) && (! multithreaded || __unbuffered_p2_EAX$r_buff1_thd2 == (_Bool)0)) && (! multithreaded || __unbuffered_p2_EAX$mem_tmp == 0)) && (! multithreaded || x$r_buff0_thd0 == (_Bool)0)) && (! multithreaded || (x == 0 || x == 1))) && (! multithreaded || x$flush_delayed == (_Bool)0)) && (! multithreaded || (__unbuffered_p2_EAX == 0 || __unbuffered_p2_EAX == 1))) && (! multithreaded || x$r_buff1_thd0 == (_Bool)0)) && (! multithreaded || __unbuffered_p2_EAX$flush_delayed == (_Bool)0)) && (! multithreaded || __unbuffered_p2_EAX$r_buff1_thd3 == (_Bool)0)) && (! multithreaded || x$w_buff1 == 0)) && (! multithreaded || __unbuffered_p2_EAX$w_buff0 == 0)) && (! multithreaded || __unbuffered_p2_EAX$w_buff1 == 0)) && (! multithreaded || __unbuffered_p2_EAX$r_buff1_thd1 == (_Bool)0)) && (! multithreaded || x$w_buff0 == 0)) && (! multithreaded || x$r_buff0_thd3 == (_Bool)0)) && (! multithreaded || x$r_buff1_thd3 == (_Bool)0) [2024-07-17 12:36:01,537 INFO L97 edCorrectnessWitness]: Location invariant before [L855-L855] ((((((((((((((((((((((((((((((((((((! multithreaded || __unbuffered_p2_EAX$r_buff0_thd3 == (_Bool)0) && (! multithreaded || x$read_delayed == (_Bool)0)) && (! multithreaded || x$r_buff0_thd2 == (_Bool)0)) && (! multithreaded || (__unbuffered_p2_EAX$read_delayed_var == 0 || (__unbuffered_p2_EAX$read_delayed_var == & x && (*__unbuffered_p2_EAX$read_delayed_var == 0 || *__unbuffered_p2_EAX$read_delayed_var == 1))))) && (! multithreaded || x$r_buff0_thd1 == (_Bool)0)) && (! multithreaded || x$r_buff1_thd2 == (_Bool)0)) && (! multithreaded || __unbuffered_p2_EAX$w_buff0_used == (_Bool)0)) && (! multithreaded || (y == 0 || y == 1))) && (! multithreaded || __unbuffered_p2_EAX$r_buff0_thd1 == (_Bool)0)) && (! multithreaded || __unbuffered_p2_EAX$w_buff1_used == (_Bool)0)) && (! multithreaded || (__unbuffered_p0_EBX == 0 || __unbuffered_p0_EBX == 1))) && (! multithreaded || x$w_buff0_used == (_Bool)0)) && (! multithreaded || x$w_buff1_used == (_Bool)0)) && (! multithreaded || __unbuffered_p2_EAX$r_buff0_thd2 == (_Bool)0)) && (! multithreaded || __unbuffered_p2_EAX$r_buff1_thd0 == (_Bool)0)) && (! multithreaded || (__unbuffered_p0_EAX == 0 || __unbuffered_p0_EAX == 1))) && (! multithreaded || (x$mem_tmp == 0 || x$mem_tmp == 1))) && (! multithreaded || x$r_buff1_thd1 == (_Bool)0)) && (! multithreaded || x$read_delayed_var == 0)) && (! multithreaded || __unbuffered_p2_EAX$r_buff0_thd0 == (_Bool)0)) && (! multithreaded || 0 <= __unbuffered_cnt)) && (! multithreaded || __unbuffered_p2_EAX$r_buff1_thd2 == (_Bool)0)) && (! multithreaded || __unbuffered_p2_EAX$mem_tmp == 0)) && (! multithreaded || x$r_buff0_thd0 == (_Bool)0)) && (! multithreaded || (x == 0 || x == 1))) && (! multithreaded || x$flush_delayed == (_Bool)0)) && (! multithreaded || (__unbuffered_p2_EAX == 0 || __unbuffered_p2_EAX == 1))) && (! multithreaded || x$r_buff1_thd0 == (_Bool)0)) && (! multithreaded || __unbuffered_p2_EAX$flush_delayed == (_Bool)0)) && (! multithreaded || __unbuffered_p2_EAX$r_buff1_thd3 == (_Bool)0)) && (! multithreaded || x$w_buff1 == 0)) && (! multithreaded || __unbuffered_p2_EAX$w_buff0 == 0)) && (! multithreaded || __unbuffered_p2_EAX$w_buff1 == 0)) && (! multithreaded || __unbuffered_p2_EAX$r_buff1_thd1 == (_Bool)0)) && (! multithreaded || x$w_buff0 == 0)) && (! multithreaded || x$r_buff0_thd3 == (_Bool)0)) && (! multithreaded || x$r_buff1_thd3 == (_Bool)0) [2024-07-17 12:36:01,537 INFO L103 edCorrectnessWitness]: ghost_variable multithreaded = 0 [2024-07-17 12:36:01,537 INFO L106 edCorrectnessWitness]: ghost_update [L850-L850] multithreaded = 1; [2024-07-17 12:36:01,587 INFO L177 MainTranslator]: Built tables and reachable declarations [2024-07-17 12:36:01,742 WARN L247 ndardFunctionHandler]: Function reach_error is already implemented but we override the implementation for the call at /storage/repos/ultimate/trunk/examples/svcomp/pthread-wmm/safe018_rmo.opt.i[992,1005] [2024-07-17 12:36:01,926 INFO L207 PostProcessor]: Analyzing one entry point: main [2024-07-17 12:36:01,939 INFO L202 MainTranslator]: Completed pre-run Start Parsing Local [2024-07-17 12:36:01,972 WARN L247 ndardFunctionHandler]: Function reach_error is already implemented but we override the implementation for the call at /storage/repos/ultimate/trunk/examples/svcomp/pthread-wmm/safe018_rmo.opt.i[992,1005] Start Parsing Local Start Parsing Local Start Parsing Local Start Parsing Local [2024-07-17 12:36:02,074 INFO L207 PostProcessor]: Analyzing one entry point: main [2024-07-17 12:36:02,116 INFO L206 MainTranslator]: Completed translation [2024-07-17 12:36:02,117 INFO L201 PluginConnector]: Adding new model witness.yml de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator CORRECTNESS_WITNESS 17.07 12:36:02 WrapperNode [2024-07-17 12:36:02,117 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2024-07-17 12:36:02,118 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2024-07-17 12:36:02,118 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2024-07-17 12:36:02,118 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2024-07-17 12:36:02,124 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "witness.yml de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator CORRECTNESS_WITNESS 17.07 12:36:02" (1/1) ... [2024-07-17 12:36:02,148 ERROR L1136 TypeChecker]: ACSL: IdentifierExpression[__unbuffered_p2_EAX$read_delayed_var]: #t~mem30 already declared as local variable [2024-07-17 12:36:02,149 ERROR L1136 TypeChecker]: ACSL: IdentifierExpression[__unbuffered_p2_EAX$read_delayed_var]: #t~mem31 already declared as local variable [2024-07-17 12:36:02,149 ERROR L1136 TypeChecker]: ACSL: IdentifierExpression[x]: #t~mem32 already declared as local variable [2024-07-17 12:36:02,150 ERROR L1136 TypeChecker]: ACSL: IdentifierExpression[x]: #t~mem33 already declared as local variable [2024-07-17 12:36:02,150 ERROR L1136 TypeChecker]: ACSL: IdentifierExpression[__unbuffered_p2_EAX$read_delayed_var]: #t~mem37 already declared as local variable [2024-07-17 12:36:02,150 ERROR L1136 TypeChecker]: ACSL: IdentifierExpression[__unbuffered_p2_EAX$read_delayed_var]: #t~mem38 already declared as local variable [2024-07-17 12:36:02,150 ERROR L1136 TypeChecker]: ACSL: IdentifierExpression[x]: #t~mem39 already declared as local variable [2024-07-17 12:36:02,150 ERROR L1136 TypeChecker]: ACSL: IdentifierExpression[x]: #t~mem40 already declared as local variable [2024-07-17 12:36:02,150 ERROR L1136 TypeChecker]: ACSL: IdentifierExpression[__unbuffered_p2_EAX$read_delayed_var]: #t~mem42 already declared as local variable [2024-07-17 12:36:02,150 ERROR L1136 TypeChecker]: ACSL: IdentifierExpression[__unbuffered_p2_EAX$read_delayed_var]: #t~mem43 already declared as local variable [2024-07-17 12:36:02,151 ERROR L1136 TypeChecker]: ACSL: IdentifierExpression[x]: #t~mem44 already declared as local variable [2024-07-17 12:36:02,151 ERROR L1136 TypeChecker]: ACSL: IdentifierExpression[x]: #t~mem45 already declared as local variable [2024-07-17 12:36:02,153 INFO L184 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "witness.yml de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator CORRECTNESS_WITNESS 17.07 12:36:02" (1/1) ... [2024-07-17 12:36:02,153 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2024-07-17 12:36:02,153 INFO L186 ToolchainWalker]: Toolchain execution was canceled (user or tool) before executing de.uni_freiburg.informatik.ultimate.boogie.preprocessor [2024-07-17 12:36:02,155 INFO L158 Benchmark]: Toolchain (without parser) took 763.84ms. Allocated memory is still 94.4MB. Free memory was 66.0MB in the beginning and 42.2MB in the end (delta: 23.8MB). Peak memory consumption was 24.7MB. Max. memory is 16.1GB. [2024-07-17 12:36:02,155 INFO L158 Benchmark]: CDTParser took 0.16ms. Allocated memory is still 60.8MB. Free memory was 36.0MB in the beginning and 35.9MB in the end (delta: 73.4kB). There was no memory consumed. Max. memory is 16.1GB. [2024-07-17 12:36:02,156 INFO L158 Benchmark]: Witness Parser took 0.12ms. Allocated memory is still 60.8MB. Free memory is still 31.0MB. There was no memory consumed. Max. memory is 16.1GB. [2024-07-17 12:36:02,156 INFO L158 Benchmark]: CACSL2BoogieTranslator took 726.07ms. Allocated memory is still 94.4MB. Free memory was 66.0MB in the beginning and 44.3MB in the end (delta: 21.7MB). Peak memory consumption was 24.7MB. Max. memory is 16.1GB. [2024-07-17 12:36:02,157 INFO L158 Benchmark]: Boogie Procedure Inliner took 35.59ms. Allocated memory is still 94.4MB. Free memory was 44.3MB in the beginning and 42.2MB in the end (delta: 2.1MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. [2024-07-17 12:36:02,159 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 60.8MB. Free memory was 36.0MB in the beginning and 35.9MB in the end (delta: 73.4kB). There was no memory consumed. Max. memory is 16.1GB. * Witness Parser took 0.12ms. Allocated memory is still 60.8MB. Free memory is still 31.0MB. There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 726.07ms. Allocated memory is still 94.4MB. Free memory was 66.0MB in the beginning and 44.3MB in the end (delta: 21.7MB). Peak memory consumption was 24.7MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 35.59ms. Allocated memory is still 94.4MB. Free memory was 44.3MB in the beginning and 42.2MB in the end (delta: 2.1MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. * Results from de.uni_freiburg.informatik.ultimate.boogie.preprocessor: - TypeErrorResult [Line: 852]: Type Error #t~mem30 already declared as local variable - TypeErrorResult [Line: 852]: Type Error #t~mem31 already declared as local variable - TypeErrorResult [Line: 852]: Type Error #t~mem32 already declared as local variable - TypeErrorResult [Line: 852]: Type Error #t~mem33 already declared as local variable - TypeErrorResult [Line: 854]: Type Error #t~mem37 already declared as local variable - TypeErrorResult [Line: 854]: Type Error #t~mem38 already declared as local variable - TypeErrorResult [Line: 854]: Type Error #t~mem39 already declared as local variable - TypeErrorResult [Line: 854]: Type Error #t~mem40 already declared as local variable - TypeErrorResult [Line: 855]: Type Error #t~mem42 already declared as local variable - TypeErrorResult [Line: 855]: Type Error #t~mem43 already declared as local variable - TypeErrorResult [Line: 855]: Type Error #t~mem44 already declared as local variable - TypeErrorResult [Line: 855]: Type Error #t~mem45 already declared as local variable RESULT: Ultimate could not prove your program: Toolchain returned no result. Received shutdown request... --- End real Ultimate output --- Execution finished normally Writing output log to file Ultimate.log Result: ERROR: TYPE ERROR