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

About the Execution of Tapaal for ResAllocation-PT-R003C010

Execution Summary
Max Memory
Used (MB)
Time wait (ms) CPU Usage (ms) I/O Wait (ms) Computed Result Execution
Status
123.012 3445.00 3824.00 32.70 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 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.r316-tall-171662347100805.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 tapaal
Input is ResAllocation-PT-R003C010, examination is UpperBounds
Time confinement is 3600 seconds
Memory confinement is 16384 MBytes
Number of cores is 4
Run identifier is r316-tall-171662347100805
=====================================================================

--------------------
preparation of the directory to be used:
/home/mcc/execution
total 560K
-rw-r--r-- 1 mcc users 6.2K May 14 13:22 CTLCardinality.txt
-rw-r--r-- 1 mcc users 63K May 14 13:22 CTLCardinality.xml
-rw-r--r-- 1 mcc users 5.9K May 14 13:22 CTLFireability.txt
-rw-r--r-- 1 mcc users 53K May 14 13:22 CTLFireability.xml
-rw-r--r-- 1 mcc users 4.2K May 18 16:43 GenericPropertiesDefinition.xml
-rw-r--r-- 1 mcc users 3.6K Apr 23 07:47 LTLCardinality.txt
-rw-r--r-- 1 mcc users 22K Apr 23 07:47 LTLCardinality.xml
-rw-r--r-- 1 mcc users 2.4K Apr 23 07:47 LTLFireability.txt
-rw-r--r-- 1 mcc users 17K Apr 23 07:47 LTLFireability.xml
-rw-r--r-- 1 mcc users 13K Apr 11 23:12 ReachabilityCardinality.txt
-rw-r--r-- 1 mcc users 135K Apr 11 23:12 ReachabilityCardinality.xml
-rw-r--r-- 1 mcc users 12K Apr 11 23:10 ReachabilityFireability.txt
-rw-r--r-- 1 mcc users 107K Apr 11 23:10 ReachabilityFireability.xml
-rw-r--r-- 1 mcc users 1.8K Apr 23 07:47 UpperBounds.txt
-rw-r--r-- 1 mcc users 3.8K Apr 23 07:47 UpperBounds.xml
-rw-r--r-- 1 mcc users 6 May 18 16:43 equiv_col
-rw-r--r-- 1 mcc users 9 May 18 16:43 instance
-rw-r--r-- 1 mcc users 6 May 18 16:43 iscolored
-rw-r--r-- 1 mcc users 71K May 18 16:43 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 ResAllocation-PT-R003C010-UpperBounds-00
FORMULA_NAME ResAllocation-PT-R003C010-UpperBounds-01
FORMULA_NAME ResAllocation-PT-R003C010-UpperBounds-02
FORMULA_NAME ResAllocation-PT-R003C010-UpperBounds-03
FORMULA_NAME ResAllocation-PT-R003C010-UpperBounds-04
FORMULA_NAME ResAllocation-PT-R003C010-UpperBounds-05
FORMULA_NAME ResAllocation-PT-R003C010-UpperBounds-06
FORMULA_NAME ResAllocation-PT-R003C010-UpperBounds-07
FORMULA_NAME ResAllocation-PT-R003C010-UpperBounds-08
FORMULA_NAME ResAllocation-PT-R003C010-UpperBounds-09
FORMULA_NAME ResAllocation-PT-R003C010-UpperBounds-10
FORMULA_NAME ResAllocation-PT-R003C010-UpperBounds-11
FORMULA_NAME ResAllocation-PT-R003C010-UpperBounds-12
FORMULA_NAME ResAllocation-PT-R003C010-UpperBounds-13
FORMULA_NAME ResAllocation-PT-R003C010-UpperBounds-14
FORMULA_NAME ResAllocation-PT-R003C010-UpperBounds-15

=== Now, execution of the tool begins

BK_START 1717103824202

