fond
Model Checking Contest 2021
11th edition, Paris, France, June 23, 2021
Execution of r311-tall-162132108000217
Last Updated
Jun 28, 2021

About the Execution of ITS-Tools for TwoPhaseLocking-PT-nC00004vN

Execution Summary
Max Memory
Used (MB)
Time wait (ms) CPU Usage (ms) I/O Wait (ms) Computed Result Execution
Status
203.060 6505.00 7796.00 1014.40 FTTFFFTTFFTFFTFF normal

Execution Chart

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

Trace from the execution

Formatting '/data/fkordon/mcc2021-input.r311-tall-162132108000217.qcow2', fmt=qcow2 size=4294967296 backing_file='/data/fkordon/mcc2021-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 itstools
Input is TwoPhaseLocking-PT-nC00004vN, examination is CTLCardinality
Time confinement is 3600 seconds
Memory confinement is 16384 MBytes
Number of cores is 4
Run identifier is r311-tall-162132108000217
=====================================================================

--------------------
preparation of the directory to be used:
/home/mcc/execution
total 348K
-rw-r--r-- 1 mcc users 13K May 15 08:57 CTLCardinality.txt
-rw-r--r-- 1 mcc users 110K May 15 08:57 CTLCardinality.xml
-rw-r--r-- 1 mcc users 9.7K May 15 08:57 CTLFireability.txt
-rw-r--r-- 1 mcc users 83K May 15 08:57 CTLFireability.xml
-rw-r--r-- 1 mcc users 3.5K May 12 08:03 LTLCardinality.txt
-rw-r--r-- 1 mcc users 23K May 12 08:03 LTLCardinality.xml
-rw-r--r-- 1 mcc users 2.2K May 12 08:03 LTLFireability.txt
-rw-r--r-- 1 mcc users 16K May 12 08:03 LTLFireability.xml
-rw-r--r-- 1 mcc users 1 May 12 08:13 NewModel
-rw-r--r-- 1 mcc users 3.6K May 12 04:13 ReachabilityCardinality.txt
-rw-r--r-- 1 mcc users 18K May 12 04:13 ReachabilityCardinality.xml
-rw-r--r-- 1 mcc users 2.7K May 11 18:03 ReachabilityFireability.txt
-rw-r--r-- 1 mcc users 16K May 11 18:03 ReachabilityFireability.xml
-rw-r--r-- 1 mcc users 1.6K May 12 04:43 UpperBounds.txt
-rw-r--r-- 1 mcc users 3.6K May 12 04:43 UpperBounds.xml
-rw-r--r-- 1 mcc users 6 May 12 08:13 equiv_col
-rw-r--r-- 1 mcc users 10 May 12 08:13 instance
-rw-r--r-- 1 mcc users 6 May 12 08:13 iscolored
-rw-r--r-- 1 mcc users 4.6K May 12 08:13 model.pnml

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

=== Now, execution of the tool begins

BK_START 1621451318102

