fond
Model Checking Contest 2020
10th edition, Paris, France, June 23, 2020
Execution of r210-tajo-159033475500307
Last Updated
Jun 28, 2020

About the Execution of ITS-Tools for ShieldIIPt-PT-010B

Execution Summary
Max Memory
Used (MB)
Time wait (ms) CPU Usage (ms) I/O Wait (ms) Computed Result Execution
Status
15777.610 3600000.00 3417666.00 210531.60 ??FF?TT?FFF????? 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/mcc2020-input.r210-tajo-159033475500307.qcow2', fmt=qcow2 size=4294967296 backing_file='/mnt/tpsp/fkordon/mcc2020-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 ShieldIIPt-PT-010B, examination is CTLCardinality
Time confinement is 3600 seconds
Memory confinement is 16384 MBytes
Number of cores is 4
Run identifier is r210-tajo-159033475500307
=====================================================================

--------------------
preparation of the directory to be used:
/home/mcc/execution
total 336K
-rw-r--r-- 1 mcc users 3.5K May 14 01:01 CTLCardinality.txt
-rw-r--r-- 1 mcc users 20K May 14 01:01 CTLCardinality.xml
-rw-r--r-- 1 mcc users 2.6K May 13 18:18 CTLFireability.txt
-rw-r--r-- 1 mcc users 18K May 13 18:18 CTLFireability.xml
-rw-r--r-- 1 mcc users 3.5K May 14 10:02 LTLCardinality.txt
-rw-r--r-- 1 mcc users 26K May 14 10:02 LTLCardinality.xml
-rw-r--r-- 1 mcc users 1.9K May 14 10:02 LTLFireability.txt
-rw-r--r-- 1 mcc users 16K May 14 10:02 LTLFireability.xml
-rw-r--r-- 1 mcc users 1 May 12 20:42 NewModel
-rw-r--r-- 1 mcc users 3.3K May 13 13:28 ReachabilityCardinality.txt
-rw-r--r-- 1 mcc users 16K May 13 13:28 ReachabilityCardinality.xml
-rw-r--r-- 1 mcc users 2.9K May 13 08:03 ReachabilityFireability.txt
-rw-r--r-- 1 mcc users 18K May 13 08:03 ReachabilityFireability.xml
-rw-r--r-- 1 mcc users 1.6K May 13 16:53 UpperBounds.txt
-rw-r--r-- 1 mcc users 3.7K May 13 16:53 UpperBounds.xml
-rw-r--r-- 1 mcc users 6 May 12 20:42 equiv_col
-rw-r--r-- 1 mcc users 5 May 12 20:42 instance
-rw-r--r-- 1 mcc users 6 May 12 20:42 iscolored
-rw-r--r-- 1 mcc users 167K May 12 20:42 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 ShieldIIPt-PT-010B-CTLCardinality-00
FORMULA_NAME ShieldIIPt-PT-010B-CTLCardinality-01
FORMULA_NAME ShieldIIPt-PT-010B-CTLCardinality-02
FORMULA_NAME ShieldIIPt-PT-010B-CTLCardinality-03
FORMULA_NAME ShieldIIPt-PT-010B-CTLCardinality-04
FORMULA_NAME ShieldIIPt-PT-010B-CTLCardinality-05
FORMULA_NAME ShieldIIPt-PT-010B-CTLCardinality-06
FORMULA_NAME ShieldIIPt-PT-010B-CTLCardinality-07
FORMULA_NAME ShieldIIPt-PT-010B-CTLCardinality-08
FORMULA_NAME ShieldIIPt-PT-010B-CTLCardinality-09
FORMULA_NAME ShieldIIPt-PT-010B-CTLCardinality-10
FORMULA_NAME ShieldIIPt-PT-010B-CTLCardinality-11
FORMULA_NAME ShieldIIPt-PT-010B-CTLCardinality-12
FORMULA_NAME ShieldIIPt-PT-010B-CTLCardinality-13
FORMULA_NAME ShieldIIPt-PT-010B-CTLCardinality-14
FORMULA_NAME ShieldIIPt-PT-010B-CTLCardinality-15

