fond
Model Checking Contest 2022
12th edition, Bergen, Norway, June 21, 2022
Execution of r093-smll-165260573700049
Last Updated
Jun 22, 2022

About the Execution of Tapaal for FlexibleBarrier-PT-10a

Execution Summary
Max Memory
Used (MB)
Time wait (ms) CPU Usage (ms) I/O Wait (ms) Computed Result Execution
Status
16225.640 3592259.00 7638692.00 15096.70 FFFFFFFT?TTFT?FT normal

Execution Chart

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

Trace from the execution

Formatting '/data/fkordon/mcc2022-input.r093-smll-165260573700049.qcow2', fmt=qcow2 size=4294967296 backing_file=/data/fkordon/mcc2022-input.qcow2 cluster_size=65536 lazy_refcounts=off refcount_bits=16
Waiting for the VM to be ready (probing ssh)
.......................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
=====================================================================
Generated by BenchKit 2-4028
Executing tool tapaal
Input is FlexibleBarrier-PT-10a, examination is CTLCardinality
Time confinement is 3600 seconds
Memory confinement is 16384 MBytes
Number of cores is 4
Run identifier is r093-smll-165260573700049
=====================================================================

--------------------
preparation of the directory to be used:
/home/mcc/execution
total 340K
-rw-r--r-- 1 mcc users 6.6K Apr 29 13:31 CTLCardinality.txt
-rw-r--r-- 1 mcc users 73K Apr 29 13:31 CTLCardinality.xml
-rw-r--r-- 1 mcc users 6.4K Apr 29 13:20 CTLFireability.txt
-rw-r--r-- 1 mcc users 63K Apr 29 13:20 CTLFireability.xml
-rw-r--r-- 1 mcc users 6 May 10 09:33 equiv_col
-rw-r--r-- 1 mcc users 4.2K May 10 09:33 GenericPropertiesDefinition.xml
-rw-r--r-- 1 mcc users 6.5K May 10 09:33 GenericPropertiesVerdict.xml
-rw-r--r-- 1 mcc users 4 May 10 09:33 instance
-rw-r--r-- 1 mcc users 6 May 10 09:33 iscolored
-rw-r--r-- 1 mcc users 3.5K May 9 07:50 LTLCardinality.txt
-rw-r--r-- 1 mcc users 24K May 9 07:50 LTLCardinality.xml
-rw-r--r-- 1 mcc users 2.3K May 9 07:50 LTLFireability.txt
-rw-r--r-- 1 mcc users 17K May 9 07:50 LTLFireability.xml
-rw-r--r-- 1 mcc users 94K May 10 09:33 model.pnml
-rw-r--r-- 1 mcc users 1.7K May 9 07:50 UpperBounds.txt
-rw-r--r-- 1 mcc users 3.7K May 9 07:50 UpperBounds.xml

--------------------
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 FlexibleBarrier-PT-10a-CTLCardinality-00
FORMULA_NAME FlexibleBarrier-PT-10a-CTLCardinality-01
FORMULA_NAME FlexibleBarrier-PT-10a-CTLCardinality-02
FORMULA_NAME FlexibleBarrier-PT-10a-CTLCardinality-03
FORMULA_NAME FlexibleBarrier-PT-10a-CTLCardinality-04
FORMULA_NAME FlexibleBarrier-PT-10a-CTLCardinality-05
FORMULA_NAME FlexibleBarrier-PT-10a-CTLCardinality-06
FORMULA_NAME FlexibleBarrier-PT-10a-CTLCardinality-07
FORMULA_NAME FlexibleBarrier-PT-10a-CTLCardinality-08
FORMULA_NAME FlexibleBarrier-PT-10a-CTLCardinality-09
FORMULA_NAME FlexibleBarrier-PT-10a-CTLCardinality-10
FORMULA_NAME FlexibleBarrier-PT-10a-CTLCardinality-11
FORMULA_NAME FlexibleBarrier-PT-10a-CTLCardinality-12
FORMULA_NAME FlexibleBarrier-PT-10a-CTLCardinality-13
FORMULA_NAME FlexibleBarrier-PT-10a-CTLCardinality-14
FORMULA_NAME FlexibleBarrier-PT-10a-CTLCardinality-15

=== Now, execution of the tool begins

BK_START 1652628326922

