PRISM

Benchmark
Model:consensus v.1 (MDP)
Parameter(s)N = 4, K = 4
Property:disagree (prob-reach)
Invocation (specific)
./fix-syntax ./prism --javamaxmem 11g consensus.4.prism consensus.props --property disagree -const K=4 -sparse
Select best engine
Execution
Walltime:11.208718299865723s
Return code:0
Relative Error:0.00010324246230812794
Log
PRISM
=====

Version: 4.4.dev
Date: Mon Dec 10 22:50:54 CET 2018
Hostname: qcomp2019
Memory limits: cudd=1g, java(heap)=1g
Command line: prism --javamaxmem 11g consensus.4.prism consensus.props --property disagree -const K=4 -sparse

Parsing model file "consensus.4.prism"...

Parsing properties file "consensus.props"...

5 properties:
(1) "c1": P>=1 [ F "finished" ]
(2) "c2": Pmin=? [ F "finished"&"all_coins_equal_1" ]
(3) "disagree": Pmax=? [ F "finished"&!"agree" ]
(4) "steps_max": R{"steps"}max=? [ F "finished" ]
(5) "steps_min": R{"steps"}min=? [ F "finished" ]

Type:        MDP
Modules:     process1 process2 process3 process4 
Variables:   counter pc1 coin1 pc2 coin2 pc3 coin3 pc4 coin4 

---------------------------------------------------------------------

Model checking: "disagree": Pmax=? [ F "finished"&!"agree" ]
Model constants: K=4

Building model...
Model constants: K=4

Computing reachable states...

Reachability (BFS): 195 iterations in 0.13 seconds (average 0.000646, setup 0.00)

Time for model construction: 0.088 seconds.

Type:        MDP
States:      43136 (1 initial)
Transitions: 144352
Choices:     115840

Transition matrix: 2336 nodes (3 terminal), 144352 minterms, vars: 18r/18c/4nd

Prob0A: 149 iterations in 0.19 seconds (average 0.001302, setup 0.00)

Prob1E: 2480 iterations in 2.94 seconds (average 0.001185, setup 0.00)

yes = 10872, no = 910, maybe = 31354

Computing remaining probabilities...
Engine: Sparse

Building sparse matrix... [n=43136, nc=94344, nnz=118168, k=4] [1.5 MB]
Creating vector for yes... [337.0 KB]
Allocating iteration vectors... [2 x 337.0 KB]
TOTAL: [2.5 MB]

Starting iterations...
Iteration 4789: max relative diff=0.000028, 5.00 sec so far

Iterative method: 6873 iterations in 7.23 seconds (average 0.001047, setup 0.04)

Value in the initial state: 0.15605695062063785

Time for model checking: 10.342 seconds.

Result: 0.15605695062063785 (value in the initial state)


Overall running time: 10.983 seconds.