tapaal
Got BK_BIN_PATH=/home/mcc/BenchKit/bin/
---> tapaal --- TAPAAL - v2.2024
Setting MODEL_PATH=.
Setting VERIFYPN=/home/mcc/BenchKit/bin/verifypn
Got BK_TIME_CONFINEMENT=3600
Setting TEMPDIR=/home/mcc/BenchKit/bin/tmp
Got BK_MEMORY_CONFINEMENT=16384
Limiting to 16265216 kB
Total timeout: 3590
Time left: 3590

*****************************************
* TAPAAL CLASSIC verifying UpperBounds *
*****************************************
TEMPDIR=/home/mcc/BenchKit/bin/tmp
QF=/home/mcc/BenchKit/bin/tmp/tmp.W2sM2coit1
MF=/home/mcc/BenchKit/bin/tmp/tmp.yKaiAljNRT
Time left: 3590
---------------------------------------------------
Step -1: Stripping Colors
---------------------------------------------------
Verifying stripped models (16 in total)

Time left: 3590
---------------------------------------------------
Step 0: Parallel Simplification
---------------------------------------------------
Doing parallel simplification (16 in total)
Total simplification timout is 718 -- reduction timeout is 299
timeout 3590 /home/mcc/BenchKit/bin/verifypn -n -q 718 -l 29 -d 299 -z 4 -s OverApprox --binary-query-io 2 --write-simplified /home/mcc/BenchKit/bin/tmp/tmp.W2sM2coit1 --write-reduced /home/mcc/BenchKit/bin/tmp/tmp.yKaiAljNRT -x 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16 ./model.pnml ./UpperBounds.xml


Time left: 3590

---------------------------------------------------
Step 1: Parallel processing
---------------------------------------------------
Doing parallel verification of individual queries (16 in total)
Each query is verified by 4 parallel strategies for 138 seconds
------------------- QUERY 1 ----------------------
Solution found by parallel processing (step 1)
Query index 0 was solved

Query is satisfied.

Spent 0.000973 on verification
@@@0.00,5984@@@
parallel: This job succeeded:
eval /usr/bin/time -f "@@@%e,%M@@@" /home/mcc/BenchKit/bin/verifypn -n '-n -s BFS -q 0 -l 0 -d 119' /home/mcc/BenchKit/bin/tmp/tmp.yKaiAljNRT /home/mcc/BenchKit/bin/tmp/tmp.W2sM2coit1 --binary-query-io 1 -x 1 -n

FORMULA ResAllocation-PT-R003C010-UpperBounds-00 1 TECHNIQUES COLLATERAL_PROCESSING STRUCTURAL_REDUCTION QUERY_REDUCTION SAT_SMT EXPLICIT STATE_COMPRESSION STUBBORN_SETS
Time left: 3590
------------------- QUERY 2 ----------------------
Solution found by parallel processing (step 1)
Query index 0 was solved

Query is satisfied.

Spent 0.001357 on verification
@@@0.00,5900@@@
parallel: This job succeeded:
eval /usr/bin/time -f "@@@%e,%M@@@" /home/mcc/BenchKit/bin/verifypn -n '-n -s BFS -q 0 -l 0 -d 119' /home/mcc/BenchKit/bin/tmp/tmp.yKaiAljNRT /home/mcc/BenchKit/bin/tmp/tmp.W2sM2coit1 --binary-query-io 1 -x 2 -n

FORMULA ResAllocation-PT-R003C010-UpperBounds-01 1 TECHNIQUES COLLATERAL_PROCESSING STRUCTURAL_REDUCTION QUERY_REDUCTION SAT_SMT EXPLICIT STATE_COMPRESSION STUBBORN_SETS
Time left: 3590
------------------- QUERY 3 ----------------------
Solution found by parallel processing (step 1)
Query index 0 was solved

Query is satisfied.

Spent 0.001514 on verification
@@@0.00,5924@@@
parallel: This job succeeded:
eval /usr/bin/time -f "@@@%e,%M@@@" /home/mcc/BenchKit/bin/verifypn -n '-n -s BFS -q 0 -l 0 -d 119' /home/mcc/BenchKit/bin/tmp/tmp.yKaiAljNRT /home/mcc/BenchKit/bin/tmp/tmp.W2sM2coit1 --binary-query-io 1 -x 3 -n
FORMULA ResAllocation-PT-R003C010-UpperBounds-02 1 TECHNIQUES COLLATERAL_PROCESSING STRUCTURAL_REDUCTION QUERY_REDUCTION SAT_SMT EXPLICIT STATE_COMPRESSION
Query index 0 was solved

