fond
Model Checking Contest 2023
13th edition, Paris, France, April 26, 2023 (at TOOLympics II)
Execution of r277-smll-167863548900379
Last Updated
May 14, 2023

About the Execution of LoLa+red for Peterson-PT-2

Execution Summary
Max Memory
Used (MB)
Time wait (ms) CPU Usage (ms) I/O Wait (ms) Computed Result Execution
Status
424.831 22969.00 44920.00 387.80 F normal

Execution Chart

We display below the execution chart for this examination (boot time has been removed).

Trace from the execution

Formatting '/data/fkordon/mcc2023-input.r277-smll-167863548900379.qcow2', fmt=qcow2 size=4294967296 backing_file=/data/fkordon/mcc2023-input.qcow2 cluster_size=65536 lazy_refcounts=off refcount_bits=16
Waiting for the VM to be ready (probing ssh)
...........................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
=====================================================================
Generated by BenchKit 2-5348
Executing tool lolaxred
Input is Peterson-PT-2, examination is Liveness
Time confinement is 1800 seconds
Memory confinement is 16384 MBytes
Number of cores is 4
Run identifier is r277-smll-167863548900379
=====================================================================

--------------------
preparation of the directory to be used:
/home/mcc/execution
total 868K
-rw-r--r-- 1 mcc users 13K Feb 25 22:04 CTLCardinality.txt
-rw-r--r-- 1 mcc users 79K Feb 25 22:04 CTLCardinality.xml
-rw-r--r-- 1 mcc users 22K Feb 25 22:01 CTLFireability.txt
-rw-r--r-- 1 mcc users 124K Feb 25 22:01 CTLFireability.xml
-rw-r--r-- 1 mcc users 4.2K Jan 29 11:40 GenericPropertiesDefinition.xml
-rw-r--r-- 1 mcc users 9.2K Feb 25 16:31 LTLCardinality.txt
-rw-r--r-- 1 mcc users 38K Feb 25 16:31 LTLCardinality.xml
-rw-r--r-- 1 mcc users 6.5K Feb 25 16:31 LTLFireability.txt
-rw-r--r-- 1 mcc users 31K Feb 25 16:31 LTLFireability.xml
-rw-r--r-- 1 mcc users 24K Feb 25 22:07 ReachabilityCardinality.txt
-rw-r--r-- 1 mcc users 152K Feb 25 22:07 ReachabilityCardinality.xml
-rw-r--r-- 1 mcc users 33K Feb 25 22:06 ReachabilityFireability.txt
-rw-r--r-- 1 mcc users 185K Feb 25 22:06 ReachabilityFireability.xml
-rw-r--r-- 1 mcc users 2.6K Feb 25 16:31 UpperBounds.txt
-rw-r--r-- 1 mcc users 5.8K Feb 25 16:31 UpperBounds.xml
-rw-r--r-- 1 mcc users 5 Mar 5 18:23 equiv_col
-rw-r--r-- 1 mcc users 2 Mar 5 18:23 instance
-rw-r--r-- 1 mcc users 6 Mar 5 18:23 iscolored
-rw-r--r-- 1 mcc users 100K Mar 5 18:23 model.pnml

--------------------
content from stdout:

=== Data for post analysis generated by BenchKit (invocation template)

The expected result is a vector of booleans
BOOL_VECTOR

FORMULA_NAME Liveness

=== Now, execution of the tool begins

BK_START 1678883256023

