fond
Model Checking Contest 2018
8th edition, Bratislava, Slovakia, June 26, 2018
Execution of r084-blw3-152649951100052
Last Updated
June 26, 2018

About the Execution of Tapaal for DatabaseWithMutex-PT-10

Execution Summary
Max Memory
Used (MB)
Time wait (ms) CPU Usage (ms) I/O Wait (ms) Computed Result Execution
Status
15919.300 3591167.00 8450999.00 9388.50 TFFFTFTFTFT?TF?F normal

Execution Chart

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

Trace from the execution

Waiting for the VM to be ready (probing ssh)
...................................
/home/mcc/execution
total 2.0M
-rw-r--r-- 1 mcc users 58K May 15 18:54 CTLCardinality.txt
-rw-r--r-- 1 mcc users 175K May 15 18:54 CTLCardinality.xml
-rw-r--r-- 1 mcc users 50K May 15 18:54 CTLFireability.txt
-rw-r--r-- 1 mcc users 188K May 15 18:54 CTLFireability.xml
-rw-r--r-- 1 mcc users 4.0K May 15 18:50 GenericPropertiesDefinition.xml
-rw-r--r-- 1 mcc users 6.3K May 15 18:50 GenericPropertiesVerdict.xml
-rw-r--r-- 1 mcc users 21K May 26 09:26 LTLCardinality.txt
-rw-r--r-- 1 mcc users 65K May 26 09:26 LTLCardinality.xml
-rw-r--r-- 1 mcc users 21K May 26 09:26 LTLFireability.txt
-rw-r--r-- 1 mcc users 72K May 26 09:26 LTLFireability.xml
-rw-r--r-- 1 mcc users 53K May 15 18:54 ReachabilityCardinality.txt
-rw-r--r-- 1 mcc users 158K May 15 18:54 ReachabilityCardinality.xml
-rw-r--r-- 1 mcc users 114 May 15 18:54 ReachabilityDeadlock.txt
-rw-r--r-- 1 mcc users 352 May 15 18:54 ReachabilityDeadlock.xml
-rw-r--r-- 1 mcc users 50K May 15 18:54 ReachabilityFireability.txt
-rw-r--r-- 1 mcc users 191K May 15 18:54 ReachabilityFireability.xml
-rw-r--r-- 1 mcc users 11K May 15 18:54 UpperBounds.txt
-rw-r--r-- 1 mcc users 23K May 15 18:54 UpperBounds.xml
-rw-r--r-- 1 mcc users 5 May 15 18:50 equiv_col
-rw-r--r-- 1 mcc users 3 May 15 18:50 instance
-rw-r--r-- 1 mcc users 6 May 15 18:50 iscolored
-rw-r--r-- 1 mcc users 816K May 15 18:50 model.pnml
=====================================================================
Generated by BenchKit 2-3637
Executing tool tapaal
Input is DatabaseWithMutex-PT-10, examination is CTLCardinality
Time confinement is 3600 seconds
Memory confinement is 16384 MBytes
Number of cores is 4
Run identifier is r084-blw3-152649951100052
=====================================================================


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

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

The expected result is a vector of booleans
BOOL_VECTOR

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

=== Now, execution of the tool begins

BK_START 1527686701177

tapaal
---> tapaal --- TAPAAL
Total timeout: 3590
Time left: 3590

*************************************
* TAPAAL verifying CTLCardinality *
*************************************
/home/mcc/tmp
/home/mcc/tmp/tmp.y68wDyu3YU
/home/mcc/tmp/tmp.83xsPl5Uj8
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
/home/mcc/BenchKit/bin/verifypn -n -q 718 -l 29 -d 299 -z 4 -s OverApprox --write-simplified /home/mcc/tmp/tmp.y68wDyu3YU --write-reduced /home/mcc/tmp/tmp.83xsPl5Uj8 -x 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16 ./model.pnml ./CTLCardinality.xml





FORMULA DatabaseWithMutex-PT-10-CTLCardinality-08 TRUE TECHNIQUES COLLATERAL_PROCESSING STRUCTURAL_REDUCTION QUERY_REDUCTION SAT_SMT LP_APPROX
Query index 8 was solved

Query is satisfied.