=== Now, execution of the tool begins

BK_START 1590580681727

[2020-05-27 11:58:04] [INFO ] Running its-tools with arguments : [-pnfolder, /home/mcc/execution, -examination, CTLCardinality, -z3path, /home/mcc/BenchKit//z3/bin/z3, -yices2path, /home/mcc/BenchKit//yices/bin/yices, -its, -ltsminpath, /home/mcc/BenchKit//lts_install_dir/, -greatspnpath, /home/mcc/BenchKit//greatspn/, -order, META, -manyOrder, -smt, -timeout, 3600]
[2020-05-27 11:58:04] [INFO ] Parsing pnml file : /home/mcc/execution/model.pnml
[2020-05-27 11:58:04] [INFO ] Load time of PNML (sax parser for PT used): 110 ms
[2020-05-27 11:58:04] [INFO ] Transformed 703 places.
[2020-05-27 11:58:04] [INFO ] Transformed 653 transitions.
[2020-05-27 11:58:04] [INFO ] Found NUPN structural information;
[2020-05-27 11:58:04] [INFO ] Parsed PT model containing 703 places and 653 transitions in 178 ms.
Parsed 16 properties from file /home/mcc/execution/CTLCardinality.xml in 54 ms.
Incomplete random walk after 100000 steps, including 0 resets, run finished after 281 ms. (steps per millisecond=355 ) properties seen :[1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1]
// Phase 1: matrix 653 rows 703 cols
[2020-05-27 11:58:05] [INFO ] Computed 91 place invariants in 19 ms
[2020-05-27 11:58:05] [INFO ] [Real]Absence check using 91 positive place invariants in 101 ms returned sat
[2020-05-27 11:58:05] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2020-05-27 11:58:06] [INFO ] [Real]Absence check using state equation in 1303 ms returned sat
[2020-05-27 11:58:07] [INFO ] Solution in real domain found non-integer solution.
[2020-05-27 11:58:07] [INFO ] [Nat]Absence check using 91 positive place invariants in 333 ms returned sat
[2020-05-27 11:58:07] [INFO ] [Nat]Adding state equation constraints to refine reachable states.
[2020-05-27 11:58:09] [INFO ] [Nat]Absence check using state equation in 1444 ms returned sat
[2020-05-27 11:58:09] [INFO ] Deduced a trap composed of 20 places in 427 ms
[2020-05-27 11:58:09] [INFO ] Deduced a trap composed of 21 places in 330 ms
[2020-05-27 11:58:10] [INFO ] Deduced a trap composed of 21 places in 914 ms
[2020-05-27 11:58:11] [INFO ] Deduced a trap composed of 23 places in 316 ms
[2020-05-27 11:58:13] [INFO ] Deduced a trap composed of 23 places in 2145 ms
[2020-05-27 11:58:13] [INFO ] Deduced a trap composed of 21 places in 293 ms
[2020-05-27 11:58:14] [INFO ] Deduced a trap composed of 20 places in 201 ms
[2020-05-27 11:58:14] [INFO ] Deduced a trap composed of 30 places in 194 ms
[2020-05-27 11:58:14] [INFO ] Deduced a trap composed of 21 places in 181 ms
[2020-05-27 11:58:14] [INFO ] Deduced a trap composed of 23 places in 182 ms
[2020-05-27 11:58:14] [INFO ] Deduced a trap composed of 23 places in 181 ms
[2020-05-27 11:58:15] [INFO ] Deduced a trap composed of 32 places in 243 ms
[2020-05-27 11:58:15] [INFO ] Deduced a trap composed of 40 places in 190 ms
[2020-05-27 11:58:15] [INFO ] Deduced a trap composed of 22 places in 171 ms
[2020-05-27 11:58:15] [INFO ] Deduced a trap composed of 21 places in 166 ms
[2020-05-27 11:58:15] [INFO ] Deduced a trap composed of 19 places in 160 ms
[2020-05-27 11:58:16] [INFO ] Deduced a trap composed of 41 places in 159 ms
[2020-05-27 11:58:16] [INFO ] Deduced a trap composed of 28 places in 153 ms
[2020-05-27 11:58:16] [INFO ] Deduced a trap composed of 25 places in 148 ms
[2020-05-27 11:58:16] [INFO ] Deduced a trap composed of 22 places in 148 ms
[2020-05-27 11:58:16] [INFO ] Deduced a trap composed of 29 places in 136 ms
[2020-05-27 11:58:16] [INFO ] Deduced a trap composed of 18 places in 138 ms
[2020-05-27 11:58:17] [INFO ] Deduced a trap composed of 33 places in 126 ms
[2020-05-27 11:58:17] [INFO ] Deduced a trap composed of 33 places in 102 ms
[2020-05-27 11:58:17] [INFO ] Deduced a trap composed of 33 places in 94 ms
[2020-05-27 11:58:17] [INFO ] Deduced a trap composed of 23 places in 79 ms
[2020-05-27 11:58:17] [INFO ] Trap strengthening (SAT) tested/added 27/26 trap constraints in 8385 ms
[2020-05-27 11:58:17] [INFO ] Computed and/alt/rep : 652/983/652 causal constraints in 39 ms.
[2020-05-27 11:58:25] [INFO ] Added : 638 causal constraints over 129 iterations in 8377 ms. Result :sat
[2020-05-27 11:58:26] [INFO ] Initial state reduction rules for CTL removed 7 formulas.
[2020-05-27 11:58:26] [INFO ] Flatten gal took : 195 ms
[2020-05-27 11:58:26] [INFO ] Initial state reduction rules for CTL removed 7 formulas.
[2020-05-27 11:58:26] [INFO ] Flatten gal took : 95 ms
FORMULA ShieldIIPt-PT-010B-CTLCardinality-10 FALSE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA ShieldIIPt-PT-010B-CTLCardinality-09 FALSE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA ShieldIIPt-PT-010B-CTLCardinality-08 FALSE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA ShieldIIPt-PT-010B-CTLCardinality-06 TRUE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA ShieldIIPt-PT-010B-CTLCardinality-05 TRUE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA ShieldIIPt-PT-010B-CTLCardinality-03 FALSE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA ShieldIIPt-PT-010B-CTLCardinality-02 FALSE TECHNIQUES TOPOLOGICAL INITIAL_STATE
[2020-05-27 11:58:26] [INFO ] Applying decomposition
[2020-05-27 11:58:26] [INFO ] Flatten gal took : 94 ms
Converted graph to binary with : CommandLine [args=[/home/mcc/BenchKit/itstools/plugins/fr.lip6.move.gal.louvain.binaries_1.0.0.202005100927/bin/convert-linux64, -i, /tmp/graph12855504674036623439.txt, -o, /tmp/graph12855504674036623439.bin, -w, /tmp/graph12855504674036623439.weights], workingDir=null]
Built communities with : CommandLine [args=[/home/mcc/BenchKit/itstools/plugins/fr.lip6.move.gal.louvain.binaries_1.0.0.202005100927/bin/louvain-linux64, /tmp/graph12855504674036623439.bin, -l, -1, -v, -w, /tmp/graph12855504674036623439.weights, -q, 0, -e, 0.001], workingDir=null]
[2020-05-27 11:58:27] [INFO ] Decomposing Gal with order
[2020-05-27 11:58:27] [INFO ] Rewriting arrays to variables to allow decomposition.
[2020-05-27 11:58:27] [INFO ] Removed a total of 60 redundant transitions.
[2020-05-27 11:58:27] [INFO ] Flatten gal took : 227 ms
[2020-05-27 11:58:27] [INFO ] Fuse similar labels procedure discarded/fused a total of 0 labels/synchronizations in 29 ms.
[2020-05-27 11:58:27] [INFO ] Time to serialize gal into /home/mcc/execution/CTLCardinality.pnml.gal : 53 ms
[2020-05-27 11:58:27] [INFO ] Time to serialize properties into /home/mcc/execution/CTLCardinality.ctl : 1 ms
Invoking ITS tools like this :CommandLine [args=[/home/mcc/BenchKit/itstools/plugins/fr.lip6.move.gal.itstools.binaries_1.0.0.202005100927/bin/its-ctl-linux64, --gc-threshold, 2000000, --quiet, -i, /home/mcc/execution/CTLCardinality.pnml.gal, -t, CGAL, -ctl, /home/mcc/execution/CTLCardinality.ctl], workingDir=/home/mcc/execution]

