fond
Model Checking Contest 2022
12th edition, Bergen, Norway, June 21, 2022
Execution of r183-tajo-165281569200358
Last Updated
Jun 22, 2022

About the Execution of Tapaal for Referendum-COL-0050

Execution Summary
Max Memory
Used (MB)
Time wait (ms) CPU Usage (ms) I/O Wait (ms) Computed Result Execution
Status
48.691 2950.00 3944.00 20.00 FTFTTFTFFFFFFFTT normal

Execution Chart

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

Trace from the execution

Formatting '/mnt/tpsp/fkordon/mcc2022-input.r183-tajo-165281569200358.qcow2', fmt=qcow2 size=4294967296 backing_file='/mnt/tpsp/fkordon/mcc2022-input.qcow2' encryption=off cluster_size=65536 lazy_refcounts=off
Waiting for the VM to be ready (probing ssh)
......................
=====================================================================
Generated by BenchKit 2-4028
Executing tool tapaal
Input is Referendum-COL-0050, examination is ReachabilityCardinality
Time confinement is 3600 seconds
Memory confinement is 16384 MBytes
Number of cores is 4
Run identifier is r183-tajo-165281569200358
=====================================================================

--------------------
preparation of the directory to be used:
/home/mcc/execution
total 472K
-rw-r--r-- 1 mcc users 7.5K Apr 29 14:40 CTLCardinality.txt
-rw-r--r-- 1 mcc users 76K Apr 29 14:40 CTLCardinality.xml
-rw-r--r-- 1 mcc users 5.9K Apr 29 14:38 CTLFireability.txt
-rw-r--r-- 1 mcc users 56K Apr 29 14:38 CTLFireability.xml
-rw-r--r-- 1 mcc users 5 May 10 09:34 equiv_pt
-rw-r--r-- 1 mcc users 4.2K May 10 09:34 GenericPropertiesDefinition.xml
-rw-r--r-- 1 mcc users 6.8K May 10 09:34 GenericPropertiesVerdict.xml
-rw-r--r-- 1 mcc users 5 May 10 09:34 instance
-rw-r--r-- 1 mcc users 5 May 10 09:34 iscolored
-rw-r--r-- 1 mcc users 4.1K May 9 08:36 LTLCardinality.txt
-rw-r--r-- 1 mcc users 27K May 9 08:36 LTLCardinality.xml
-rw-r--r-- 1 mcc users 2.3K May 9 08:36 LTLFireability.txt
-rw-r--r-- 1 mcc users 19K May 9 08:36 LTLFireability.xml
-rw-r--r-- 1 mcc users 4.9K May 10 09:34 model.pnml
-rw-r--r-- 1 mcc users 12K Apr 29 14:46 ReachabilityCardinality.txt
-rw-r--r-- 1 mcc users 120K Apr 29 14:46 ReachabilityCardinality.xml
-rw-r--r-- 1 mcc users 8.5K Apr 29 14:42 ReachabilityFireability.txt
-rw-r--r-- 1 mcc users 75K Apr 29 14:42 ReachabilityFireability.xml
-rw-r--r-- 1 mcc users 1.7K May 9 08:36 UpperBounds.txt
-rw-r--r-- 1 mcc users 3.7K May 9 08:36 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 Referendum-COL-0050-ReachabilityCardinality-00
FORMULA_NAME Referendum-COL-0050-ReachabilityCardinality-01
FORMULA_NAME Referendum-COL-0050-ReachabilityCardinality-02
FORMULA_NAME Referendum-COL-0050-ReachabilityCardinality-03
FORMULA_NAME Referendum-COL-0050-ReachabilityCardinality-04
FORMULA_NAME Referendum-COL-0050-ReachabilityCardinality-05
FORMULA_NAME Referendum-COL-0050-ReachabilityCardinality-06
FORMULA_NAME Referendum-COL-0050-ReachabilityCardinality-07
FORMULA_NAME Referendum-COL-0050-ReachabilityCardinality-08
FORMULA_NAME Referendum-COL-0050-ReachabilityCardinality-09
FORMULA_NAME Referendum-COL-0050-ReachabilityCardinality-10
FORMULA_NAME Referendum-COL-0050-ReachabilityCardinality-11
FORMULA_NAME Referendum-COL-0050-ReachabilityCardinality-12
FORMULA_NAME Referendum-COL-0050-ReachabilityCardinality-13
FORMULA_NAME Referendum-COL-0050-ReachabilityCardinality-14
FORMULA_NAME Referendum-COL-0050-ReachabilityCardinality-15

=== Now, execution of the tool begins

