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

About the Execution of LoLA for TwoPhaseLocking-PT-nC02000vD

Execution Summary
Max Memory
Used (MB)
Time wait (ms) CPU Usage (ms) I/O Wait (ms) Computed Result Execution
Status
56.352 140.00 110.00 0.00 1000 1000 2000 1000 1000 1000 2000 1000 1000 1000 1000 1000 1000 1000 1000 1000 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.r486-tall-167912701800901.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 lola
Input is TwoPhaseLocking-PT-nC02000vD, examination is UpperBounds
Time confinement is 3600 seconds
Memory confinement is 16384 MBytes
Number of cores is 4
Run identifier is r486-tall-167912701800901
=====================================================================

--------------------
preparation of the directory to be used:
/home/mcc/execution
total 464K
-rw-r--r-- 1 mcc users 6.6K Feb 25 17:25 CTLCardinality.txt
-rw-r--r-- 1 mcc users 66K Feb 25 17:25 CTLCardinality.xml
-rw-r--r-- 1 mcc users 6.9K Feb 25 17:24 CTLFireability.txt
-rw-r--r-- 1 mcc users 67K Feb 25 17:24 CTLFireability.xml
-rw-r--r-- 1 mcc users 4.0K Feb 25 17:23 LTLCardinality.txt
-rw-r--r-- 1 mcc users 25K Feb 25 17:23 LTLCardinality.xml
-rw-r--r-- 1 mcc users 2.4K Feb 25 17:23 LTLFireability.txt
-rw-r--r-- 1 mcc users 17K Feb 25 17:23 LTLFireability.xml
-rw-r--r-- 1 mcc users 14K Feb 25 17:26 ReachabilityCardinality.txt
-rw-r--r-- 1 mcc users 129K Feb 25 17:26 ReachabilityCardinality.xml
-rw-r--r-- 1 mcc users 8.2K Feb 25 17:26 ReachabilityFireability.txt
-rw-r--r-- 1 mcc users 67K Feb 25 17:26 ReachabilityFireability.xml
-rw-r--r-- 1 mcc users 1.8K Feb 25 17:23 UpperBounds.txt
-rw-r--r-- 1 mcc users 3.9K Feb 25 17:23 UpperBounds.xml
-rw-r--r-- 1 mcc users 6 Mar 5 18:23 equiv_col
-rw-r--r-- 1 mcc users 10 Mar 5 18:23 instance
-rw-r--r-- 1 mcc users 6 Mar 5 18:23 iscolored
-rw-r--r-- 1 mcc users 4.6K 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 positive values
NUM_VECTOR

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

=== Now, execution of the tool begins

BK_START 1679256843909

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=lola
BK_EXAMINATION=UpperBounds
BK_BIN_PATH=/home/mcc/BenchKit/bin/
BK_TIME_CONFINEMENT=3600
BK_INPUT=TwoPhaseLocking-PT-nC02000vD
Not applying reductions.
Model is PT
UpperBounds PT
starting LoLA
BK_INPUT TwoPhaseLocking-PT-nC02000vD
BK_EXAMINATION: UpperBounds
bin directory: /home/mcc/BenchKit/bin//../lola/bin/
current directory: /home/mcc/execution
Upper Bounds

FORMULA TwoPhaseLocking-PT-nC02000vD-UpperBounds-13 1000 TECHNIQUES SEQUENTIAL_PROCESSING TOPOLOGICAL EXPLICIT STATE_COMPRESSION STUBBORN_SETS USE_NUPN UNFOLDING_TO_PT

FORMULA TwoPhaseLocking-PT-nC02000vD-UpperBounds-03 1000 TECHNIQUES SEQUENTIAL_PROCESSING TOPOLOGICAL EXPLICIT STATE_COMPRESSION STUBBORN_SETS USE_NUPN UNFOLDING_TO_PT

FORMULA TwoPhaseLocking-PT-nC02000vD-UpperBounds-07 1000 TECHNIQUES SEQUENTIAL_PROCESSING TOPOLOGICAL EXPLICIT STATE_COMPRESSION STUBBORN_SETS USE_NUPN UNFOLDING_TO_PT

FORMULA TwoPhaseLocking-PT-nC02000vD-UpperBounds-11 1000 TECHNIQUES SEQUENTIAL_PROCESSING TOPOLOGICAL EXPLICIT STATE_COMPRESSION STUBBORN_SETS USE_NUPN UNFOLDING_TO_PT