tapaal
Got BK_BIN_PATH=/home/mcc/BenchKit/bin/
---> tapaal --- TAPAAL v5
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 verifying CTLCardinality *
*************************************
TEMPDIR=/home/mcc/BenchKit/bin/tmp
QF=/home/mcc/BenchKit/bin/tmp/tmp.WdUV6avmTu
MF=/home/mcc/BenchKit/bin/tmp/tmp.PbXWLPKhUm
Time left: 3589
---------------------------------------------------
Step -1: Stripping Colors
---------------------------------------------------
Verifying stripped models (16 in total)
/home/mcc/BenchKit/bin/verifypn -n -c -q 718 -l 29 -d 299 -z 4 -x 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16 ./model.pnml ./CTLCardinality.xml
CPN OverApproximation is only usable on colored models
Time left: 3589
---------------------------------------------------
Step 0: Parallel Simplification
---------------------------------------------------
Doing parallel simplification (16 in total)
Total simplification timout is 718 -- reduction timeout is 299
timeout 3589 /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.WdUV6avmTu --write-reduced /home/mcc/BenchKit/bin/tmp/tmp.PbXWLPKhUm -x 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16 ./model.pnml ./CTLCardinality.xml
FORMULA FlexibleBarrier-PT-10a-CTLCardinality-01 FALSE TECHNIQUES COLLATERAL_PROCESSING STRUCTURAL_REDUCTION QUERY_REDUCTION SAT_SMT LP_APPROX
Query index 1 was solved

Query is NOT satisfied.

FORMULA FlexibleBarrier-PT-10a-CTLCardinality-04 FALSE TECHNIQUES COLLATERAL_PROCESSING STRUCTURAL_REDUCTION QUERY_REDUCTION SAT_SMT LP_APPROX
Query index 4 was solved

Query is NOT satisfied.

FORMULA FlexibleBarrier-PT-10a-CTLCardinality-05 FALSE TECHNIQUES COLLATERAL_PROCESSING STRUCTURAL_REDUCTION QUERY_REDUCTION SAT_SMT LP_APPROX
Query index 5 was solved

Query is NOT satisfied.

FORMULA FlexibleBarrier-PT-10a-CTLCardinality-11 FALSE TECHNIQUES COLLATERAL_PROCESSING STRUCTURAL_REDUCTION QUERY_REDUCTION SAT_SMT LP_APPROX
Query index 11 was solved

Query is NOT satisfied.

FORMULA FlexibleBarrier-PT-10a-CTLCardinality-14 FALSE TECHNIQUES COLLATERAL_PROCESSING STRUCTURAL_REDUCTION QUERY_REDUCTION SAT_SMT LP_APPROX
Query index 14 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)
Solution found by parallel simplification (step 0)
Solution found by parallel simplification (step 0)
Time left: 3589

---------------------------------------------------
Step 1: Parallel processing
---------------------------------------------------
Doing parallel verification of individual queries (11 in total)
Each query is verified by 4 parallel strategies for 299 seconds
------------------- QUERY 1 ----------------------
Solution found by parallel processing (step 1)
Search strategy option was ignored as the TAR engine is called.
Query index 0 was solved

Query is NOT satisfied.


Solved using Trace Abstraction Refinement

Spent 0.000148 on verification
@@@0.01,6040@@@
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/BenchKit/bin/tmp/tmp.PbXWLPKhUm /home/mcc/BenchKit/bin/tmp/tmp.WdUV6avmTu --binary-query-io 1 -x 1 -n

FORMULA FlexibleBarrier-PT-10a-CTLCardinality-03 FALSE TECHNIQUES COLLATERAL_PROCESSING STRUCTURAL_REDUCTION QUERY_REDUCTION SAT_SMT TRACE_ABSTRACTION_REFINEMENT
Time left: 3589
------------------- QUERY 2 ----------------------
Solution found by parallel processing (step 1)
Query index 0 was solved

Query is satisfied.

Spent 0.001261 on verification
@@@0.00,7240@@@
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/BenchKit/bin/tmp/tmp.PbXWLPKhUm /home/mcc/BenchKit/bin/tmp/tmp.WdUV6avmTu --binary-query-io 1 -x 2 -n

FORMULA FlexibleBarrier-PT-10a-CTLCardinality-09 TRUE TECHNIQUES COLLATERAL_PROCESSING STRUCTURAL_REDUCTION QUERY_REDUCTION SAT_SMT TRACE_ABSTRACTION_REFINEMENT
Time left: 3589
------------------- QUERY 3 ----------------------
Solution found by parallel processing (step 1)