BK_START 1654376116807

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 ReachabilityCardinality *
**********************************************
TEMPDIR=/home/mcc/BenchKit/bin/tmp
QF=/home/mcc/BenchKit/bin/tmp/tmp.oR1a3G2MkR
MF=/home/mcc/BenchKit/bin/tmp/tmp.BUMy06Sh4P
Time left: 3590
---------------------------------------------------
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 ./ReachabilityCardinality.xml
Solution found by stripping colors (step -1) for query index 3
Solution found by stripping colors (step -1) for query index 4
Solution found by stripping colors (step -1) for query index 6
Solution found by stripping colors (step -1) for query index 9
Solution found by stripping colors (step -1) for query index 11
Solution found by stripping colors (step -1) for query index 14

FORMULA Referendum-COL-0050-ReachabilityCardinality-03 TRUE TECHNIQUES COLLATERAL_PROCESSING STRUCTURAL_REDUCTION QUERY_REDUCTION SAT_SMT LP_APPROX CPN_APPROX
Query index 3 was solved

Query is satisfied.

Solved using CPN Approximation



FORMULA Referendum-COL-0050-ReachabilityCardinality-04 TRUE TECHNIQUES COLLATERAL_PROCESSING STRUCTURAL_REDUCTION QUERY_REDUCTION SAT_SMT LP_APPROX CPN_APPROX
Query index 4 was solved

Query is satisfied.

Solved using CPN Approximation



FORMULA Referendum-COL-0050-ReachabilityCardinality-06 TRUE TECHNIQUES COLLATERAL_PROCESSING STRUCTURAL_REDUCTION QUERY_REDUCTION SAT_SMT LP_APPROX CPN_APPROX
Query index 6 was solved

Query is satisfied.

Solved using CPN Approximation



FORMULA Referendum-COL-0050-ReachabilityCardinality-09 FALSE TECHNIQUES COLLATERAL_PROCESSING STRUCTURAL_REDUCTION QUERY_REDUCTION SAT_SMT LP_APPROX CPN_APPROX
Query index 9 was solved

Query is NOT satisfied.

Solved using CPN Approximation



FORMULA Referendum-COL-0050-ReachabilityCardinality-11 FALSE TECHNIQUES COLLATERAL_PROCESSING STRUCTURAL_REDUCTION QUERY_REDUCTION SAT_SMT LP_APPROX CPN_APPROX
Query index 11 was solved

Query is NOT satisfied.

Solved using CPN Approximation



FORMULA Referendum-COL-0050-ReachabilityCardinality-14 TRUE TECHNIQUES COLLATERAL_PROCESSING STRUCTURAL_REDUCTION QUERY_REDUCTION SAT_SMT LP_APPROX CPN_APPROX
Query index 14 was solved

Query is satisfied.

Solved using CPN Approximation



Unable to decide if Referendum-COL-0050-ReachabilityCardinality-15 is satisfied.

Query is MAYBE satisfied.


Unable to decide if Referendum-COL-0050-ReachabilityCardinality-07 is satisfied.

Query is MAYBE satisfied.


Unable to decide if Referendum-COL-0050-ReachabilityCardinality-02 is satisfied.

Query is MAYBE satisfied.


Unable to decide if Referendum-COL-0050-ReachabilityCardinality-05 is satisfied.

Query is MAYBE satisfied.


Unable to decide if Referendum-COL-0050-ReachabilityCardinality-08 is satisfied.

Query is MAYBE satisfied.


Unable to decide if Referendum-COL-0050-ReachabilityCardinality-13 is satisfied.

Query is MAYBE satisfied.


Unable to decide if Referendum-COL-0050-ReachabilityCardinality-10 is satisfied.

Query is MAYBE satisfied.


Unable to decide if Referendum-COL-0050-ReachabilityCardinality-01 is satisfied.

Query is MAYBE satisfied.


Unable to decide if Referendum-COL-0050-ReachabilityCardinality-00 is satisfied.

Query is MAYBE satisfied.


Unable to decide if Referendum-COL-0050-ReachabilityCardinality-12 is satisfied.

Query is MAYBE satisfied.

