./Ultimate.py --spec ../../../trunk/examples/svcomp/properties/unreach-call.prp --file ../../../trunk/examples/svcomp/pthread-ext/18_read_write_lock-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/18_read_write_lock-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-ext/18_read_write_lock-pthread.i ./goblint.2024-05-21_14-57-05.files/mutex-meet/18_read_write_lock-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:45:15,150 INFO L188 SettingsManager]: Resetting all preferences to default values... [2024-06-20 17:45:15,199 INFO L114 SettingsManager]: Loading settings from /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/config/svcomp-Reach-32bit-Automizer_Default.epf [2024-06-20 17:45:15,204 WARN L101 SettingsManager]: Preference file contains the following unknown settings: [2024-06-20 17:45:15,206 WARN L103 SettingsManager]: * de.uni_freiburg.informatik.ultimate.core.Log level for class [2024-06-20 17:45:15,221 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2024-06-20 17:45:15,222 INFO L151 SettingsManager]: Preferences of UltimateCore differ from their defaults: [2024-06-20 17:45:15,222 INFO L153 SettingsManager]: * Log level for class=de.uni_freiburg.informatik.ultimate.lib.smtlibutils.quantifier.QuantifierPusher=ERROR; [2024-06-20 17:45:15,223 INFO L151 SettingsManager]: Preferences of Boogie Preprocessor differ from their defaults: [2024-06-20 17:45:15,226 INFO L153 SettingsManager]: * Use memory slicer=true [2024-06-20 17:45:15,226 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2024-06-20 17:45:15,226 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ONLY_FOR_SEQUENTIAL_PROGRAMS [2024-06-20 17:45:15,227 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2024-06-20 17:45:15,228 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2024-06-20 17:45:15,228 INFO L153 SettingsManager]: * Use SBE=true [2024-06-20 17:45:15,228 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2024-06-20 17:45:15,229 INFO L153 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2024-06-20 17:45:15,229 INFO L153 SettingsManager]: * sizeof long=4 [2024-06-20 17:45:15,229 INFO L153 SettingsManager]: * Overapproximate operations on floating types=true [2024-06-20 17:45:15,229 INFO L153 SettingsManager]: * sizeof POINTER=4 [2024-06-20 17:45:15,229 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2024-06-20 17:45:15,230 INFO L153 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2024-06-20 17:45:15,230 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2024-06-20 17:45:15,230 INFO L153 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2024-06-20 17:45:15,230 INFO L153 SettingsManager]: * Allow undefined functions=false [2024-06-20 17:45:15,231 INFO L153 SettingsManager]: * sizeof long double=12 [2024-06-20 17:45:15,231 INFO L153 SettingsManager]: * Check if freed pointer was valid=false [2024-06-20 17:45:15,231 INFO L153 SettingsManager]: * Use constant arrays=true [2024-06-20 17:45:15,231 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2024-06-20 17:45:15,232 INFO L153 SettingsManager]: * Size of a code block=SequenceOfStatements [2024-06-20 17:45:15,232 INFO L153 SettingsManager]: * Only consider context switches at boundaries of atomic blocks=true [2024-06-20 17:45:15,233 INFO L153 SettingsManager]: * SMT solver=External_DefaultMode [2024-06-20 17:45:15,233 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 [2024-06-20 17:45:15,233 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2024-06-20 17:45:15,233 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2024-06-20 17:45:15,233 INFO L153 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopHeads [2024-06-20 17:45:15,233 INFO L153 SettingsManager]: * Trace refinement strategy=CAMEL [2024-06-20 17:45:15,234 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2024-06-20 17:45:15,234 INFO L153 SettingsManager]: * Apply one-shot large block encoding in concurrent analysis=false [2024-06-20 17:45:15,234 INFO L153 SettingsManager]: * Automaton type used in concurrency analysis=PETRI_NET [2024-06-20 17:45:15,234 INFO L153 SettingsManager]: * Compute Hoare Annotation of negated interpolant automaton, abstraction and CFG=true [2024-06-20 17:45:15,235 INFO L153 SettingsManager]: * Order on configurations for Petri net unfoldings=DBO [2024-06-20 17:45:15,235 INFO L153 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode [2024-06-20 17:45:15,235 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:15,545 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2024-06-20 17:45:15,561 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2024-06-20 17:45:15,563 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2024-06-20 17:45:15,564 INFO L270 PluginConnector]: Initializing CDTParser... [2024-06-20 17:45:15,565 INFO L274 PluginConnector]: CDTParser initialized [2024-06-20 17:45:15,566 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/../../../trunk/examples/svcomp/pthread-ext/18_read_write_lock-pthread.i [2024-06-20 17:45:16,723 INFO L533 CDTParser]: Created temporary CDT project at NULL [2024-06-20 17:45:16,982 INFO L384 CDTParser]: Found 1 translation units. [2024-06-20 17:45:16,987 INFO L180 CDTParser]: Scanning /storage/repos/ultimate/trunk/examples/svcomp/pthread-ext/18_read_write_lock-pthread.i [2024-06-20 17:45:16,996 INFO L427 CDTParser]: About to delete temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/3fb22e9a0/275844ae22014aa2bf913181c4ddee7a/FLAG9b70493fa [2024-06-20 17:45:17,005 INFO L435 CDTParser]: Successfully deleted /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/3fb22e9a0/275844ae22014aa2bf913181c4ddee7a [2024-06-20 17:45:17,007 INFO L270 PluginConnector]: Initializing Witness Parser... [2024-06-20 17:45:17,007 INFO L274 PluginConnector]: Witness Parser initialized [2024-06-20 17:45:17,008 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/18_read_write_lock-pthread.yml/witness.yml [2024-06-20 17:45:17,075 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2024-06-20 17:45:17,076 INFO L133 ToolchainWalker]: Walking toolchain with 5 elements. [2024-06-20 17:45:17,077 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2024-06-20 17:45:17,077 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2024-06-20 17:45:17,081 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2024-06-20 17:45:17,082 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 20.06 05:45:17" (1/2) ... [2024-06-20 17:45:17,082 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@751dcef1 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 20.06 05:45:17, skipping insertion in model container [2024-06-20 17:45:17,083 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 20.06 05:45:17" (1/2) ... [2024-06-20 17:45:17,084 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.CACSL2BoogieTranslatorObserver@276426c1 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 20.06 05:45:17, skipping insertion in model container [2024-06-20 17:45:17,084 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:17" (2/2) ... [2024-06-20 17:45:17,086 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@751dcef1 and model type witness.yml de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator CORRECTNESS_WITNESS 20.06 05:45:17, skipping insertion in model container [2024-06-20 17:45:17,087 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:17" (2/2) ... [2024-06-20 17:45:17,087 INFO L83 nessWitnessExtractor]: Extracting all invariants from correctness witness [2024-06-20 17:45:17,111 INFO L95 edCorrectnessWitness]: Found the following entries in the witness: [2024-06-20 17:45:17,112 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:17,112 INFO L103 edCorrectnessWitness]: ghost_variable multithreaded = 0 [2024-06-20 17:45:17,113 INFO L103 edCorrectnessWitness]: ghost_variable rwlock_locked = 0 [2024-06-20 17:45:17,113 INFO L106 edCorrectnessWitness]: ghost_update [L692-L692] rwlock_locked = 0; [2024-06-20 17:45:17,113 INFO L106 edCorrectnessWitness]: ghost_update [L690-L690] rwlock_locked = 1; [2024-06-20 17:45:17,114 INFO L106 edCorrectnessWitness]: ghost_update [L696-L696] rwlock_locked = 1; [2024-06-20 17:45:17,114 INFO L106 edCorrectnessWitness]: ghost_update [L710-L710] rwlock_locked = 0; [2024-06-20 17:45:17,114 INFO L106 edCorrectnessWitness]: ghost_update [L716-L716] multithreaded = 1; [2024-06-20 17:45:17,150 INFO L177 MainTranslator]: Built tables and reachable declarations [2024-06-20 17:45:17,413 INFO L207 PostProcessor]: Analyzing one entry point: main [2024-06-20 17:45:17,422 INFO L202 MainTranslator]: Completed pre-run Start Parsing Local Start Parsing Local Start Parsing Local [2024-06-20 17:45:17,487 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:17,492 INFO L158 Benchmark]: Toolchain (without parser) took 414.85ms. Allocated memory is still 178.3MB. Free memory was 140.3MB in the beginning and 119.3MB in the end (delta: 21.0MB). Peak memory consumption was 21.0MB. Max. memory is 16.1GB. [2024-06-20 17:45:17,493 INFO L158 Benchmark]: CDTParser took 0.15ms. Allocated memory is still 117.4MB. Free memory is still 90.4MB. There was no memory consumed. Max. memory is 16.1GB. [2024-06-20 17:45:17,494 INFO L158 Benchmark]: Witness Parser took 0.16ms. Allocated memory is still 178.3MB. Free memory is still 143.4MB. There was no memory consumed. Max. memory is 16.1GB. [2024-06-20 17:45:17,495 INFO L158 Benchmark]: CACSL2BoogieTranslator took 413.21ms. Allocated memory is still 178.3MB. Free memory was 139.2MB in the beginning and 119.3MB in the end (delta: 19.9MB). Peak memory consumption was 18.9MB. Max. memory is 16.1GB. [2024-06-20 17:45:17,496 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.15ms. Allocated memory is still 117.4MB. Free memory is still 90.4MB. There was no memory consumed. Max. memory is 16.1GB. * Witness Parser took 0.16ms. Allocated memory is still 178.3MB. Free memory is still 143.4MB. There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 413.21ms. Allocated memory is still 178.3MB. Free memory was 139.2MB in the beginning and 119.3MB in the end (delta: 19.9MB). 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 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-ext/18_read_write_lock-pthread.i ./goblint.2024-05-21_14-57-05.files/mutex-meet/18_read_write_lock-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:19,475 INFO L188 SettingsManager]: Resetting all preferences to default values... [2024-06-20 17:45:19,544 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:19,548 WARN L101 SettingsManager]: Preference file contains the following unknown settings: [2024-06-20 17:45:19,549 WARN L103 SettingsManager]: * de.uni_freiburg.informatik.ultimate.core.Log level for class [2024-06-20 17:45:19,581 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2024-06-20 17:45:19,581 INFO L151 SettingsManager]: Preferences of UltimateCore differ from their defaults: [2024-06-20 17:45:19,582 INFO L153 SettingsManager]: * Log level for class=de.uni_freiburg.informatik.ultimate.lib.smtlibutils.quantifier.QuantifierPusher=ERROR; [2024-06-20 17:45:19,582 INFO L151 SettingsManager]: Preferences of Boogie Preprocessor differ from their defaults: [2024-06-20 17:45:19,584 INFO L153 SettingsManager]: * Use memory slicer=true [2024-06-20 17:45:19,584 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2024-06-20 17:45:19,585 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ONLY_FOR_SEQUENTIAL_PROGRAMS [2024-06-20 17:45:19,585 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2024-06-20 17:45:19,586 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2024-06-20 17:45:19,586 INFO L153 SettingsManager]: * Use SBE=true [2024-06-20 17:45:19,586 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2024-06-20 17:45:19,586 INFO L153 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2024-06-20 17:45:19,586 INFO L153 SettingsManager]: * sizeof long=4 [2024-06-20 17:45:19,587 INFO L153 SettingsManager]: * sizeof POINTER=4 [2024-06-20 17:45:19,587 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2024-06-20 17:45:19,587 INFO L153 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2024-06-20 17:45:19,588 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2024-06-20 17:45:19,588 INFO L153 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2024-06-20 17:45:19,588 INFO L153 SettingsManager]: * Adapt memory model on pointer casts if necessary=true [2024-06-20 17:45:19,588 INFO L153 SettingsManager]: * Use bitvectors instead of ints=true [2024-06-20 17:45:19,589 INFO L153 SettingsManager]: * Allow undefined functions=false [2024-06-20 17:45:19,589 INFO L153 SettingsManager]: * Memory model=HoenickeLindenmann_4ByteResolution [2024-06-20 17:45:19,589 INFO L153 SettingsManager]: * sizeof long double=12 [2024-06-20 17:45:19,589 INFO L153 SettingsManager]: * Check if freed pointer was valid=false [2024-06-20 17:45:19,589 INFO L153 SettingsManager]: * Use constant arrays=true [2024-06-20 17:45:19,590 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2024-06-20 17:45:19,591 INFO L153 SettingsManager]: * Size of a code block=SequenceOfStatements [2024-06-20 17:45:19,591 INFO L153 SettingsManager]: * Only consider context switches at boundaries of atomic blocks=true [2024-06-20 17:45:19,591 INFO L153 SettingsManager]: * SMT solver=External_DefaultMode [2024-06-20 17:45:19,591 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 [2024-06-20 17:45:19,591 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2024-06-20 17:45:19,592 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2024-06-20 17:45:19,592 INFO L153 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopHeads [2024-06-20 17:45:19,592 INFO L153 SettingsManager]: * Trace refinement strategy=WOLF [2024-06-20 17:45:19,592 INFO L153 SettingsManager]: * Command for external solver=cvc4 --incremental --print-success --lang smt [2024-06-20 17:45:19,593 INFO L153 SettingsManager]: * Apply one-shot large block encoding in concurrent analysis=false [2024-06-20 17:45:19,593 INFO L153 SettingsManager]: * Automaton type used in concurrency analysis=PETRI_NET [2024-06-20 17:45:19,593 INFO L153 SettingsManager]: * Compute Hoare Annotation of negated interpolant automaton, abstraction and CFG=true [2024-06-20 17:45:19,593 INFO L153 SettingsManager]: * Order on configurations for Petri net unfoldings=DBO [2024-06-20 17:45:19,593 INFO L153 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode [2024-06-20 17:45:19,594 INFO L153 SettingsManager]: * Logic for external solver=AUFBV [2024-06-20 17:45:19,594 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:19,862 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2024-06-20 17:45:19,884 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2024-06-20 17:45:19,886 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2024-06-20 17:45:19,887 INFO L270 PluginConnector]: Initializing CDTParser... [2024-06-20 17:45:19,887 INFO L274 PluginConnector]: CDTParser initialized [2024-06-20 17:45:19,889 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/../../../trunk/examples/svcomp/pthread-ext/18_read_write_lock-pthread.i [2024-06-20 17:45:20,941 INFO L533 CDTParser]: Created temporary CDT project at NULL [2024-06-20 17:45:21,206 INFO L384 CDTParser]: Found 1 translation units. [2024-06-20 17:45:21,206 INFO L180 CDTParser]: Scanning /storage/repos/ultimate/trunk/examples/svcomp/pthread-ext/18_read_write_lock-pthread.i [2024-06-20 17:45:21,220 INFO L427 CDTParser]: About to delete temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/3427d0529/44fa7d95e54746fc9fdec45778b92198/FLAGc93bf8902 [2024-06-20 17:45:21,231 INFO L435 CDTParser]: Successfully deleted /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/3427d0529/44fa7d95e54746fc9fdec45778b92198 [2024-06-20 17:45:21,233 INFO L270 PluginConnector]: Initializing Witness Parser... [2024-06-20 17:45:21,234 INFO L274 PluginConnector]: Witness Parser initialized [2024-06-20 17:45:21,235 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/18_read_write_lock-pthread.yml/witness.yml [2024-06-20 17:45:21,316 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2024-06-20 17:45:21,317 INFO L133 ToolchainWalker]: Walking toolchain with 5 elements. [2024-06-20 17:45:21,317 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2024-06-20 17:45:21,318 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2024-06-20 17:45:21,321 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2024-06-20 17:45:21,321 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 20.06 05:45:21" (1/2) ... [2024-06-20 17:45:21,322 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@26d66660 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 20.06 05:45:21, skipping insertion in model container [2024-06-20 17:45:21,322 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 20.06 05:45:21" (1/2) ... [2024-06-20 17:45:21,323 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.CACSL2BoogieTranslatorObserver@4f87fe8a and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 20.06 05:45:21, skipping insertion in model container [2024-06-20 17:45:21,323 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:21" (2/2) ... [2024-06-20 17:45:21,325 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@26d66660 and model type witness.yml de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator CORRECTNESS_WITNESS 20.06 05:45:21, skipping insertion in model container [2024-06-20 17:45:21,325 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:21" (2/2) ... [2024-06-20 17:45:21,325 INFO L83 nessWitnessExtractor]: Extracting all invariants from correctness witness [2024-06-20 17:45:21,347 INFO L95 edCorrectnessWitness]: Found the following entries in the witness: [2024-06-20 17:45:21,348 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:21,348 INFO L103 edCorrectnessWitness]: ghost_variable multithreaded = 0 [2024-06-20 17:45:21,348 INFO L103 edCorrectnessWitness]: ghost_variable rwlock_locked = 0 [2024-06-20 17:45:21,348 INFO L106 edCorrectnessWitness]: ghost_update [L690-L690] rwlock_locked = 1; [2024-06-20 17:45:21,348 INFO L106 edCorrectnessWitness]: ghost_update [L716-L716] multithreaded = 1; [2024-06-20 17:45:21,349 INFO L106 edCorrectnessWitness]: ghost_update [L692-L692] rwlock_locked = 0; [2024-06-20 17:45:21,349 INFO L106 edCorrectnessWitness]: ghost_update [L696-L696] rwlock_locked = 1; [2024-06-20 17:45:21,349 INFO L106 edCorrectnessWitness]: ghost_update [L710-L710] rwlock_locked = 0; [2024-06-20 17:45:21,380 INFO L177 MainTranslator]: Built tables and reachable declarations [2024-06-20 17:45:21,652 INFO L207 PostProcessor]: Analyzing one entry point: main [2024-06-20 17:45:21,669 INFO L202 MainTranslator]: Completed pre-run Start Parsing Local Start Parsing Local Start Parsing Local [2024-06-20 17:45:21,749 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:21,753 INFO L158 Benchmark]: Toolchain (without parser) took 435.94ms. Allocated memory was 67.1MB in the beginning and 83.9MB in the end (delta: 16.8MB). Free memory was 42.0MB in the beginning and 59.7MB in the end (delta: -17.7MB). Peak memory consumption was 23.9MB. Max. memory is 16.1GB. [2024-06-20 17:45:21,754 INFO L158 Benchmark]: CDTParser took 0.20ms. Allocated memory is still 67.1MB. Free memory was 47.9MB in the beginning and 47.8MB in the end (delta: 50.8kB). There was no memory consumed. Max. memory is 16.1GB. [2024-06-20 17:45:21,754 INFO L158 Benchmark]: Witness Parser took 0.12ms. Allocated memory is still 67.1MB. Free memory is still 45.4MB. There was no memory consumed. Max. memory is 16.1GB. [2024-06-20 17:45:21,755 INFO L158 Benchmark]: CACSL2BoogieTranslator took 434.51ms. Allocated memory was 67.1MB in the beginning and 83.9MB in the end (delta: 16.8MB). Free memory was 41.8MB in the beginning and 59.7MB in the end (delta: -17.9MB). Peak memory consumption was 23.9MB. Max. memory is 16.1GB. [2024-06-20 17:45:21,757 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.20ms. Allocated memory is still 67.1MB. Free memory was 47.9MB in the beginning and 47.8MB in the end (delta: 50.8kB). There was no memory consumed. Max. memory is 16.1GB. * Witness Parser took 0.12ms. Allocated memory is still 67.1MB. Free memory is still 45.4MB. There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 434.51ms. Allocated memory was 67.1MB in the beginning and 83.9MB in the end (delta: 16.8MB). Free memory was 41.8MB in the beginning and 59.7MB in the end (delta: -17.9MB). Peak memory consumption was 23.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.