FORMULA TwoPhaseLocking-PT-nC02000vD-UpperBounds-10 1000 TECHNIQUES SEQUENTIAL_PROCESSING TOPOLOGICAL EXPLICIT STATE_COMPRESSION STUBBORN_SETS USE_NUPN UNFOLDING_TO_PT

FORMULA TwoPhaseLocking-PT-nC02000vD-UpperBounds-09 1000 TECHNIQUES SEQUENTIAL_PROCESSING TOPOLOGICAL EXPLICIT STATE_COMPRESSION STUBBORN_SETS USE_NUPN UNFOLDING_TO_PT

FORMULA TwoPhaseLocking-PT-nC02000vD-UpperBounds-15 1000 TECHNIQUES SEQUENTIAL_PROCESSING TOPOLOGICAL EXPLICIT STATE_COMPRESSION STUBBORN_SETS USE_NUPN UNFOLDING_TO_PT

FORMULA TwoPhaseLocking-PT-nC02000vD-UpperBounds-04 1000 TECHNIQUES SEQUENTIAL_PROCESSING TOPOLOGICAL EXPLICIT STATE_COMPRESSION STUBBORN_SETS USE_NUPN UNFOLDING_TO_PT

FORMULA TwoPhaseLocking-PT-nC02000vD-UpperBounds-14 1000 TECHNIQUES SEQUENTIAL_PROCESSING TOPOLOGICAL EXPLICIT STATE_COMPRESSION STUBBORN_SETS USE_NUPN UNFOLDING_TO_PT

FORMULA TwoPhaseLocking-PT-nC02000vD-UpperBounds-05 1000 TECHNIQUES SEQUENTIAL_PROCESSING TOPOLOGICAL EXPLICIT STATE_COMPRESSION STUBBORN_SETS USE_NUPN UNFOLDING_TO_PT

FORMULA TwoPhaseLocking-PT-nC02000vD-UpperBounds-06 2000 TECHNIQUES SEQUENTIAL_PROCESSING TOPOLOGICAL EXPLICIT STATE_COMPRESSION STUBBORN_SETS USE_NUPN UNFOLDING_TO_PT

FORMULA TwoPhaseLocking-PT-nC02000vD-UpperBounds-02 2000 TECHNIQUES SEQUENTIAL_PROCESSING TOPOLOGICAL EXPLICIT STATE_COMPRESSION STUBBORN_SETS USE_NUPN UNFOLDING_TO_PT

FORMULA TwoPhaseLocking-PT-nC02000vD-UpperBounds-01 1000 TECHNIQUES SEQUENTIAL_PROCESSING TOPOLOGICAL EXPLICIT STATE_COMPRESSION STUBBORN_SETS USE_NUPN UNFOLDING_TO_PT

FORMULA TwoPhaseLocking-PT-nC02000vD-UpperBounds-08 1000 TECHNIQUES SEQUENTIAL_PROCESSING TOPOLOGICAL EXPLICIT STATE_COMPRESSION STUBBORN_SETS USE_NUPN UNFOLDING_TO_PT

FORMULA TwoPhaseLocking-PT-nC02000vD-UpperBounds-00 1000 TECHNIQUES SEQUENTIAL_PROCESSING TOPOLOGICAL EXPLICIT STATE_COMPRESSION STUBBORN_SETS USE_NUPN UNFOLDING_TO_PT

FORMULA TwoPhaseLocking-PT-nC02000vD-UpperBounds-12 1000 TECHNIQUES SEQUENTIAL_PROCESSING TOPOLOGICAL EXPLICIT STATE_COMPRESSION STUBBORN_SETS USE_NUPN UNFOLDING_TO_PT