Query index 0 was solved
Query is NOT satisfied.

Spent 0.062964 on verification
@@@0.07,59480@@@
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/BenchKit/bin/tmp/tmp.PbXWLPKhUm /home/mcc/BenchKit/bin/tmp/tmp.WdUV6avmTu --binary-query-io 1 -x 3 -n

FORMULA FlexibleBarrier-PT-10a-CTLCardinality-06 FALSE TECHNIQUES COLLATERAL_PROCESSING EXPLICIT STATE_COMPRESSION SAT_SMT STUBBORN_SETS CTL_CZERO
Time left: 3588
------------------- QUERY 4 ----------------------
Solution found by parallel processing (step 1)


Query index 0 was solved
Query is satisfied.

Spent 0.051488 on verification
@@@0.05,59544@@@
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/BenchKit/bin/tmp/tmp.PbXWLPKhUm /home/mcc/BenchKit/bin/tmp/tmp.WdUV6avmTu --binary-query-io 1 -x 4 -n

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


Query index 0 was solved
Query is NOT satisfied.

Spent 0.05378 on verification
@@@0.06,59400@@@
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/BenchKit/bin/tmp/tmp.PbXWLPKhUm /home/mcc/BenchKit/bin/tmp/tmp.WdUV6avmTu --binary-query-io 1 -x 5 -n

FORMULA FlexibleBarrier-PT-10a-CTLCardinality-02 FALSE TECHNIQUES COLLATERAL_PROCESSING EXPLICIT STATE_COMPRESSION SAT_SMT STUBBORN_SETS CTL_CZERO
Time left: 3587
------------------- QUERY 6 ----------------------
Solution found by parallel processing (step 1)


Query index 0 was solved
Query is NOT satisfied.

Spent 0.070438 on verification
@@@0.08,60028@@@
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/BenchKit/bin/tmp/tmp.PbXWLPKhUm /home/mcc/BenchKit/bin/tmp/tmp.WdUV6avmTu --binary-query-io 1 -x 6 -n

FORMULA FlexibleBarrier-PT-10a-CTLCardinality-00 FALSE TECHNIQUES COLLATERAL_PROCESSING EXPLICIT STATE_COMPRESSION SAT_SMT STUBBORN_SETS CTL_CZERO
Time left: 3587
------------------- QUERY 7 ----------------------
No solution found
Command terminated by signal 9
@@@72.16,6398916@@@
Command terminated by signal 9
@@@125.77,9816776@@@


Time left: 3286
------------------- QUERY 8 ----------------------
No solution found
Command terminated by signal 9
@@@79.25,6267916@@@
Command terminated by signal 9
@@@132.79,9746076@@@


Time left: 2985
------------------- QUERY 9 ----------------------
Solution found by parallel processing (step 1)


Query index 0 was solved
Query is satisfied.

Spent 0.136115 on verification
@@@0.16,59912@@@
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/BenchKit/bin/tmp/tmp.PbXWLPKhUm /home/mcc/BenchKit/bin/tmp/tmp.WdUV6avmTu --binary-query-io 1 -x 9 -n

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


Query index 0 was solved
Query is satisfied.

Spent 0.067586 on verification
@@@0.07,60092@@@
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/BenchKit/bin/tmp/tmp.PbXWLPKhUm /home/mcc/BenchKit/bin/tmp/tmp.WdUV6avmTu --binary-query-io 1 -x 10 -n

FORMULA FlexibleBarrier-PT-10a-CTLCardinality-07 TRUE TECHNIQUES COLLATERAL_PROCESSING EXPLICIT STATE_COMPRESSION SAT_SMT STUBBORN_SETS CTL_CZERO
Time left: 2984
------------------- QUERY 11 ----------------------
Solution found by parallel processing (step 1)


Query index 0 was solved
Query is satisfied.

Spent 0.103899 on verification
@@@0.11,60052@@@
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/BenchKit/bin/tmp/tmp.PbXWLPKhUm /home/mcc/BenchKit/bin/tmp/tmp.WdUV6avmTu --binary-query-io 1 -x 11 -n