FORMULA DatabaseWithMutex-PT-10-CTLCardinality-13 FALSE TECHNIQUES COLLATERAL_PROCESSING STRUCTURAL_REDUCTION QUERY_REDUCTION SAT_SMT LP_APPROX
Query index 13 was solved

Query is NOT satisfied.


FORMULA DatabaseWithMutex-PT-10-CTLCardinality-15 FALSE TECHNIQUES COLLATERAL_PROCESSING STRUCTURAL_REDUCTION QUERY_REDUCTION SAT_SMT LP_APPROX
Query index 15 was solved

Query is NOT satisfied.
Solution found by parallel simplification (step 0)
Solution found by parallel simplification (step 0)
Solution found by parallel simplification (step 0)
Time left: 3590

---------------------------------------------------
Step 1: Parallel processing
---------------------------------------------------
Doing parallel verification of individual queries (13 in total)
Each query is verified by 4 parallel strategies for 299 seconds
------------------- QUERY 1 ----------------------
Solution found by parallel processing (step 1)





Query index 0 was solved

Query is NOT satisfied.

@@@0.03,7276@@@
parallel: This job succeeded:
eval /usr/bin/time -f "@@@%e,%M@@@" /home/mcc/BenchKit/bin/verifypn -n -s\ BestFS\ -q\ 0\ -l\ 0\ -d\ 119 /home/mcc/tmp/tmp.83xsPl5Uj8 /home/mcc/tmp/tmp.y68wDyu3YU --binary-query-io 1 -x 1 -n

FORMULA DatabaseWithMutex-PT-10-CTLCardinality-07 FALSE TECHNIQUES COLLATERAL_PROCESSING STRUCTURAL_REDUCTION QUERY_REDUCTION SAT_SMT EXPLICIT STATE_COMPRESSION STUBBORN_SETS
Time left: 3589
------------------- QUERY 2 ----------------------
Solution found by parallel processing (step 1)






Query index 0 was solved
Query is NOT satisfied.

@@@0.07,90600@@@
parallel: This job succeeded:
eval /usr/bin/time -f "@@@%e,%M@@@" /home/mcc/BenchKit/bin/verifypn -n -tar\ -s\ RDFS\ -q\ 0\ -l\ 0\ -d\ 119 /home/mcc/tmp/tmp.83xsPl5Uj8 /home/mcc/tmp/tmp.y68wDyu3YU --binary-query-io 1 -x 2 -n

FORMULA DatabaseWithMutex-PT-10-CTLCardinality-09 FALSE TECHNIQUES COLLATERAL_PROCESSING EXPLICIT STATE_COMPRESSION SAT_SMT STUBBORN_SETS CTL_CZERO
Time left: 3589
------------------- QUERY 3 ----------------------
Solution found by parallel processing (step 1)






Query index 0 was solved
Query is NOT satisfied.

@@@0.06,90716@@@
parallel: This job succeeded:
eval /usr/bin/time -f "@@@%e,%M@@@" /home/mcc/BenchKit/bin/verifypn -n -tar\ -s\ RDFS\ -q\ 0\ -l\ 0\ -d\ 119 /home/mcc/tmp/tmp.83xsPl5Uj8 /home/mcc/tmp/tmp.y68wDyu3YU --binary-query-io 1 -x 3 -n

FORMULA DatabaseWithMutex-PT-10-CTLCardinality-05 FALSE TECHNIQUES COLLATERAL_PROCESSING EXPLICIT STATE_COMPRESSION SAT_SMT STUBBORN_SETS CTL_CZERO
Time left: 3589
------------------- QUERY 4 ----------------------
Solution found by parallel processing (step 1)






Query index 0 was solved
Query is satisfied.



Query index 0 was solved
Query is satisfied.



Query index 0 was solved
Query is satisfied.

@@@0.06,90784@@@
parallel: This job succeeded:
eval /usr/bin/time -f "@@@%e,%M@@@" /home/mcc/BenchKit/bin/verifypn -n -tar\ -s\ RDFS\ -q\ 0\ -l\ 0\ -d\ 119 /home/mcc/tmp/tmp.83xsPl5Uj8 /home/mcc/tmp/tmp.y68wDyu3YU --binary-query-io 1 -x 4 -n