bash -c /home/mcc/BenchKit/BenchKit_head.sh 2> STDERR ; echo ; echo -n "BK_STOP " ; date -u +%s%3N
Invoking MCC driver with
BK_TOOL=lolaxred
BK_EXAMINATION=Liveness
BK_BIN_PATH=/home/mcc/BenchKit/bin/
BK_TIME_CONFINEMENT=1800
BK_INPUT=Peterson-PT-2
Applying reductions before tool lola
Invoking reducer
Running Version 202303021504
[2023-03-15 12:27:38] [INFO ] Running its-tools with arguments : [-pnfolder, /home/mcc/execution, -examination, Liveness, -timeout, 180, -rebuildPNML]
[2023-03-15 12:27:38] [INFO ] Parsing pnml file : /home/mcc/execution/model.pnml
[2023-03-15 12:27:38] [INFO ] Load time of PNML (sax parser for PT used): 266 ms
[2023-03-15 12:27:38] [INFO ] Transformed 102 places.
[2023-03-15 12:27:38] [INFO ] Transformed 126 transitions.
[2023-03-15 12:27:38] [INFO ] Found NUPN structural information;
[2023-03-15 12:27:38] [INFO ] Parsed PT model containing 102 places and 126 transitions and 384 arcs in 425 ms.
Built sparse matrix representations for Structural reductions in 7 ms.27409KB memory used
Starting structural reductions in DEADLOCK mode, iteration 0 : 102/102 places, 126/126 transitions.
Computed a total of 0 stabilizing places and 0 stable transitions
Computed a total of 0 stabilizing places and 0 stable transitions
Computed a total of 0 stabilizing places and 0 stable transitions
Applied a total of 0 rules in 30 ms. Remains 102 /102 variables (removed 0) and now considering 126/126 (removed 0) transitions.
Finished structural reductions in DEADLOCK mode , in 1 iterations and 30 ms. Remains : 102/102 places, 126/126 transitions.
Starting structural reductions in DEADLOCK mode, iteration 0 : 102/102 places, 126/126 transitions.
Computed a total of 0 stabilizing places and 0 stable transitions
Computed a total of 0 stabilizing places and 0 stable transitions
Computed a total of 0 stabilizing places and 0 stable transitions
Applied a total of 0 rules in 8 ms. Remains 102 /102 variables (removed 0) and now considering 126/126 (removed 0) transitions.
[2023-03-15 12:27:39] [INFO ] Flow matrix only has 120 transitions (discarded 6 similar events)
// Phase 1: matrix 120 rows 102 cols
[2023-03-15 12:27:39] [INFO ] Computed 11 place invariants in 15 ms
[2023-03-15 12:27:39] [INFO ] Implicit Places using invariants in 259 ms returned []
[2023-03-15 12:27:39] [INFO ] Flow matrix only has 120 transitions (discarded 6 similar events)
[2023-03-15 12:27:39] [INFO ] Invariant cache hit.
[2023-03-15 12:27:39] [INFO ] State equation strengthened by 22 read => feed constraints.
[2023-03-15 12:27:39] [INFO ] Implicit Places using invariants and state equation in 146 ms returned []
Implicit Place search using SMT with State Equation took 446 ms to find 0 implicit places.
[2023-03-15 12:27:39] [INFO ] Redundant transitions in 4 ms returned []
[2023-03-15 12:27:39] [INFO ] Flow matrix only has 120 transitions (discarded 6 similar events)
[2023-03-15 12:27:39] [INFO ] Invariant cache hit.
[2023-03-15 12:27:39] [INFO ] Dead Transitions using invariants and state equation in 151 ms found 0 transitions.
Finished structural reductions in DEADLOCK mode , in 1 iterations and 617 ms. Remains : 102/102 places, 126/126 transitions.
Random walk for 1250000 steps, including 0 resets, run took 1218 ms (no deadlock found). (steps per millisecond=1026 )
Random directed walk for 1250000 steps, including 0 resets, run took 883 ms (no deadlock found). (steps per millisecond=1415 )
[2023-03-15 12:27:41] [INFO ] Flow matrix only has 120 transitions (discarded 6 similar events)
[2023-03-15 12:27:41] [INFO ] Invariant cache hit.
[2023-03-15 12:27:41] [INFO ] [Real]Absence check using 8 positive place invariants in 4 ms returned sat
[2023-03-15 12:27:41] [INFO ] [Real]Absence check using 8 positive and 3 generalized place invariants in 2 ms returned unsat
Starting structural reductions in LIVENESS mode, iteration 0 : 102/102 places, 126/126 transitions.
Drop transitions removed 36 transitions
Trivial Post-agglo rules discarded 36 transitions
Performed 36 trivial Post agglomeration. Transition count delta: 36
Iterating post reduction 0 with 36 rules applied. Total rules applied 36 place count 102 transition count 90
Reduce places removed 36 places and 0 transitions.
Iterating post reduction 1 with 36 rules applied. Total rules applied 72 place count 66 transition count 90
Performed 18 Pre agglomeration using Quasi-Persistent + Divergent Free condition..
Pre-agglomeration after 2 with 18 Pre rules applied. Total rules applied 72 place count 66 transition count 72
Deduced a syphon composed of 18 places in 1 ms
Reduce places removed 18 places and 0 transitions.
Iterating global reduction 2 with 36 rules applied. Total rules applied 108 place count 48 transition count 72
Performed 6 Post agglomeration using F-continuation condition.Transition count delta: 6
Deduced a syphon composed of 6 places in 1 ms
Reduce places removed 6 places and 0 transitions.
Iterating global reduction 2 with 12 rules applied. Total rules applied 120 place count 42 transition count 66
Applied a total of 120 rules in 14 ms. Remains 42 /102 variables (removed 60) and now considering 66/126 (removed 60) transitions.
[2023-03-15 12:27:41] [INFO ] Flow matrix only has 60 transitions (discarded 6 similar events)
// Phase 1: matrix 60 rows 42 cols
[2023-03-15 12:27:41] [INFO ] Computed 11 place invariants in 2 ms
[2023-03-15 12:27:41] [INFO ] Implicit Places using invariants in 101 ms returned [31, 33, 34]
Discarding 3 places :
Implicit Place search using SMT only with invariants took 109 ms to find 3 implicit places.
Starting structural reductions in LIVENESS mode, iteration 1 : 39/102 places, 66/126 transitions.
Applied a total of 0 rules in 1 ms. Remains 39 /39 variables (removed 0) and now considering 66/66 (removed 0) transitions.
Finished structural reductions in LIVENESS mode , in 2 iterations and 126 ms. Remains : 39/102 places, 66/126 transitions.
Discarding 3 transitions out of 66. Remains 63
Incomplete random walk after 10000 steps, including 2 resets, run finished after 602 ms. (steps per millisecond=16 ) properties (out of 63) seen :53
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 90 ms. (steps per millisecond=111 ) properties (out of 10) seen :0
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 94 ms. (steps per millisecond=106 ) properties (out of 10) seen :0
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 90 ms. (steps per millisecond=111 ) properties (out of 10) seen :0
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 95 ms. (steps per millisecond=105 ) properties (out of 10) seen :0
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 79 ms. (steps per millisecond=126 ) properties (out of 10) seen :1
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 56 ms. (steps per millisecond=178 ) properties (out of 9) seen :1
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 53 ms. (steps per millisecond=188 ) properties (out of 8) seen :0
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 52 ms. (steps per millisecond=192 ) properties (out of 8) seen :0
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 50 ms. (steps per millisecond=200 ) properties (out of 8) seen :0
Running SMT prover for 8 properties.
[2023-03-15 12:27:43] [INFO ] Flow matrix only has 60 transitions (discarded 6 similar events)
// Phase 1: matrix 60 rows 39 cols
[2023-03-15 12:27:43] [INFO ] Computed 8 place invariants in 5 ms
[2023-03-15 12:27:43] [INFO ] [Real]Absence check using 8 positive place invariants in 3 ms returned sat
[2023-03-15 12:27:43] [INFO ] After 73ms SMT Verify possible using state equation in real domain returned unsat :0 sat :1 real:7
[2023-03-15 12:27:43] [INFO ] State equation strengthened by 22 read => feed constraints.
[2023-03-15 12:27:43] [INFO ] After 8ms SMT Verify possible using 22 Read/Feed constraints in real domain returned unsat :0 sat :0 real:8
[2023-03-15 12:27:43] [INFO ] After 189ms SMT Verify possible using all constraints in real domain returned unsat :0 sat :0 real:8
[2023-03-15 12:27:43] [INFO ] [Nat]Absence check using 8 positive place invariants in 2 ms returned sat
[2023-03-15 12:27:43] [INFO ] After 62ms SMT Verify possible using state equation in natural domain returned unsat :0 sat :8
[2023-03-15 12:27:43] [INFO ] After 47ms SMT Verify possible using 22 Read/Feed constraints in natural domain returned unsat :0 sat :8
[2023-03-15 12:27:43] [INFO ] Deduced a trap composed of 10 places in 40 ms of which 5 ms to minimize.
[2023-03-15 12:27:43] [INFO ] Deduced a trap composed of 6 places in 33 ms of which 1 ms to minimize.
[2023-03-15 12:27:43] [INFO ] Trap strengthening (SAT) tested/added 3/2 trap constraints in 89 ms
[2023-03-15 12:27:43] [INFO ] Deduced a trap composed of 7 places in 32 ms of which 1 ms to minimize.
[2023-03-15 12:27:43] [INFO ] Trap strengthening (SAT) tested/added 2/1 trap constraints in 43 ms
[2023-03-15 12:27:43] [INFO ] Deduced a trap composed of 11 places in 34 ms of which 2 ms to minimize.
[2023-03-15 12:27:43] [INFO ] Trap strengthening (SAT) tested/added 2/1 trap constraints in 43 ms
[2023-03-15 12:27:43] [INFO ] Deduced a trap composed of 10 places in 36 ms of which 1 ms to minimize.
[2023-03-15 12:27:43] [INFO ] Trap strengthening (SAT) tested/added 2/1 trap constraints in 45 ms
[2023-03-15 12:27:43] [INFO ] After 334ms SMT Verify possible using trap constraints in natural domain returned unsat :0 sat :8
Attempting to minimize the solution found.
Minimization took 38 ms.
[2023-03-15 12:27:43] [INFO ] After 504ms SMT Verify possible using all constraints in natural domain returned unsat :0 sat :8
Parikh walk visited 6 properties in 558 ms.
Support contains 4 out of 39 places. Attempting structural reductions.
Starting structural reductions in REACHABILITY mode, iteration 0 : 39/39 places, 66/66 transitions.
Applied a total of 0 rules in 10 ms. Remains 39 /39 variables (removed 0) and now considering 66/66 (removed 0) transitions.
Finished structural reductions in REACHABILITY mode , in 1 iterations and 10 ms. Remains : 39/39 places, 66/66 transitions.
Incomplete random walk after 1000000 steps, including 2 resets, run finished after 8769 ms. (steps per millisecond=114 ) properties (out of 2) seen :0
Incomplete Best-First random walk after 1000001 steps, including 2 resets, run finished after 2279 ms. (steps per millisecond=438 ) properties (out of 2) seen :0
Incomplete Best-First random walk after 1000001 steps, including 2 resets, run finished after 2303 ms. (steps per millisecond=434 ) properties (out of 2) seen :0
Finished probabilistic random walk after 1848 steps, run visited all 2 properties in 28 ms. (steps per millisecond=66 )
Probabilistic random walk after 1848 steps, saw 505 distinct states, run finished after 29 ms. (steps per millisecond=63 ) properties seen :2
Able to resolve query QuasiLiveness after proving 63 properties.
Starting structural reductions in LIVENESS mode, iteration 0 : 102/102 places, 126/126 transitions.
Drop transitions removed 36 transitions
Trivial Post-agglo rules discarded 36 transitions
Performed 36 trivial Post agglomeration. Transition count delta: 36
Iterating post reduction 0 with 36 rules applied. Total rules applied 36 place count 102 transition count 90
Reduce places removed 36 places and 0 transitions.
Iterating post reduction 1 with 36 rules applied. Total rules applied 72 place count 66 transition count 90
Performed 18 Pre agglomeration using Quasi-Persistent + Divergent Free condition..
Pre-agglomeration after 2 with 18 Pre rules applied. Total rules applied 72 place count 66 transition count 72
Deduced a syphon composed of 18 places in 0 ms
Reduce places removed 18 places and 0 transitions.
Iterating global reduction 2 with 36 rules applied. Total rules applied 108 place count 48 transition count 72
Performed 6 Post agglomeration using F-continuation condition.Transition count delta: 6
Deduced a syphon composed of 6 places in 0 ms
Reduce places removed 6 places and 0 transitions.
Iterating global reduction 2 with 12 rules applied. Total rules applied 120 place count 42 transition count 66
Applied a total of 120 rules in 7 ms. Remains 42 /102 variables (removed 60) and now considering 66/126 (removed 60) transitions.
[2023-03-15 12:27:57] [INFO ] Flow matrix only has 60 transitions (discarded 6 similar events)
// Phase 1: matrix 60 rows 42 cols
[2023-03-15 12:27:57] [INFO ] Computed 11 place invariants in 2 ms
[2023-03-15 12:27:57] [INFO ] Implicit Places using invariants in 97 ms returned [31, 33, 34]
Discarding 3 places :
Implicit Place search using SMT only with invariants took 98 ms to find 3 implicit places.
Starting structural reductions in LIVENESS mode, iteration 1 : 39/102 places, 66/126 transitions.
Applied a total of 0 rules in 1 ms. Remains 39 /39 variables (removed 0) and now considering 66/66 (removed 0) transitions.
Finished structural reductions in LIVENESS mode , in 2 iterations and 107 ms. Remains : 39/102 places, 66/126 transitions.
Discarding 3 transitions out of 66. Remains 63
Unable to solve all queries for examination Liveness. Remains :63 assertions to prove.
No /home/mcc/execution/Liveness.xml examination file found. Proceeding without properties.
Parsed 63 properties from file /home/mcc/execution/Liveness.xml in 1 ms.
Working with output stream class java.io.PrintStream
Total runtime 19560 ms.
starting LoLA
BK_INPUT Peterson-PT-2
BK_EXAMINATION: Liveness
bin directory: /home/mcc/BenchKit/bin//../reducer/bin//../../lola/bin/
current directory: /home/mcc/execution
GlobalProperty: Liveness

