fond
Model Checking Contest 2024
14th edition, Geneva, Switzerland, June 25, 2024
Execution of r223-tall-171649611500485
Last Updated
July 7, 2024

About the Execution of GreatSPN+red for MAPK-PT-05120

Execution Summary
Max Memory
Used (MB)
Time wait (ms) CPU Usage (ms) I/O Wait (ms) Computed Result Execution
Status
433.779 15872.00 21463.00 90.50 3840 2560 2560 2560 1280 1280 2560 2560 2560 3840 5120 3840 2560 3840 3840 2560 normal

Execution Chart

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

Trace from the execution

Formatting '/data/fkordon/mcc2024-input.r223-tall-171649611500485.qcow2', fmt=qcow2 size=4294967296 backing_file=/data/fkordon/mcc2024-input.qcow2 backing_fmt=qcow2 cluster_size=65536 lazy_refcounts=off refcount_bits=16
Waiting for the VM to be ready (probing ssh)
.................
=====================================================================
Generated by BenchKit 2-5568
Executing tool greatspnxred
Input is MAPK-PT-05120, examination is UpperBounds
Time confinement is 3600 seconds
Memory confinement is 16384 MBytes
Number of cores is 4
Run identifier is r223-tall-171649611500485
=====================================================================

--------------------
preparation of the directory to be used:
/home/mcc/execution
total 468K
-rw-r--r-- 1 mcc users 8.1K May 14 13:22 CTLCardinality.txt
-rw-r--r-- 1 mcc users 82K May 14 13:22 CTLCardinality.xml
-rw-r--r-- 1 mcc users 6.7K May 14 13:22 CTLFireability.txt
-rw-r--r-- 1 mcc users 70K May 14 13:22 CTLFireability.xml
-rw-r--r-- 1 mcc users 4.2K May 18 16:42 GenericPropertiesDefinition.xml
-rw-r--r-- 1 mcc users 3.3K May 19 07:11 LTLCardinality.txt
-rw-r--r-- 1 mcc users 23K May 19 16:04 LTLCardinality.xml
-rw-r--r-- 1 mcc users 2.0K Apr 22 14:52 LTLFireability.txt
-rw-r--r-- 1 mcc users 16K Apr 22 14:52 LTLFireability.xml
-rw-r--r-- 1 mcc users 7.2K Apr 13 07:49 ReachabilityCardinality.txt
-rw-r--r-- 1 mcc users 61K Apr 13 07:49 ReachabilityCardinality.xml
-rw-r--r-- 1 mcc users 11K Apr 13 07:49 ReachabilityFireability.txt
-rw-r--r-- 1 mcc users 104K Apr 13 07:49 ReachabilityFireability.xml
-rw-r--r-- 1 mcc users 1.6K Apr 22 14:52 UpperBounds.txt
-rw-r--r-- 1 mcc users 3.6K Apr 22 14:52 UpperBounds.xml
-rw-r--r-- 1 mcc users 6 May 18 16:42 equiv_col
-rw-r--r-- 1 mcc users 6 May 18 16:42 instance
-rw-r--r-- 1 mcc users 6 May 18 16:42 iscolored
-rw-r--r-- 1 mcc users 25K May 18 16:42 model.pnml

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

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

The expected result is a vector of positive values
NUM_VECTOR

here is the order used to build the result vector(from text file)
FORMULA_NAME MAPK-PT-05120-UpperBounds-00
FORMULA_NAME MAPK-PT-05120-UpperBounds-01
FORMULA_NAME MAPK-PT-05120-UpperBounds-02
FORMULA_NAME MAPK-PT-05120-UpperBounds-03
FORMULA_NAME MAPK-PT-05120-UpperBounds-04
FORMULA_NAME MAPK-PT-05120-UpperBounds-05
FORMULA_NAME MAPK-PT-05120-UpperBounds-06
FORMULA_NAME MAPK-PT-05120-UpperBounds-07
FORMULA_NAME MAPK-PT-05120-UpperBounds-08
FORMULA_NAME MAPK-PT-05120-UpperBounds-09
FORMULA_NAME MAPK-PT-05120-UpperBounds-10
FORMULA_NAME MAPK-PT-05120-UpperBounds-11
FORMULA_NAME MAPK-PT-05120-UpperBounds-12
FORMULA_NAME MAPK-PT-05120-UpperBounds-13
FORMULA_NAME MAPK-PT-05120-UpperBounds-14
FORMULA_NAME MAPK-PT-05120-UpperBounds-15