its-ctl command run as :

/home/mcc/BenchKit/itstools/plugins/fr.lip6.move.gal.itstools.binaries_1.0.0.202005100927/bin/its-ctl-linux64 --gc-threshold 2000000 --quiet -i /home/mcc/execution/CTLCardinality.pnml.gal -t CGAL -ctl /home/mcc/execution/CTLCardinality.ctl
No direction supplied, using forward translation only.
Parsed 9 CTL formulae.
built 37 ordering constraints for composite.
built 11 ordering constraints for composite.
built 20 ordering constraints for composite.
built 6 ordering constraints for composite.
built 7 ordering constraints for composite.
built 9 ordering constraints for composite.
built 6 ordering constraints for composite.
built 10 ordering constraints for composite.
built 8 ordering constraints for composite.
built 5 ordering constraints for composite.
built 10 ordering constraints for composite.
built 10 ordering constraints for composite.
built 32 ordering constraints for composite.
built 10 ordering constraints for composite.
built 20 ordering constraints for composite.
built 29 ordering constraints for composite.
built 6 ordering constraints for composite.
built 33 ordering constraints for composite.
built 10 ordering constraints for composite.
built 33 ordering constraints for composite.
built 10 ordering constraints for composite.
built 10 ordering constraints for composite.
built 29 ordering constraints for composite.
built 10 ordering constraints for composite.
built 10 ordering constraints for composite.
built 17 ordering constraints for composite.
built 8 ordering constraints for composite.
built 7 ordering constraints for composite.
built 6 ordering constraints for composite.
built 18 ordering constraints for composite.
built 11 ordering constraints for composite.
built 10 ordering constraints for composite.
built 8 ordering constraints for composite.
built 10 ordering constraints for composite.
built 10 ordering constraints for composite.
built 12 ordering constraints for composite.
built 6 ordering constraints for composite.
built 21 ordering constraints for composite.
built 7 ordering constraints for composite.
built 11 ordering constraints for composite.
built 10 ordering constraints for composite.
built 6 ordering constraints for composite.
built 10 ordering constraints for composite.
built 10 ordering constraints for composite.
built 34 ordering constraints for composite.
built 10 ordering constraints for composite.
built 27 ordering constraints for composite.
built 9 ordering constraints for composite.
Detected timeout of ITS tools.
[2020-05-27 12:18:37] [INFO ] Applying decomposition
[2020-05-27 12:18:37] [INFO ] Flatten gal took : 155 ms
[2020-05-27 12:18:37] [INFO ] Decomposing Gal with order
[2020-05-27 12:18:37] [INFO ] Rewriting arrays to variables to allow decomposition.
[2020-05-27 12:18:37] [INFO ] Flatten gal took : 54 ms
[2020-05-27 12:18:37] [INFO ] Fuse similar labels procedure discarded/fused a total of 0 labels/synchronizations in 22 ms.
[2020-05-27 12:18:37] [INFO ] Time to serialize gal into /home/mcc/execution/CTLCardinality.pnml.gal : 111 ms
[2020-05-27 12:18:37] [INFO ] Time to serialize properties into /home/mcc/execution/CTLCardinality.ctl : 20 ms
Invoking ITS tools like this :CommandLine [args=[/home/mcc/BenchKit/itstools/plugins/fr.lip6.move.gal.itstools.binaries_1.0.0.202005100927/bin/its-ctl-linux64, --gc-threshold, 2000000, --quiet, -i, /home/mcc/execution/CTLCardinality.pnml.gal, -t, CGAL, -ctl, /home/mcc/execution/CTLCardinality.ctl], workingDir=/home/mcc/execution]