Query is satisfied.

Spent 0.00138 on verification
@@@0.00,5824@@@
parallel: This job succeeded:
eval /usr/bin/time -f "@@@%e,%M@@@" /home/mcc/BenchKit/bin/verifypn -n '-n -p -q 0 -l 0 -d 119' /home/mcc/BenchKit/bin/tmp/tmp.yKaiAljNRT /home/mcc/BenchKit/bin/tmp/tmp.W2sM2coit1 --binary-query-io 1 -x 3 -n

FORMULA ResAllocation-PT-R003C010-UpperBounds-02 1 TECHNIQUES COLLATERAL_PROCESSING STRUCTURAL_REDUCTION QUERY_REDUCTION SAT_SMT EXPLICIT STATE_COMPRESSION STUBBORN_SETS
Time left: 3589
------------------- QUERY 4 ----------------------
Solution found by parallel processing (step 1)
Query index 0 was solved

Query is satisfied.

Spent 0.000945 on verification
@@@0.00,6016@@@
parallel: This job succeeded:
eval /usr/bin/time -f "@@@%e,%M@@@" /home/mcc/BenchKit/bin/verifypn -n '-n -s BFS -q 0 -l 0 -d 119' /home/mcc/BenchKit/bin/tmp/tmp.yKaiAljNRT /home/mcc/BenchKit/bin/tmp/tmp.W2sM2coit1 --binary-query-io 1 -x 4 -n

FORMULA ResAllocation-PT-R003C010-UpperBounds-03 1 TECHNIQUES COLLATERAL_PROCESSING STRUCTURAL_REDUCTION QUERY_REDUCTION SAT_SMT EXPLICIT STATE_COMPRESSION STUBBORN_SETS
Time left: 3589
------------------- QUERY 5 ----------------------
Solution found by parallel processing (step 1)
Query index 0 was solved

Query is satisfied.

Spent 0.00151 on verification
@@@0.00,6076@@@
parallel: This job succeeded:
eval /usr/bin/time -f "@@@%e,%M@@@" /home/mcc/BenchKit/bin/verifypn -n '-n -s BFS -q 0 -l 0 -d 119' /home/mcc/BenchKit/bin/tmp/tmp.yKaiAljNRT /home/mcc/BenchKit/bin/tmp/tmp.W2sM2coit1 --binary-query-io 1 -x 5 -n

FORMULA ResAllocation-PT-R003C010-UpperBounds-04 1 TECHNIQUES COLLATERAL_PROCESSING STRUCTURAL_REDUCTION QUERY_REDUCTION SAT_SMT EXPLICIT STATE_COMPRESSION STUBBORN_SETS
Time left: 3589
------------------- QUERY 6 ----------------------
Solution found by parallel processing (step 1)
Query index 0 was solved

Query is satisfied.

Spent 0.00142 on verification
@@@0.00,5880@@@
parallel: This job succeeded:
eval /usr/bin/time -f "@@@%e,%M@@@" /home/mcc/BenchKit/bin/verifypn -n '-n -s BFS -q 0 -l 0 -d 119' /home/mcc/BenchKit/bin/tmp/tmp.yKaiAljNRT /home/mcc/BenchKit/bin/tmp/tmp.W2sM2coit1 --binary-query-io 1 -x 6 -n

FORMULA ResAllocation-PT-R003C010-UpperBounds-05 1 TECHNIQUES COLLATERAL_PROCESSING STRUCTURAL_REDUCTION QUERY_REDUCTION SAT_SMT EXPLICIT STATE_COMPRESSION STUBBORN_SETS
Time left: 3589
------------------- QUERY 7 ----------------------
Solution found by parallel processing (step 1)
Query index 0 was solved

Query is satisfied.