BK_STOP 1679256844049

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

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: Reading formula.
lola: Using XML format (--xmlformula)
lola: reading XML formula
lola: reading formula from /home/mcc/execution/UpperBounds.xml
lola: Rule S: 0 transitions removed,0 places removed
lola: LAUNCH task # 52 (type EXCL) for 39 TwoPhaseLocking-PT-nC02000vD-UpperBounds-13
lola: time limit : 133 sec
lola: memory limit: 32 pages
lola: LAUNCH task # 50 (type FNDP) for 39 TwoPhaseLocking-PT-nC02000vD-UpperBounds-13
lola: time limit : 32000000 sec
lola: memory limit: 5 pages
lola: LAUNCH task # 51 (type EQUN) for 39 TwoPhaseLocking-PT-nC02000vD-UpperBounds-13
lola: time limit : 32000000 sec
lola: memory limit: 5 pages
lola: REPORT NUM
lola: LAUNCH task # 48 (type FNDP) for 9 TwoPhaseLocking-PT-nC02000vD-UpperBounds-03
lola: time limit : 32000000 sec
lola: memory limit: 5 pages
lola: FINISHED task # 50 (type FNDP) for TwoPhaseLocking-PT-nC02000vD-UpperBounds-13
lola: fired transitions : 999
lola: tried executions : 1
lola: time used : 0.000000
lola: Structural Bound: 1000
sara: try reading problem file /home/mcc/execution/UpperBounds-51.sara.
lola: REPORT NUM
sara: place or transition ordering is non-deterministic
lola: REPORT NUM
lola: CANCELED task # 51 (type EQUN) for TwoPhaseLocking-PT-nC02000vD-UpperBounds-13 (obsolete)
lola: CANCELED task # 52 (type EXCL) for TwoPhaseLocking-PT-nC02000vD-UpperBounds-13 (obsolete)
lola: LAUNCH task # 75 (type EXCL) for 21 TwoPhaseLocking-PT-nC02000vD-UpperBounds-07
lola: time limit : 149 sec
lola: memory limit: 32 pages
lola: LAUNCH task # 57 (type FNDP) for 30 TwoPhaseLocking-PT-nC02000vD-UpperBounds-10
lola: time limit : 32000000 sec
lola: memory limit: 5 pages
lola: LAUNCH task # 58 (type EQUN) for 30 TwoPhaseLocking-PT-nC02000vD-UpperBounds-10
lola: time limit : 32000000 sec
lola: memory limit: 5 pages
lola: FINISHED task # 52 (type EXCL) for TwoPhaseLocking-PT-nC02000vD-UpperBounds-13
lola: markings : 1001
lola: fired transitions : 1000
lola: time used : 1.000000
lola: memory pages used : 1
lola: FINISHED task # 48 (type FNDP) for TwoPhaseLocking-PT-nC02000vD-UpperBounds-03
lola: fired transitions : 999
lola: tried executions : 1
lola: time used : 1.000000
lola: LAUNCH task # 64 (type FNDP) for 27 TwoPhaseLocking-PT-nC02000vD-UpperBounds-09
lola: time limit : 32000000 sec
lola: memory limit: 5 pages
lola: Structural Bound: 1000
lola: REPORT NUM
lola: FINISHED task # 75 (type EXCL) for TwoPhaseLocking-PT-nC02000vD-UpperBounds-07
lola: time used : 0.000000
lola: memory pages used : 1
lola: LAUNCH task # 95 (type EXCL) for 33 TwoPhaseLocking-PT-nC02000vD-UpperBounds-11
lola: time limit : 156 sec
lola: memory limit: 32 pages
lola: Structural Bound: 1000
lola: REPORT NUM
lola: FINISHED task # 95 (type EXCL) for TwoPhaseLocking-PT-nC02000vD-UpperBounds-11
lola: time used : 0.000000
lola: memory pages used : 1
lola: LAUNCH task # 89 (type EXCL) for 45 TwoPhaseLocking-PT-nC02000vD-UpperBounds-15
lola: time limit : 171 sec
lola: memory limit: 32 pages
sara: try reading problem file /home/mcc/execution/UpperBounds-58.sara.
sara: place or transition ordering is non-deterministic
lola: REPORT NUM
lola: FINISHED task # 57 (type FNDP) for TwoPhaseLocking-PT-nC02000vD-UpperBounds-10
lola: fired transitions : 999
lola: tried executions : 1
lola: time used : 0.000000
lola: CANCELED task # 58 (type EQUN) for TwoPhaseLocking-PT-nC02000vD-UpperBounds-10 (obsolete)
lola: LAUNCH task # 85 (type FNDP) for 12 TwoPhaseLocking-PT-nC02000vD-UpperBounds-04
lola: time limit : 32000000 sec
lola: memory limit: 5 pages
lola: LAUNCH task # 90 (type EQUN) for 12 TwoPhaseLocking-PT-nC02000vD-UpperBounds-04
lola: time limit : 32000000 sec
lola: memory limit: 5 pages
lola: Structural Bound: 1000