=== Now, execution of the tool begins

BK_START 1716563196050

Invoking MCC driver with
BK_TOOL=greatspnxred
BK_EXAMINATION=UpperBounds
BK_BIN_PATH=/home/mcc/BenchKit/bin/
BK_TIME_CONFINEMENT=3600
BK_INPUT=MAPK-PT-05120
BK_MEMORY_CONFINEMENT=16384
Applying reductions before tool greatspn
Invoking reducer
Running Version 202405141337
[2024-05-24 15:06:37] [INFO ] Running its-tools with arguments : [-pnfolder, /home/mcc/execution, -examination, UpperBounds, -timeout, 360, -rebuildPNML]
[2024-05-24 15:06:37] [INFO ] Parsing pnml file : /home/mcc/execution/model.pnml
[2024-05-24 15:06:37] [INFO ] Load time of PNML (sax parser for PT used): 42 ms
[2024-05-24 15:06:37] [INFO ] Transformed 22 places.
[2024-05-24 15:06:37] [INFO ] Transformed 30 transitions.
[2024-05-24 15:06:37] [INFO ] Parsed PT model containing 22 places and 30 transitions and 90 arcs in 135 ms.
Parsed 16 properties from file /home/mcc/execution/UpperBounds.xml in 7 ms.
Current structural bounds on expressions (Initially) : Max Seen:[0, 0, 2560, 0, 1280, 0, 2560, 0, 0, 3840, 0, 0, 0, 0, 3840, 0] Max Struct:[+inf, +inf, +inf, +inf, +inf, +inf, +inf, +inf, +inf, +inf, +inf, +inf, +inf, +inf, +inf, +inf]
Current structural bounds on expressions (Before main loop) : Max Seen:[0, 0, 2560, 0, 1280, 0, 2560, 0, 0, 3840, 0, 0, 0, 0, 3840, 0] Max Struct:[+inf, +inf, +inf, +inf, +inf, +inf, +inf, +inf, +inf, +inf, +inf, +inf, +inf, +inf, +inf, +inf]
// Phase 1: matrix 30 rows 22 cols
[2024-05-24 15:06:37] [INFO ] Computed 7 invariants in 12 ms
Current structural bounds on expressions (after invariants) : Max Seen:[0, 0, 2560, 0, 1280, 0, 2560, 0, 0, 3840, 0, 0, 0, 0, 3840, 0] Max Struct:[3840, 2560, 2560, 2560, 1280, 1280, 2560, 2560, 2560, 3840, 5120, 3840, 2560, 3840, 3840, 2560]
FORMULA MAPK-PT-05120-UpperBounds-14 3840 TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA MAPK-PT-05120-UpperBounds-09 3840 TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA MAPK-PT-05120-UpperBounds-06 2560 TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA MAPK-PT-05120-UpperBounds-04 1280 TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA MAPK-PT-05120-UpperBounds-02 2560 TECHNIQUES TOPOLOGICAL INITIAL_STATE
RANDOM walk for 10250 steps (2 resets) in 11 ms. (854 steps per ms)
FORMULA MAPK-PT-05120-UpperBounds-05 1280 TECHNIQUES TOPOLOGICAL BESTFIRST_WALK
BEST_FIRST walk for 100010 steps (20 resets) in 87 ms. (1136 steps per ms)
Current structural bounds on expressions (after WALK) : Max Seen:[18, 18, 31, 6, 25, 1280, 2, 4, 6, 9] Max Struct:[3840, 2560, 2560, 2560, 2560, 5120, 3840, 2560, 3840, 2560]
[2024-05-24 15:06:37] [INFO ] Invariant cache hit.
[2024-05-24 15:06:37] [INFO ] [Real]Absence check using 7 positive place invariants in 5 ms returned sat
[2024-05-24 15:06:37] [INFO ] [Real]Absence check using state equation in 22 ms returned sat
[2024-05-24 15:06:37] [INFO ] Computed and/alt/rep : 27/54/27 causal constraints (skipped 2 transitions) in 7 ms.
[2024-05-24 15:06:37] [INFO ] Solution in real domain found non-integer solution.
[2024-05-24 15:06:37] [INFO ] [Nat]Absence check using 7 positive place invariants in 3 ms returned sat
[2024-05-24 15:06:37] [INFO ] [Nat]Absence check using state equation in 12 ms returned sat
[2024-05-24 15:06:37] [INFO ] Computed and/alt/rep : 27/54/27 causal constraints (skipped 2 transitions) in 4 ms.
[2024-05-24 15:06:37] [INFO ] Added : 12 causal constraints over 3 iterations in 22 ms. Result :sat
Minimization took 9 ms.
[2024-05-24 15:06:37] [INFO ] [Real]Absence check using 7 positive place invariants in 2 ms returned sat
[2024-05-24 15:06:37] [INFO ] [Real]Absence check using state equation in 20 ms returned sat
[2024-05-24 15:06:37] [INFO ] Computed and/alt/rep : 27/54/27 causal constraints (skipped 2 transitions) in 4 ms.
[2024-05-24 15:06:37] [INFO ] Solution in real domain found non-integer solution.
[2024-05-24 15:06:37] [INFO ] [Nat]Absence check using 7 positive place invariants in 2 ms returned sat
[2024-05-24 15:06:37] [INFO ] [Nat]Absence check using state equation in 12 ms returned sat
[2024-05-24 15:06:37] [INFO ] Computed and/alt/rep : 27/54/27 causal constraints (skipped 2 transitions) in 3 ms.
[2024-05-24 15:06:37] [INFO ] Added : 9 causal constraints over 3 iterations in 14 ms. Result :sat
Minimization took 6 ms.
[2024-05-24 15:06:37] [INFO ] [Real]Absence check using 7 positive place invariants in 1 ms returned sat
[2024-05-24 15:06:37] [INFO ] [Real]Absence check using state equation in 9 ms returned sat
[2024-05-24 15:06:37] [INFO ] Computed and/alt/rep : 27/54/27 causal constraints (skipped 2 transitions) in 9 ms.
[2024-05-24 15:06:37] [INFO ] Solution in real domain found non-integer solution.
[2024-05-24 15:06:38] [INFO ] [Nat]Absence check using 7 positive place invariants in 1 ms returned sat
[2024-05-24 15:06:38] [INFO ] [Nat]Absence check using state equation in 9 ms returned sat
[2024-05-24 15:06:38] [INFO ] Computed and/alt/rep : 27/54/27 causal constraints (skipped 2 transitions) in 2 ms.
[2024-05-24 15:06:38] [INFO ] Added : 21 causal constraints over 7 iterations in 28 ms. Result :sat
Minimization took 7 ms.
[2024-05-24 15:06:38] [INFO ] [Real]Absence check using 7 positive place invariants in 2 ms returned sat
[2024-05-24 15:06:38] [INFO ] [Real]Absence check using state equation in 16 ms returned sat
[2024-05-24 15:06:38] [INFO ] Computed and/alt/rep : 27/54/27 causal constraints (skipped 2 transitions) in 3 ms.
[2024-05-24 15:06:38] [INFO ] Solution in real domain found non-integer solution.
[2024-05-24 15:06:38] [INFO ] [Nat]Absence check using 7 positive place invariants in 2 ms returned sat
[2024-05-24 15:06:38] [INFO ] [Nat]Absence check using state equation in 8 ms returned sat
[2024-05-24 15:06:38] [INFO ] Computed and/alt/rep : 27/54/27 causal constraints (skipped 2 transitions) in 3 ms.
[2024-05-24 15:06:38] [INFO ] Added : 16 causal constraints over 5 iterations in 25 ms. Result :sat
Minimization took 9 ms.
[2024-05-24 15:06:38] [INFO ] [Real]Absence check using 7 positive place invariants in 3 ms returned sat
[2024-05-24 15:06:38] [INFO ] [Real]Absence check using state equation in 11 ms returned sat
[2024-05-24 15:06:38] [INFO ] Computed and/alt/rep : 27/54/27 causal constraints (skipped 2 transitions) in 2 ms.
[2024-05-24 15:06:38] [INFO ] Solution in real domain found non-integer solution.
[2024-05-24 15:06:38] [INFO ] [Nat]Absence check using 7 positive place invariants in 2 ms returned sat
[2024-05-24 15:06:38] [INFO ] [Nat]Absence check using state equation in 8 ms returned sat
[2024-05-24 15:06:38] [INFO ] Computed and/alt/rep : 27/54/27 causal constraints (skipped 2 transitions) in 2 ms.
[2024-05-24 15:06:38] [INFO ] Added : 16 causal constraints over 4 iterations in 19 ms. Result :sat
Minimization took 7 ms.
[2024-05-24 15:06:38] [INFO ] [Real]Absence check using 7 positive place invariants in 1 ms returned sat
[2024-05-24 15:06:38] [INFO ] [Real]Absence check using state equation in 9 ms returned sat
[2024-05-24 15:06:38] [INFO ] Computed and/alt/rep : 27/54/27 causal constraints (skipped 2 transitions) in 2 ms.
[2024-05-24 15:06:38] [INFO ] Added : 1 causal constraints over 1 iterations in 7 ms. Result :sat
Minimization took 4 ms.
[2024-05-24 15:06:38] [INFO ] [Real]Absence check using 7 positive place invariants in 1 ms returned sat
[2024-05-24 15:06:38] [INFO ] [Real]Absence check using state equation in 13 ms returned sat
[2024-05-24 15:06:38] [INFO ] Computed and/alt/rep : 27/54/27 causal constraints (skipped 2 transitions) in 2 ms.
[2024-05-24 15:06:38] [INFO ] Solution in real domain found non-integer solution.
[2024-05-24 15:06:38] [INFO ] [Nat]Absence check using 7 positive place invariants in 2 ms returned sat
[2024-05-24 15:06:38] [INFO ] [Nat]Absence check using state equation in 7 ms returned sat
[2024-05-24 15:06:38] [INFO ] Computed and/alt/rep : 27/54/27 causal constraints (skipped 2 transitions) in 2 ms.
[2024-05-24 15:06:38] [INFO ] Added : 12 causal constraints over 3 iterations in 12 ms. Result :sat
Minimization took 6 ms.
[2024-05-24 15:06:38] [INFO ] [Real]Absence check using 7 positive place invariants in 1 ms returned sat
[2024-05-24 15:06:38] [INFO ] [Real]Absence check using state equation in 11 ms returned sat
[2024-05-24 15:06:38] [INFO ] Computed and/alt/rep : 27/54/27 causal constraints (skipped 2 transitions) in 2 ms.
[2024-05-24 15:06:38] [INFO ] Solution in real domain found non-integer solution.
[2024-05-24 15:06:38] [INFO ] [Nat]Absence check using 7 positive place invariants in 1 ms returned sat
[2024-05-24 15:06:38] [INFO ] [Nat]Absence check using state equation in 7 ms returned sat
[2024-05-24 15:06:38] [INFO ] Computed and/alt/rep : 27/54/27 causal constraints (skipped 2 transitions) in 2 ms.
[2024-05-24 15:06:38] [INFO ] Added : 18 causal constraints over 4 iterations in 20 ms. Result :sat
Minimization took 8 ms.
[2024-05-24 15:06:38] [INFO ] [Real]Absence check using 7 positive place invariants in 2 ms returned sat
[2024-05-24 15:06:38] [INFO ] [Real]Absence check using state equation in 11 ms returned sat
[2024-05-24 15:06:38] [INFO ] Computed and/alt/rep : 27/54/27 causal constraints (skipped 2 transitions) in 4 ms.
[2024-05-24 15:06:38] [INFO ] Solution in real domain found non-integer solution.
[2024-05-24 15:06:38] [INFO ] [Nat]Absence check using 7 positive place invariants in 1 ms returned sat
[2024-05-24 15:06:38] [INFO ] [Nat]Absence check using state equation in 7 ms returned sat
[2024-05-24 15:06:38] [INFO ] Computed and/alt/rep : 27/54/27 causal constraints (skipped 2 transitions) in 4 ms.
[2024-05-24 15:06:38] [INFO ] Added : 15 causal constraints over 4 iterations in 26 ms. Result :sat
Minimization took 10 ms.
[2024-05-24 15:06:38] [INFO ] [Real]Absence check using 7 positive place invariants in 1 ms returned sat
[2024-05-24 15:06:38] [INFO ] [Real]Absence check using state equation in 7 ms returned sat
[2024-05-24 15:06:38] [INFO ] Computed and/alt/rep : 27/54/27 causal constraints (skipped 2 transitions) in 2 ms.
[2024-05-24 15:06:38] [INFO ] Solution in real domain found non-integer solution.
[2024-05-24 15:06:38] [INFO ] [Nat]Absence check using 7 positive place invariants in 1 ms returned sat
[2024-05-24 15:06:38] [INFO ] [Nat]Absence check using state equation in 8 ms returned sat
[2024-05-24 15:06:38] [INFO ] Computed and/alt/rep : 27/54/27 causal constraints (skipped 2 transitions) in 2 ms.
[2024-05-24 15:06:38] [INFO ] Added : 15 causal constraints over 3 iterations in 12 ms. Result :sat
Minimization took 7 ms.
Current structural bounds on expressions (after SMT) : Max Seen:[18, 18, 31, 6, 25, 1280, 2, 4, 6, 9] Max Struct:[3840, 2560, 2560, 2560, 2560, 5120, 3840, 2560, 3840, 2560]
FORMULA MAPK-PT-05120-UpperBounds-15 2560 TECHNIQUES TOPOLOGICAL PARIKH_WALK
FORMULA MAPK-PT-05120-UpperBounds-13 3840 TECHNIQUES TOPOLOGICAL PARIKH_WALK
FORMULA MAPK-PT-05120-UpperBounds-12 2560 TECHNIQUES TOPOLOGICAL PARIKH_WALK
FORMULA MAPK-PT-05120-UpperBounds-10 5120 TECHNIQUES TOPOLOGICAL PARIKH_WALK
FORMULA MAPK-PT-05120-UpperBounds-08 2560 TECHNIQUES TOPOLOGICAL PARIKH_WALK
FORMULA MAPK-PT-05120-UpperBounds-07 2560 TECHNIQUES TOPOLOGICAL PARIKH_WALK
FORMULA MAPK-PT-05120-UpperBounds-03 2560 TECHNIQUES TOPOLOGICAL PARIKH_WALK
FORMULA MAPK-PT-05120-UpperBounds-01 2560 TECHNIQUES TOPOLOGICAL PARIKH_WALK
Current structural bounds on expressions (After Parikh guided walk) : Max Seen:[3832, 2275] Max Struct:[3840, 3840]
Support contains 2 out of 22 places. Attempting structural reductions.
Starting structural reductions in REACHABILITY mode, iteration 0 : 22/22 places, 30/30 transitions.
Performed 1 Pre agglomeration using Quasi-Persistent + Divergent Free condition..
Pre-agglomeration after 0 with 1 Pre rules applied. Total rules applied 0 place count 22 transition count 29
Deduced a syphon composed of 1 places in 0 ms
Reduce places removed 2 places and 0 transitions.
Iterating global reduction 0 with 3 rules applied. Total rules applied 3 place count 20 transition count 29
Drop transitions (Empty/Sink Transition effects.) removed 1 transitions
Reduce isomorphic transitions removed 1 transitions.
Iterating post reduction 0 with 1 rules applied. Total rules applied 4 place count 20 transition count 28
Performed 5 Post agglomeration using F-continuation condition.Transition count delta: 5
Deduced a syphon composed of 5 places in 0 ms
Reduce places removed 7 places and 0 transitions.
Iterating global reduction 1 with 12 rules applied. Total rules applied 16 place count 13 transition count 23
Drop transitions (Empty/Sink Transition effects.) removed 5 transitions
Reduce isomorphic transitions removed 5 transitions.
Graph (trivial) has 4 edges and 13 vertex of which 2 / 13 are part of one of the 1 SCC in 2 ms
Free SCC test removed 1 places
Iterating post reduction 1 with 6 rules applied. Total rules applied 22 place count 12 transition count 18
Reduce places removed 1 places and 0 transitions.
Drop transitions (Empty/Sink Transition effects.) removed 2 transitions
Reduce isomorphic transitions removed 2 transitions.
Graph (trivial) has 4 edges and 11 vertex of which 3 / 11 are part of one of the 1 SCC in 1 ms
Free SCC test removed 2 places
Iterating post reduction 2 with 4 rules applied. Total rules applied 26 place count 9 transition count 16
Drop transitions (Empty/Sink Transition effects.) removed 4 transitions
Reduce isomorphic transitions removed 4 transitions.
Iterating post reduction 3 with 4 rules applied. Total rules applied 30 place count 9 transition count 12
Free-agglomeration rule (complex) applied 1 times.
Iterating global reduction 4 with 1 rules applied. Total rules applied 31 place count 9 transition count 11
Reduce places removed 1 places and 0 transitions.
Drop transitions (Empty/Sink Transition effects.) removed 1 transitions
Reduce isomorphic transitions removed 1 transitions.
Iterating post reduction 4 with 2 rules applied. Total rules applied 33 place count 8 transition count 10
Partial Post-agglomeration rule applied 2 times.
Drop transitions (Partial Post agglomeration) removed 2 transitions
Iterating global reduction 5 with 2 rules applied. Total rules applied 35 place count 8 transition count 10
Applied a total of 35 rules in 47 ms. Remains 8 /22 variables (removed 14) and now considering 10/30 (removed 20) transitions.
Finished structural reductions in REACHABILITY mode , in 1 iterations and 56 ms. Remains : 8/22 places, 10/30 transitions.
// Phase 1: matrix 10 rows 8 cols
[2024-05-24 15:06:51] [INFO ] Computed 3 invariants in 1 ms
Current structural bounds on expressions (after invariants) : Max Seen:[3832, 2275] Max Struct:[3840, 3840]
RANDOM walk for 1002571 steps (2 resets) in 133 ms. (7481 steps per ms)
FORMULA MAPK-PT-05120-UpperBounds-11 3840 TECHNIQUES TOPOLOGICAL BESTFIRST_WALK
FORMULA MAPK-PT-05120-UpperBounds-00 3840 TECHNIQUES TOPOLOGICAL BESTFIRST_WALK
BEST_FIRST walk for 1000001 steps (2 resets) in 174 ms. (5714 steps per ms)
Current structural bounds on expressions (after WALK) : Max Seen:[] Max Struct:[]
RANDOM walk for 0 steps (0 resets) in 4 ms. (0 steps per ms) remains 0/0 properties
Finished probabilistic random walk after 0 steps, run visited all 0 properties in 0 ms. (steps per millisecond=0 )
Current structural bounds on expressions (After reachability solving 0 queries.) : Max Seen:[] Max Struct:[]
All properties solved without resorting to model-checking.
Total runtime 14706 ms.
ITS solved all properties within timeout