Spent 0.001315 on verification
@@@0.00,6080@@@
parallel: This job succeeded:
eval /usr/bin/time -f "@@@%e,%M@@@" /home/mcc/BenchKit/bin/verifypn -n '-n -s BFS -q 0 -l 0 -d 119' /home/mcc/BenchKit/bin/tmp/tmp.yKaiAljNRT /home/mcc/BenchKit/bin/tmp/tmp.W2sM2coit1 --binary-query-io 1 -x 7 -n
FORMULA ResAllocation-PT-R003C010-UpperBounds-06 1 TECHNIQUES COLLATERAL_PROCESSING STRUCTURAL_REDUCTION QUERY_REDUCTION SAT_SMT EXPLICIT STATE_COMPRESSION
Query index 0 was solved

Query is satisfied.

Spent 0.001046 on verification
@@@0.00,5940@@@
parallel: This job succeeded:
eval /usr/bin/time -f "@@@%e,%M@@@" /home/mcc/BenchKit/bin/verifypn -n '-n -p -q 0 -l 0 -d 119' /home/mcc/BenchKit/bin/tmp/tmp.yKaiAljNRT /home/mcc/BenchKit/bin/tmp/tmp.W2sM2coit1 --binary-query-io 1 -x 7 -n

FORMULA ResAllocation-PT-R003C010-UpperBounds-06 1 TECHNIQUES COLLATERAL_PROCESSING STRUCTURAL_REDUCTION QUERY_REDUCTION SAT_SMT EXPLICIT STATE_COMPRESSION STUBBORN_SETS
Time left: 3589
------------------- QUERY 8 ----------------------
Solution found by parallel processing (step 1)
Query index 0 was solved

Query is satisfied.

Spent 0.00127 on verification
@@@0.00,5872@@@
parallel: This job succeeded:
eval /usr/bin/time -f "@@@%e,%M@@@" /home/mcc/BenchKit/bin/verifypn -n '-n -s BFS -q 0 -l 0 -d 119' /home/mcc/BenchKit/bin/tmp/tmp.yKaiAljNRT /home/mcc/BenchKit/bin/tmp/tmp.W2sM2coit1 --binary-query-io 1 -x 8 -n

FORMULA ResAllocation-PT-R003C010-UpperBounds-07 1 TECHNIQUES COLLATERAL_PROCESSING STRUCTURAL_REDUCTION QUERY_REDUCTION SAT_SMT EXPLICIT STATE_COMPRESSION STUBBORN_SETS
Time left: 3588
------------------- QUERY 9 ----------------------
Solution found by parallel processing (step 1)
Query index 0 was solved

Query is satisfied.

Spent 0.001624 on verification
@@@0.00,6032@@@
parallel: This job succeeded:
eval /usr/bin/time -f "@@@%e,%M@@@" /home/mcc/BenchKit/bin/verifypn -n '-n -s BFS -q 0 -l 0 -d 119' /home/mcc/BenchKit/bin/tmp/tmp.yKaiAljNRT /home/mcc/BenchKit/bin/tmp/tmp.W2sM2coit1 --binary-query-io 1 -x 9 -n
FORMULA ResAllocation-PT-R003C010-UpperBounds-08 1 TECHNIQUES COLLATERAL_PROCESSING STRUCTURAL_REDUCTION QUERY_REDUCTION SAT_SMT EXPLICIT STATE_COMPRESSION
Query index 0 was solved

Query is satisfied.

Spent 0.000896 on verification
@@@0.00,5820@@@
parallel: This job succeeded:
eval /usr/bin/time -f "@@@%e,%M@@@" /home/mcc/BenchKit/bin/verifypn -n '-n -p -q 0 -l 0 -d 119' /home/mcc/BenchKit/bin/tmp/tmp.yKaiAljNRT /home/mcc/BenchKit/bin/tmp/tmp.W2sM2coit1 --binary-query-io 1 -x 9 -n

FORMULA ResAllocation-PT-R003C010-UpperBounds-08 1 TECHNIQUES COLLATERAL_PROCESSING STRUCTURAL_REDUCTION QUERY_REDUCTION SAT_SMT EXPLICIT STATE_COMPRESSION STUBBORN_SETS
Time left: 3588
------------------- QUERY 10 ----------------------
Solution found by parallel processing (step 1)
Query index 0 was solved