FORMULA Liveness FALSE TECHNIQUES COLLATERAL_PROCESSING EXPLICIT TOPOLOGICAL STATE_COMPRESSION STUBBORN_SETS USE_NUPN UNFOLDING_TO_PT

BK_STOP 1678883278992

--------------------
content from stderr:

+ ulimit -s 65536
+ [[ -z '' ]]
+ export LTSMIN_MEM_SIZE=8589934592
+ LTSMIN_MEM_SIZE=8589934592
+ export PYTHONPATH=/home/mcc/BenchKit/itstools/pylibs
+ PYTHONPATH=/home/mcc/BenchKit/itstools/pylibs
+ export LD_LIBRARY_PATH=/home/mcc/BenchKit/itstools/pylibs:
+ LD_LIBRARY_PATH=/home/mcc/BenchKit/itstools/pylibs:
++ sed s/.jar//
++ perl -pe 's/.*\.//g'
++ ls /home/mcc/BenchKit/bin//../reducer/bin//../../itstools//itstools/plugins/fr.lip6.move.gal.application.pnmcc_1.0.0.202303021504.jar
+ VERSION=202303021504
+ echo 'Running Version 202303021504'
+ /home/mcc/BenchKit/bin//../reducer/bin//../../itstools//itstools/its-tools -pnfolder /home/mcc/execution -examination Liveness -timeout 180 -rebuildPNML
lola: MEM LIMIT 32
lola: MEM LIMIT 5
lola: NET
lola: input: PNML file (--pnmlnet)
lola: reading net from /home/mcc/execution/model.pnml
lola: reading pnml
lola: PNML file contains place/transition net
lola: finished parsing
lola: closed net file /home/mcc/execution/model.pnml
lola: LAUNCH SYMM
lola: ..... NotAlone_1_2_1: false
lola: INDIVIDUAL RESULTS
lola: TurnDiff_2_1_0: void (by not produced)
lola: TurnDiff_2_1_1: void (by not produced)
lola: Alone1_0_1_0: void (by not produced)
lola: Alone1_0_1_1: void (by not produced)
lola: Alone1_0_2_0: void (by not produced)
lola: Alone1_0_2_1: void (by not produced)
lola: UpdateTurn_1_0_0: void (by not produced)
lola: UpdateTurn_1_0_1: void (by not produced)
lola: NotAlone_0_1_0: void (by not produced)
lola: NotAlone_0_1_1: void (by not produced)
lola: UpdateTurn_1_1_0: void (by not produced)
lola: UpdateTurn_1_1_1: void (by not produced)
lola: TurnDiff_0_1_0: void (by not produced)
lola: TurnDiff_0_1_1: void (by not produced)
lola: NotAlone_0_2_0: void (by not produced)
lola: NotAlone_0_2_1: void (by not produced)
lola: UpdateTurn_1_2_0: void (by not produced)
lola: UpdateTurn_1_2_1: void (by not produced)
lola: BecomeIdle_0: void (by not produced)
lola: BecomeIdle_1: void (by not produced)
lola: BecomeIdle_2: void (by not produced)
lola: TurnDiff_0_2_0: void (by not produced)
lola: TurnDiff_0_2_1: void (by not produced)
lola: Alone1_1_0_0: void (by not produced)
lola: Alone1_1_0_1: void (by not produced)
lola: Alone1_1_2_0: void (by not produced)
lola: Alone1_1_2_1: void (by not produced)
lola: Ask_0: void (by not produced)
lola: Ask_1: void (by not produced)
lola: Ask_2: void (by not produced)
lola: NotAlone_1_0_0: void (by not produced)
lola: NotAlone_1_0_1: void (by not produced)
lola: UpdateTurn_2_0_0: void (by not produced)
lola: UpdateTurn_2_0_1: void (by not produced)
lola: TurnDiff_1_0_0: void (by not produced)
lola: TurnDiff_1_0_1: void (by not produced)
lola: UpdateTurn_2_1_0: void (by not produced)
lola: UpdateTurn_2_1_1: void (by not produced)
lola: TurnEqual_0_0: void (by not produced)
lola: TurnEqual_0_1: void (by not produced)
lola: NotAlone_1_2_0: void (by not produced)
lola: NotAlone_1_2_1: false (by goal oriented search)
lola: UpdateTurn_2_2_0: void (by not produced)
lola: UpdateTurn_2_2_1: void (by not produced)
lola: TurnEqual_1_0: void (by not produced)
lola: TurnEqual_1_1: void (by not produced)
lola: TurnDiff_1_2_0: void (by not produced)
lola: TurnDiff_1_2_1: void (by not produced)
lola: Alone1_2_0_0: void (by not produced)
lola: Alone1_2_0_1: void (by not produced)
lola: TurnEqual_2_0: void (by not produced)
lola: TurnEqual_2_1: void (by not produced)
lola: Alone1_2_1_0: void (by not produced)
lola: Alone1_2_1_1: void (by not produced)
lola: UpdateTurn_0_0_0: void (by not produced)
lola: UpdateTurn_0_0_1: void (by not produced)
lola: UpdateTurn_0_1_0: void (by not produced)
lola: UpdateTurn_0_1_1: void (by not produced)
lola: NotAlone_2_0_0: void (by not produced)
lola: NotAlone_2_0_1: void (by not produced)
lola: UpdateTurn_0_2_0: void (by not produced)
lola: UpdateTurn_0_2_1: void (by not produced)
lola: TurnDiff_2_0_0: void (by not produced)
lola: TurnDiff_2_0_1: void (by not produced)
lola: NotAlone_2_1_0: void (by not produced)
lola: NotAlone_2_1_1: void (by not produced)
lola: The net is not live
lola: ..... Alone1_0_1_0: false
lola: Example for violating transition: NotAlone_1_2_1

