PRISM

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

Version: 4.4.dev
Date: Mon Dec 10 22:51:14 CET 2018
Hostname: qcomp2019
Memory limits: cudd=1g, java(heap)=1g
Command line: prism --javamaxmem 11g consensus.4.prism consensus.props --property steps_min -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: "steps_min": R{"steps"}min=? [ F "finished" ]
Model constants: K=4

Building model...
Model constants: K=4

Computing reachable states...

Reachability (BFS): 195 iterations in 0.12 seconds (average 0.000615, setup 0.00)

Time for model construction: 0.092 seconds.

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

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

Prob0A: 57 iterations in 0.09 seconds (average 0.001596, setup 0.00)

Prob1E: 58 iterations in 0.03 seconds (average 0.000586, setup 0.00)

Warning: PRISM hasn't checked for zero-reward loops.
Your minimum rewards may be too low...

goal = 64, inf = 0, maybe = 43072

Computing remaining rewards...
Engine: Sparse

Building sparse matrix (transitions)... [n=43136, nc=115776, nnz=144288, k=4] [2.3 MB]
Building sparse matrix (transition rewards)... [n=43136, nc=115776, nnz=0, k=4] [620.8 KB]
Creating vector for state rewards... [337.0 KB]
Creating vector for inf... [337.0 KB]
Allocating iteration vectors... [2 x 337.0 KB]
TOTAL: [4.2 MB]

Starting iterations...
Iteration 2888: max relative diff=0.000016, 5.00 sec so far

Iterative method: 4613 iterations in 8.03 seconds (average 0.001731, setup 0.05)

Value in the initial state: 767.5261352324376

Time for model checking: 8.15 seconds.

Result: 767.5261352324376 (value in the initial state)


Overall running time: 8.793 seconds.

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

Note: There was 1 warning during computation.