FORMULA DatabaseWithMutex-PT-10-CTLCardinality-10 TRUE TECHNIQUES COLLATERAL_PROCESSING EXPLICIT STATE_COMPRESSION SAT_SMT STUBBORN_SETS CTL_CZERO
Time left: 3589
------------------- QUERY 5 ----------------------
Solution found by parallel processing (step 1)






Query index 0 was solved
Query is satisfied.

@@@0.05,90612@@@
parallel: This job succeeded:
eval /usr/bin/time -f "@@@%e,%M@@@" /home/mcc/BenchKit/bin/verifypn -n -tar\ -s\ RDFS\ -q\ 0\ -l\ 0\ -d\ 119 /home/mcc/tmp/tmp.83xsPl5Uj8 /home/mcc/tmp/tmp.y68wDyu3YU --binary-query-io 1 -x 5 -n

FORMULA DatabaseWithMutex-PT-10-CTLCardinality-12 TRUE TECHNIQUES COLLATERAL_PROCESSING EXPLICIT STATE_COMPRESSION SAT_SMT STUBBORN_SETS CTL_CZERO
Time left: 3589
------------------- QUERY 6 ----------------------
No solution found




Command terminated by signal 9
@@@81.03,6304720@@@
Command terminated by signal 9
@@@132.85,8542124@@@
terminate called after throwing an instance of 'std::bad_alloc'
what(): std::bad_alloc
Command terminated by signal 6
@@@285.01,14929704@@@


Time left: 3287
------------------- QUERY 7 ----------------------
Solution found by parallel processing (step 1)






Query index 0 was solved
Query is satisfied.

@@@0.45,93816@@@
parallel: This job succeeded:
eval /usr/bin/time -f "@@@%e,%M@@@" /home/mcc/BenchKit/bin/verifypn -n -tar\ -s\ RDFS\ -q\ 0\ -l\ 0\ -d\ 119 /home/mcc/tmp/tmp.83xsPl5Uj8 /home/mcc/tmp/tmp.y68wDyu3YU --binary-query-io 1 -x 7 -n

FORMULA DatabaseWithMutex-PT-10-CTLCardinality-04 TRUE TECHNIQUES COLLATERAL_PROCESSING EXPLICIT STATE_COMPRESSION SAT_SMT STUBBORN_SETS CTL_CZERO
Time left: 3286
------------------- QUERY 8 ----------------------
Solution found by parallel processing (step 1)






Query index 0 was solved
Query is NOT satisfied.



Query index 0 was solved
Query is NOT satisfied.

@@@0.95,102988@@@
parallel: This job succeeded:
eval /usr/bin/time -f "@@@%e,%M@@@" /home/mcc/BenchKit/bin/verifypn -n -tar\ -s\ RDFS\ -q\ 0\ -l\ 0\ -d\ 119 /home/mcc/tmp/tmp.83xsPl5Uj8 /home/mcc/tmp/tmp.y68wDyu3YU --binary-query-io 1 -x 8 -n

FORMULA DatabaseWithMutex-PT-10-CTLCardinality-02 FALSE TECHNIQUES COLLATERAL_PROCESSING EXPLICIT STATE_COMPRESSION SAT_SMT STUBBORN_SETS CTL_CZERO
Time left: 3285
------------------- QUERY 9 ----------------------
Solution found by parallel processing (step 1)






Query index 0 was solved
Query is NOT satisfied.

@@@0.47,95748@@@
parallel: This job succeeded:
eval /usr/bin/time -f "@@@%e,%M@@@" /home/mcc/BenchKit/bin/verifypn -n -s\ DFS\ -q\ 0\ -l\ 0\ -d\ 119 /home/mcc/tmp/tmp.83xsPl5Uj8 /home/mcc/tmp/tmp.y68wDyu3YU --binary-query-io 1 -x 9 -n

FORMULA DatabaseWithMutex-PT-10-CTLCardinality-03 FALSE TECHNIQUES COLLATERAL_PROCESSING EXPLICIT STATE_COMPRESSION SAT_SMT STUBBORN_SETS CTL_CZERO
Time left: 3284
------------------- QUERY 10 ----------------------
No solution found




