env GraphEmpireOG.Timeout=-1 benchexec/../run-test.sh Library-ProofsTest 'de.uni_freiburg.informatik.ultimate.lib.proofs.owickigries.OGProofProducerTest$GraphEmpireOG' ReachSafety.read_write_lock-1.ats true -------------------------------------------------------------------------------- Thanks for using JUnit! Support its development at https://junit.org/sponsoring Test plan execution started. Number of static tests: 1 ╷ ├─ JUnit Jupiter └─ JUnit Jupiter finished after 7 ms. ├─ JUnit Vintage │ ├─ GraphEmpireOG │ │ ├─ ReachSafety_read_write_lock-1_ats │ │ │ tags: [] │ │ │ uniqueId: [engine:junit-vintage]/[runner:de.uni_freiburg.informatik.ultimate.lib.proofs.owickigries.OGProofProducerTest$GraphEmpireOG]/[test:ReachSafety_read_write_lock-1_ats(de.uni_freiburg.informatik.ultimate.lib.proofs.owickigries.OGProofProducerTest$GraphEmpireOG)] │ │ │ parent: [engine:junit-vintage]/[runner:de.uni_freiburg.informatik.ultimate.lib.proofs.owickigries.OGProofProducerTest$GraphEmpireOG] │ │ │ source: ClassSource [className = 'de.uni_freiburg.informatik.ultimate.lib.proofs.owickigries.OGProofProducerTest$GraphEmpireOG', filePosition = null] [WARN]: Using environment timeout: -1ms [INFO]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/adds/z3 [INFO]: Starting monitored process 1 with /storage/repos/ultimate/releaseScripts/default/adds/z3 SMTLIB2_COMPLIANT=true -t:1000 -memory:2024 -smt2 -in (exit command is (exit), workingDir is null) [INFO]: [MP /storage/repos/ultimate/releaseScripts/default/adds/z3 SMTLIB2_COMPLIANT=true -t:1000 -memory:2024 -smt2 -in (1)] Waiting until timeout for monitored process [INFO]: Initialized classic predicate unifier [INFO]: Initialized classic predicate unifier [INFO]: Initialized classic predicate unifier [INFO]: Initialized classic predicate unifier [INFO]: Start isDeterministic. Operand 3 states and 273 transitions. [INFO]: Finished isDeterministic. Operand is deterministic. [INFO]: Starting Floyd-Hoare check of an automaton with has 3 states, 3 states have (on average 91.0) internal successors, (273), 3 states have internal predecessors, (273), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [INFO]: Floyd-Hoare annotation has 273 edges. 273 inductive. 0 not inductive. 0 times theorem prover too weak to decide inductivity. 0 times interpolants missing. [INFO]: Start isDeterministic. Operand 3 states and 247 transitions. [INFO]: Finished isDeterministic. Operand is deterministic. [INFO]: Starting Floyd-Hoare check of an automaton with has 3 states, 3 states have (on average 82.33333333333333) internal successors, (247), 3 states have internal predecessors, (247), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [INFO]: Floyd-Hoare annotation has 247 edges. 247 inductive. 0 not inductive. 0 times theorem prover too weak to decide inductivity. 0 times interpolants missing. [INFO]: Start isDeterministic. Operand 3 states and 241 transitions. [INFO]: Finished isDeterministic. Operand is deterministic. [INFO]: Starting Floyd-Hoare check of an automaton with has 3 states, 3 states have (on average 80.33333333333333) internal successors, (241), 3 states have internal predecessors, (241), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [INFO]: Floyd-Hoare annotation has 241 edges. 241 inductive. 0 not inductive. 0 times theorem prover too weak to decide inductivity. 0 times interpolants missing. [INFO]: Start isDeterministic. Operand 3 states and 244 transitions. [INFO]: Finished isDeterministic. Operand is deterministic. [INFO]: Starting Floyd-Hoare check of an automaton with has 3 states, 3 states have (on average 81.33333333333333) internal successors, (244), 3 states have internal predecessors, (244), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [INFO]: Floyd-Hoare annotation has 244 edges. 244 inductive. 0 not inductive. 0 times theorem prover too weak to decide inductivity. 0 times interpolants missing. [INFO]: Number of proof automata: 4 [INFO]: 91 / 102 letters are loopers in proof 0 [INFO]: 75 / 102 letters are loopers in proof 1 [INFO]: 75 / 102 letters are loopers in proof 2 [INFO]: 79 / 102 letters are loopers in proof 3 [INFO]: Loopers in proof automata: min=75, max=91, median=79 [INFO]: Start finitePrefix. Operand will be constructed on-demand [INFO]: 9/93 cut-off events. [INFO]: For 71/90 co-relation queries the response was YES. [INFO]: Finished finitePrefix Result has 216 conditions, 93 events. 9/93 cut-off events. For 71/90 co-relation queries the response was YES. Maximal size of possible extension queue 7. Compared 142 event pairs, 8 based on Foata normal form. 8/93 useless extension candidates. Maximal degree in co-relation 148. Up to 28 conditions per place. [INFO]: OwickiGriesTestSuite setup time: 1611ms [INFO]: Constructing Owicki-Gries proof for Petri program that has 113 places, 102 transitions, 232 flow. [INFO]: Computed Owicki-Gries annotation with 24 ghost variables, 26 ghost updates, and overall size 19082 [WARN]: Non-inductive transition [94][13]. Invalid Hoare triple: precondition (and (not |v_[l41, l0, l12, l111, l36, l70]_1|) (not |v_[l56]_1|) (or (<= (+ (select (select |#pthreadsRwLock| |~#rwlock~0.base|) |~#rwlock~0.offset|) 1) 0) |v_[l50, l2]_1|) (or (not (= (select (select |#pthreadsRwLock| |~#rwlock~0.base|) |~#rwlock~0.offset|) 0)) (not |v_[l93, l94]_1|)) (not |v_[l91, l101, l67, l106]_1|) (not |v_[l48, l85, l35, l1, l99, l68]_1|) (or (not |v_[l93, l94]_1|) (not |v_[l96, l33]_1|)) (not |v_[l90, l10, l98, l13, l16, l62, l17, l64, l66, l22, l25, l102, l24, l26, l104, l28, l105, l107, l37, l39, l3, l43, l73, l47, l46, l7, l75, l8, l78, l88]_1|) (or (not (= (select (select |#pthreadsRwLock| |~#rwlock~0.base|) |~#rwlock~0.offset|) 0)) (not |v_[l45, l42]_1|)) (not |v_[l53]_1|) (not |v_[l57]_1|) (or (not |v_[l15, l40, l9]_1|) (not |v_[l45, l42]_1|)) (or |v_[l45, l42]_1| |v_[l96, l33]_1| |v_[l93, l94]_1|) (or (<= (+ (select (select |#pthreadsRwLock| |~#rwlock~0.base|) |~#rwlock~0.offset|) 1) 0) |v_[l61, l74]_1|) |v_[l49, l5, l11, l77, l44, l6]_1| (or (not |v_[l45, l42]_1|) (not |v_[l96, l33]_1|)) (not |v_[l21, l100, l95]_1|) (or |v_[l61, l74]_1| |v_[l50, l2]_1|) (or (not |v_[l93, l94]_1|) (not |v_[l45, l42]_1|)) (not |v_[l51]_1|) (or |v_[l109, l23, l69]_1| |v_[l61, l74]_1|) (or (= readerThread1of1ForFork2_~y~0 ~x~0) (not |v_[l93, l94]_1|)) (or (not |v_[l50, l2]_1|) (not |v_[l15, l40, l9]_1|)) (not |v_[l63, l20]_1|) (or (not |v_[l93, l94]_1|) |v_[l61, l74]_1|) (not |v_[l67, l91]_1|) (or (not |v_[l45, l42]_1|) |v_[l61, l74]_1|) (or (not |v_[l61, l74]_1|) (not |v_[l109, l23, l69]_1|)) |v_[l58]_1| |v_[l55]_1| |v_[l54]_1| |v_[l52]_1| (or (not |v_[l15, l40, l9]_1|) (not |v_[l93, l94]_1|)) (not |v_[l106, l101]_1|) (or |v_[l15, l40, l9]_1| |v_[l50, l2]_1|)) transition Formula: (and (not |v_v_[l55]_1_2|) (= v_readerThread1of1ForFork1_thidvar1_1 0) (= v_readerThread1of1ForFork1_thidvar4_1 0) (= |v_readerThread1of1ForFork1_#in~arg.base_1| 0) |v_v_[l91, l101, l67, l106]_1_2| |v_v_[l67, l91]_1_2| |v_v_[l56]_1_4| |v_v_[l21, l100, l95]_1_2| (= v_readerThread1of1ForFork1_thidvar3_1 0) (not |v_v_[l49, l5, l11, l77, l44, l6]_1_4|) (= v_readerThread1of1ForFork1_thidvar0_1 |v_ULTIMATE.start_main_#t~pre11#1_1|) (= v_readerThread1of1ForFork1_thidvar2_1 0) (= |v_readerThread1of1ForFork1_#in~arg.offset_1| 0)) InVars {ULTIMATE.start_main_#t~pre11#1=|v_ULTIMATE.start_main_#t~pre11#1_1|} OutVars{v_[l67, l91]_1=|v_v_[l67, l91]_1_2|, readerThread1of1ForFork1_thidvar0=v_readerThread1of1ForFork1_thidvar0_1, readerThread1of1ForFork1_#in~arg.base=|v_readerThread1of1ForFork1_#in~arg.base_1|, readerThread1of1ForFork1_thidvar2=v_readerThread1of1ForFork1_thidvar2_1, readerThread1of1ForFork1_~arg.base=v_readerThread1of1ForFork1_~arg.base_1, readerThread1of1ForFork1_thidvar1=v_readerThread1of1ForFork1_thidvar1_1, readerThread1of1ForFork1_#t~ret4=|v_readerThread1of1ForFork1_#t~ret4_1|, readerThread1of1ForFork1_thidvar4=v_readerThread1of1ForFork1_thidvar4_1, readerThread1of1ForFork1_#t~ret3=|v_readerThread1of1ForFork1_#t~ret3_1|, readerThread1of1ForFork1_thidvar3=v_readerThread1of1ForFork1_thidvar3_1, readerThread1of1ForFork1_#res.base=|v_readerThread1of1ForFork1_#res.base_1|, v_[l56]_1=|v_v_[l56]_1_4|, v_[l91, l101, l67, l106]_1=|v_v_[l91, l101, l67, l106]_1_2|, readerThread1of1ForFork1_#res.offset=|v_readerThread1of1ForFork1_#res.offset_1|, v_[l21, l100, l95]_1=|v_v_[l21, l100, l95]_1_2|, readerThread1of1ForFork1_~arg.offset=v_readerThread1of1ForFork1_~arg.offset_1, readerThread1of1ForFork1_~y~0=v_readerThread1of1ForFork1_~y~0_1, readerThread1of1ForFork1_#in~arg.offset=|v_readerThread1of1ForFork1_#in~arg.offset_1|, v_[l49, l5, l11, l77, l44, l6]_1=|v_v_[l49, l5, l11, l77, l44, l6]_1_4|, ULTIMATE.start_main_#t~pre11#1=|v_ULTIMATE.start_main_#t~pre11#1_1|, v_[l55]_1=|v_v_[l55]_1_2|} AuxVars[] AssignedVars[v_[l67, l91]_1, readerThread1of1ForFork1_thidvar0, readerThread1of1ForFork1_#in~arg.base, readerThread1of1ForFork1_thidvar2, readerThread1of1ForFork1_~arg.base, readerThread1of1ForFork1_thidvar1, readerThread1of1ForFork1_#t~ret4, readerThread1of1ForFork1_thidvar4, readerThread1of1ForFork1_#t~ret3, readerThread1of1ForFork1_thidvar3, readerThread1of1ForFork1_#res.base, v_[l56]_1, v_[l91, l101, l67, l106]_1, readerThread1of1ForFork1_#res.offset, v_[l21, l100, l95]_1, readerThread1of1ForFork1_~arg.offset, readerThread1of1ForFork1_~y~0, readerThread1of1ForFork1_#in~arg.offset, v_[l49, l5, l11, l77, l44, l6]_1, v_[l55]_1] postcondition (and (not |v_[l41, l0, l12, l111, l36, l70]_1|) (not |v_[l49, l5, l11, l77, l44, l6]_1|) |v_[l67, l91]_1| (not |v_[l48, l85, l35, l1, l99, l68]_1|) (or |v_[l45, l42]_1| |v_[l93, l94]_1|) (not |v_[l90, l10, l98, l13, l16, l62, l17, l64, l66, l22, l25, l102, l24, l26, l104, l28, l105, l107, l37, l39, l3, l43, l73, l47, l46, l7, l75, l8, l78, l88]_1|) (not (= (select (select |#pthreadsRwLock| |~#rwlock~0.base|) |~#rwlock~0.offset|) 0)) (not |v_[l53]_1|) (not |v_[l57]_1|) (not |v_[l55]_1|) (not |v_[l109, l23, l69]_1|) (or (not |v_[l93, l94]_1|) (not |v_[l45, l42]_1|)) (not |v_[l51]_1|) (not |v_[l15, l40, l9]_1|) (or (= readerThread1of1ForFork2_~y~0 ~x~0) (not |v_[l93, l94]_1|)) |v_[l61, l74]_1| |v_[l50, l2]_1| (not |v_[l63, l20]_1|) (not |v_[l96, l33]_1|) |v_[l91, l101, l67, l106]_1| |v_[l58]_1| |v_[l56]_1| |v_[l54]_1| |v_[l52]_1| |v_[l21, l100, l95]_1| (not |v_[l106, l101]_1|)) │ │ │ caught: java.lang.AssertionError: Owicki-Gries annotation is invalid │ │ │  at de.uni_freiburg.informatik.ultimate.lib.proofs.owickigries.GraphEmpireOwickiGries.checkOwickiGriesValidity(GraphEmpireOwickiGries.java:210) │ │ │  at de.uni_freiburg.informatik.ultimate.lib.proofs.owickigries.GraphEmpireOwickiGries.getOrComputeProof(GraphEmpireOwickiGries.java:159) │ │ │  at de.uni_freiburg.informatik.ultimate.lib.proofs.owickigries.GraphEmpireOwickiGries.getOrComputeProof(GraphEmpireOwickiGries.java:1) │ │ │  at de.uni_freiburg.informatik.ultimate.lib.proofs.owickigries.OGProofProducerTest.runTest(OGProofProducerTest.java:66) │ │ │  at de.uni_freiburg.informatik.ultimate.lib.proofs.owickigries.OwickiGriesTestSuite.runTestInternal(OwickiGriesTestSuite.java:293) │ │ │  at de.uni_freiburg.informatik.ultimate.lib.proofs.owickigries.OwickiGriesTestSuite$OwickiGriesTestCase.run(OwickiGriesTestSuite.java:547) │ │ │  at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103) │ │ │  at java.base/java.lang.reflect.Method.invoke(Method.java:580) │ │ │  at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59) │ │ │  at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) │ │ │  at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56) │ │ │  at de.uni_freiburg.informatik.ultimate.test.junitextension.testfactory.FrameworkFactoryTest.invokeExplosively(FrameworkFactoryTest.java:72) │ │ │  at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) │ │ │  at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) │ │ │  at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) │ │ │  at de.uni_freiburg.informatik.ultimate.test.junitextension.testfactory.FactoryTestRunner.myRunLeaf(FactoryTestRunner.java:213) │ │ │  at de.uni_freiburg.informatik.ultimate.test.junitextension.testfactory.FactoryTestRunner.runChild(FactoryTestRunner.java:205) │ │ │  at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:63) │ │ │  at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) │ │ │  at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) │ │ │  at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) │ │ │  at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) │ │ │  at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) │ │ │  at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) │ │ │  at org.junit.runners.ParentRunner.run(ParentRunner.java:413) │ │ │  at org.junit.runner.JUnitCore.run(JUnitCore.java:137) │ │ │  at org.junit.runner.JUnitCore.run(JUnitCore.java:115) │ │ │  at org.junit.vintage.engine.execution.RunnerExecutor.execute(RunnerExecutor.java:42) │ │ │  at org.junit.vintage.engine.VintageTestEngine.executeAllChildren(VintageTestEngine.java:80) │ │ │  at org.junit.vintage.engine.VintageTestEngine.execute(VintageTestEngine.java:72) │ │ │  at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:147) │ │ │  at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:127) │ │ │  at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:90) │ │ │  at org.junit.platform.launcher.core.EngineExecutionOrchestrator.lambda$execute$0(EngineExecutionOrchestrator.java:55) │ │ │  at org.junit.platform.launcher.core.EngineExecutionOrchestrator.withInterceptedStreams(EngineExecutionOrchestrator.java:102) │ │ │  at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:54) │ │ │  at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:114) │ │ │  at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:86) │ │ │  at org.junit.platform.launcher.core.DefaultLauncherSession$DelegatingLauncher.execute(DefaultLauncherSession.java:86) │ │ │  at org.junit.platform.launcher.core.SessionPerRequestLauncher.execute(SessionPerRequestLauncher.java:53) │ │ │  at org.junit.platform.console.tasks.ConsoleTestExecutor.executeTests(ConsoleTestExecutor.java:66) │ │ │  at org.junit.platform.console.tasks.ConsoleTestExecutor.lambda$execute$0(ConsoleTestExecutor.java:58) │ │ │  at org.junit.platform.console.tasks.CustomContextClassLoaderExecutor.replaceThreadContextClassLoaderAndInvoke(CustomContextClassLoaderExecutor.java:41) │ │ │  at org.junit.platform.console.tasks.CustomContextClassLoaderExecutor.invoke(CustomContextClassLoaderExecutor.java:31) │ │ │  at org.junit.platform.console.tasks.ConsoleTestExecutor.execute(ConsoleTestExecutor.java:58) │ │ │  at org.junit.platform.console.ConsoleLauncher.executeTests(ConsoleLauncher.java:120) │ │ │  at org.junit.platform.console.ConsoleLauncher.execute(ConsoleLauncher.java:82) │ │ │  at org.junit.platform.console.ConsoleLauncher.execute(ConsoleLauncher.java:55) │ │ │  at org.junit.platform.console.ConsoleLauncher.execute(ConsoleLauncher.java:48) │ │ │  at org.junit.platform.console.ConsoleLauncher.main(ConsoleLauncher.java:42) │ │ │ duration: 4312 ms │ │ │ status: ✘ FAILED │ └─ GraphEmpireOG finished after 4317 ms. └─ JUnit Vintage finished after 4326 ms. ├─ JUnit Platform Suite └─ JUnit Platform Suite finished after 1 ms. Test plan execution finished. Number of all tests: 1  Test run finished after 4385 ms [ 4 containers found ] [ 0 containers skipped ] [ 4 containers started ] [ 0 containers aborted ] [ 4 containers successful ] [ 0 containers failed ] [ 1 tests found ] [ 0 tests skipped ] [ 1 tests started ] [ 0 tests aborted ] [ 0 tests successful ] [ 1 tests failed ]