FORMULA FlexibleBarrier-PT-10a-CTLCardinality-10 TRUE TECHNIQUES COLLATERAL_PROCESSING EXPLICIT STATE_COMPRESSION SAT_SMT STUBBORN_SETS CTL_CZERO
Time left: 2983
---------------------------------------------------
Step 2: Sequential processing
---------------------------------------------------
Remaining 2 queries are verified sequentially.
Each query is verified for a dynamic timeout (at least 512 seconds)
Time left: 2983
------------------- QUERY 7 ----------------------
Running query 7 for 1491 seconds. Remaining: 2 queries and 2983 seconds
No solution found
Command terminated by signal 9
@@@108.54,8256820@@@
Command terminated by signal 9
@@@226.16,16148908@@@


Time left: 2757
------------------- QUERY 8 ----------------------
Running query 8 for 2757 seconds. Remaining: 1 queries and 2757 seconds
No solution found
Command terminated by signal 9
@@@100.31,8352036@@@
Command terminated by signal 9
@@@214.38,16147888@@@


Time left: 2542
Time left: 2542
---------------------------------------------------
Step 4: Random Parallel processing
---------------------------------------------------
Doing random parallel verification of individual queries (2 in total)
Each query is verified by 4 parallel strategies for 1271 seconds
------------------- QUERY 7 ----------------------
No solution found
Command terminated by signal 9
@@@51.83,4244112@@@
Command terminated by signal 9
@@@69.98,5667356@@@
Command terminated by signal 9
@@@106.18,8108892@@@
terminate called after throwing an instance of 'std::bad_alloc'
what(): std::bad_alloc
Command terminated by signal 6
@@@201.61,15863872@@@


Time left: 2340
------------------- QUERY 8 ----------------------
No solution found
Command terminated by signal 9
@@@50.55,4265144@@@
Command terminated by signal 9
@@@69.32,5668668@@@
Command terminated by signal 9
@@@107.22,8087584@@@
terminate called after throwing an instance of 'std::bad_alloc'
what(): std::bad_alloc
Command terminated by signal 6
@@@207.48,15863916@@@


Time left: 2132
Time left: 2132
---------------------------------------------------
Step 4: Random Parallel processing
---------------------------------------------------
Doing random parallel verification of individual queries (2 in total)
Each query is verified by 4 parallel strategies for 1066 seconds
------------------- QUERY 7 ----------------------
No solution found
Command terminated by signal 9
@@@51.36,4148108@@@
Command terminated by signal 9
@@@71.86,5450296@@@
Command terminated by signal 9
@@@109.12,8080260@@@
terminate called after throwing an instance of 'std::bad_alloc'
what(): std::bad_alloc
Command terminated by signal 6
@@@211.81,15864028@@@


Time left: 1920
------------------- QUERY 8 ----------------------
No solution found
Command terminated by signal 9
@@@48.63,4252168@@@
Command terminated by signal 9
@@@67.20,5652048@@@
Command terminated by signal 9
@@@103.03,8125948@@@
terminate called after throwing an instance of 'std::bad_alloc'
what(): std::bad_alloc
Command terminated by signal 6
@@@199.11,15863916@@@


Time left: 1720
Time left: 1720
---------------------------------------------------
Step 4: Random Parallel processing
---------------------------------------------------
Doing random parallel verification of individual queries (2 in total)
Each query is verified by 4 parallel strategies for 860 seconds
------------------- QUERY 7 ----------------------
No solution found
Command terminated by signal 9
@@@49.04,4216556@@@
Command terminated by signal 9
@@@66.76,5568836@@@
Command terminated by signal 9
@@@104.50,8133812@@@
terminate called after throwing an instance of 'std::bad_alloc'
what(): std::bad_alloc
Command terminated by signal 6
@@@204.52,15863912@@@


Time left: 1516
------------------- QUERY 8 ----------------------
No solution found
Command terminated by signal 9
@@@48.12,4220544@@@
Command terminated by signal 9
@@@66.34,5528192@@@
Command terminated by signal 9
@@@102.17,8097392@@@
terminate called after throwing an instance of 'std::bad_alloc'
what(): std::bad_alloc
Command terminated by signal 6
@@@196.82,15864008@@@