Command terminated by signal 9
@@@178.55,6443344@@@
Command terminated by signal 9
@@@258.36,9004152@@@


Time left: 2983
------------------- QUERY 11 ----------------------
Solution found by parallel processing (step 1)






Query index 0 was solved
Query is satisfied.



Query index 0 was solved
Query is satisfied.

@@@0.30,90420@@@
parallel: This job succeeded:
eval /usr/bin/time -f "@@@%e,%M@@@" /home/mcc/BenchKit/bin/verifypn -n -tar\ -s\ RDFS\ -q\ 0\ -l\ 0\ -d\ 119 /home/mcc/tmp/tmp.83xsPl5Uj8 /home/mcc/tmp/tmp.y68wDyu3YU --binary-query-io 1 -x 11 -n
@@@0.26,90552@@@
parallel: This job succeeded:
eval /usr/bin/time -f "@@@%e,%M@@@" /home/mcc/BenchKit/bin/verifypn -n -s\ DFS\ -q\ 0\ -l\ 0\ -d\ 119 /home/mcc/tmp/tmp.83xsPl5Uj8 /home/mcc/tmp/tmp.y68wDyu3YU --binary-query-io 1 -x 11 -n

FORMULA DatabaseWithMutex-PT-10-CTLCardinality-00 TRUE TECHNIQUES COLLATERAL_PROCESSING EXPLICIT STATE_COMPRESSION SAT_SMT STUBBORN_SETS CTL_CZERO
Time left: 2982
------------------- QUERY 12 ----------------------
Solution found by parallel processing (step 1)






Query index 0 was solved
Query is NOT satisfied.

@@@0.08,90568@@@
parallel: This job succeeded:
eval /usr/bin/time -f "@@@%e,%M@@@" /home/mcc/BenchKit/bin/verifypn -n -tar\ -s\ RDFS\ -q\ 0\ -l\ 0\ -d\ 119 /home/mcc/tmp/tmp.83xsPl5Uj8 /home/mcc/tmp/tmp.y68wDyu3YU --binary-query-io 1 -x 12 -n

FORMULA DatabaseWithMutex-PT-10-CTLCardinality-01 FALSE TECHNIQUES COLLATERAL_PROCESSING EXPLICIT STATE_COMPRESSION SAT_SMT STUBBORN_SETS CTL_CZERO
Time left: 2982
------------------- QUERY 13 ----------------------
Solution found by parallel processing (step 1)






Query index 0 was solved
Query is satisfied.

@@@0.23,96476@@@
parallel: This job succeeded:
eval /usr/bin/time -f "@@@%e,%M@@@" /home/mcc/BenchKit/bin/verifypn -n -s\ DFS\ -q\ 0\ -l\ 0\ -d\ 119 /home/mcc/tmp/tmp.83xsPl5Uj8 /home/mcc/tmp/tmp.y68wDyu3YU --binary-query-io 1 -x 13 -n

FORMULA DatabaseWithMutex-PT-10-CTLCardinality-06 TRUE TECHNIQUES COLLATERAL_PROCESSING EXPLICIT STATE_COMPRESSION SAT_SMT STUBBORN_SETS CTL_CZERO
Time left: 2982
---------------------------------------------------
Step 2: Sequential processing
---------------------------------------------------
Remaining 2 queries are verified sequentially.
Each query is verified for a dynamic timeout (at least 512 seconds)
Time left: 2982
------------------- QUERY 6 ----------------------
Running query 6 for 1491 seconds. Remaining: 2 queries and 2982 seconds

No solution found
Time left: 2782
------------------- QUERY 10 ----------------------
Running query 10 for 2782 seconds. Remaining: 1 queries and 2782 seconds

No solution found
Time left: 2565
Time left: 2565
---------------------------------------------------
Step 4: Random Parallel processing
---------------------------------------------------
Doing random parallel verification of individual queries (2 in total)
Each query is verified by 4 parallel strategies for 1282 seconds
------------------- QUERY 6 ----------------------
No solution found




