fond
Model Checking Contest 2021
11th edition, Paris, France, June 23, 2021
Execution of r273-smll-162123879900289
Last Updated
Jun 28, 2021

About the Execution of ITS-Tools for ViralEpidemic-PT-S04D1C1A04

Execution Summary
Max Memory
Used (MB)
Time wait (ms) CPU Usage (ms) I/O Wait (ms) Computed Result Execution
Status
16236.352 3600000.00 3321155.00 106314.90 ?F??TT?F???T???? 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.r273-smll-162123879900289.qcow2', fmt=qcow2 size=4294967296 backing_file=/data/fkordon/mcc2021-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 itstools
Input is ViralEpidemic-PT-S04D1C1A04, examination is CTLCardinality
Time confinement is 3600 seconds
Memory confinement is 16384 MBytes
Number of cores is 4
Run identifier is r273-smll-162123879900289
=====================================================================

--------------------
preparation of the directory to be used:
/home/mcc/execution
total 2.7M
-rw-r--r-- 1 mcc users 17K May 5 16:58 CTLCardinality.txt
-rw-r--r-- 1 mcc users 107K May 10 09:44 CTLCardinality.xml
-rw-r--r-- 1 mcc users 15K May 5 16:58 CTLFireability.txt
-rw-r--r-- 1 mcc users 102K May 10 09:44 CTLFireability.xml
-rw-r--r-- 1 mcc users 4.2K May 6 14:48 GenericPropertiesDefinition.xml
-rw-r--r-- 1 mcc users 6.8K May 6 14:48 GenericPropertiesVerdict.xml
-rw-r--r-- 1 mcc users 4.0K Mar 28 16:48 LTLCardinality.txt
-rw-r--r-- 1 mcc users 25K Mar 28 16:48 LTLCardinality.xml
-rw-r--r-- 1 mcc users 2.4K Mar 28 16:48 LTLFireability.txt
-rw-r--r-- 1 mcc users 17K Mar 28 16:48 LTLFireability.xml
-rw-r--r-- 1 mcc users 4.3K Mar 27 15:10 ReachabilityCardinality.txt
-rw-r--r-- 1 mcc users 19K Mar 27 15:10 ReachabilityCardinality.xml
-rw-r--r-- 1 mcc users 2.9K Mar 26 06:15 ReachabilityFireability.txt
-rw-r--r-- 1 mcc users 14K Mar 26 06:15 ReachabilityFireability.xml
-rw-r--r-- 1 mcc users 1.9K Mar 22 08:17 UpperBounds.txt
-rw-r--r-- 1 mcc users 3.9K Mar 22 08:17 UpperBounds.xml
-rw-r--r-- 1 mcc users 6 May 5 16:52 equiv_col
-rw-r--r-- 1 mcc users 11 May 5 16:52 instance
-rw-r--r-- 1 mcc users 6 May 5 16:52 iscolored
-rw-r--r-- 1 mcc users 2.4M May 5 16:52 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 ViralEpidemic-PT-S04D1C1A04-CTLCardinality-00
FORMULA_NAME ViralEpidemic-PT-S04D1C1A04-CTLCardinality-01
FORMULA_NAME ViralEpidemic-PT-S04D1C1A04-CTLCardinality-02
FORMULA_NAME ViralEpidemic-PT-S04D1C1A04-CTLCardinality-03
FORMULA_NAME ViralEpidemic-PT-S04D1C1A04-CTLCardinality-04
FORMULA_NAME ViralEpidemic-PT-S04D1C1A04-CTLCardinality-05
FORMULA_NAME ViralEpidemic-PT-S04D1C1A04-CTLCardinality-06
FORMULA_NAME ViralEpidemic-PT-S04D1C1A04-CTLCardinality-07
FORMULA_NAME ViralEpidemic-PT-S04D1C1A04-CTLCardinality-08
FORMULA_NAME ViralEpidemic-PT-S04D1C1A04-CTLCardinality-09
FORMULA_NAME ViralEpidemic-PT-S04D1C1A04-CTLCardinality-10
FORMULA_NAME ViralEpidemic-PT-S04D1C1A04-CTLCardinality-11
FORMULA_NAME ViralEpidemic-PT-S04D1C1A04-CTLCardinality-12
FORMULA_NAME ViralEpidemic-PT-S04D1C1A04-CTLCardinality-13
FORMULA_NAME ViralEpidemic-PT-S04D1C1A04-CTLCardinality-14
FORMULA_NAME ViralEpidemic-PT-S04D1C1A04-CTLCardinality-15