Query is satisfied.

Spent 0.000904 on verification
@@@0.00,6024@@@
parallel: This job succeeded:
eval /usr/bin/time -f "@@@%e,%M@@@" /home/mcc/BenchKit/bin/verifypn -n '-n -s BFS -q 0 -l 0 -d 119' /home/mcc/BenchKit/bin/tmp/tmp.yKaiAljNRT /home/mcc/BenchKit/bin/tmp/tmp.W2sM2coit1 --binary-query-io 1 -x 10 -n

FORMULA ResAllocation-PT-R003C010-UpperBounds-09 1 TECHNIQUES COLLATERAL_PROCESSING STRUCTURAL_REDUCTION QUERY_REDUCTION SAT_SMT EXPLICIT STATE_COMPRESSION STUBBORN_SETS
Time left: 3588
------------------- QUERY 11 ----------------------
Solution found by parallel processing (step 1)
Query index 0 was solved

Query is satisfied.

FORMULA ResAllocation-PT-R003C010-UpperBounds-10 1 TECHNIQUES COLLATERAL_PROCESSING STRUCTURAL_REDUCTION QUERY_REDUCTION SAT_SMT EXPLICIT STATE_COMPRESSION
Query index 0 was solved

Query is satisfied.

Spent 0.001011 on verification
@@@0.00,5672@@@
parallel: This job succeeded:
eval /usr/bin/time -f "@@@%e,%M@@@" /home/mcc/BenchKit/bin/verifypn -n '-n -p -q 0 -l 0 -d 119' /home/mcc/BenchKit/bin/tmp/tmp.yKaiAljNRT /home/mcc/BenchKit/bin/tmp/tmp.W2sM2coit1 --binary-query-io 1 -x 11 -n

FORMULA ResAllocation-PT-R003C010-UpperBounds-10 1 TECHNIQUES COLLATERAL_PROCESSING STRUCTURAL_REDUCTION QUERY_REDUCTION SAT_SMT EXPLICIT STATE_COMPRESSION STUBBORN_SETS
Time left: 3588
------------------- QUERY 12 ----------------------
Solution found by parallel processing (step 1)
Query index 0 was solved

Query is satisfied.

Spent 0.001208 on verification
@@@0.00,6012@@@
parallel: This job succeeded:
eval /usr/bin/time -f "@@@%e,%M@@@" /home/mcc/BenchKit/bin/verifypn -n '-n -s BFS -q 0 -l 0 -d 119' /home/mcc/BenchKit/bin/tmp/tmp.yKaiAljNRT /home/mcc/BenchKit/bin/tmp/tmp.W2sM2coit1 --binary-query-io 1 -x 12 -n

FORMULA ResAllocation-PT-R003C010-UpperBounds-11 1 TECHNIQUES COLLATERAL_PROCESSING STRUCTURAL_REDUCTION QUERY_REDUCTION SAT_SMT EXPLICIT STATE_COMPRESSION STUBBORN_SETS
Time left: 3588
------------------- QUERY 13 ----------------------
Solution found by parallel processing (step 1)
Query index 0 was solved

Query is satisfied.

Spent 0.001659 on verification
@@@0.00,5740@@@
parallel: This job succeeded:
eval /usr/bin/time -f "@@@%e,%M@@@" /home/mcc/BenchKit/bin/verifypn -n '-n -s BFS -q 0 -l 0 -d 119' /home/mcc/BenchKit/bin/tmp/tmp.yKaiAljNRT /home/mcc/BenchKit/bin/tmp/tmp.W2sM2coit1 --binary-query-io 1 -x 13 -n
FORMULA ResAllocation-PT-R003C010-UpperBounds-12 1 TECHNIQUES COLLATERAL_PROCESSING STRUCTURAL_REDUCTION QUERY_REDUCTION SAT_SMT EXPLICIT STATE_COMPRESSION
Query index 0 was solved