BK_STOP 1716563211922

--------------------
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//
++ ls /home/mcc/BenchKit/bin//../reducer/bin//../../itstools//itstools/plugins/fr.lip6.move.gal.application.pnmcc_1.0.0.202405141337.jar
++ perl -pe 's/.*\.//g'
+ VERSION=202405141337
+ echo 'Running Version 202405141337'
+ /home/mcc/BenchKit/bin//../reducer/bin//../../itstools//itstools/its-tools -pnfolder /home/mcc/execution -examination UpperBounds -timeout 360 -rebuildPNML

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="MAPK-PT-05120"
export BK_EXAMINATION="UpperBounds"
export BK_TOOL="greatspnxred"
export BK_RESULT_DIR="/tmp/BK_RESULTS/OUTPUTS"
export BK_TIME_CONFINEMENT="3600"
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-5568"
echo " Executing tool greatspnxred"
echo " Input is MAPK-PT-05120, examination is UpperBounds"
echo " Time confinement is $BK_TIME_CONFINEMENT seconds"
echo " Memory confinement is 16384 MBytes"
echo " Number of cores is 4"
echo " Run identifier is r223-tall-171649611500485"
echo "====================================================================="
echo
echo "--------------------"
echo "preparation of the directory to be used:"

tar xzf /home/mcc/BenchKit/INPUTS/MAPK-PT-05120.tgz
mv MAPK-PT-05120 execution
cd execution
if [ "UpperBounds" = "ReachabilityDeadlock" ] || [ "UpperBounds" = "UpperBounds" ] || [ "UpperBounds" = "QuasiLiveness" ] || [ "UpperBounds" = "StableMarking" ] || [ "UpperBounds" = "Liveness" ] || [ "UpperBounds" = "OneSafe" ] || [ "UpperBounds" = "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 [ "UpperBounds" = "UpperBounds" ] ; then
echo "The expected result is a vector of positive values"
echo NUM_VECTOR
elif [ "UpperBounds" != "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 "UpperBounds.txt" ] ; then
echo "here is the order used to build the result vector(from text file)"
for x in $(grep Property UpperBounds.txt | cut -d ' ' -f 2 | sort -u) ; do
echo "FORMULA_NAME $x"
done
elif [ -f "UpperBounds.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 '' UpperBounds.xml | cut -d '>' -f 2 | cut -d '<' -f 1 | sort -u) ; do
echo "FORMULA_NAME $x"
done
elif [ "UpperBounds" = "ReachabilityDeadlock" ] || [ "UpperBounds" = "QuasiLiveness" ] || [ "UpperBounds" = "StableMarking" ] || [ "UpperBounds" = "Liveness" ] || [ "UpperBounds" = "OneSafe" ] ; then
echo "FORMULA_NAME UpperBounds"
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 ;