=== Now, execution of the tool begins

BK_START 1621532463033

Running Version 0
[2021-05-20 17:41:06] [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-20 17:41:06] [INFO ] Parsing pnml file : /home/mcc/execution/model.pnml
[2021-05-20 17:41:07] [INFO ] Load time of PNML (sax parser for PT used): 515 ms
[2021-05-20 17:41:07] [INFO ] Transformed 2047 places.
[2021-05-20 17:41:07] [INFO ] Transformed 3069 transitions.
[2021-05-20 17:41:07] [INFO ] Found NUPN structural information;
[2021-05-20 17:41:07] [INFO ] Parsed PT model containing 2047 places and 3069 transitions in 639 ms.
Parsed 16 properties from file /home/mcc/execution/CTLCardinality.xml in 33 ms.
Support contains 595 out of 2047 places. Attempting structural reductions.
Starting structural reductions, iteration 0 : 2047/2047 places, 3069/3069 transitions.
Discarding 653 places :
Symmetric choice reduction at 0 with 653 rule applications. Total rules 653 place count 1394 transition count 1661
Iterating global reduction 0 with 653 rules applied. Total rules applied 1306 place count 1394 transition count 1661
Applied a total of 1306 rules in 268 ms. Remains 1394 /2047 variables (removed 653) and now considering 1661/3069 (removed 1408) transitions.
// Phase 1: matrix 1661 rows 1394 cols
[2021-05-20 17:41:08] [INFO ] Invariants computation overflowed in 436 ms
[2021-05-20 17:41:09] [INFO ] Implicit Places using invariants in 1512 ms returned []
// Phase 1: matrix 1661 rows 1394 cols
[2021-05-20 17:41:09] [INFO ] Invariants computation overflowed in 158 ms
[2021-05-20 17:41:10] [INFO ] Implicit Places using invariants and state equation in 1413 ms returned []
Implicit Place search using SMT with State Equation took 2967 ms to find 0 implicit places.
// Phase 1: matrix 1661 rows 1394 cols
[2021-05-20 17:41:10] [INFO ] Invariants computation overflowed in 65 ms
[2021-05-20 17:41:12] [INFO ] Dead Transitions using invariants and state equation in 1974 ms returned []
Finished structural reductions, in 1 iterations. Remains : 1394/2047 places, 1661/3069 transitions.
[2021-05-20 17:41:13] [INFO ] Initial state reduction rules for CTL removed 1 formulas.
[2021-05-20 17:41:13] [INFO ] Flatten gal took : 325 ms
FORMULA ViralEpidemic-PT-S04D1C1A04-CTLCardinality-07 FALSE TECHNIQUES TOPOLOGICAL INITIAL_STATE
[2021-05-20 17:41:13] [INFO ] Flatten gal took : 218 ms
[2021-05-20 17:41:13] [INFO ] Input system was already deterministic with 1661 transitions.
Incomplete random walk after 100000 steps, including 689 resets, run finished after 4016 ms. (steps per millisecond=24 ) properties (out of 66) seen :25
Running SMT prover for 41 properties.
// Phase 1: matrix 1661 rows 1394 cols
[2021-05-20 17:41:18] [INFO ] Invariants computation overflowed in 65 ms
[2021-05-20 17:41:19] [INFO ] SMT Verify possible in real domain returnedunsat :0 sat :0 real:41
[2021-05-20 17:41:22] [INFO ] [Nat]Adding state equation constraints to refine reachable states.
[2021-05-20 17:41:24] [INFO ] [Nat]Absence check using state equation in 1344 ms returned unsat :36 sat :5
Attempting to minimize the solution found.
Minimization took 464 ms.
[2021-05-20 17:41:24] [INFO ] SMT Verify possible in nat domain returned unsat :36 sat :5
Successfully simplified 36 atomic propositions for a total of 15 simplifications.
[2021-05-20 17:41:24] [INFO ] Initial state test concluded for 2 properties.
FORMULA ViralEpidemic-PT-S04D1C1A04-CTLCardinality-04 TRUE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA ViralEpidemic-PT-S04D1C1A04-CTLCardinality-11 TRUE TECHNIQUES TOPOLOGICAL INITIAL_STATE
Reduce places removed 1 places and 1 transitions.
Discarding 446 places :
Symmetric choice reduction at 0 with 446 rule applications. Total rules 446 place count 947 transition count 949
Iterating global reduction 0 with 446 rules applied. Total rules applied 892 place count 947 transition count 949
Applied a total of 892 rules in 119 ms. Remains 947 /1394 variables (removed 447) and now considering 949/1661 (removed 712) transitions.
[2021-05-20 17:41:25] [INFO ] Flatten gal took : 40 ms
[2021-05-20 17:41:25] [INFO ] Flatten gal took : 47 ms
[2021-05-20 17:41:25] [INFO ] Input system was already deterministic with 949 transitions.
Incomplete random walk after 10000 steps, including 57 resets, run finished after 256 ms. (steps per millisecond=39 ) properties (out of 1) seen :0
Incomplete Best-First random walk after 10001 steps, including 3 resets, run finished after 128 ms. (steps per millisecond=78 ) properties (out of 1) seen :0
Interrupted probabilistic random walk after 1642275 steps, run timeout after 30001 ms. (steps per millisecond=54 ) properties seen :{}
Probabilistic random walk after 1642275 steps, saw 252881 distinct states, run finished after 30007 ms. (steps per millisecond=54 ) properties seen :{}
Running SMT prover for 1 properties.
// Phase 1: matrix 949 rows 947 cols
[2021-05-20 17:41:55] [INFO ] Invariants computation overflowed in 31 ms
[2021-05-20 17:41:55] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2021-05-20 17:41:56] [INFO ] [Real]Absence check using state equation in 482 ms returned sat
[2021-05-20 17:41:56] [INFO ] Solution in real domain found non-integer solution.
[2021-05-20 17:41:56] [INFO ] [Nat]Adding state equation constraints to refine reachable states.
[2021-05-20 17:41:57] [INFO ] [Nat]Absence check using state equation in 685 ms returned sat
[2021-05-20 17:41:57] [INFO ] Computed and/alt/rep : 941/941/941 causal constraints (skipped 0 transitions) in 70 ms.
[2021-05-20 17:41:58] [INFO ] Added : 36 causal constraints over 8 iterations in 766 ms. Result :sat
Attempting to minimize the solution found.
Minimization took 4 ms.
Finished Parikh walk after 41 steps, including 1 resets, run visited all 1 properties in 2 ms. (steps per millisecond=20 )
FORMULA ViralEpidemic-PT-S04D1C1A04-CTLCardinality-01 FALSE TECHNIQUES TOPOLOGICAL PARIKH_WALK
Reduce places removed 1 places and 1 transitions.
Discarding 452 places :
Symmetric choice reduction at 0 with 452 rule applications. Total rules 452 place count 941 transition count 943
Iterating global reduction 0 with 452 rules applied. Total rules applied 904 place count 941 transition count 943
Applied a total of 904 rules in 87 ms. Remains 941 /1394 variables (removed 453) and now considering 943/1661 (removed 718) transitions.
[2021-05-20 17:41:58] [INFO ] Flatten gal took : 38 ms
[2021-05-20 17:41:58] [INFO ] Flatten gal took : 42 ms
[2021-05-20 17:41:58] [INFO ] Input system was already deterministic with 943 transitions.
Finished random walk after 3656 steps, including 18 resets, run visited all 1 properties in 35 ms. (steps per millisecond=104 )
FORMULA ViralEpidemic-PT-S04D1C1A04-CTLCardinality-05 TRUE TECHNIQUES TOPOLOGICAL RANDOM_WALK
[2021-05-20 17:41:58] [INFO ] Flatten gal took : 70 ms
[2021-05-20 17:41:58] [INFO ] Flatten gal took : 72 ms
[2021-05-20 17:41:58] [INFO ] Applying decomposition
[2021-05-20 17:41:58] [INFO ] Flatten gal took : 71 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/graph13957251599565496616.txt, -o, /tmp/graph13957251599565496616.bin, -w, /tmp/graph13957251599565496616.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/graph13957251599565496616.bin, -l, -1, -v, -w, /tmp/graph13957251599565496616.weights, -q, 0, -e, 0.001], workingDir=null]
[2021-05-20 17:41:59] [INFO ] Decomposing Gal with order
[2021-05-20 17:41:59] [INFO ] Rewriting arrays to variables to allow decomposition.
[2021-05-20 17:41:59] [INFO ] Removed a total of 1268 redundant transitions.
[2021-05-20 17:42:00] [INFO ] Flatten gal took : 275 ms
[2021-05-20 17:42:00] [INFO ] Fuse similar labels procedure discarded/fused a total of 1637 labels/synchronizations in 184 ms.
[2021-05-20 17:42:00] [INFO ] Time to serialize gal into /tmp/CTLCardinality18392219803763074249.gal : 43 ms
[2021-05-20 17:42:00] [INFO ] Time to serialize properties into /tmp/CTLCardinality7767218548502120035.ctl : 2 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/CTLCardinality18392219803763074249.gal, -t, CGAL, -ctl, /tmp/CTLCardinality7767218548502120035.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/CTLCardinality18392219803763074249.gal -t CGAL -ctl /tmp/CTLCardinality7767218548502120035.ctl --gen-order FOLLOW
No direction supplied, using forward translation only.
Parsed 11 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,3.02634e+238,879.111,8824124,2,5.18484e+06,5,6.46111e+07,6,0,6435,2.20721e+07,0