lola: REPORT NUM
lola: FINISHED task # 64 (type FNDP) for TwoPhaseLocking-PT-nC02000vD-UpperBounds-09
lola: fired transitions : 999
lola: tried executions : 1
lola: time used : 0.000000
lola: REPORT NUM
lola: LAUNCH task # 60 (type FNDP) for 42 TwoPhaseLocking-PT-nC02000vD-UpperBounds-14
lola: time limit : 32000000 sec
lola: memory limit: 5 pages
lola: REPORT NUM
lola: FINISHED task # 51 (type EQUN) for TwoPhaseLocking-PT-nC02000vD-UpperBounds-13
lola: time used : 1.000000
lola: FINISHED task # 89 (type EXCL) for TwoPhaseLocking-PT-nC02000vD-UpperBounds-15
lola: markings : 4001
lola: fired transitions : 4000
lola: time used : 0.000000
lola: memory pages used : 1
lola: LAUNCH task # 83 (type EXCL) for 15 TwoPhaseLocking-PT-nC02000vD-UpperBounds-05
lola: time limit : 239 sec
lola: memory limit: 32 pages
lola: Structural Bound: 1000
lola: REPORT NUM
lola: FINISHED task # 85 (type FNDP) for TwoPhaseLocking-PT-nC02000vD-UpperBounds-04
lola: fired transitions : 999
lola: tried executions : 1
lola: time used : 0.000000
lola: CANCELED task # 90 (type EQUN) for TwoPhaseLocking-PT-nC02000vD-UpperBounds-04 (obsolete)
lola: LAUNCH task # 63 (type FNDP) for 18 TwoPhaseLocking-PT-nC02000vD-UpperBounds-06
lola: time limit : 32000000 sec
lola: memory limit: 5 pages
lola: LAUNCH task # 68 (type EQUN) for 18 TwoPhaseLocking-PT-nC02000vD-UpperBounds-06
lola: time limit : 32000000 sec
lola: memory limit: 5 pages
lola: REPORT NUM
lola: FINISHED task # 60 (type FNDP) for TwoPhaseLocking-PT-nC02000vD-UpperBounds-14
lola: fired transitions : 1999
lola: tried executions : 1
lola: time used : 0.000000
lola: REPORT NUM
lola: LAUNCH task # 76 (type FNDP) for 6 TwoPhaseLocking-PT-nC02000vD-UpperBounds-02
lola: time limit : 32000000 sec
lola: memory limit: 5 pages
lola: FINISHED task # 83 (type EXCL) for TwoPhaseLocking-PT-nC02000vD-UpperBounds-05
lola: markings : 4001
lola: fired transitions : 4000
lola: time used : 0.000000
lola: memory pages used : 1
lola: REPORT NUM
lola: LAUNCH task # 73 (type EXCL) for 3 TwoPhaseLocking-PT-nC02000vD-UpperBounds-01
lola: time limit : 399 sec
lola: memory limit: 32 pages
lola: FINISHED task # 63 (type FNDP) for TwoPhaseLocking-PT-nC02000vD-UpperBounds-06
lola: tried executions : 1
lola: time used : 0.000000
lola: CANCELED task # 68 (type EQUN) for TwoPhaseLocking-PT-nC02000vD-UpperBounds-06 (obsolete)
lola: LAUNCH task # 78 (type FNDP) for 24 TwoPhaseLocking-PT-nC02000vD-UpperBounds-08
lola: time limit : 32000000 sec
lola: memory limit: 5 pages
lola: LAUNCH task # 79 (type EQUN) for 24 TwoPhaseLocking-PT-nC02000vD-UpperBounds-08
lola: time limit : 32000000 sec
lola: memory limit: 5 pages
lola: REPORT NUM
lola: FINISHED task # 76 (type FNDP) for TwoPhaseLocking-PT-nC02000vD-UpperBounds-02
lola: tried executions : 1
lola: time used : 0.000000
sara: try reading problem file /home/mcc/execution/UpperBounds-68.sara.
lola: Structural Bound: 1000
lola: LAUNCH task # 92 (type FNDP) for 36 TwoPhaseLocking-PT-nC02000vD-UpperBounds-12
lola: time limit : 32000000 sec
lola: memory limit: 5 pages
sara: try reading problem file /home/mcc/execution/UpperBounds-90.sara.

sara: place or transition ordering is non-deterministic
lola: REPORT NUM
lola: FINISHED task # 73 (type EXCL) for TwoPhaseLocking-PT-nC02000vD-UpperBounds-01
lola: markings : 4001
lola: fired transitions : 4000
lola: time used : 0.000000
lola: memory pages used : 1
lola: LAUNCH task # 56 (type EXCL) for 0 TwoPhaseLocking-PT-nC02000vD-UpperBounds-00
lola: time limit : 719 sec
lola: memory limit: 32 pages
sara: try reading problem file /home/mcc/execution/UpperBounds-79.sara.

