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

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

Execution Summary
Max Memory
Used (MB)
Time wait (ms) CPU Usage (ms) I/O Wait (ms) Computed Result Execution
Status
15742.760 3600000.00 3647999.00 2332.50 [undef] Time out reached

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-159033476300836.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 ShieldRVs-PT-010B, examination is CTLFireability
Time confinement is 3600 seconds
Memory confinement is 16384 MBytes
Number of cores is 4
Run identifier is r210-tajo-159033476300836
=====================================================================

--------------------
preparation of the directory to be used:
/home/mcc/execution
total 292K
-rw-r--r-- 1 mcc users 3.0K May 14 02:12 CTLCardinality.txt
-rw-r--r-- 1 mcc users 16K May 14 02:12 CTLCardinality.xml
-rw-r--r-- 1 mcc users 2.5K May 13 19:43 CTLFireability.txt
-rw-r--r-- 1 mcc users 17K May 13 19:43 CTLFireability.xml
-rw-r--r-- 1 mcc users 3.6K May 14 10:04 LTLCardinality.txt
-rw-r--r-- 1 mcc users 27K May 14 10:04 LTLCardinality.xml
-rw-r--r-- 1 mcc users 2.0K May 14 10:04 LTLFireability.txt
-rw-r--r-- 1 mcc users 16K May 14 10:04 LTLFireability.xml
-rw-r--r-- 1 mcc users 1 May 12 20:42 NewModel
-rw-r--r-- 1 mcc users 3.9K May 13 14:22 ReachabilityCardinality.txt
-rw-r--r-- 1 mcc users 21K May 13 14:22 ReachabilityCardinality.xml
-rw-r--r-- 1 mcc users 2.4K May 13 09:05 ReachabilityFireability.txt
-rw-r--r-- 1 mcc users 13K May 13 09:05 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 122K 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 ShieldRVs-PT-010B-CTLFireability-00
FORMULA_NAME ShieldRVs-PT-010B-CTLFireability-01
FORMULA_NAME ShieldRVs-PT-010B-CTLFireability-02
FORMULA_NAME ShieldRVs-PT-010B-CTLFireability-03
FORMULA_NAME ShieldRVs-PT-010B-CTLFireability-04
FORMULA_NAME ShieldRVs-PT-010B-CTLFireability-05
FORMULA_NAME ShieldRVs-PT-010B-CTLFireability-06
FORMULA_NAME ShieldRVs-PT-010B-CTLFireability-07
FORMULA_NAME ShieldRVs-PT-010B-CTLFireability-08
FORMULA_NAME ShieldRVs-PT-010B-CTLFireability-09
FORMULA_NAME ShieldRVs-PT-010B-CTLFireability-10
FORMULA_NAME ShieldRVs-PT-010B-CTLFireability-11
FORMULA_NAME ShieldRVs-PT-010B-CTLFireability-12
FORMULA_NAME ShieldRVs-PT-010B-CTLFireability-13
FORMULA_NAME ShieldRVs-PT-010B-CTLFireability-14
FORMULA_NAME ShieldRVs-PT-010B-CTLFireability-15

=== Now, execution of the tool begins

BK_START 1590621014601