Converting to forward existential form...Done !
Detected timeout of ITS tools.
[2021-05-20 18:02:18] [INFO ] Applying decomposition
[2021-05-20 18:02:18] [INFO ] Flatten gal took : 82 ms
[2021-05-20 18:02:18] [INFO ] Decomposing Gal with order
[2021-05-20 18:02:18] [INFO ] Rewriting arrays to variables to allow decomposition.
[2021-05-20 18:02:18] [INFO ] Removed a total of 1349 redundant transitions.
[2021-05-20 18:02:18] [INFO ] Flatten gal took : 191 ms
[2021-05-20 18:02:18] [INFO ] Fuse similar labels procedure discarded/fused a total of 0 labels/synchronizations in 17 ms.
[2021-05-20 18:02:18] [INFO ] Time to serialize gal into /tmp/CTLCardinality16806184271409970268.gal : 23 ms
[2021-05-20 18:02:18] [INFO ] Time to serialize properties into /tmp/CTLCardinality11353892432445391118.ctl : 2 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/CTLCardinality16806184271409970268.gal, -t, CGAL, -ctl, /tmp/CTLCardinality11353892432445391118.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/CTLCardinality16806184271409970268.gal -t CGAL -ctl /tmp/CTLCardinality11353892432445391118.ctl --gen-order FOLLOW
No direction supplied, using forward translation only.
Parsed 11 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,3.02634e+238,53.2236,966664,2,706084,5,6.44507e+06,6,0,6744,3.31599e+06,0