Spent 0.00546 on verification
Time left: 3590
---------------------------------------------------
Step 0: Parallel Simplification
---------------------------------------------------
Doing parallel simplification (10 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.oR1a3G2MkR --write-reduced /home/mcc/BenchKit/bin/tmp/tmp.BUMy06Sh4P -x 1,2,3,6,8,9,11,13,14,16 ./model.pnml ./ReachabilityCardinality.xml

Time left: 3589

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

Query is satisfied.

Spent 0.002632 on verification
@@@0.00,7036@@@
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/BenchKit/bin/tmp/tmp.BUMy06Sh4P /home/mcc/BenchKit/bin/tmp/tmp.oR1a3G2MkR --binary-query-io 1 -x 1 -n

FORMULA Referendum-COL-0050-ReachabilityCardinality-01 TRUE 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)
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.012536 on verification
FORMULA Referendum-COL-0050-ReachabilityCardinality-00 FALSE TECHNIQUES COLLATERAL_PROCESSING STRUCTURAL_REDUCTION QUERY_REDUCTION SAT_SMT EXPLICIT STATE_COMPRESSION STUBBORN_SETS
Query index 0 was solved

Query is NOT satisfied.

Spent 0.002339 on verification
@@@0.00,6976@@@
@@@0.01,5556@@@
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.BUMy06Sh4P /home/mcc/BenchKit/bin/tmp/tmp.oR1a3G2MkR --binary-query-io 1 -x 2 -n
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/BenchKit/bin/tmp/tmp.BUMy06Sh4P /home/mcc/BenchKit/bin/tmp/tmp.oR1a3G2MkR --binary-query-io 1 -x 2 -n

FORMULA Referendum-COL-0050-ReachabilityCardinality-00 FALSE TECHNIQUES COLLATERAL_PROCESSING STRUCTURAL_REDUCTION QUERY_REDUCTION SAT_SMT TRACE_ABSTRACTION_REFINEMENT
Time left: 3589
------------------- QUERY 3 ----------------------
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.000671 on verification
@@@0.00,5368@@@
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.BUMy06Sh4P /home/mcc/BenchKit/bin/tmp/tmp.oR1a3G2MkR --binary-query-io 1 -x 3 -n
FORMULA Referendum-COL-0050-ReachabilityCardinality-05 FALSE TECHNIQUES COLLATERAL_PROCESSING STRUCTURAL_REDUCTION QUERY_REDUCTION SAT_SMT EXPLICIT STATE_COMPRESSION STUBBORN_SETS
Query index 0 was solved

Query is NOT satisfied.

Spent 0.002382 on verification
@@@0.00,6928@@@
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/BenchKit/bin/tmp/tmp.BUMy06Sh4P /home/mcc/BenchKit/bin/tmp/tmp.oR1a3G2MkR --binary-query-io 1 -x 3 -n

FORMULA Referendum-COL-0050-ReachabilityCardinality-05 FALSE TECHNIQUES COLLATERAL_PROCESSING STRUCTURAL_REDUCTION QUERY_REDUCTION SAT_SMT TRACE_ABSTRACTION_REFINEMENT
Time left: 3589
------------------- QUERY 4 ----------------------
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.001097 on verification
@@@0.00,5348@@@
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.BUMy06Sh4P /home/mcc/BenchKit/bin/tmp/tmp.oR1a3G2MkR --binary-query-io 1 -x 4 -n
FORMULA Referendum-COL-0050-ReachabilityCardinality-07 FALSE TECHNIQUES COLLATERAL_PROCESSING STRUCTURAL_REDUCTION QUERY_REDUCTION SAT_SMT EXPLICIT STATE_COMPRESSION STUBBORN_SETS
Query index 0 was solved

Query is NOT satisfied.

Spent 0.004163 on verification
@@@0.00,6988@@@
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/BenchKit/bin/tmp/tmp.BUMy06Sh4P /home/mcc/BenchKit/bin/tmp/tmp.oR1a3G2MkR --binary-query-io 1 -x 4 -n
FORMULA Referendum-COL-0050-ReachabilityCardinality-07 FALSE TECHNIQUES COLLATERAL_PROCESSING STRUCTURAL_REDUCTION QUERY_REDUCTION SAT_SMT EXPLICIT STATE_COMPRESSION STUBBORN_SETS
Query index 0 was solved

Query is NOT satisfied.

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

FORMULA Referendum-COL-0050-ReachabilityCardinality-07 FALSE TECHNIQUES COLLATERAL_PROCESSING STRUCTURAL_REDUCTION QUERY_REDUCTION SAT_SMT TRACE_ABSTRACTION_REFINEMENT
Time left: 3588
------------------- QUERY 5 ----------------------
Solution found by parallel processing (step 1)
Query index 0 was solved

Query is NOT satisfied.

Spent 0.003696 on verification
@@@0.00,7120@@@
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/BenchKit/bin/tmp/tmp.BUMy06Sh4P /home/mcc/BenchKit/bin/tmp/tmp.oR1a3G2MkR --binary-query-io 1 -x 5 -n