Command terminated by signal 9
@@@101.98,4636432@@@
Command terminated by signal 9
@@@126.35,6369188@@@
Command terminated by signal 9
@@@171.07,9124880@@@
terminate called after throwing an instance of 'std::bad_alloc'
what(): std::bad_alloc
Command terminated by signal 6
@@@297.47,14884944@@@


Time left: 2267
------------------- QUERY 10 ----------------------
No solution found




terminate called after throwing an instance of 'std::bad_alloc'
what(): std::bad_alloc
Command terminated by signal 6
@@@115.74,4013844@@@
terminate called after throwing an instance of 'std::bad_alloc'
what(): std::bad_alloc
Command terminated by signal 6
@@@145.81,5100168@@@
Command terminated by signal 9
@@@186.09,8471240@@@
terminate called after throwing an instance of 'std::bad_alloc'
what(): std::bad_alloc
Command terminated by signal 6
@@@286.72,14686320@@@


Time left: 1980
Time left: 1980
---------------------------------------------------
Step 4: Random Parallel processing
---------------------------------------------------
Doing random parallel verification of individual queries (2 in total)
Each query is verified by 4 parallel strategies for 990 seconds
------------------- QUERY 6 ----------------------
No solution found




Command terminated by signal 9
@@@67.06,4812688@@@
terminate called after throwing an instance of 'std::bad_alloc'
what(): std::bad_alloc
Command terminated by signal 6
@@@87.70,5761028@@@
terminate called after throwing an instance of 'std::bad_alloc'
what(): std::bad_alloc
Command terminated by signal 6
@@@133.62,7262304@@@
terminate called after throwing an instance of 'std::bad_alloc'
what(): std::bad_alloc
Command terminated by signal 6
@@@223.57,14666552@@@


Time left: 1756
------------------- QUERY 10 ----------------------
No solution found




terminate called after throwing an instance of 'std::bad_alloc'
what(): std::bad_alloc
Command terminated by signal 6
@@@76.61,4012004@@@
Command terminated by signal 9
@@@97.55,5907424@@@
terminate called after throwing an instance of 'std::bad_alloc'
what(): std::bad_alloc
Command terminated by signal 6
@@@142.89,7915260@@@
terminate called after throwing an instance of 'std::bad_alloc'
what(): std::bad_alloc
Command terminated by signal 6
@@@242.67,14723412@@@


Time left: 1513
Time left: 1513
---------------------------------------------------
Step 4: Random Parallel processing
---------------------------------------------------
Doing random parallel verification of individual queries (2 in total)
Each query is verified by 4 parallel strategies for 756 seconds
------------------- QUERY 6 ----------------------
No solution found




terminate called after throwing an instance of 'std::bad_alloc'
what(): std::bad_alloc
Command terminated by signal 6
@@@100.51,3516412@@@
Command terminated by signal 9
@@@124.17,5695612@@@
Command terminated by signal 9
@@@157.48,8115232@@@
terminate called after throwing an instance of 'std::bad_alloc'
what(): std::bad_alloc
Command terminated by signal 6
@@@257.43,14704328@@@


Time left: 1255
------------------- QUERY 10 ----------------------
No solution found




Command terminated by signal 9
@@@86.25,5222760@@@
Command terminated by signal 9
@@@117.85,5864240@@@
Command terminated by signal 9
@@@162.66,8482332@@@
terminate called after throwing an instance of 'std::bad_alloc'
what(): std::bad_alloc
Command terminated by signal 6
@@@269.58,14723368@@@


Time left: 986
Time left: 986
---------------------------------------------------
Step 4: Random Parallel processing
---------------------------------------------------
Doing random parallel verification of individual queries (2 in total)
Each query is verified by 4 parallel strategies for 493 seconds
------------------- QUERY 6 ----------------------
No solution found




terminate called after throwing an instance of 'std::bad_alloc'
Command terminated by signal 9
@@@104.52,4863856@@@
what(): std::bad_alloc
Command terminated by signal 6
@@@104.65,3176772@@@
terminate called after throwing an instance of 'std::bad_alloc'
what(): std::bad_alloc
Command terminated by signal 6
@@@151.62,8090448@@@
terminate called after throwing an instance of 'std::bad_alloc'
what(): std::bad_alloc
Command terminated by signal 6
@@@244.30,14671196@@@