Sequence of Actions to be Executed by the VM

This is useful if one wants to reexecute the tool in the VM from the submitted image disk.

set -x
# this is for BenchKit: configuration of major elements for the test
export BK_INPUT="Peterson-PT-2"
export BK_EXAMINATION="Liveness"
export BK_TOOL="lolaxred"
export BK_RESULT_DIR="/tmp/BK_RESULTS/OUTPUTS"
export BK_TIME_CONFINEMENT="1800"
export BK_MEMORY_CONFINEMENT="16384"
export BK_BIN_PATH="/home/mcc/BenchKit/bin/"

# this is specific to your benchmark or test

export BIN_DIR="$HOME/BenchKit/bin"

# remove the execution directoty if it exists (to avoid increse of .vmdk images)
if [ -d execution ] ; then
rm -rf execution
fi

# this is for BenchKit: explicit launching of the test
echo "====================================================================="
echo " Generated by BenchKit 2-5348"
echo " Executing tool lolaxred"
echo " Input is Peterson-PT-2, examination is Liveness"
echo " Time confinement is $BK_TIME_CONFINEMENT seconds"
echo " Memory confinement is 16384 MBytes"
echo " Number of cores is 4"
echo " Run identifier is r277-smll-167863548900379"
echo "====================================================================="
echo
echo "--------------------"
echo "preparation of the directory to be used:"

