./Ultimate.py --spec ../../../trunk/examples/svcomp/properties/unreach-call.prp --file ../../../trunk/examples/svcomp/pthread-atomic/read_write_lock-1-pthread.i --full-output --witness-type correctness_witness --witnessparser.only.consider.loop.invariants false --cacsl2boogietranslator.check.unreachability.of.reach_error.function false --validate ./goblint.2024-05-21_14-57-05.files/mutex-meet/read_write_lock-1-pthread.yml/witness.yml --architecture 32bit -------------------------------------------------------------------------------- Checking for ERROR reachability Using default analysis Version 76401ed0 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/pthread-atomic/read_write_lock-1-pthread.i ./goblint.2024-05-21_14-57-05.files/mutex-meet/read_write_lock-1-pthread.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 --witnessparser.only.consider.loop.invariants false --cacsl2boogietranslator.check.unreachability.of.reach_error.function false --- Real Ultimate output --- This is Ultimate 0.2.4-tmp.fs.goblint-validation-76401ed-m [2024-06-20 17:44:55,531 INFO L188 SettingsManager]: Resetting all preferences to default values... [2024-06-20 17:44:55,621 INFO L114 SettingsManager]: Loading settings from /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/config/svcomp-Reach-32bit-Automizer_Default.epf [2024-06-20 17:44:55,627 WARN L101 SettingsManager]: Preference file contains the following unknown settings: [2024-06-20 17:44:55,628 WARN L103 SettingsManager]: * de.uni_freiburg.informatik.ultimate.core.Log level for class [2024-06-20 17:44:55,675 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2024-06-20 17:44:55,680 INFO L151 SettingsManager]: Preferences of UltimateCore differ from their defaults: [2024-06-20 17:44:55,680 INFO L153 SettingsManager]: * Log level for class=de.uni_freiburg.informatik.ultimate.lib.smtlibutils.quantifier.QuantifierPusher=ERROR; [2024-06-20 17:44:55,681 INFO L151 SettingsManager]: Preferences of Boogie Preprocessor differ from their defaults: [2024-06-20 17:44:55,685 INFO L153 SettingsManager]: * Use memory slicer=true [2024-06-20 17:44:55,685 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2024-06-20 17:44:55,685 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ONLY_FOR_SEQUENTIAL_PROGRAMS [2024-06-20 17:44:55,686 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2024-06-20 17:44:55,688 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2024-06-20 17:44:55,688 INFO L153 SettingsManager]: * Use SBE=true [2024-06-20 17:44:55,688 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2024-06-20 17:44:55,689 INFO L153 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2024-06-20 17:44:55,689 INFO L153 SettingsManager]: * sizeof long=4 [2024-06-20 17:44:55,689 INFO L153 SettingsManager]: * Overapproximate operations on floating types=true [2024-06-20 17:44:55,689 INFO L153 SettingsManager]: * sizeof POINTER=4 [2024-06-20 17:44:55,690 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2024-06-20 17:44:55,690 INFO L153 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2024-06-20 17:44:55,690 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2024-06-20 17:44:55,691 INFO L153 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2024-06-20 17:44:55,691 INFO L153 SettingsManager]: * Allow undefined functions=false [2024-06-20 17:44:55,691 INFO L153 SettingsManager]: * sizeof long double=12 [2024-06-20 17:44:55,691 INFO L153 SettingsManager]: * Check if freed pointer was valid=false [2024-06-20 17:44:55,692 INFO L153 SettingsManager]: * Use constant arrays=true [2024-06-20 17:44:55,692 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2024-06-20 17:44:55,693 INFO L153 SettingsManager]: * Size of a code block=SequenceOfStatements [2024-06-20 17:44:55,694 INFO L153 SettingsManager]: * Only consider context switches at boundaries of atomic blocks=true [2024-06-20 17:44:55,694 INFO L153 SettingsManager]: * SMT solver=External_DefaultMode [2024-06-20 17:44:55,694 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 [2024-06-20 17:44:55,694 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2024-06-20 17:44:55,695 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2024-06-20 17:44:55,695 INFO L153 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopHeads [2024-06-20 17:44:55,695 INFO L153 SettingsManager]: * Trace refinement strategy=CAMEL [2024-06-20 17:44:55,695 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2024-06-20 17:44:55,696 INFO L153 SettingsManager]: * Apply one-shot large block encoding in concurrent analysis=false [2024-06-20 17:44:55,696 INFO L153 SettingsManager]: * Automaton type used in concurrency analysis=PETRI_NET [2024-06-20 17:44:55,696 INFO L153 SettingsManager]: * Compute Hoare Annotation of negated interpolant automaton, abstraction and CFG=true [2024-06-20 17:44:55,696 INFO L153 SettingsManager]: * Order on configurations for Petri net unfoldings=DBO [2024-06-20 17:44:55,697 INFO L153 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode [2024-06-20 17:44:55,697 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 Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessparser: Only consider loop invariants -> false Applying setting for plugin de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator: Check unreachability of reach_error function -> false [2024-06-20 17:44:55,968 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2024-06-20 17:44:55,999 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2024-06-20 17:44:56,001 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2024-06-20 17:44:56,002 INFO L270 PluginConnector]: Initializing CDTParser... [2024-06-20 17:44:56,003 INFO L274 PluginConnector]: CDTParser initialized [2024-06-20 17:44:56,004 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/../../../trunk/examples/svcomp/pthread-atomic/read_write_lock-1-pthread.i [2024-06-20 17:44:57,252 INFO L533 CDTParser]: Created temporary CDT project at NULL [2024-06-20 17:44:57,455 INFO L384 CDTParser]: Found 1 translation units. [2024-06-20 17:44:57,455 INFO L180 CDTParser]: Scanning /storage/repos/ultimate/trunk/examples/svcomp/pthread-atomic/read_write_lock-1-pthread.i [2024-06-20 17:44:57,468 INFO L427 CDTParser]: About to delete temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/510160c9a/3fd43ed257db4f349b77fd367e43dd25/FLAG4ea2ab386 [2024-06-20 17:44:57,482 INFO L435 CDTParser]: Successfully deleted /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/510160c9a/3fd43ed257db4f349b77fd367e43dd25 [2024-06-20 17:44:57,484 INFO L270 PluginConnector]: Initializing Witness Parser... [2024-06-20 17:44:57,488 INFO L274 PluginConnector]: Witness Parser initialized [2024-06-20 17:44:57,491 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/./goblint.2024-05-21_14-57-05.files/mutex-meet/read_write_lock-1-pthread.yml/witness.yml [2024-06-20 17:44:57,647 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2024-06-20 17:44:57,648 INFO L133 ToolchainWalker]: Walking toolchain with 5 elements. [2024-06-20 17:44:57,649 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2024-06-20 17:44:57,649 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2024-06-20 17:44:57,655 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2024-06-20 17:44:57,656 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 20.06 05:44:57" (1/2) ... [2024-06-20 17:44:57,657 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@7d55cbf1 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 20.06 05:44:57, skipping insertion in model container [2024-06-20 17:44:57,657 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 20.06 05:44:57" (1/2) ... [2024-06-20 17:44:57,659 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.CACSL2BoogieTranslatorObserver@1aac4585 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 20.06 05:44:57, skipping insertion in model container [2024-06-20 17:44:57,660 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "witness.yml de.uni_freiburg.informatik.ultimate.witnessparser CORRECTNESS_WITNESS 20.06 05:44:57" (2/2) ... [2024-06-20 17:44:57,660 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@7d55cbf1 and model type witness.yml de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator CORRECTNESS_WITNESS 20.06 05:44:57, skipping insertion in model container [2024-06-20 17:44:57,660 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "witness.yml de.uni_freiburg.informatik.ultimate.witnessparser CORRECTNESS_WITNESS 20.06 05:44:57" (2/2) ... [2024-06-20 17:44:57,660 INFO L83 nessWitnessExtractor]: Extracting all invariants from correctness witness [2024-06-20 17:44:57,710 INFO L95 edCorrectnessWitness]: Found the following entries in the witness: [2024-06-20 17:44:57,712 INFO L97 edCorrectnessWitness]: Location invariant before [L717-L717] ((((! multithreaded || ((((((((((rwlock.__data.__cur_writer == 0 && rwlock.__data.__flags == (unsigned char)0) && rwlock.__data.__pad2 == (unsigned char)0) && rwlock.__data.__pad3 == 0U) && rwlock.__data.__pad4 == 0U) && rwlock.__data.__readers == 0U) && rwlock.__data.__rwelision == (signed char)0) && rwlock.__data.__shared == (unsigned char)0) && rwlock.__data.__writers == 0U) && rwlock.__data.__writers_futex == 0U) && rwlock.__data.__wrphase_futex == 0U)) && (! multithreaded || ((((0 <= y && y <= 3) && y <= 127) && y % 3 == 0) && (y == 0 || y == 3)))) && (! multithreaded || (rwlock_locked || (((((((((((((((0 <= x && x <= 3) && x <= 127) && rwlock.__data.__cur_writer == 0) && rwlock.__data.__flags == (unsigned char)0) && rwlock.__data.__pad2 == (unsigned char)0) && rwlock.__data.__pad3 == 0U) && rwlock.__data.__pad4 == 0U) && rwlock.__data.__readers == 0U) && rwlock.__data.__rwelision == (signed char)0) && rwlock.__data.__shared == (unsigned char)0) && rwlock.__data.__writers == 0U) && rwlock.__data.__writers_futex == 0U) && rwlock.__data.__wrphase_futex == 0U) && x % 3 == 0) && (x == 0 || x == 3))))) && (! multithreaded || (((((((((((((((0 <= y && y <= 3) && y <= 127) && rwlock.__data.__cur_writer == 0) && rwlock.__data.__flags == (unsigned char)0) && rwlock.__data.__pad2 == (unsigned char)0) && rwlock.__data.__pad3 == 0U) && rwlock.__data.__pad4 == 0U) && rwlock.__data.__readers == 0U) && rwlock.__data.__rwelision == (signed char)0) && rwlock.__data.__shared == (unsigned char)0) && rwlock.__data.__writers == 0U) && rwlock.__data.__writers_futex == 0U) && rwlock.__data.__wrphase_futex == 0U) && y % 3 == 0) && (y == 0 || y == 3)))) && (! multithreaded || ((((0 <= x && x <= 3) && x <= 127) && x % 3 == 0) && (x == 0 || x == 3))) [2024-06-20 17:44:57,712 INFO L97 edCorrectnessWitness]: Location invariant before [L720-L720] ((((! multithreaded || ((((((((((rwlock.__data.__cur_writer == 0 && rwlock.__data.__flags == (unsigned char)0) && rwlock.__data.__pad2 == (unsigned char)0) && rwlock.__data.__pad3 == 0U) && rwlock.__data.__pad4 == 0U) && rwlock.__data.__readers == 0U) && rwlock.__data.__rwelision == (signed char)0) && rwlock.__data.__shared == (unsigned char)0) && rwlock.__data.__writers == 0U) && rwlock.__data.__writers_futex == 0U) && rwlock.__data.__wrphase_futex == 0U)) && (! multithreaded || ((((0 <= y && y <= 3) && y <= 127) && y % 3 == 0) && (y == 0 || y == 3)))) && (! multithreaded || (rwlock_locked || (((((((((((((((0 <= x && x <= 3) && x <= 127) && rwlock.__data.__cur_writer == 0) && rwlock.__data.__flags == (unsigned char)0) && rwlock.__data.__pad2 == (unsigned char)0) && rwlock.__data.__pad3 == 0U) && rwlock.__data.__pad4 == 0U) && rwlock.__data.__readers == 0U) && rwlock.__data.__rwelision == (signed char)0) && rwlock.__data.__shared == (unsigned char)0) && rwlock.__data.__writers == 0U) && rwlock.__data.__writers_futex == 0U) && rwlock.__data.__wrphase_futex == 0U) && x % 3 == 0) && (x == 0 || x == 3))))) && (! multithreaded || (((((((((((((((0 <= y && y <= 3) && y <= 127) && rwlock.__data.__cur_writer == 0) && rwlock.__data.__flags == (unsigned char)0) && rwlock.__data.__pad2 == (unsigned char)0) && rwlock.__data.__pad3 == 0U) && rwlock.__data.__pad4 == 0U) && rwlock.__data.__readers == 0U) && rwlock.__data.__rwelision == (signed char)0) && rwlock.__data.__shared == (unsigned char)0) && rwlock.__data.__writers == 0U) && rwlock.__data.__writers_futex == 0U) && rwlock.__data.__wrphase_futex == 0U) && y % 3 == 0) && (y == 0 || y == 3)))) && (! multithreaded || ((((0 <= x && x <= 3) && x <= 127) && x % 3 == 0) && (x == 0 || x == 3))) [2024-06-20 17:44:57,712 INFO L97 edCorrectnessWitness]: Location invariant before [L718-L718] ((((! multithreaded || ((((((((((rwlock.__data.__cur_writer == 0 && rwlock.__data.__flags == (unsigned char)0) && rwlock.__data.__pad2 == (unsigned char)0) && rwlock.__data.__pad3 == 0U) && rwlock.__data.__pad4 == 0U) && rwlock.__data.__readers == 0U) && rwlock.__data.__rwelision == (signed char)0) && rwlock.__data.__shared == (unsigned char)0) && rwlock.__data.__writers == 0U) && rwlock.__data.__writers_futex == 0U) && rwlock.__data.__wrphase_futex == 0U)) && (! multithreaded || ((((0 <= y && y <= 3) && y <= 127) && y % 3 == 0) && (y == 0 || y == 3)))) && (! multithreaded || (rwlock_locked || (((((((((((((((0 <= x && x <= 3) && x <= 127) && rwlock.__data.__cur_writer == 0) && rwlock.__data.__flags == (unsigned char)0) && rwlock.__data.__pad2 == (unsigned char)0) && rwlock.__data.__pad3 == 0U) && rwlock.__data.__pad4 == 0U) && rwlock.__data.__readers == 0U) && rwlock.__data.__rwelision == (signed char)0) && rwlock.__data.__shared == (unsigned char)0) && rwlock.__data.__writers == 0U) && rwlock.__data.__writers_futex == 0U) && rwlock.__data.__wrphase_futex == 0U) && x % 3 == 0) && (x == 0 || x == 3))))) && (! multithreaded || (((((((((((((((0 <= y && y <= 3) && y <= 127) && rwlock.__data.__cur_writer == 0) && rwlock.__data.__flags == (unsigned char)0) && rwlock.__data.__pad2 == (unsigned char)0) && rwlock.__data.__pad3 == 0U) && rwlock.__data.__pad4 == 0U) && rwlock.__data.__readers == 0U) && rwlock.__data.__rwelision == (signed char)0) && rwlock.__data.__shared == (unsigned char)0) && rwlock.__data.__writers == 0U) && rwlock.__data.__writers_futex == 0U) && rwlock.__data.__wrphase_futex == 0U) && y % 3 == 0) && (y == 0 || y == 3)))) && (! multithreaded || ((((0 <= x && x <= 3) && x <= 127) && x % 3 == 0) && (x == 0 || x == 3))) [2024-06-20 17:44:57,713 INFO L97 edCorrectnessWitness]: Location invariant before [L719-L719] ((((! multithreaded || ((((((((((rwlock.__data.__cur_writer == 0 && rwlock.__data.__flags == (unsigned char)0) && rwlock.__data.__pad2 == (unsigned char)0) && rwlock.__data.__pad3 == 0U) && rwlock.__data.__pad4 == 0U) && rwlock.__data.__readers == 0U) && rwlock.__data.__rwelision == (signed char)0) && rwlock.__data.__shared == (unsigned char)0) && rwlock.__data.__writers == 0U) && rwlock.__data.__writers_futex == 0U) && rwlock.__data.__wrphase_futex == 0U)) && (! multithreaded || ((((0 <= y && y <= 3) && y <= 127) && y % 3 == 0) && (y == 0 || y == 3)))) && (! multithreaded || (rwlock_locked || (((((((((((((((0 <= x && x <= 3) && x <= 127) && rwlock.__data.__cur_writer == 0) && rwlock.__data.__flags == (unsigned char)0) && rwlock.__data.__pad2 == (unsigned char)0) && rwlock.__data.__pad3 == 0U) && rwlock.__data.__pad4 == 0U) && rwlock.__data.__readers == 0U) && rwlock.__data.__rwelision == (signed char)0) && rwlock.__data.__shared == (unsigned char)0) && rwlock.__data.__writers == 0U) && rwlock.__data.__writers_futex == 0U) && rwlock.__data.__wrphase_futex == 0U) && x % 3 == 0) && (x == 0 || x == 3))))) && (! multithreaded || (((((((((((((((0 <= y && y <= 3) && y <= 127) && rwlock.__data.__cur_writer == 0) && rwlock.__data.__flags == (unsigned char)0) && rwlock.__data.__pad2 == (unsigned char)0) && rwlock.__data.__pad3 == 0U) && rwlock.__data.__pad4 == 0U) && rwlock.__data.__readers == 0U) && rwlock.__data.__rwelision == (signed char)0) && rwlock.__data.__shared == (unsigned char)0) && rwlock.__data.__writers == 0U) && rwlock.__data.__writers_futex == 0U) && rwlock.__data.__wrphase_futex == 0U) && y % 3 == 0) && (y == 0 || y == 3)))) && (! multithreaded || ((((0 <= x && x <= 3) && x <= 127) && x % 3 == 0) && (x == 0 || x == 3))) [2024-06-20 17:44:57,713 INFO L103 edCorrectnessWitness]: ghost_variable multithreaded = 0 [2024-06-20 17:44:57,714 INFO L103 edCorrectnessWitness]: ghost_variable rwlock_locked = 0 [2024-06-20 17:44:57,714 INFO L106 edCorrectnessWitness]: ghost_update [L690-L690] rwlock_locked = 1; [2024-06-20 17:44:57,714 INFO L106 edCorrectnessWitness]: ghost_update [L692-L692] rwlock_locked = 0; [2024-06-20 17:44:57,714 INFO L106 edCorrectnessWitness]: ghost_update [L711-L711] rwlock_locked = 0; [2024-06-20 17:44:57,714 INFO L106 edCorrectnessWitness]: ghost_update [L697-L697] rwlock_locked = 1; [2024-06-20 17:44:57,715 INFO L106 edCorrectnessWitness]: ghost_update [L716-L716] multithreaded = 1; [2024-06-20 17:44:57,755 INFO L177 MainTranslator]: Built tables and reachable declarations [2024-06-20 17:44:58,093 INFO L207 PostProcessor]: Analyzing one entry point: main [2024-06-20 17:44:58,109 INFO L202 MainTranslator]: Completed pre-run Start Parsing Local Start Parsing Local Start Parsing Local [2024-06-20 17:44:58,196 FATAL L? ?]: The Plugin de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator has thrown an exception: java.lang.UnsupportedOperationException: C: pthread_rwlock_wrlock(&rwlock); [690] cannot be (yet) annoted with a ghost update. at de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.witness.ExtractedGhostUpdate.transform(ExtractedGhostUpdate.java:199) at de.uni_freiburg.informatik.ultimate.cdt.translation.implementation.base.MainDispatcher.transformWithWitness(MainDispatcher.java:431) at de.uni_freiburg.informatik.ultimate.cdt.translation.implementation.base.MainDispatcher.dispatch(MainDispatcher.java:412) at de.uni_freiburg.informatik.ultimate.cdt.translation.implementation.base.CHandler.handleCompoundStatement(CHandler.java:1132) at de.uni_freiburg.informatik.ultimate.cdt.translation.implementation.base.CHandler.visit(CHandler.java:1115) at de.uni_freiburg.informatik.ultimate.cdt.translation.implementation.base.MainDispatcher.dispatch(MainDispatcher.java:319) at de.uni_freiburg.informatik.ultimate.cdt.translation.implementation.base.chandler.FunctionHandler.handleFunctionDefinition(FunctionHandler.java:387) at de.uni_freiburg.informatik.ultimate.cdt.translation.implementation.base.CHandler.visit(CHandler.java:1595) at de.uni_freiburg.informatik.ultimate.cdt.translation.implementation.base.MainDispatcher.dispatch(MainDispatcher.java:274) at de.uni_freiburg.informatik.ultimate.cdt.translation.implementation.base.CHandler.processTUchild(CHandler.java:3446) at de.uni_freiburg.informatik.ultimate.cdt.translation.implementation.base.CHandler.visit(CHandler.java:2483) at de.uni_freiburg.informatik.ultimate.cdt.translation.implementation.base.CHandler.visit(CHandler.java:637) at de.uni_freiburg.informatik.ultimate.cdt.translation.implementation.base.MainDispatcher.dispatch(MainDispatcher.java:257) at de.uni_freiburg.informatik.ultimate.cdt.translation.implementation.base.MainTranslator.performMainRun(MainTranslator.java:253) at de.uni_freiburg.informatik.ultimate.cdt.translation.implementation.base.MainTranslator.translate(MainTranslator.java:204) at de.uni_freiburg.informatik.ultimate.cdt.translation.implementation.base.MainTranslator.run(MainTranslator.java:118) at de.uni_freiburg.informatik.ultimate.cdt.translation.implementation.base.MainTranslator.(MainTranslator.java:96) at de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.CACSL2BoogieTranslatorObserver.finish(CACSL2BoogieTranslatorObserver.java:145) at de.uni_freiburg.informatik.ultimate.core.coreplugin.PluginConnector.runObserver(PluginConnector.java:167) at de.uni_freiburg.informatik.ultimate.core.coreplugin.PluginConnector.runTool(PluginConnector.java:150) at de.uni_freiburg.informatik.ultimate.core.coreplugin.PluginConnector.run(PluginConnector.java:127) at de.uni_freiburg.informatik.ultimate.core.coreplugin.ToolchainWalker.executePluginConnector(ToolchainWalker.java:233) at de.uni_freiburg.informatik.ultimate.core.coreplugin.ToolchainWalker.processPlugin(ToolchainWalker.java:227) at de.uni_freiburg.informatik.ultimate.core.coreplugin.ToolchainWalker.walkUnprotected(ToolchainWalker.java:144) at de.uni_freiburg.informatik.ultimate.core.coreplugin.ToolchainWalker.walk(ToolchainWalker.java:106) at de.uni_freiburg.informatik.ultimate.core.coreplugin.ToolchainManager$Toolchain.processToolchain(ToolchainManager.java:319) at de.uni_freiburg.informatik.ultimate.core.coreplugin.toolchain.DefaultToolchainJob.run(DefaultToolchainJob.java:145) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63) [2024-06-20 17:44:58,201 INFO L158 Benchmark]: Toolchain (without parser) took 552.33ms. Allocated memory is still 176.2MB. Free memory was 113.3MB in the beginning and 90.9MB in the end (delta: 22.4MB). Peak memory consumption was 23.1MB. Max. memory is 16.1GB. [2024-06-20 17:44:58,202 INFO L158 Benchmark]: CDTParser took 0.19ms. Allocated memory is still 176.2MB. Free memory is still 140.0MB. There was no memory consumed. Max. memory is 16.1GB. [2024-06-20 17:44:58,202 INFO L158 Benchmark]: Witness Parser took 0.89ms. Allocated memory is still 176.2MB. Free memory is still 118.9MB. There was no memory consumed. Max. memory is 16.1GB. [2024-06-20 17:44:58,203 INFO L158 Benchmark]: CACSL2BoogieTranslator took 550.55ms. Allocated memory is still 176.2MB. Free memory was 113.3MB in the beginning and 90.9MB in the end (delta: 22.4MB). Peak memory consumption was 23.1MB. Max. memory is 16.1GB. [2024-06-20 17:44:58,204 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.19ms. Allocated memory is still 176.2MB. Free memory is still 140.0MB. There was no memory consumed. Max. memory is 16.1GB. * Witness Parser took 0.89ms. Allocated memory is still 176.2MB. Free memory is still 118.9MB. There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 550.55ms. Allocated memory is still 176.2MB. Free memory was 113.3MB in the beginning and 90.9MB in the end (delta: 22.4MB). Peak memory consumption was 23.1MB. Max. memory is 16.1GB. * Results from de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator: - ExceptionOrErrorResult: UnsupportedOperationException: C: pthread_rwlock_wrlock(&rwlock); [690] cannot be (yet) annoted with a ghost update. de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator: UnsupportedOperationException: C: pthread_rwlock_wrlock(&rwlock); [690] cannot be (yet) annoted with a ghost update.: de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.witness.ExtractedGhostUpdate.transform(ExtractedGhostUpdate.java:199) 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/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/pthread-atomic/read_write_lock-1-pthread.i ./goblint.2024-05-21_14-57-05.files/mutex-meet/read_write_lock-1-pthread.yml/witness.yml -s /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/config/svcomp-Reach-32bit-Automizer_Bitvector.epf --cacsl2boogietranslator.entry.function main --traceabstraction.compute.hoare.annotation.of.negated.interpolant.automaton,.abstraction.and.cfg false --witnessparser.only.consider.loop.invariants false --cacsl2boogietranslator.check.unreachability.of.reach_error.function false --- Real Ultimate output --- This is Ultimate 0.2.4-tmp.fs.goblint-validation-76401ed-m [2024-06-20 17:45:00,214 INFO L188 SettingsManager]: Resetting all preferences to default values... [2024-06-20 17:45:00,271 INFO L114 SettingsManager]: Loading settings from /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/config/svcomp-Reach-32bit-Automizer_Bitvector.epf [2024-06-20 17:45:00,275 WARN L101 SettingsManager]: Preference file contains the following unknown settings: [2024-06-20 17:45:00,275 WARN L103 SettingsManager]: * de.uni_freiburg.informatik.ultimate.core.Log level for class [2024-06-20 17:45:00,307 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2024-06-20 17:45:00,308 INFO L151 SettingsManager]: Preferences of UltimateCore differ from their defaults: [2024-06-20 17:45:00,309 INFO L153 SettingsManager]: * Log level for class=de.uni_freiburg.informatik.ultimate.lib.smtlibutils.quantifier.QuantifierPusher=ERROR; [2024-06-20 17:45:00,309 INFO L151 SettingsManager]: Preferences of Boogie Preprocessor differ from their defaults: [2024-06-20 17:45:00,313 INFO L153 SettingsManager]: * Use memory slicer=true [2024-06-20 17:45:00,313 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2024-06-20 17:45:00,313 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ONLY_FOR_SEQUENTIAL_PROGRAMS [2024-06-20 17:45:00,314 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2024-06-20 17:45:00,315 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2024-06-20 17:45:00,315 INFO L153 SettingsManager]: * Use SBE=true [2024-06-20 17:45:00,316 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2024-06-20 17:45:00,316 INFO L153 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2024-06-20 17:45:00,316 INFO L153 SettingsManager]: * sizeof long=4 [2024-06-20 17:45:00,317 INFO L153 SettingsManager]: * sizeof POINTER=4 [2024-06-20 17:45:00,317 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2024-06-20 17:45:00,317 INFO L153 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2024-06-20 17:45:00,318 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2024-06-20 17:45:00,318 INFO L153 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2024-06-20 17:45:00,318 INFO L153 SettingsManager]: * Adapt memory model on pointer casts if necessary=true [2024-06-20 17:45:00,319 INFO L153 SettingsManager]: * Use bitvectors instead of ints=true [2024-06-20 17:45:00,319 INFO L153 SettingsManager]: * Allow undefined functions=false [2024-06-20 17:45:00,319 INFO L153 SettingsManager]: * Memory model=HoenickeLindenmann_4ByteResolution [2024-06-20 17:45:00,320 INFO L153 SettingsManager]: * sizeof long double=12 [2024-06-20 17:45:00,320 INFO L153 SettingsManager]: * Check if freed pointer was valid=false [2024-06-20 17:45:00,320 INFO L153 SettingsManager]: * Use constant arrays=true [2024-06-20 17:45:00,321 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2024-06-20 17:45:00,322 INFO L153 SettingsManager]: * Size of a code block=SequenceOfStatements [2024-06-20 17:45:00,322 INFO L153 SettingsManager]: * Only consider context switches at boundaries of atomic blocks=true [2024-06-20 17:45:00,322 INFO L153 SettingsManager]: * SMT solver=External_DefaultMode [2024-06-20 17:45:00,322 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 [2024-06-20 17:45:00,323 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2024-06-20 17:45:00,323 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2024-06-20 17:45:00,324 INFO L153 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopHeads [2024-06-20 17:45:00,324 INFO L153 SettingsManager]: * Trace refinement strategy=WOLF [2024-06-20 17:45:00,324 INFO L153 SettingsManager]: * Command for external solver=cvc4 --incremental --print-success --lang smt [2024-06-20 17:45:00,324 INFO L153 SettingsManager]: * Apply one-shot large block encoding in concurrent analysis=false [2024-06-20 17:45:00,325 INFO L153 SettingsManager]: * Automaton type used in concurrency analysis=PETRI_NET [2024-06-20 17:45:00,325 INFO L153 SettingsManager]: * Compute Hoare Annotation of negated interpolant automaton, abstraction and CFG=true [2024-06-20 17:45:00,325 INFO L153 SettingsManager]: * Order on configurations for Petri net unfoldings=DBO [2024-06-20 17:45:00,325 INFO L153 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode [2024-06-20 17:45:00,325 INFO L153 SettingsManager]: * Logic for external solver=AUFBV [2024-06-20 17:45:00,326 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 Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessparser: Only consider loop invariants -> false Applying setting for plugin de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator: Check unreachability of reach_error function -> false [2024-06-20 17:45:00,601 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2024-06-20 17:45:00,626 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2024-06-20 17:45:00,628 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2024-06-20 17:45:00,629 INFO L270 PluginConnector]: Initializing Witness Parser... [2024-06-20 17:45:00,630 INFO L274 PluginConnector]: Witness Parser initialized [2024-06-20 17:45:00,631 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/./goblint.2024-05-21_14-57-05.files/mutex-meet/read_write_lock-1-pthread.yml/witness.yml [2024-06-20 17:45:00,775 INFO L270 PluginConnector]: Initializing CDTParser... [2024-06-20 17:45:00,776 INFO L274 PluginConnector]: CDTParser initialized [2024-06-20 17:45:00,776 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/../../../trunk/examples/svcomp/pthread-atomic/read_write_lock-1-pthread.i [2024-06-20 17:45:02,095 INFO L533 CDTParser]: Created temporary CDT project at NULL [2024-06-20 17:45:02,392 INFO L384 CDTParser]: Found 1 translation units. [2024-06-20 17:45:02,393 INFO L180 CDTParser]: Scanning /storage/repos/ultimate/trunk/examples/svcomp/pthread-atomic/read_write_lock-1-pthread.i [2024-06-20 17:45:02,406 INFO L427 CDTParser]: About to delete temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/8b3412d24/be72c03b26b24653be9ff6ca23075883/FLAGbe8a599ca [2024-06-20 17:45:02,423 INFO L435 CDTParser]: Successfully deleted /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/8b3412d24/be72c03b26b24653be9ff6ca23075883 [2024-06-20 17:45:02,424 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2024-06-20 17:45:02,425 INFO L133 ToolchainWalker]: Walking toolchain with 5 elements. [2024-06-20 17:45:02,427 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2024-06-20 17:45:02,428 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2024-06-20 17:45:02,432 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2024-06-20 17:45:02,433 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "witness.yml de.uni_freiburg.informatik.ultimate.witnessparser CORRECTNESS_WITNESS 20.06 05:45:00" (1/2) ... [2024-06-20 17:45:02,433 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@62b2f76f and model type witness.yml de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator CORRECTNESS_WITNESS 20.06 05:45:02, skipping insertion in model container [2024-06-20 17:45:02,434 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "witness.yml de.uni_freiburg.informatik.ultimate.witnessparser CORRECTNESS_WITNESS 20.06 05:45:00" (1/2) ... [2024-06-20 17:45:02,435 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.CACSL2BoogieTranslatorObserver@19b12abe and model type witness.yml de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator CORRECTNESS_WITNESS 20.06 05:45:02, skipping insertion in model container [2024-06-20 17:45:02,435 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 20.06 05:45:02" (2/2) ... [2024-06-20 17:45:02,436 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@62b2f76f and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 20.06 05:45:02, skipping insertion in model container [2024-06-20 17:45:02,436 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 20.06 05:45:02" (2/2) ... [2024-06-20 17:45:02,436 INFO L83 nessWitnessExtractor]: Extracting all invariants from correctness witness [2024-06-20 17:45:02,483 INFO L95 edCorrectnessWitness]: Found the following entries in the witness: [2024-06-20 17:45:02,484 INFO L97 edCorrectnessWitness]: Location invariant before [L718-L718] ((((! multithreaded || ((((((((((rwlock.__data.__cur_writer == 0 && rwlock.__data.__flags == (unsigned char)0) && rwlock.__data.__pad2 == (unsigned char)0) && rwlock.__data.__pad3 == 0U) && rwlock.__data.__pad4 == 0U) && rwlock.__data.__readers == 0U) && rwlock.__data.__rwelision == (signed char)0) && rwlock.__data.__shared == (unsigned char)0) && rwlock.__data.__writers == 0U) && rwlock.__data.__writers_futex == 0U) && rwlock.__data.__wrphase_futex == 0U)) && (! multithreaded || ((((0 <= y && y <= 3) && y <= 127) && y % 3 == 0) && (y == 0 || y == 3)))) && (! multithreaded || (rwlock_locked || (((((((((((((((0 <= x && x <= 3) && x <= 127) && rwlock.__data.__cur_writer == 0) && rwlock.__data.__flags == (unsigned char)0) && rwlock.__data.__pad2 == (unsigned char)0) && rwlock.__data.__pad3 == 0U) && rwlock.__data.__pad4 == 0U) && rwlock.__data.__readers == 0U) && rwlock.__data.__rwelision == (signed char)0) && rwlock.__data.__shared == (unsigned char)0) && rwlock.__data.__writers == 0U) && rwlock.__data.__writers_futex == 0U) && rwlock.__data.__wrphase_futex == 0U) && x % 3 == 0) && (x == 0 || x == 3))))) && (! multithreaded || (((((((((((((((0 <= y && y <= 3) && y <= 127) && rwlock.__data.__cur_writer == 0) && rwlock.__data.__flags == (unsigned char)0) && rwlock.__data.__pad2 == (unsigned char)0) && rwlock.__data.__pad3 == 0U) && rwlock.__data.__pad4 == 0U) && rwlock.__data.__readers == 0U) && rwlock.__data.__rwelision == (signed char)0) && rwlock.__data.__shared == (unsigned char)0) && rwlock.__data.__writers == 0U) && rwlock.__data.__writers_futex == 0U) && rwlock.__data.__wrphase_futex == 0U) && y % 3 == 0) && (y == 0 || y == 3)))) && (! multithreaded || ((((0 <= x && x <= 3) && x <= 127) && x % 3 == 0) && (x == 0 || x == 3))) [2024-06-20 17:45:02,484 INFO L97 edCorrectnessWitness]: Location invariant before [L717-L717] ((((! multithreaded || ((((((((((rwlock.__data.__cur_writer == 0 && rwlock.__data.__flags == (unsigned char)0) && rwlock.__data.__pad2 == (unsigned char)0) && rwlock.__data.__pad3 == 0U) && rwlock.__data.__pad4 == 0U) && rwlock.__data.__readers == 0U) && rwlock.__data.__rwelision == (signed char)0) && rwlock.__data.__shared == (unsigned char)0) && rwlock.__data.__writers == 0U) && rwlock.__data.__writers_futex == 0U) && rwlock.__data.__wrphase_futex == 0U)) && (! multithreaded || ((((0 <= y && y <= 3) && y <= 127) && y % 3 == 0) && (y == 0 || y == 3)))) && (! multithreaded || (rwlock_locked || (((((((((((((((0 <= x && x <= 3) && x <= 127) && rwlock.__data.__cur_writer == 0) && rwlock.__data.__flags == (unsigned char)0) && rwlock.__data.__pad2 == (unsigned char)0) && rwlock.__data.__pad3 == 0U) && rwlock.__data.__pad4 == 0U) && rwlock.__data.__readers == 0U) && rwlock.__data.__rwelision == (signed char)0) && rwlock.__data.__shared == (unsigned char)0) && rwlock.__data.__writers == 0U) && rwlock.__data.__writers_futex == 0U) && rwlock.__data.__wrphase_futex == 0U) && x % 3 == 0) && (x == 0 || x == 3))))) && (! multithreaded || (((((((((((((((0 <= y && y <= 3) && y <= 127) && rwlock.__data.__cur_writer == 0) && rwlock.__data.__flags == (unsigned char)0) && rwlock.__data.__pad2 == (unsigned char)0) && rwlock.__data.__pad3 == 0U) && rwlock.__data.__pad4 == 0U) && rwlock.__data.__readers == 0U) && rwlock.__data.__rwelision == (signed char)0) && rwlock.__data.__shared == (unsigned char)0) && rwlock.__data.__writers == 0U) && rwlock.__data.__writers_futex == 0U) && rwlock.__data.__wrphase_futex == 0U) && y % 3 == 0) && (y == 0 || y == 3)))) && (! multithreaded || ((((0 <= x && x <= 3) && x <= 127) && x % 3 == 0) && (x == 0 || x == 3))) [2024-06-20 17:45:02,484 INFO L97 edCorrectnessWitness]: Location invariant before [L720-L720] ((((! multithreaded || ((((((((((rwlock.__data.__cur_writer == 0 && rwlock.__data.__flags == (unsigned char)0) && rwlock.__data.__pad2 == (unsigned char)0) && rwlock.__data.__pad3 == 0U) && rwlock.__data.__pad4 == 0U) && rwlock.__data.__readers == 0U) && rwlock.__data.__rwelision == (signed char)0) && rwlock.__data.__shared == (unsigned char)0) && rwlock.__data.__writers == 0U) && rwlock.__data.__writers_futex == 0U) && rwlock.__data.__wrphase_futex == 0U)) && (! multithreaded || ((((0 <= y && y <= 3) && y <= 127) && y % 3 == 0) && (y == 0 || y == 3)))) && (! multithreaded || (rwlock_locked || (((((((((((((((0 <= x && x <= 3) && x <= 127) && rwlock.__data.__cur_writer == 0) && rwlock.__data.__flags == (unsigned char)0) && rwlock.__data.__pad2 == (unsigned char)0) && rwlock.__data.__pad3 == 0U) && rwlock.__data.__pad4 == 0U) && rwlock.__data.__readers == 0U) && rwlock.__data.__rwelision == (signed char)0) && rwlock.__data.__shared == (unsigned char)0) && rwlock.__data.__writers == 0U) && rwlock.__data.__writers_futex == 0U) && rwlock.__data.__wrphase_futex == 0U) && x % 3 == 0) && (x == 0 || x == 3))))) && (! multithreaded || (((((((((((((((0 <= y && y <= 3) && y <= 127) && rwlock.__data.__cur_writer == 0) && rwlock.__data.__flags == (unsigned char)0) && rwlock.__data.__pad2 == (unsigned char)0) && rwlock.__data.__pad3 == 0U) && rwlock.__data.__pad4 == 0U) && rwlock.__data.__readers == 0U) && rwlock.__data.__rwelision == (signed char)0) && rwlock.__data.__shared == (unsigned char)0) && rwlock.__data.__writers == 0U) && rwlock.__data.__writers_futex == 0U) && rwlock.__data.__wrphase_futex == 0U) && y % 3 == 0) && (y == 0 || y == 3)))) && (! multithreaded || ((((0 <= x && x <= 3) && x <= 127) && x % 3 == 0) && (x == 0 || x == 3))) [2024-06-20 17:45:02,485 INFO L97 edCorrectnessWitness]: Location invariant before [L719-L719] ((((! multithreaded || ((((((((((rwlock.__data.__cur_writer == 0 && rwlock.__data.__flags == (unsigned char)0) && rwlock.__data.__pad2 == (unsigned char)0) && rwlock.__data.__pad3 == 0U) && rwlock.__data.__pad4 == 0U) && rwlock.__data.__readers == 0U) && rwlock.__data.__rwelision == (signed char)0) && rwlock.__data.__shared == (unsigned char)0) && rwlock.__data.__writers == 0U) && rwlock.__data.__writers_futex == 0U) && rwlock.__data.__wrphase_futex == 0U)) && (! multithreaded || ((((0 <= y && y <= 3) && y <= 127) && y % 3 == 0) && (y == 0 || y == 3)))) && (! multithreaded || (rwlock_locked || (((((((((((((((0 <= x && x <= 3) && x <= 127) && rwlock.__data.__cur_writer == 0) && rwlock.__data.__flags == (unsigned char)0) && rwlock.__data.__pad2 == (unsigned char)0) && rwlock.__data.__pad3 == 0U) && rwlock.__data.__pad4 == 0U) && rwlock.__data.__readers == 0U) && rwlock.__data.__rwelision == (signed char)0) && rwlock.__data.__shared == (unsigned char)0) && rwlock.__data.__writers == 0U) && rwlock.__data.__writers_futex == 0U) && rwlock.__data.__wrphase_futex == 0U) && x % 3 == 0) && (x == 0 || x == 3))))) && (! multithreaded || (((((((((((((((0 <= y && y <= 3) && y <= 127) && rwlock.__data.__cur_writer == 0) && rwlock.__data.__flags == (unsigned char)0) && rwlock.__data.__pad2 == (unsigned char)0) && rwlock.__data.__pad3 == 0U) && rwlock.__data.__pad4 == 0U) && rwlock.__data.__readers == 0U) && rwlock.__data.__rwelision == (signed char)0) && rwlock.__data.__shared == (unsigned char)0) && rwlock.__data.__writers == 0U) && rwlock.__data.__writers_futex == 0U) && rwlock.__data.__wrphase_futex == 0U) && y % 3 == 0) && (y == 0 || y == 3)))) && (! multithreaded || ((((0 <= x && x <= 3) && x <= 127) && x % 3 == 0) && (x == 0 || x == 3))) [2024-06-20 17:45:02,485 INFO L103 edCorrectnessWitness]: ghost_variable rwlock_locked = 0 [2024-06-20 17:45:02,486 INFO L103 edCorrectnessWitness]: ghost_variable multithreaded = 0 [2024-06-20 17:45:02,486 INFO L106 edCorrectnessWitness]: ghost_update [L716-L716] multithreaded = 1; [2024-06-20 17:45:02,486 INFO L106 edCorrectnessWitness]: ghost_update [L690-L690] rwlock_locked = 1; [2024-06-20 17:45:02,486 INFO L106 edCorrectnessWitness]: ghost_update [L711-L711] rwlock_locked = 0; [2024-06-20 17:45:02,486 INFO L106 edCorrectnessWitness]: ghost_update [L697-L697] rwlock_locked = 1; [2024-06-20 17:45:02,486 INFO L106 edCorrectnessWitness]: ghost_update [L692-L692] rwlock_locked = 0; [2024-06-20 17:45:02,527 INFO L177 MainTranslator]: Built tables and reachable declarations [2024-06-20 17:45:02,888 INFO L207 PostProcessor]: Analyzing one entry point: main [2024-06-20 17:45:02,904 INFO L202 MainTranslator]: Completed pre-run Start Parsing Local Start Parsing Local Start Parsing Local [2024-06-20 17:45:02,996 FATAL L? ?]: The Plugin de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator has thrown an exception: java.lang.UnsupportedOperationException: C: pthread_rwlock_wrlock(&rwlock); [690] cannot be (yet) annoted with a ghost update. at de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.witness.ExtractedGhostUpdate.transform(ExtractedGhostUpdate.java:199) at de.uni_freiburg.informatik.ultimate.cdt.translation.implementation.base.MainDispatcher.transformWithWitness(MainDispatcher.java:431) at de.uni_freiburg.informatik.ultimate.cdt.translation.implementation.base.MainDispatcher.dispatch(MainDispatcher.java:412) at de.uni_freiburg.informatik.ultimate.cdt.translation.implementation.base.CHandler.handleCompoundStatement(CHandler.java:1132) at de.uni_freiburg.informatik.ultimate.cdt.translation.implementation.base.CHandler.visit(CHandler.java:1115) at de.uni_freiburg.informatik.ultimate.cdt.translation.implementation.base.MainDispatcher.dispatch(MainDispatcher.java:319) at de.uni_freiburg.informatik.ultimate.cdt.translation.implementation.base.chandler.FunctionHandler.handleFunctionDefinition(FunctionHandler.java:387) at de.uni_freiburg.informatik.ultimate.cdt.translation.implementation.base.CHandler.visit(CHandler.java:1595) at de.uni_freiburg.informatik.ultimate.cdt.translation.implementation.base.MainDispatcher.dispatch(MainDispatcher.java:274) at de.uni_freiburg.informatik.ultimate.cdt.translation.implementation.base.CHandler.processTUchild(CHandler.java:3446) at de.uni_freiburg.informatik.ultimate.cdt.translation.implementation.base.CHandler.visit(CHandler.java:2483) at de.uni_freiburg.informatik.ultimate.cdt.translation.implementation.base.CHandler.visit(CHandler.java:637) at de.uni_freiburg.informatik.ultimate.cdt.translation.implementation.base.MainDispatcher.dispatch(MainDispatcher.java:257) at de.uni_freiburg.informatik.ultimate.cdt.translation.implementation.base.MainTranslator.performMainRun(MainTranslator.java:253) at de.uni_freiburg.informatik.ultimate.cdt.translation.implementation.base.MainTranslator.translate(MainTranslator.java:204) at de.uni_freiburg.informatik.ultimate.cdt.translation.implementation.base.MainTranslator.run(MainTranslator.java:118) at de.uni_freiburg.informatik.ultimate.cdt.translation.implementation.base.MainTranslator.(MainTranslator.java:96) at de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.CACSL2BoogieTranslatorObserver.finish(CACSL2BoogieTranslatorObserver.java:145) at de.uni_freiburg.informatik.ultimate.core.coreplugin.PluginConnector.runObserver(PluginConnector.java:167) at de.uni_freiburg.informatik.ultimate.core.coreplugin.PluginConnector.runTool(PluginConnector.java:150) at de.uni_freiburg.informatik.ultimate.core.coreplugin.PluginConnector.run(PluginConnector.java:127) at de.uni_freiburg.informatik.ultimate.core.coreplugin.ToolchainWalker.executePluginConnector(ToolchainWalker.java:233) at de.uni_freiburg.informatik.ultimate.core.coreplugin.ToolchainWalker.processPlugin(ToolchainWalker.java:227) at de.uni_freiburg.informatik.ultimate.core.coreplugin.ToolchainWalker.walkUnprotected(ToolchainWalker.java:144) at de.uni_freiburg.informatik.ultimate.core.coreplugin.ToolchainWalker.walk(ToolchainWalker.java:106) at de.uni_freiburg.informatik.ultimate.core.coreplugin.ToolchainManager$Toolchain.processToolchain(ToolchainManager.java:319) at de.uni_freiburg.informatik.ultimate.core.coreplugin.toolchain.DefaultToolchainJob.run(DefaultToolchainJob.java:145) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63) [2024-06-20 17:45:03,001 INFO L158 Benchmark]: Toolchain (without parser) took 575.52ms. Allocated memory was 65.0MB in the beginning and 88.1MB in the end (delta: 23.1MB). Free memory was 41.7MB in the beginning and 61.0MB in the end (delta: -19.4MB). Peak memory consumption was 18.9MB. Max. memory is 16.1GB. [2024-06-20 17:45:03,002 INFO L158 Benchmark]: Witness Parser took 0.24ms. Allocated memory is still 65.0MB. Free memory was 41.7MB in the beginning and 41.7MB in the end (delta: 83.9kB). There was no memory consumed. Max. memory is 16.1GB. [2024-06-20 17:45:03,003 INFO L158 Benchmark]: CDTParser took 0.17ms. Allocated memory is still 65.0MB. Free memory is still 36.3MB. There was no memory consumed. Max. memory is 16.1GB. [2024-06-20 17:45:03,004 INFO L158 Benchmark]: CACSL2BoogieTranslator took 572.26ms. Allocated memory was 65.0MB in the beginning and 88.1MB in the end (delta: 23.1MB). Free memory was 41.5MB in the beginning and 61.0MB in the end (delta: -19.6MB). Peak memory consumption was 18.9MB. Max. memory is 16.1GB. [2024-06-20 17:45:03,007 INFO L338 ainManager$Toolchain]: ####################### End [Toolchain 1] ####################### --- Results --- * Results from de.uni_freiburg.informatik.ultimate.core: - StatisticsResult: Toolchain Benchmarks Benchmark results are: * Witness Parser took 0.24ms. Allocated memory is still 65.0MB. Free memory was 41.7MB in the beginning and 41.7MB in the end (delta: 83.9kB). There was no memory consumed. Max. memory is 16.1GB. * CDTParser took 0.17ms. Allocated memory is still 65.0MB. Free memory is still 36.3MB. There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 572.26ms. Allocated memory was 65.0MB in the beginning and 88.1MB in the end (delta: 23.1MB). Free memory was 41.5MB in the beginning and 61.0MB in the end (delta: -19.6MB). Peak memory consumption was 18.9MB. Max. memory is 16.1GB. * Results from de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator: - ExceptionOrErrorResult: UnsupportedOperationException: C: pthread_rwlock_wrlock(&rwlock); [690] cannot be (yet) annoted with a ghost update. de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator: UnsupportedOperationException: C: pthread_rwlock_wrlock(&rwlock); [690] cannot be (yet) annoted with a ghost update.: de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.witness.ExtractedGhostUpdate.transform(ExtractedGhostUpdate.java:199) 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: ExceptionOrErrorResult: UnsupportedOperationException: C: pthread_rwlock_wrlock(&rwlock); [690] cannot be (yet) annoted with a ghost update.