Time left: 741
------------------- QUERY 10 ----------------------
No solution found




terminate called after throwing an instance of 'std::bad_alloc'
what(): std::bad_alloc
Command terminated by signal 6
@@@118.10,3294968@@@
Command terminated by signal 9
@@@144.75,7882616@@@
terminate called after throwing an instance of 'std::bad_alloc'
what(): std::bad_alloc
Command terminated by signal 6
@@@145.00,4018232@@@
terminate called after throwing an instance of 'std::bad_alloc'
what(): std::bad_alloc
Command terminated by signal 6
@@@293.88,14726036@@@


Time left: 447
Time left: 447
---------------------------------------------------
Step 4: Random Parallel processing
---------------------------------------------------
Doing random parallel verification of individual queries (2 in total)
Each query is verified by 4 parallel strategies for 223 seconds
------------------- QUERY 6 ----------------------
No solution found




Command terminated by signal 9
@@@61.78,4589980@@@
terminate called after throwing an instance of 'std::bad_alloc'
what(): std::bad_alloc
Command terminated by signal 6
@@@79.20,4834784@@@
Command terminated by signal 9
@@@115.00,8190708@@@
terminate called after throwing an instance of 'std::bad_alloc'
what(): std::bad_alloc
Command terminated by signal 6
@@@216.23,14643812@@@


Time left: 230
------------------- QUERY 10 ----------------------
No solution found




Command terminated by signal 9
@@@106.85,4317280@@@
Command terminated by signal 9
@@@130.38,5501972@@@
Command terminated by signal 9
@@@173.42,8101480@@@


Time left: 5
Time left: 5
---------------------------------------------------
Step 4: Random Parallel processing
---------------------------------------------------
Doing random parallel verification of individual queries (2 in total)
Each query is verified by 4 parallel strategies for 2 seconds
------------------- QUERY 6 ----------------------
No solution found



Time left: 2
------------------- QUERY 10 ----------------------
No solution found



Time left: -1
Out of time, terminating!

BK_STOP 1527690292344

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

CPN OverApproximation is only usable on colored models
terminate called after throwing an instance of 'std::bad_alloc'
what(): std::bad_alloc
Command terminated by signal 6
"@@@199.73,14707188@@@"
terminate called after throwing an instance of 'std::bad_alloc'
what(): std::bad_alloc
Command terminated by signal 6
"@@@217.22,14762556@@@"

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="DatabaseWithMutex-PT-10"
export BK_EXAMINATION="CTLCardinality"
export BK_TOOL="tapaal"
export BK_RESULT_DIR="/tmp/BK_RESULTS/OUTPUTS"
export BK_TIME_CONFINEMENT="3600"
export BK_MEMORY_CONFINEMENT="16384"

# 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

tar xzf /home/mcc/BenchKit/INPUTS/DatabaseWithMutex-PT-10.tgz
mv DatabaseWithMutex-PT-10 execution
cd execution
pwd
ls -lh

# this is for BenchKit: explicit launching of the test
echo "====================================================================="
echo " Generated by BenchKit 2-3637"
echo " Executing tool tapaal"
echo " Input is DatabaseWithMutex-PT-10, examination is CTLCardinality"
echo " Time confinement is $BK_TIME_CONFINEMENT seconds"
echo " Memory confinement is 16384 MBytes"
echo " Number of cores is 4"
echo " Run identifier is r084-blw3-152649951100052"
echo "====================================================================="
echo
echo "--------------------"
echo "content from stdout:"
echo
echo "=== Data for post analysis generated by BenchKit (invocation template)"
echo
if [ "CTLCardinality" = "UpperBounds" ] ; then
echo "The expected result is a vector of positive values"
echo NUM_VECTOR
elif [ "CTLCardinality" != "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 "CTLCardinality.txt" ] ; then
echo "here is the order used to build the result vector(from text file)"
for x in $(grep Property CTLCardinality.txt | cut -d ' ' -f 2 | sort -u) ; do
echo "FORMULA_NAME $x"
done
elif [ -f "CTLCardinality.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 '' CTLCardinality.xml | cut -d '>' -f 2 | cut -d '<' -f 1 | sort -u) ; do
echo "FORMULA_NAME $x"
done
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 ;