FORMULA Referendum-COL-0050-ReachabilityCardinality-08 FALSE TECHNIQUES COLLATERAL_PROCESSING STRUCTURAL_REDUCTION QUERY_REDUCTION SAT_SMT EXPLICIT STATE_COMPRESSION STUBBORN_SETS
Time left: 3588
------------------- QUERY 6 ----------------------
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.007309 on verification
@@@0.01,5404@@@
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.BUMy06Sh4P /home/mcc/BenchKit/bin/tmp/tmp.oR1a3G2MkR --binary-query-io 1 -x 6 -n

FORMULA Referendum-COL-0050-ReachabilityCardinality-10 FALSE TECHNIQUES COLLATERAL_PROCESSING STRUCTURAL_REDUCTION QUERY_REDUCTION SAT_SMT TRACE_ABSTRACTION_REFINEMENT
Time left: 3588
------------------- QUERY 7 ----------------------
Solution found by parallel processing (step 1)
Query index 0 was solved

Query is NOT satisfied.

Spent 0.005872 on verification
Query index 0 was solved

Query is NOT satisfied.

Spent 0.002769 on verification
@@@0.01,7024@@@
@@@0.01,7224@@@
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/BenchKit/bin/tmp/tmp.BUMy06Sh4P /home/mcc/BenchKit/bin/tmp/tmp.oR1a3G2MkR --binary-query-io 1 -x 7 -n
parallel: This job succeeded:
eval /usr/bin/time -f "@@@%e,%M@@@" /home/mcc/BenchKit/bin/verifypn -n -s\ BFS\ -q\ 0\ -l\ 0\ -d\ 119 /home/mcc/BenchKit/bin/tmp/tmp.BUMy06Sh4P /home/mcc/BenchKit/bin/tmp/tmp.oR1a3G2MkR --binary-query-io 1 -x 7 -n

FORMULA Referendum-COL-0050-ReachabilityCardinality-13 FALSE TECHNIQUES COLLATERAL_PROCESSING STRUCTURAL_REDUCTION QUERY_REDUCTION SAT_SMT EXPLICIT STATE_COMPRESSION STUBBORN_SETS
Time left: 3588
------------------- QUERY 8 ----------------------
Solution found by parallel processing (step 1)
Query index 0 was solved

Query is NOT satisfied.

Spent 0.004115 on verification
@@@0.00,7224@@@
Query index 0 was solved

Query is NOT satisfied.

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

FORMULA Referendum-COL-0050-ReachabilityCardinality-12 FALSE TECHNIQUES COLLATERAL_PROCESSING STRUCTURAL_REDUCTION QUERY_REDUCTION SAT_SMT EXPLICIT STATE_COMPRESSION STUBBORN_SETS
Time left: 3587
------------------- QUERY 9 ----------------------
Solution found by parallel processing (step 1)
Query index 0 was solved

Query is NOT satisfied.

Spent 0.002954 on verification
@@@0.00,7016@@@
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/BenchKit/bin/tmp/tmp.BUMy06Sh4P /home/mcc/BenchKit/bin/tmp/tmp.oR1a3G2MkR --binary-query-io 1 -x 9 -n

FORMULA Referendum-COL-0050-ReachabilityCardinality-02 FALSE TECHNIQUES COLLATERAL_PROCESSING STRUCTURAL_REDUCTION QUERY_REDUCTION SAT_SMT EXPLICIT STATE_COMPRESSION STUBBORN_SETS
Time left: 3587
------------------- QUERY 10 ----------------------
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 satisfied.


Solved using Trace Abstraction Refinement

Spent 0.004253 on verification
@@@0.00,5540@@@
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.BUMy06Sh4P /home/mcc/BenchKit/bin/tmp/tmp.oR1a3G2MkR --binary-query-io 1 -x 10 -n

FORMULA Referendum-COL-0050-ReachabilityCardinality-15 TRUE TECHNIQUES COLLATERAL_PROCESSING STRUCTURAL_REDUCTION QUERY_REDUCTION SAT_SMT TRACE_ABSTRACTION_REFINEMENT
Time left: 3587
All queries are solved
Time left: 3587
terminated-with-cleanup

BK_STOP 1654376119757

--------------------
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="Referendum-COL-0050"
export BK_EXAMINATION="ReachabilityCardinality"
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 Referendum-COL-0050, examination is ReachabilityCardinality"
echo " Time confinement is $BK_TIME_CONFINEMENT seconds"
echo " Memory confinement is 16384 MBytes"
echo " Number of cores is 4"
echo " Run identifier is r183-tajo-165281569200358"
echo "====================================================================="
echo
echo "--------------------"
echo "preparation of the directory to be used:"

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