lola: REPORT NUM
lola: FINISHED task # 78 (type FNDP) for TwoPhaseLocking-PT-nC02000vD-UpperBounds-08
lola: fired transitions : 2999
lola: tried executions : 1
lola: time used : 0.000000
lola: CANCELED task # 79 (type EQUN) for TwoPhaseLocking-PT-nC02000vD-UpperBounds-08 (obsolete)
lola: LAUNCH task # 93 (type EQUN) for 36 TwoPhaseLocking-PT-nC02000vD-UpperBounds-12
lola: time limit : 32000000 sec
lola: memory limit: 5 pages
lola: LAUNCH task # 49 (type FNDP) for 0 TwoPhaseLocking-PT-nC02000vD-UpperBounds-00
lola: time limit : 32000000 sec
lola: memory limit: 5 pages
lola: REPORT NUM
lola: FINISHED task # 58 (type EQUN) for TwoPhaseLocking-PT-nC02000vD-UpperBounds-10
lola: time used : 0.000000
lola: Structural Bound: 1000
lola: REPORT NUM
lola: FINISHED task # 49 (type FNDP) for TwoPhaseLocking-PT-nC02000vD-UpperBounds-00
lola: fired transitions : 3999
lola: tried executions : 1
lola: time used : 0.000000
lola: CANCELED task # 56 (type EXCL) for TwoPhaseLocking-PT-nC02000vD-UpperBounds-00 (obsolete)
lola: LAUNCH task # 94 (type EXCL) for 36 TwoPhaseLocking-PT-nC02000vD-UpperBounds-12
lola: time limit : 1799 sec
lola: memory limit: 32 pages
lola: Structural Bound: 1000

lola: REPORT NUM
lola: FINISHED task # 92 (type FNDP) for TwoPhaseLocking-PT-nC02000vD-UpperBounds-12
lola: fired transitions : 2999
lola: tried executions : 1
lola: time used : 0.000000
lola: CANCELED task # 93 (type EQUN) for TwoPhaseLocking-PT-nC02000vD-UpperBounds-12 (obsolete)
lola: CANCELED task # 94 (type EXCL) for TwoPhaseLocking-PT-nC02000vD-UpperBounds-12 (obsolete)
lola: Portfolio finished: no open formulas

FINAL RESULTS
FINISHED FORMULA: CATEGORY VALUE PRODUCED BY
TwoPhaseLocking-PT-nC02000vD-UpperBounds-00: BOUND 1000 findpath
TwoPhaseLocking-PT-nC02000vD-UpperBounds-01: BOUND 1000 state space
TwoPhaseLocking-PT-nC02000vD-UpperBounds-02: BOUND 2000 findpath
TwoPhaseLocking-PT-nC02000vD-UpperBounds-03: BOUND 1000 findpath
TwoPhaseLocking-PT-nC02000vD-UpperBounds-04: BOUND 1000 findpath
TwoPhaseLocking-PT-nC02000vD-UpperBounds-05: BOUND 1000 state space
TwoPhaseLocking-PT-nC02000vD-UpperBounds-06: BOUND 2000 findpath
TwoPhaseLocking-PT-nC02000vD-UpperBounds-07: BOUND 1000 state space
TwoPhaseLocking-PT-nC02000vD-UpperBounds-08: BOUND 1000 findpath
TwoPhaseLocking-PT-nC02000vD-UpperBounds-09: BOUND 1000 findpath
TwoPhaseLocking-PT-nC02000vD-UpperBounds-10: BOUND 1000 findpath
TwoPhaseLocking-PT-nC02000vD-UpperBounds-11: BOUND 1000 state space
TwoPhaseLocking-PT-nC02000vD-UpperBounds-12: BOUND 1000 findpath
TwoPhaseLocking-PT-nC02000vD-UpperBounds-13: BOUND 1000 findpath
TwoPhaseLocking-PT-nC02000vD-UpperBounds-14: BOUND 1000 findpath
TwoPhaseLocking-PT-nC02000vD-UpperBounds-15: BOUND 1000 state space


Time elapsed: 1 secs. Pages in use: 2

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="TwoPhaseLocking-PT-nC02000vD"
export BK_EXAMINATION="UpperBounds"
export BK_TOOL="lola"
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-5348"
echo " Executing tool lola"
echo " Input is TwoPhaseLocking-PT-nC02000vD, 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 r486-tall-167912701800901"
echo "====================================================================="
echo
echo "--------------------"
echo "preparation of the directory to be used:"

tar xzf /home/mcc/BenchKit/INPUTS/TwoPhaseLocking-PT-nC02000vD.tgz
mv TwoPhaseLocking-PT-nC02000vD 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 ;