Time left: 1318
Time left: 1318
---------------------------------------------------
Step 4: Random Parallel processing
---------------------------------------------------
Doing random parallel verification of individual queries (2 in total)
Each query is verified by 4 parallel strategies for 659 seconds
------------------- QUERY 7 ----------------------
No solution found
Command terminated by signal 9
@@@53.24,4326720@@@
Command terminated by signal 9
@@@71.01,5650056@@@
Command terminated by signal 9
@@@107.53,8227104@@@
terminate called after throwing an instance of 'std::bad_alloc'
what(): std::bad_alloc
Command terminated by signal 6
@@@213.41,15863936@@@


Time left: 1104
------------------- QUERY 8 ----------------------
No solution found
Command terminated by signal 9
@@@47.82,4161460@@@
Command terminated by signal 9
@@@66.43,5524048@@@
Command terminated by signal 9
@@@102.26,8165068@@@
terminate called after throwing an instance of 'std::bad_alloc'
what(): std::bad_alloc
Command terminated by signal 6
@@@208.43,15864048@@@


Time left: 896
Time left: 896
---------------------------------------------------
Step 4: Random Parallel processing
---------------------------------------------------
Doing random parallel verification of individual queries (2 in total)
Each query is verified by 4 parallel strategies for 448 seconds
------------------- QUERY 7 ----------------------
No solution found
Command terminated by signal 9
@@@53.84,4157596@@@
Command terminated by signal 9
@@@71.93,5466856@@@
Command terminated by signal 9
@@@108.71,8231456@@@
terminate called after throwing an instance of 'std::bad_alloc'
what(): std::bad_alloc
Command terminated by signal 6
@@@212.67,15863940@@@


Time left: 683
------------------- QUERY 8 ----------------------
No solution found
Command terminated by signal 9
@@@49.50,4140024@@@
Command terminated by signal 9
@@@67.77,5543632@@@
Command terminated by signal 9
@@@105.10,8108504@@@
terminate called after throwing an instance of 'std::bad_alloc'
what(): std::bad_alloc
Command terminated by signal 6
@@@206.90,15863932@@@


Time left: 475
Time left: 475
---------------------------------------------------
Step 4: Random Parallel processing
---------------------------------------------------
Doing random parallel verification of individual queries (2 in total)
Each query is verified by 4 parallel strategies for 237 seconds
------------------- QUERY 7 ----------------------
No solution found
Command terminated by signal 9
@@@48.75,4156496@@@
Command terminated by signal 9
@@@66.48,5491564@@@
Command terminated by signal 9
@@@102.06,8119456@@@
terminate called after throwing an instance of 'std::bad_alloc'
what(): std::bad_alloc
Command terminated by signal 6
@@@203.02,15863824@@@


Time left: 272
------------------- QUERY 8 ----------------------
No solution found
Command terminated by signal 9
@@@48.72,4169924@@@
Command terminated by signal 9
@@@67.35,5444356@@@
Command terminated by signal 9
@@@103.84,8108824@@@
terminate called after throwing an instance of 'std::bad_alloc'
what(): std::bad_alloc
Command terminated by signal 6
@@@205.84,15863976@@@


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



Time left: 30
------------------- QUERY 8 ----------------------
No solution found



Time left: -3
Out of time, terminating!
terminated-with-cleanup

BK_STOP 1652631919181

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

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="FlexibleBarrier-PT-10a"
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"
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-4028"
echo " Executing tool tapaal"
echo " Input is FlexibleBarrier-PT-10a, 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 r093-smll-165260573700049"
echo "====================================================================="
echo
echo "--------------------"
echo "preparation of the directory to be used:"

tar xzf /home/mcc/BenchKit/INPUTS/FlexibleBarrier-PT-10a.tgz
mv FlexibleBarrier-PT-10a execution
cd execution
if [ "CTLCardinality" = "ReachabilityDeadlock" ] || [ "CTLCardinality" = "UpperBounds" ] || [ "CTLCardinality" = "QuasiLiveness" ] || [ "CTLCardinality" = "StableMarking" ] || [ "CTLCardinality" = "Liveness" ] || [ "CTLCardinality" = "OneSafe" ] || [ "CTLCardinality" = "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 [ "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
elif [ "CTLCardinality" = "ReachabilityDeadlock" ] || [ "CTLCardinality" = "QuasiLiveness" ] || [ "CTLCardinality" = "StableMarking" ] || [ "CTLCardinality" = "Liveness" ] || [ "CTLCardinality" = "OneSafe" ] ; then
echo "FORMULA_NAME CTLCardinality"
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 ;