Converting to forward existential form...Done !
Detected timeout of ITS tools.
[2021-05-20 18:22:39] [INFO ] Flatten gal took : 1360 ms
[2021-05-20 18:22:42] [INFO ] Input system was already deterministic with 1661 transitions.
[2021-05-20 18:22:42] [INFO ] Transformed 1394 places.
[2021-05-20 18:22:42] [INFO ] Transformed 1661 transitions.
Running greatSPN : CommandLine [args=[/home/mcc/BenchKit/bin//..//greatspn//bin/pinvar, /home/mcc/execution/gspn], workingDir=/home/mcc/execution]
Run of greatSPN captured in /home/mcc/execution/outPut.txt
Running greatSPN : CommandLine [args=[/home/mcc/BenchKit/bin//..//greatspn//bin/RGMEDD2, /home/mcc/execution/gspn, -META, -varord-only], workingDir=/home/mcc/execution]
Run of greatSPN captured in /home/mcc/execution/outPut.txt
Using order generated by GreatSPN with heuristic : META
[2021-05-20 18:22:43] [INFO ] Time to serialize gal into /tmp/CTLCardinality4974666219387600534.gal : 39 ms
[2021-05-20 18:22:43] [INFO ] Time to serialize properties into /tmp/CTLCardinality15368885101102101586.ctl : 7 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/CTLCardinality4974666219387600534.gal, -t, CGAL, -ctl, /tmp/CTLCardinality15368885101102101586.ctl, --load-order, /home/mcc/execution/model.ord, --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/CTLCardinality4974666219387600534.gal -t CGAL -ctl /tmp/CTLCardinality15368885101102101586.ctl --load-order /home/mcc/execution/model.ord --gen-order FOLLOW
Successfully loaded order from file /home/mcc/execution/model.ord
No direction supplied, using forward translation only.
Parsed 11 CTL formulae.

BK_TIME_CONFINEMENT_REACHED

--------------------
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="ViralEpidemic-PT-S04D1C1A04"
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 ViralEpidemic-PT-S04D1C1A04, 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 r273-smll-162123879900289"
echo "====================================================================="
echo
echo "--------------------"
echo "preparation of the directory to be used:"

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