its-ctl command run as :

/home/mcc/BenchKit/itstools/plugins/fr.lip6.move.gal.itstools.binaries_1.0.0.202005100927/bin/its-ctl-linux64 --gc-threshold 2000000 --quiet -i /home/mcc/execution/CTLCardinality.pnml.gal -t CGAL -ctl /home/mcc/execution/CTLCardinality.ctl
No direction supplied, using forward translation only.
Parsed 9 CTL formulae.
built 2 ordering constraints for composite.
built 5 ordering constraints for composite.
built 5 ordering constraints for composite.
built 5 ordering constraints for composite.
built 5 ordering constraints for composite.
built 5 ordering constraints for composite.
built 5 ordering constraints for composite.
built 5 ordering constraints for composite.
built 5 ordering constraints for composite.
built 5 ordering constraints for composite.
built 7 ordering constraints for composite.
built 12 ordering constraints for composite.
built 11 ordering constraints for composite.
built 13 ordering constraints for composite.
built 11 ordering constraints for composite.
built 9 ordering constraints for composite.
built 7 ordering constraints for composite.
built 5 ordering constraints for composite.
built 7 ordering constraints for composite.
built 12 ordering constraints for composite.
built 11 ordering constraints for composite.
built 13 ordering constraints for composite.
built 11 ordering constraints for composite.
built 9 ordering constraints for composite.
built 7 ordering constraints for composite.
built 5 ordering constraints for composite.
built 7 ordering constraints for composite.
built 12 ordering constraints for composite.
built 11 ordering constraints for composite.
built 13 ordering constraints for composite.
built 11 ordering constraints for composite.
built 9 ordering constraints for composite.
built 7 ordering constraints for composite.
built 5 ordering constraints for composite.
built 7 ordering constraints for composite.
built 12 ordering constraints for composite.
built 11 ordering constraints for composite.
built 13 ordering constraints for composite.
built 11 ordering constraints for composite.
built 9 ordering constraints for composite.
built 7 ordering constraints for composite.
built 5 ordering constraints for composite.
built 7 ordering constraints for composite.
built 12 ordering constraints for composite.
built 11 ordering constraints for composite.
built 13 ordering constraints for composite.
built 11 ordering constraints for composite.
built 9 ordering constraints for composite.
built 7 ordering constraints for composite.
built 5 ordering constraints for composite.
built 7 ordering constraints for composite.
built 12 ordering constraints for composite.
built 11 ordering constraints for composite.
built 13 ordering constraints for composite.
built 11 ordering constraints for composite.
built 9 ordering constraints for composite.
built 7 ordering constraints for composite.
built 5 ordering constraints for composite.
built 7 ordering constraints for composite.
built 12 ordering constraints for composite.
built 11 ordering constraints for composite.
built 13 ordering constraints for composite.
built 11 ordering constraints for composite.
built 9 ordering constraints for composite.
built 7 ordering constraints for composite.
built 5 ordering constraints for composite.
built 7 ordering constraints for composite.
built 12 ordering constraints for composite.
built 11 ordering constraints for composite.
built 13 ordering constraints for composite.
built 11 ordering constraints for composite.
built 9 ordering constraints for composite.
built 7 ordering constraints for composite.
built 5 ordering constraints for composite.
built 7 ordering constraints for composite.
built 12 ordering constraints for composite.
built 11 ordering constraints for composite.
built 13 ordering constraints for composite.
built 11 ordering constraints for composite.
built 9 ordering constraints for composite.
built 7 ordering constraints for composite.
built 5 ordering constraints for composite.
built 5 ordering constraints for composite.
built 10 ordering constraints for composite.
built 9 ordering constraints for composite.
built 11 ordering constraints for composite.
built 10 ordering constraints for composite.
built 9 ordering constraints for composite.
built 7 ordering constraints for composite.
built 5 ordering constraints for composite.
Detected timeout of ITS tools.
[2020-05-27 12:38:47] [INFO ] Flatten gal took : 494 ms
[2020-05-27 12:38:49] [INFO ] Input system was already deterministic with 653 transitions.
[2020-05-27 12:38:49] [INFO ] Transformed 703 places.
[2020-05-27 12:38:49] [INFO ] Transformed 653 transitions.
Running greatSPN : CommandLine [args=[/home/mcc/BenchKit//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//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
[2020-05-27 12:38:49] [INFO ] Time to serialize gal into /home/mcc/execution/CTLCardinality.pnml.gal : 19 ms
[2020-05-27 12:38:49] [INFO ] Time to serialize properties into /home/mcc/execution/CTLCardinality.ctl : 13 ms
Invoking ITS tools like this :CommandLine [args=[/home/mcc/BenchKit/itstools/plugins/fr.lip6.move.gal.itstools.binaries_1.0.0.202005100927/bin/its-ctl-linux64, --gc-threshold, 2000000, --quiet, -i, /home/mcc/execution/CTLCardinality.pnml.gal, -t, CGAL, -ctl, /home/mcc/execution/CTLCardinality.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.202005100927/bin/its-ctl-linux64 --gc-threshold 2000000 --quiet -i /home/mcc/execution/CTLCardinality.pnml.gal -t CGAL -ctl /home/mcc/execution/CTLCardinality.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 9 CTL formulae.

BK_TIME_CONFINEMENT_REACHED

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

+ export BINDIR=/home/mcc/BenchKit/
+ BINDIR=/home/mcc/BenchKit/
++ pwd
+ export MODEL=/home/mcc/execution
+ MODEL=/home/mcc/execution
+ [[ CTLCardinality = StateSpace ]]
+ /home/mcc/BenchKit//runeclipse.sh /home/mcc/execution CTLCardinality -its -ltsminpath /home/mcc/BenchKit//lts_install_dir/ -greatspnpath /home/mcc/BenchKit//greatspn/ -order META -manyOrder -smt -timeout 3600
+ ulimit -s 65536
+ [[ -z '' ]]
+ export LTSMIN_MEM_SIZE=8589934592
+ LTSMIN_MEM_SIZE=8589934592
+ /home/mcc/BenchKit//itstools/its-tools -data /home/mcc/execution/workspace -pnfolder /home/mcc/execution -examination CTLCardinality -z3path /home/mcc/BenchKit//z3/bin/z3 -yices2path /home/mcc/BenchKit//yices/bin/yices -its -ltsminpath /home/mcc/BenchKit//lts_install_dir/ -greatspnpath /home/mcc/BenchKit//greatspn/ -order META -manyOrder -smt -timeout 3600 -vmargs -Dosgi.locking=none -Declipse.stateSaveDelayInterval=-1 -Dosgi.configuration.area=/tmp/.eclipse -Xss128m -Xms40m -Xmx16000m -Dfile.encoding=UTF-8 -Dosgi.requiredJavaVersion=1.6

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="ShieldIIPt-PT-010B"
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"

# 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 ShieldIIPt-PT-010B, 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 r210-tajo-159033475500307"
echo "====================================================================="
echo
echo "--------------------"
echo "preparation of the directory to be used:"

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