Running Version 0
[2021-05-19 19:08:41] [INFO ] Running its-tools with arguments : [-pnfolder, /home/mcc/execution, -examination, CTLCardinality, -spotpath, /home/mcc/BenchKit/bin//..//ltlfilt, -z3path, /home/mcc/BenchKit/bin//..//z3/bin/z3, -yices2path, /home/mcc/BenchKit/bin//..//yices/bin/yices, -its, -ltsmin, -greatspnpath, /home/mcc/BenchKit/bin//..//greatspn/, -order, META, -manyOrder, -smt, -timeout, 3600]
[2021-05-19 19:08:41] [INFO ] Parsing pnml file : /home/mcc/execution/model.pnml
[2021-05-19 19:08:41] [INFO ] Load time of PNML (sax parser for PT used): 19 ms
[2021-05-19 19:08:41] [INFO ] Transformed 8 places.
[2021-05-19 19:08:41] [INFO ] Transformed 6 transitions.
[2021-05-19 19:08:41] [INFO ] Parsed PT model containing 8 places and 6 transitions in 53 ms.
Parsed 16 properties from file /home/mcc/execution/CTLCardinality.xml in 17 ms.
Support contains 8 out of 8 places. Attempting structural reductions.
Starting structural reductions, iteration 0 : 8/8 places, 6/6 transitions.
Applied a total of 0 rules in 6 ms. Remains 8 /8 variables (removed 0) and now considering 6/6 (removed 0) transitions.
// Phase 1: matrix 6 rows 8 cols
[2021-05-19 19:08:41] [INFO ] Computed 3 place invariants in 4 ms
[2021-05-19 19:08:41] [INFO ] Implicit Places using invariants in 64 ms returned []
// Phase 1: matrix 6 rows 8 cols
[2021-05-19 19:08:41] [INFO ] Computed 3 place invariants in 3 ms
[2021-05-19 19:08:41] [INFO ] Implicit Places using invariants and state equation in 22 ms returned []
Implicit Place search using SMT with State Equation took 111 ms to find 0 implicit places.
// Phase 1: matrix 6 rows 8 cols
[2021-05-19 19:08:41] [INFO ] Computed 3 place invariants in 1 ms
[2021-05-19 19:08:41] [INFO ] Dead Transitions using invariants and state equation in 15 ms returned []
Finished structural reductions, in 1 iterations. Remains : 8/8 places, 6/6 transitions.
[2021-05-19 19:08:41] [INFO ] Initial state reduction rules for CTL removed 2 formulas.
[2021-05-19 19:08:41] [INFO ] Flatten gal took : 19 ms
FORMULA TwoPhaseLocking-PT-nC00004vN-CTLCardinality-06 TRUE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA TwoPhaseLocking-PT-nC00004vN-CTLCardinality-03 FALSE TECHNIQUES TOPOLOGICAL INITIAL_STATE
[2021-05-19 19:08:41] [INFO ] Flatten gal took : 4 ms
[2021-05-19 19:08:41] [INFO ] Input system was already deterministic with 6 transitions.
Incomplete random walk after 100000 steps, including 2 resets, run finished after 1285 ms. (steps per millisecond=77 ) properties (out of 83) seen :22
Running SMT prover for 61 properties.
// Phase 1: matrix 6 rows 8 cols
[2021-05-19 19:08:42] [INFO ] Computed 3 place invariants in 0 ms
[2021-05-19 19:08:43] [INFO ] [Real]Absence check using 3 positive place invariants in 1 ms returned sat
[2021-05-19 19:08:43] [INFO ] SMT Verify possible in real domain returnedunsat :45 sat :0 real:16
[2021-05-19 19:08:43] [INFO ] [Nat]Absence check using 3 positive place invariants in 0 ms returned sat
[2021-05-19 19:08:43] [INFO ] SMT Verify possible in nat domain returned unsat :16 sat :45
Successfully simplified 61 atomic propositions for a total of 14 simplifications.
[2021-05-19 19:08:43] [INFO ] Initial state test concluded for 2 properties.
FORMULA TwoPhaseLocking-PT-nC00004vN-CTLCardinality-12 FALSE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA TwoPhaseLocking-PT-nC00004vN-CTLCardinality-13 TRUE TECHNIQUES TOPOLOGICAL INITIAL_STATE
[2021-05-19 19:08:43] [INFO ] Initial state reduction rules for CTL removed 3 formulas.
[2021-05-19 19:08:43] [INFO ] Flatten gal took : 3 ms
FORMULA TwoPhaseLocking-PT-nC00004vN-CTLCardinality-08 FALSE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA TwoPhaseLocking-PT-nC00004vN-CTLCardinality-07 TRUE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA TwoPhaseLocking-PT-nC00004vN-CTLCardinality-02 TRUE TECHNIQUES TOPOLOGICAL INITIAL_STATE
[2021-05-19 19:08:43] [INFO ] Flatten gal took : 2 ms
[2021-05-19 19:08:43] [INFO ] Applying decomposition
[2021-05-19 19:08:43] [INFO ] Flatten gal took : 2 ms
Converted graph to binary with : CommandLine [args=[/home/mcc/BenchKit/itstools/plugins/fr.lip6.move.gal.louvain.binaries_1.0.0.202104292328/bin/convert-linux64, -i, /tmp/graph15933032789916518695.txt, -o, /tmp/graph15933032789916518695.bin, -w, /tmp/graph15933032789916518695.weights], workingDir=null]
Built communities with : CommandLine [args=[/home/mcc/BenchKit/itstools/plugins/fr.lip6.move.gal.louvain.binaries_1.0.0.202104292328/bin/louvain-linux64, /tmp/graph15933032789916518695.bin, -l, -1, -v, -w, /tmp/graph15933032789916518695.weights, -q, 0, -e, 0.001], workingDir=null]
[2021-05-19 19:08:43] [INFO ] Decomposing Gal with order
[2021-05-19 19:08:43] [INFO ] Rewriting arrays to variables to allow decomposition.
[2021-05-19 19:08:43] [INFO ] Flatten gal took : 2 ms
[2021-05-19 19:08:43] [INFO ] Fuse similar labels procedure discarded/fused a total of 0 labels/synchronizations in 0 ms.
[2021-05-19 19:08:43] [INFO ] Time to serialize gal into /tmp/CTLCardinality14118207013064757667.gal : 1 ms
[2021-05-19 19:08:43] [INFO ] Time to serialize properties into /tmp/CTLCardinality15693051882799406881.ctl : 1 ms
Invoking ITS tools like this :CommandLine [args=[/home/mcc/BenchKit/itstools/plugins/fr.lip6.move.gal.itstools.binaries_1.0.0.202104292328/bin/its-ctl-linux64, --gc-threshold, 2000000, --quiet, -i, /tmp/CTLCardinality14118207013064757667.gal, -t, CGAL, -ctl, /tmp/CTLCardinality15693051882799406881.ctl, --gen-order, FOLLOW], workingDir=/home/mcc/execution]

its-ctl command run as :

/home/mcc/BenchKit/itstools/plugins/fr.lip6.move.gal.itstools.binaries_1.0.0.202104292328/bin/its-ctl-linux64 --gc-threshold 2000000 --quiet -i /tmp/CTLCardinality14118207013064757667.gal -t CGAL -ctl /tmp/CTLCardinality15693051882799406881.ctl --gen-order FOLLOW
No direction supplied, using forward translation only.
Parsed 9 CTL formulae.
Model ,|S| ,Time ,Mem(kb) ,fin. SDD ,fin. DDD ,peak SDD ,peak DDD ,SDD Hom ,SDD cache peak ,DDD Hom ,DDD cachepeak ,SHom cache
reachable,45,0.006296,4240,2,77,5,277,6,0,41,224,0


Converting to forward existential form...Done !
original formula: (!(AG(EF(((((((gu0.resB+gu0.haveA2)+gu0.Clients)+gu0.haveA)+gu0.resA)+gu0.haveB)>=3)))) * !(EX(TRUE)))
=> equivalent forward existential formula: ([(Init * !(E(TRUE U !(E(TRUE U ((((((gu0.resB+gu0.haveA2)+gu0.Clients)+gu0.haveA)+gu0.resA)+gu0.haveB)>=3))))))] = FALSE * [(EY(Init) * TRUE)] = FALSE)
(forward)formula 0,0,0.006484,4240,1,0,6,277,7,1,57,224,1
FORMULA TwoPhaseLocking-PT-nC00004vN-CTLCardinality-00 FALSE TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL USE_NUPN
Formula is FALSE !

***************************************

original formula: EX(EX(TRUE))
=> equivalent forward existential formula: [(EY(EY(Init)) * TRUE)] != FALSE
(forward)formula 1,1,0.006549,4240,1,0,7,277,7,2,63,224,2
FORMULA TwoPhaseLocking-PT-nC00004vN-CTLCardinality-01 TRUE TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL USE_NUPN
Formula is TRUE !

***************************************

original formula: E((((((((gu0.haveB+gu0.haveAandB)+gu0.resA)+gu0.haveA2andB)+gu0.resB)+gu0.haveA)+gu0.Clients)<=((((((gu0.resB+gu0.haveAandB)+gu0.haveA2)+gu0.resA)+gu0.haveB)+gu0.Clients)+gu0.haveA)) U (AX(AG(!(EF(((((((((gu0.Clients+gu0.haveA)+gu0.haveB)+gu0.resB)+gu0.haveAandB)+gu0.haveA2)+gu0.resA)+gu0.haveA2andB)>=5))))) * (!(AF(((((gu0.resB+gu0.Clients)+gu0.haveA)+gu0.haveAandB)<=((((((gu0.haveAandB+gu0.haveA2)+gu0.resB)+gu0.haveB)+gu0.haveA)+gu0.resA)+gu0.haveA2andB)))) + (gu0.resB<=(((gu0.Clients+gu0.haveA2andB)+gu0.haveAandB)+gu0.resA)))))
=> equivalent forward existential formula: ([FwdG((FwdU(Init,(((((((gu0.haveB+gu0.haveAandB)+gu0.resA)+gu0.haveA2andB)+gu0.resB)+gu0.haveA)+gu0.Clients)<=((((((gu0.resB+gu0.haveAandB)+gu0.haveA2)+gu0.resA)+gu0.haveB)+gu0.Clients)+gu0.haveA))) * !(EX(!(!(E(TRUE U !(!(E(TRUE U ((((((((gu0.Clients+gu0.haveA)+gu0.haveB)+gu0.resB)+gu0.haveAandB)+gu0.haveA2)+gu0.resA)+gu0.haveA2andB)>=5)))))))))),!(((((gu0.resB+gu0.Clients)+gu0.haveA)+gu0.haveAandB)<=((((((gu0.haveAandB+gu0.haveA2)+gu0.resB)+gu0.haveB)+gu0.haveA)+gu0.resA)+gu0.haveA2andB))))] != FALSE + [((FwdU(Init,(((((((gu0.haveB+gu0.haveAandB)+gu0.resA)+gu0.haveA2andB)+gu0.resB)+gu0.haveA)+gu0.Clients)<=((((((gu0.resB+gu0.haveAandB)+gu0.haveA2)+gu0.resA)+gu0.haveB)+gu0.Clients)+gu0.haveA))) * !(EX(!(!(E(TRUE U !(!(E(TRUE U ((((((((gu0.Clients+gu0.haveA)+gu0.haveB)+gu0.resB)+gu0.haveAandB)+gu0.haveA2)+gu0.resA)+gu0.haveA2andB)>=5)))))))))) * (gu0.resB<=(((gu0.Clients+gu0.haveA2andB)+gu0.haveAandB)+gu0.resA)))] != FALSE)
Reverse transition relation is exact ! Faster fixpoint algorithm enabled.
(forward)formula 2,0,0.018079,5220,1,0,11,651,25,2,541,548,13
FORMULA TwoPhaseLocking-PT-nC00004vN-CTLCardinality-04 FALSE TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL USE_NUPN
Formula is FALSE !

***************************************

original formula: AF(AX((((((gu0.haveB+gu0.Clients)+gu0.haveAandB)+gu0.haveA2)+gu0.resA)>((((gu0.Clients+gu0.haveB)+gu0.resB)+gu0.haveAandB)+gu0.haveA2))))
=> equivalent forward existential formula: [FwdG(Init,!(!(EX(!((((((gu0.haveB+gu0.Clients)+gu0.haveAandB)+gu0.haveA2)+gu0.resA)>((((gu0.Clients+gu0.haveB)+gu0.resB)+gu0.haveAandB)+gu0.haveA2)))))))] = FALSE
(forward)formula 3,0,0.022241,5220,1,0,37,1045,30,29,645,1150,44
FORMULA TwoPhaseLocking-PT-nC00004vN-CTLCardinality-05 FALSE TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL USE_NUPN
Formula is FALSE !

***************************************

original formula: AX(AF(!(EG((((((gu0.resA+gu0.haveA2)+gu0.Clients)+gu0.haveB)+gu0.haveA2andB)>gu0.haveA)))))
=> equivalent forward existential formula: [FwdG(EY(Init),!(!(EG((((((gu0.resA+gu0.haveA2)+gu0.Clients)+gu0.haveB)+gu0.haveA2andB)>gu0.haveA)))))] = FALSE
(forward)formula 4,0,0.024646,5220,1,0,67,1225,40,60,692,1465,79
FORMULA TwoPhaseLocking-PT-nC00004vN-CTLCardinality-09 FALSE TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL USE_NUPN
Formula is FALSE !

***************************************

original formula: EG(AX(EG(EF(EX(TRUE)))))
=> equivalent forward existential formula: [FwdG(Init,!(EX(!(EG(E(TRUE U EX(TRUE)))))))] != FALSE
(forward)formula 5,1,0.025031,5220,1,0,67,1245,42,61,702,1497,83
FORMULA TwoPhaseLocking-PT-nC00004vN-CTLCardinality-10 TRUE TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL USE_NUPN
Formula is TRUE !

***************************************

original formula: EG(AX(FALSE))
=> equivalent forward existential formula: [FwdG(Init,!(EX(!(FALSE))))] != FALSE
(forward)formula 6,0,0.025084,5220,1,0,67,1245,45,61,702,1497,83
FORMULA TwoPhaseLocking-PT-nC00004vN-CTLCardinality-11 FALSE TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL USE_NUPN
Formula is FALSE !

***************************************

original formula: !(EF((((((gu0.haveAandB+gu0.resB)+gu0.haveA)+gu0.haveB)+gu0.haveA2andB)<=gu0.haveB)))
=> equivalent forward existential formula: [(FwdU(Init,TRUE) * (((((gu0.haveAandB+gu0.resB)+gu0.haveA)+gu0.haveB)+gu0.haveA2andB)<=gu0.haveB))] = FALSE
(forward)formula 7,0,0.026125,5220,1,0,69,1250,46,62,740,1503,84
FORMULA TwoPhaseLocking-PT-nC00004vN-CTLCardinality-14 FALSE TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL USE_NUPN
Formula is FALSE !

***************************************

original formula: EX(E(AX((((((((gu0.haveA2andB+gu0.haveA2)+gu0.haveB)+gu0.Clients)+gu0.haveAandB)+gu0.resA)+gu0.resB)<=(((gu0.resB+gu0.haveAandB)+gu0.haveA)+gu0.resA))) U (((((gu0.resA+gu0.haveB)+gu0.haveA)+gu0.haveA2andB)+gu0.haveAandB)<=(gu0.haveB+gu0.haveA))))
=> equivalent forward existential formula: [(FwdU(EY(Init),!(EX(!((((((((gu0.haveA2andB+gu0.haveA2)+gu0.haveB)+gu0.Clients)+gu0.haveAandB)+gu0.resA)+gu0.resB)<=(((gu0.resB+gu0.haveAandB)+gu0.haveA)+gu0.resA)))))) * (((((gu0.resA+gu0.haveB)+gu0.haveA)+gu0.haveA2andB)+gu0.haveAandB)<=(gu0.haveB+gu0.haveA)))] != FALSE
(forward)formula 8,0,0.030316,5220,1,0,71,1256,53,63,899,1509,90
FORMULA TwoPhaseLocking-PT-nC00004vN-CTLCardinality-15 FALSE TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL USE_NUPN
Formula is FALSE !

***************************************


BK_STOP 1621451324607

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

+ export BINDIR=/home/mcc/BenchKit/bin//../
+ BINDIR=/home/mcc/BenchKit/bin//../
++ pwd
+ export MODEL=/home/mcc/execution
+ MODEL=/home/mcc/execution
+ [[ CTLCardinality = StateSpace ]]
+ /home/mcc/BenchKit/bin//..//runeclipse.sh /home/mcc/execution CTLCardinality -its -ltsmin -greatspnpath /home/mcc/BenchKit/bin//..//greatspn/ -order META -manyOrder -smt -timeout 3600
+ ulimit -s 65536
+ [[ -z '' ]]
+ export LTSMIN_MEM_SIZE=8589934592
+ LTSMIN_MEM_SIZE=8589934592
++ cut -d . -f 9
++ ls /home/mcc/BenchKit/bin//..//itstools/plugins/fr.lip6.move.gal.application.pnmcc_1.0.0.202104292328.jar
+ VERSION=0
+ echo 'Running Version 0'
+ /home/mcc/BenchKit/bin//..//itstools/its-tools -data /home/mcc/execution/workspace -pnfolder /home/mcc/execution -examination CTLCardinality -spotpath /home/mcc/BenchKit/bin//..//ltlfilt -z3path /home/mcc/BenchKit/bin//..//z3/bin/z3 -yices2path /home/mcc/BenchKit/bin//..//yices/bin/yices -its -ltsmin -greatspnpath /home/mcc/BenchKit/bin//..//greatspn/ -order META -manyOrder -smt -timeout 3600 -vmargs -Dosgi.locking=none -Declipse.stateSaveDelayInterval=-1 -Dosgi.configuration.area=/tmp/.eclipse -Xss128m -Xms40m -Xmx16000m

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-nC00004vN"
export BK_EXAMINATION="CTLCardinality"
export BK_TOOL="itstools"
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 itstools"
echo " Input is TwoPhaseLocking-PT-nC00004vN, 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 r311-tall-162132108000217"
echo "====================================================================="
echo
echo "--------------------"
echo "preparation of the directory to be used:"

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