Query is satisfied.

Spent 0.000883 on verification
@@@0.00,5888@@@
parallel: This job succeeded:
eval /usr/bin/time -f "@@@%e,%M@@@" /home/mcc/BenchKit/bin/verifypn -n '-n -p -q 0 -l 0 -d 119' /home/mcc/BenchKit/bin/tmp/tmp.yKaiAljNRT /home/mcc/BenchKit/bin/tmp/tmp.W2sM2coit1 --binary-query-io 1 -x 13 -n

FORMULA ResAllocation-PT-R003C010-UpperBounds-12 1 TECHNIQUES COLLATERAL_PROCESSING STRUCTURAL_REDUCTION QUERY_REDUCTION SAT_SMT EXPLICIT STATE_COMPRESSION STUBBORN_SETS
Time left: 3587
------------------- QUERY 14 ----------------------
Solution found by parallel processing (step 1)
Query index 0 was solved

Query is satisfied.

Spent 0.0015 on verification
@@@0.00,5916@@@
parallel: This job succeeded:
eval /usr/bin/time -f "@@@%e,%M@@@" /home/mcc/BenchKit/bin/verifypn -n '-n -s BFS -q 0 -l 0 -d 119' /home/mcc/BenchKit/bin/tmp/tmp.yKaiAljNRT /home/mcc/BenchKit/bin/tmp/tmp.W2sM2coit1 --binary-query-io 1 -x 14 -n

FORMULA ResAllocation-PT-R003C010-UpperBounds-13 1 TECHNIQUES COLLATERAL_PROCESSING STRUCTURAL_REDUCTION QUERY_REDUCTION SAT_SMT EXPLICIT STATE_COMPRESSION STUBBORN_SETS
Time left: 3587
------------------- QUERY 15 ----------------------
Solution found by parallel processing (step 1)
Query index 0 was solved

Query is satisfied.

Spent 0.001919 on verification
@@@0.00,5884@@@
parallel: This job succeeded:
eval /usr/bin/time -f "@@@%e,%M@@@" /home/mcc/BenchKit/bin/verifypn -n '-n -s BFS -q 0 -l 0 -d 119' /home/mcc/BenchKit/bin/tmp/tmp.yKaiAljNRT /home/mcc/BenchKit/bin/tmp/tmp.W2sM2coit1 --binary-query-io 1 -x 15 -n

FORMULA ResAllocation-PT-R003C010-UpperBounds-14 1 TECHNIQUES COLLATERAL_PROCESSING STRUCTURAL_REDUCTION QUERY_REDUCTION SAT_SMT EXPLICIT STATE_COMPRESSION STUBBORN_SETS
Time left: 3587
------------------- QUERY 16 ----------------------
Solution found by parallel processing (step 1)
Query index 0 was solved

Query is satisfied.

Spent 0.001268 on verification
@@@0.00,6120@@@
parallel: This job succeeded:
eval /usr/bin/time -f "@@@%e,%M@@@" /home/mcc/BenchKit/bin/verifypn -n '-n -s BFS -q 0 -l 0 -d 119' /home/mcc/BenchKit/bin/tmp/tmp.yKaiAljNRT /home/mcc/BenchKit/bin/tmp/tmp.W2sM2coit1 --binary-query-io 1 -x 16 -n

FORMULA ResAllocation-PT-R003C010-UpperBounds-15 1 TECHNIQUES COLLATERAL_PROCESSING STRUCTURAL_REDUCTION QUERY_REDUCTION SAT_SMT EXPLICIT STATE_COMPRESSION STUBBORN_SETS
Time left: 3587
All queries are solved
Time left: 3587
terminated-with-cleanup

BK_STOP 1717103827647

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

CPN OverApproximation is only usable on colored models

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="ResAllocation-PT-R003C010"
export BK_EXAMINATION="UpperBounds"
export BK_TOOL="tapaal"
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 tapaal"
echo " Input is ResAllocation-PT-R003C010, 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 r316-tall-171662347100805"
echo "====================================================================="
echo
echo "--------------------"
echo "preparation of the directory to be used:"

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