[2020-05-27 23:10:17] [INFO ] Running its-tools with arguments : [-pnfolder, /home/mcc/execution, -examination, CTLFireability, -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 23:10:17] [INFO ] Parsing pnml file : /home/mcc/execution/model.pnml
[2020-05-27 23:10:17] [INFO ] Load time of PNML (sax parser for PT used): 73 ms
[2020-05-27 23:10:17] [INFO ] Transformed 403 places.
[2020-05-27 23:10:17] [INFO ] Transformed 453 transitions.
[2020-05-27 23:10:17] [INFO ] Found NUPN structural information;
[2020-05-27 23:10:17] [INFO ] Parsed PT model containing 403 places and 453 transitions in 112 ms.
Parsed 16 properties from file /home/mcc/execution/CTLFireability.xml in 18 ms.
Incomplete random walk after 100000 steps, including 225 resets, run finished after 240 ms. (steps per millisecond=416 ) properties seen :[1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0]
// Phase 1: matrix 453 rows 403 cols
[2020-05-27 23:10:17] [INFO ] Computed 41 place invariants in 18 ms
[2020-05-27 23:10:17] [INFO ] [Real]Absence check using 41 positive place invariants in 42 ms returned sat
[2020-05-27 23:10:17] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2020-05-27 23:10:18] [INFO ] [Real]Absence check using state equation in 311 ms returned sat
[2020-05-27 23:10:18] [INFO ] Deduced a trap composed of 28 places in 180 ms
[2020-05-27 23:10:18] [INFO ] Deduced a trap composed of 22 places in 113 ms
[2020-05-27 23:10:18] [INFO ] Deduced a trap composed of 38 places in 146 ms
[2020-05-27 23:10:18] [INFO ] Deduced a trap composed of 25 places in 145 ms
[2020-05-27 23:10:18] [INFO ] Deduced a trap composed of 29 places in 141 ms
[2020-05-27 23:10:19] [INFO ] Deduced a trap composed of 26 places in 113 ms
[2020-05-27 23:10:19] [INFO ] Deduced a trap composed of 20 places in 102 ms
[2020-05-27 23:10:19] [INFO ] Deduced a trap composed of 25 places in 111 ms
[2020-05-27 23:10:19] [INFO ] Deduced a trap composed of 29 places in 144 ms
[2020-05-27 23:10:19] [INFO ] Deduced a trap composed of 28 places in 134 ms
[2020-05-27 23:10:19] [INFO ] Deduced a trap composed of 29 places in 138 ms
[2020-05-27 23:10:19] [INFO ] Deduced a trap composed of 42 places in 157 ms
[2020-05-27 23:10:20] [INFO ] Deduced a trap composed of 25 places in 121 ms
[2020-05-27 23:10:20] [INFO ] Deduced a trap composed of 26 places in 100 ms
[2020-05-27 23:10:20] [INFO ] Deduced a trap composed of 28 places in 86 ms
[2020-05-27 23:10:20] [INFO ] Deduced a trap composed of 50 places in 96 ms
[2020-05-27 23:10:20] [INFO ] Deduced a trap composed of 36 places in 110 ms
[2020-05-27 23:10:20] [INFO ] Deduced a trap composed of 43 places in 69 ms
[2020-05-27 23:10:20] [INFO ] Trap strengthening (SAT) tested/added 19/18 trap constraints in 2579 ms
[2020-05-27 23:10:20] [INFO ] Solution in real domain found non-integer solution.
[2020-05-27 23:10:20] [INFO ] [Nat]Absence check using 41 positive place invariants in 68 ms returned sat
[2020-05-27 23:10:20] [INFO ] [Nat]Adding state equation constraints to refine reachable states.
[2020-05-27 23:10:21] [INFO ] [Nat]Absence check using state equation in 457 ms returned sat
[2020-05-27 23:10:21] [INFO ] Deduced a trap composed of 26 places in 203 ms
[2020-05-27 23:10:21] [INFO ] Deduced a trap composed of 24 places in 159 ms
[2020-05-27 23:10:21] [INFO ] Deduced a trap composed of 24 places in 133 ms
[2020-05-27 23:10:22] [INFO ] Deduced a trap composed of 30 places in 133 ms
[2020-05-27 23:10:22] [INFO ] Deduced a trap composed of 24 places in 138 ms
[2020-05-27 23:10:22] [INFO ] Deduced a trap composed of 24 places in 124 ms
[2020-05-27 23:10:22] [INFO ] Deduced a trap composed of 24 places in 116 ms
[2020-05-27 23:10:22] [INFO ] Deduced a trap composed of 25 places in 146 ms
[2020-05-27 23:10:22] [INFO ] Deduced a trap composed of 38 places in 111 ms
[2020-05-27 23:10:22] [INFO ] Deduced a trap composed of 30 places in 103 ms
[2020-05-27 23:10:23] [INFO ] Deduced a trap composed of 20 places in 106 ms
[2020-05-27 23:10:23] [INFO ] Deduced a trap composed of 29 places in 84 ms
[2020-05-27 23:10:23] [INFO ] Deduced a trap composed of 35 places in 85 ms
[2020-05-27 23:10:23] [INFO ] Deduced a trap composed of 38 places in 90 ms
[2020-05-27 23:10:23] [INFO ] Deduced a trap composed of 45 places in 89 ms
[2020-05-27 23:10:23] [INFO ] Deduced a trap composed of 39 places in 88 ms
[2020-05-27 23:10:23] [INFO ] Deduced a trap composed of 31 places in 107 ms
[2020-05-27 23:10:23] [INFO ] Deduced a trap composed of 56 places in 95 ms
[2020-05-27 23:10:24] [INFO ] Deduced a trap composed of 29 places in 97 ms
[2020-05-27 23:10:24] [INFO ] Deduced a trap composed of 25 places in 97 ms
[2020-05-27 23:10:24] [INFO ] Deduced a trap composed of 23 places in 90 ms
[2020-05-27 23:10:24] [INFO ] Deduced a trap composed of 18 places in 98 ms
[2020-05-27 23:10:24] [INFO ] Deduced a trap composed of 33 places in 101 ms
[2020-05-27 23:10:24] [INFO ] Deduced a trap composed of 26 places in 82 ms
[2020-05-27 23:10:24] [INFO ] Deduced a trap composed of 28 places in 83 ms
[2020-05-27 23:10:24] [INFO ] Deduced a trap composed of 35 places in 74 ms
[2020-05-27 23:10:24] [INFO ] Deduced a trap composed of 24 places in 81 ms
[2020-05-27 23:10:24] [INFO ] Deduced a trap composed of 35 places in 68 ms
[2020-05-27 23:10:25] [INFO ] Deduced a trap composed of 37 places in 66 ms
[2020-05-27 23:10:25] [INFO ] Deduced a trap composed of 42 places in 79 ms
[2020-05-27 23:10:25] [INFO ] Deduced a trap composed of 49 places in 87 ms
[2020-05-27 23:10:25] [INFO ] Deduced a trap composed of 42 places in 82 ms
[2020-05-27 23:10:25] [INFO ] Deduced a trap composed of 42 places in 74 ms
[2020-05-27 23:10:25] [INFO ] Deduced a trap composed of 34 places in 72 ms
[2020-05-27 23:10:25] [INFO ] Deduced a trap composed of 43 places in 72 ms
[2020-05-27 23:10:25] [INFO ] Deduced a trap composed of 33 places in 90 ms
[2020-05-27 23:10:25] [INFO ] Deduced a trap composed of 27 places in 75 ms
[2020-05-27 23:10:26] [INFO ] Deduced a trap composed of 36 places in 70 ms
[2020-05-27 23:10:26] [INFO ] Trap strengthening (SAT) tested/added 39/38 trap constraints in 4666 ms
[2020-05-27 23:10:26] [INFO ] Computed and/alt/rep : 452/1319/452 causal constraints in 30 ms.
[2020-05-27 23:10:37] [INFO ] Added : 435 causal constraints over 91 iterations in 11009 ms. Result :unknown
[2020-05-27 23:10:37] [INFO ] Flatten gal took : 93 ms
[2020-05-27 23:10:37] [INFO ] Flatten gal took : 38 ms
[2020-05-27 23:10:37] [INFO ] Applying decomposition
[2020-05-27 23:10:37] [INFO ] Flatten gal took : 35 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/graph11845629041317591860.txt, -o, /tmp/graph11845629041317591860.bin, -w, /tmp/graph11845629041317591860.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/graph11845629041317591860.bin, -l, -1, -v, -w, /tmp/graph11845629041317591860.weights, -q, 0, -e, 0.001], workingDir=null]
[2020-05-27 23:10:37] [INFO ] Decomposing Gal with order
[2020-05-27 23:10:37] [INFO ] Rewriting arrays to variables to allow decomposition.
[2020-05-27 23:10:37] [INFO ] Removed a total of 351 redundant transitions.
[2020-05-27 23:10:37] [INFO ] Flatten gal took : 94 ms
[2020-05-27 23:10:37] [INFO ] Fuse similar labels procedure discarded/fused a total of 0 labels/synchronizations in 8 ms.
[2020-05-27 23:10:37] [INFO ] Time to serialize gal into /home/mcc/execution/CTLFireability.pnml.gal : 14 ms
[2020-05-27 23:10:37] [INFO ] Time to serialize properties into /home/mcc/execution/CTLFireability.ctl : 2 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/CTLFireability.pnml.gal, -t, CGAL, -ctl, /home/mcc/execution/CTLFireability.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/CTLFireability.pnml.gal -t CGAL -ctl /home/mcc/execution/CTLFireability.ctl
No direction supplied, using forward translation only.
Parsed 16 CTL formulae.
built 19 ordering constraints for composite.
built 26 ordering constraints for composite.
built 18 ordering constraints for composite.
built 25 ordering constraints for composite.
built 4 ordering constraints for composite.
built 18 ordering constraints for composite.
built 25 ordering constraints for composite.
built 4 ordering constraints for composite.
built 18 ordering constraints for composite.
built 25 ordering constraints for composite.
built 4 ordering constraints for composite.
built 13 ordering constraints for composite.
built 6 ordering constraints for composite.
built 6 ordering constraints for composite.
built 6 ordering constraints for composite.
built 6 ordering constraints for composite.
built 18 ordering constraints for composite.
built 25 ordering constraints for composite.
built 4 ordering constraints for composite.
built 18 ordering constraints for composite.
built 25 ordering constraints for composite.
built 4 ordering constraints for composite.
built 18 ordering constraints for composite.
built 24 ordering constraints for composite.
built 4 ordering constraints for composite.
built 18 ordering constraints for composite.
built 25 ordering constraints for composite.
built 4 ordering constraints for composite.
built 11 ordering constraints for composite.
built 12 ordering constraints for composite.
built 17 ordering constraints for composite.
built 17 ordering constraints for composite.
built 25 ordering constraints for composite.
built 6 ordering constraints for composite.
Detected timeout of ITS tools.
[2020-05-27 23:30:44] [INFO ] Applying decomposition
[2020-05-27 23:30:44] [INFO ] Flatten gal took : 19 ms
[2020-05-27 23:30:44] [INFO ] Decomposing Gal with order
[2020-05-27 23:30:44] [INFO ] Rewriting arrays to variables to allow decomposition.
[2020-05-27 23:30:44] [INFO ] Removed a total of 207 redundant transitions.
[2020-05-27 23:30:44] [INFO ] Flatten gal took : 27 ms
[2020-05-27 23:30:44] [INFO ] Fuse similar labels procedure discarded/fused a total of 312 labels/synchronizations in 11 ms.
[2020-05-27 23:30:44] [INFO ] Time to serialize gal into /home/mcc/execution/CTLFireability.pnml.gal : 7 ms
[2020-05-27 23:30:44] [INFO ] Time to serialize properties into /home/mcc/execution/CTLFireability.ctl : 2 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/CTLFireability.pnml.gal, -t, CGAL, -ctl, /home/mcc/execution/CTLFireability.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/CTLFireability.pnml.gal -t CGAL -ctl /home/mcc/execution/CTLFireability.ctl
No direction supplied, using forward translation only.
Parsed 16 CTL formulae.
built 2 ordering constraints for composite.
built 6 ordering constraints for composite.
built 6 ordering constraints for composite.
built 6 ordering constraints for composite.
built 6 ordering constraints for composite.
built 6 ordering constraints for composite.
built 6 ordering constraints for composite.
built 6 ordering constraints for composite.
built 6 ordering constraints for composite.
built 6 ordering constraints for composite.
built 9 ordering constraints for composite.
built 8 ordering constraints for composite.
built 7 ordering constraints for composite.
built 9 ordering constraints for composite.
built 8 ordering constraints for composite.
built 7 ordering constraints for composite.
built 9 ordering constraints for composite.
built 8 ordering constraints for composite.
built 7 ordering constraints for composite.
built 9 ordering constraints for composite.
built 8 ordering constraints for composite.
built 7 ordering constraints for composite.
built 9 ordering constraints for composite.
built 8 ordering constraints for composite.
built 7 ordering constraints for composite.
built 9 ordering constraints for composite.
built 8 ordering constraints for composite.
built 7 ordering constraints for composite.
built 9 ordering constraints for composite.
built 8 ordering constraints for composite.
built 7 ordering constraints for composite.
built 9 ordering constraints for composite.
built 8 ordering constraints for composite.
built 7 ordering constraints for composite.
built 9 ordering constraints for composite.
built 8 ordering constraints for composite.
built 7 ordering constraints for composite.
built 6 ordering constraints for composite.
built 7 ordering constraints for composite.
built 6 ordering constraints for composite.
Detected timeout of ITS tools.
[2020-05-27 23:50:50] [INFO ] Flatten gal took : 33 ms
[2020-05-27 23:50:50] [INFO ] Input system was already deterministic with 453 transitions.
[2020-05-27 23:50:50] [INFO ] Transformed 403 places.
[2020-05-27 23:50:50] [INFO ] Transformed 453 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 23:50:50] [INFO ] Time to serialize gal into /home/mcc/execution/CTLFireability.pnml.gal : 4 ms
[2020-05-27 23:50:50] [INFO ] Time to serialize properties into /home/mcc/execution/CTLFireability.ctl : 12 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/CTLFireability.pnml.gal, -t, CGAL, -ctl, /home/mcc/execution/CTLFireability.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/CTLFireability.pnml.gal -t CGAL -ctl /home/mcc/execution/CTLFireability.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 16 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,2.61093e+31,1104.4,11707444,2,1.41196e+06,5,2.73786e+07,6,0,2067,9.51039e+07,0


Converting to forward existential form...Done !

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
+ [[ CTLFireability = StateSpace ]]
+ /home/mcc/BenchKit//runeclipse.sh /home/mcc/execution CTLFireability -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 CTLFireability -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="ShieldRVs-PT-010B"
export BK_EXAMINATION="CTLFireability"
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 ShieldRVs-PT-010B, examination is CTLFireability"
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-159033476300836"
echo "====================================================================="
echo
echo "--------------------"
echo "preparation of the directory to be used:"

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