tar xzf /home/mcc/BenchKit/INPUTS/Peterson-PT-2.tgz
mv Peterson-PT-2 execution
cd execution
if [ "Liveness" = "ReachabilityDeadlock" ] || [ "Liveness" = "UpperBounds" ] || [ "Liveness" = "QuasiLiveness" ] || [ "Liveness" = "StableMarking" ] || [ "Liveness" = "Liveness" ] || [ "Liveness" = "OneSafe" ] || [ "Liveness" = "StateSpace" ]; then
rm -f GenericPropertiesVerdict.xml
fi
pwd
ls -lh

echo
echo "--------------------"
echo "content from stdout:"
echo
echo "=== Data for post analysis generated by BenchKit (invocation template)"
echo
if [ "Liveness" = "UpperBounds" ] ; then
echo "The expected result is a vector of positive values"
echo NUM_VECTOR
elif [ "Liveness" != "StateSpace" ] ; then
echo "The expected result is a vector of booleans"
echo BOOL_VECTOR
else
echo "no data necessary for post analysis"
fi
echo
if [ -f "Liveness.txt" ] ; then
echo "here is the order used to build the result vector(from text file)"
for x in $(grep Property Liveness.txt | cut -d ' ' -f 2 | sort -u) ; do
echo "FORMULA_NAME $x"
done
elif [ -f "Liveness.xml" ] ; then # for cunf (txt files deleted;-)
echo echo "here is the order used to build the result vector(from xml file)"
for x in $(grep '' Liveness.xml | cut -d '>' -f 2 | cut -d '<' -f 1 | sort -u) ; do
echo "FORMULA_NAME $x"
done
elif [ "Liveness" = "ReachabilityDeadlock" ] || [ "Liveness" = "QuasiLiveness" ] || [ "Liveness" = "StableMarking" ] || [ "Liveness" = "Liveness" ] || [ "Liveness" = "OneSafe" ] ; then
echo "FORMULA_NAME Liveness"
fi
echo
echo "=== Now, execution of the tool begins"
echo
echo -n "BK_START "
date -u +%s%3N
echo
timeout -s 9 $BK_TIME_CONFINEMENT bash -c "/home/mcc/BenchKit/BenchKit_head.sh 2> STDERR ; echo ; echo -n \"BK_STOP \" ; date -u +%s%3N"
if [ $? -eq 137 ] ; then
echo
echo "BK_TIME_CONFINEMENT_REACHED"
fi
echo
echo "--------------------"
echo "content from stderr:"
echo
cat STDERR ;