fond
Model Checking Contest 2021
11th edition, Paris, France, June 23, 2021
Execution of r026-tajo-162038144100569
Last Updated
Jun 28, 2021

About the Execution of ITS-Tools for CSRepetitions-PT-10

Execution Summary
Max Memory
Used (MB)
Time wait (ms) CPU Usage (ms) I/O Wait (ms) Computed Result Execution
Status
16247.659 3566950.00 3361170.00 329254.40 ??T???T?????FF?T 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/mcc2021-input.r026-tajo-162038144100569.qcow2', fmt=qcow2 size=4294967296 backing_file='/mnt/tpsp/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 CSRepetitions-PT-10, examination is CTLCardinality
Time confinement is 3600 seconds
Memory confinement is 16384 MBytes
Number of cores is 4
Run identifier is r026-tajo-162038144100569
=====================================================================

--------------------
preparation of the directory to be used:
/home/mcc/execution
total 24M
-rw-r--r-- 1 mcc users 1.8M May 5 16:58 CTLCardinality.txt
-rw-r--r-- 1 mcc users 6.0M May 10 09:42 CTLCardinality.xml
-rw-r--r-- 1 mcc users 2.0M May 5 16:58 CTLFireability.txt
-rw-r--r-- 1 mcc users 7.8M May 10 09:42 CTLFireability.xml
-rw-r--r-- 1 mcc users 4.2K May 6 14:48 GenericPropertiesDefinition.xml
-rw-r--r-- 1 mcc users 6.5K May 6 14:48 GenericPropertiesVerdict.xml
-rw-r--r-- 1 mcc users 224K Mar 28 15:49 LTLCardinality.txt
-rw-r--r-- 1 mcc users 562K Mar 28 15:49 LTLCardinality.xml
-rw-r--r-- 1 mcc users 223K Mar 28 15:49 LTLFireability.txt
-rw-r--r-- 1 mcc users 719K Mar 28 15:49 LTLFireability.xml
-rw-r--r-- 1 mcc users 142K Mar 23 03:03 ReachabilityCardinality.txt
-rw-r--r-- 1 mcc users 331K Mar 23 03:03 ReachabilityCardinality.xml
-rw-r--r-- 1 mcc users 429K Mar 22 12:29 ReachabilityFireability.txt
-rw-r--r-- 1 mcc users 1.3M Mar 22 12:29 ReachabilityFireability.xml
-rw-r--r-- 1 mcc users 81K Mar 22 09:10 UpperBounds.txt
-rw-r--r-- 1 mcc users 149K Mar 22 09:10 UpperBounds.xml
-rw-r--r-- 1 mcc users 5 May 5 16:51 equiv_col
-rw-r--r-- 1 mcc users 3 May 5 16:51 instance
-rw-r--r-- 1 mcc users 6 May 5 16:51 iscolored
-rw-r--r-- 1 mcc users 2.0M May 5 16:51 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 CSRepetitions-PT-10-CTLCardinality-00
FORMULA_NAME CSRepetitions-PT-10-CTLCardinality-01
FORMULA_NAME CSRepetitions-PT-10-CTLCardinality-02
FORMULA_NAME CSRepetitions-PT-10-CTLCardinality-03
FORMULA_NAME CSRepetitions-PT-10-CTLCardinality-04
FORMULA_NAME CSRepetitions-PT-10-CTLCardinality-05
FORMULA_NAME CSRepetitions-PT-10-CTLCardinality-06
FORMULA_NAME CSRepetitions-PT-10-CTLCardinality-07
FORMULA_NAME CSRepetitions-PT-10-CTLCardinality-08
FORMULA_NAME CSRepetitions-PT-10-CTLCardinality-09
FORMULA_NAME CSRepetitions-PT-10-CTLCardinality-10
FORMULA_NAME CSRepetitions-PT-10-CTLCardinality-11
FORMULA_NAME CSRepetitions-PT-10-CTLCardinality-12
FORMULA_NAME CSRepetitions-PT-10-CTLCardinality-13
FORMULA_NAME CSRepetitions-PT-10-CTLCardinality-14
FORMULA_NAME CSRepetitions-PT-10-CTLCardinality-15

=== Now, execution of the tool begins

BK_START 1620769064203

Running Version 0
[2021-05-11 21:37:45] [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-11 21:37:45] [INFO ] Parsing pnml file : /home/mcc/execution/model.pnml
[2021-05-11 21:37:45] [INFO ] Load time of PNML (sax parser for PT used): 140 ms
[2021-05-11 21:37:45] [INFO ] Transformed 1311 places.
[2021-05-11 21:37:45] [INFO ] Transformed 2300 transitions.
[2021-05-11 21:37:45] [INFO ] Parsed PT model containing 1311 places and 2300 transitions in 184 ms.
Parsed 16 properties from file /home/mcc/execution/CTLCardinality.xml in 402 ms.
Support contains 1311 out of 1311 places. Attempting structural reductions.
Starting structural reductions, iteration 0 : 1311/1311 places, 2300/2300 transitions.
Applied a total of 0 rules in 23 ms. Remains 1311 /1311 variables (removed 0) and now considering 2300/2300 (removed 0) transitions.
// Phase 1: matrix 2300 rows 1311 cols
[2021-05-11 21:37:46] [INFO ] Computed 110 place invariants in 62 ms
[2021-05-11 21:37:46] [INFO ] Implicit Places using invariants in 383 ms returned []
// Phase 1: matrix 2300 rows 1311 cols
[2021-05-11 21:37:46] [INFO ] Computed 110 place invariants in 27 ms
[2021-05-11 21:37:47] [INFO ] State equation strengthened by 100 read => feed constraints.
[2021-05-11 21:37:47] [INFO ] Implicit Places using invariants and state equation in 700 ms returned []
Implicit Place search using SMT with State Equation took 1107 ms to find 0 implicit places.
// Phase 1: matrix 2300 rows 1311 cols
[2021-05-11 21:37:47] [INFO ] Computed 110 place invariants in 17 ms
[2021-05-11 21:37:48] [INFO ] Dead Transitions using invariants and state equation in 1031 ms returned []
Finished structural reductions, in 1 iterations. Remains : 1311/1311 places, 2300/2300 transitions.
[2021-05-11 21:37:49] [INFO ] Flatten gal took : 287 ms
[2021-05-11 21:37:49] [INFO ] Flatten gal took : 162 ms
[2021-05-11 21:37:50] [INFO ] Input system was already deterministic with 2300 transitions.
Interrupted random walk after 54293 steps, including 296 resets, run timeout after 30001 ms. (steps per millisecond=1 ) properties seen :{0=1, 4=1, 6=1, 10=1, 11=1, 13=1, 19=1, 25=1, 27=1, 30=1, 31=1, 32=1, 36=1, 40=1, 41=1, 43=1, 45=1, 47=1, 49=1, 51=1, 53=1, 61=1, 65=1, 70=1, 71=1, 76=1, 78=1, 80=1, 83=1, 88=1, 89=1, 91=1, 94=1, 96=1, 99=1, 102=1, 103=1, 105=1, 107=1, 108=1, 109=1, 111=1}
Running SMT prover for 72 properties.
// Phase 1: matrix 2300 rows 1311 cols
[2021-05-11 21:38:20] [INFO ] Computed 110 place invariants in 38 ms
[2021-05-11 21:38:22] [INFO ] [Real]Absence check using 110 positive place invariants in 24 ms returned sat
[2021-05-11 21:38:23] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2021-05-11 21:38:23] [INFO ] SMT Verify possible in real domain returnedunsat :24 sat :0 real:48
[2021-05-11 21:38:24] [INFO ] [Nat]Absence check using 110 positive place invariants in 30 ms returned sat
[2021-05-11 21:38:25] [INFO ] [Nat]Adding state equation constraints to refine reachable states.
[2021-05-11 21:38:26] [INFO ] [Nat]Absence check using state equation in 951 ms returned unsat :43 sat :29
[2021-05-11 21:38:26] [INFO ] State equation strengthened by 100 read => feed constraints.
[2021-05-11 21:38:26] [INFO ] [Nat]Added 100 Read/Feed constraints in 9 ms returned sat
Attempting to minimize the solution found.
Minimization took 506 ms.
[2021-05-11 21:38:27] [INFO ] SMT Verify possible in nat domain returned unsat :43 sat :29
Successfully simplified 67 atomic propositions for a total of 16 simplifications.
[2021-05-11 21:38:27] [INFO ] Initial state test concluded for 2 properties.
FORMULA CSRepetitions-PT-10-CTLCardinality-13 FALSE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA CSRepetitions-PT-10-CTLCardinality-15 TRUE TECHNIQUES TOPOLOGICAL INITIAL_STATE
Performed 97 Post agglomeration using F-continuation condition.Transition count delta: 97
Deduced a syphon composed of 97 places in 2 ms
Reduce places removed 194 places and 0 transitions.
Iterating global reduction 0 with 291 rules applied. Total rules applied 291 place count 1117 transition count 2203
Discarding 950 places :
Symmetric choice reduction at 0 with 950 rule applications. Total rules 1241 place count 167 transition count 1253
Iterating global reduction 0 with 950 rules applied. Total rules applied 2191 place count 167 transition count 1253
Discarding 72 places :
Symmetric choice reduction at 0 with 72 rule applications. Total rules 2263 place count 95 transition count 461
Iterating global reduction 0 with 72 rules applied. Total rules applied 2335 place count 95 transition count 461
Ensure Unique test removed 72 transitions
Reduce isomorphic transitions removed 72 transitions.
Iterating post reduction 0 with 72 rules applied. Total rules applied 2407 place count 95 transition count 389
Performed 10 Post agglomeration using F-continuation condition.Transition count delta: 10
Deduced a syphon composed of 10 places in 0 ms
Reduce places removed 10 places and 0 transitions.
Iterating global reduction 1 with 20 rules applied. Total rules applied 2427 place count 85 transition count 379
Applied a total of 2427 rules in 442 ms. Remains 85 /1311 variables (removed 1226) and now considering 379/2300 (removed 1921) transitions.
[2021-05-11 21:38:28] [INFO ] Flatten gal took : 11 ms
[2021-05-11 21:38:28] [INFO ] Flatten gal took : 12 ms
[2021-05-11 21:38:28] [INFO ] Input system was already deterministic with 379 transitions.
[2021-05-11 21:38:28] [INFO ] Flatten gal took : 12 ms
[2021-05-11 21:38:28] [INFO ] Flatten gal took : 11 ms
[2021-05-11 21:38:28] [INFO ] Time to serialize gal into /tmp/CTLCardinality3345805614713258906.gal : 7 ms
[2021-05-11 21:38:28] [INFO ] Time to serialize properties into /tmp/CTLCardinality5336373417421276228.ctl : 0 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/CTLCardinality3345805614713258906.gal, -t, CGAL, -ctl, /tmp/CTLCardinality5336373417421276228.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/CTLCardinality3345805614713258906.gal -t CGAL -ctl /tmp/CTLCardinality5336373417421276228.ctl --gen-order FOLLOW
No direction supplied, using forward translation only.
Parsed 1 CTL formulae.
Detected timeout of ITS tools.
[2021-05-11 21:38:58] [INFO ] Flatten gal took : 19 ms
[2021-05-11 21:38:58] [INFO ] Applying decomposition
[2021-05-11 21:38:58] [INFO ] Flatten gal took : 16 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/graph3469524680158016673.txt, -o, /tmp/graph3469524680158016673.bin, -w, /tmp/graph3469524680158016673.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/graph3469524680158016673.bin, -l, -1, -v, -w, /tmp/graph3469524680158016673.weights, -q, 0, -e, 0.001], workingDir=null]
[2021-05-11 21:38:58] [INFO ] Decomposing Gal with order
[2021-05-11 21:38:58] [INFO ] Rewriting arrays to variables to allow decomposition.
[2021-05-11 21:38:58] [INFO ] Removed a total of 158 redundant transitions.
[2021-05-11 21:38:58] [INFO ] Flatten gal took : 68 ms
[2021-05-11 21:38:58] [INFO ] Fuse similar labels procedure discarded/fused a total of 54 labels/synchronizations in 5 ms.
[2021-05-11 21:38:58] [INFO ] Time to serialize gal into /tmp/CTLCardinality7164551586698914452.gal : 3 ms
[2021-05-11 21:38:58] [INFO ] Time to serialize properties into /tmp/CTLCardinality7610699073585812531.ctl : 0 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/CTLCardinality7164551586698914452.gal, -t, CGAL, -ctl, /tmp/CTLCardinality7610699073585812531.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/CTLCardinality7164551586698914452.gal -t CGAL -ctl /tmp/CTLCardinality7610699073585812531.ctl --gen-order FOLLOW
No direction supplied, using forward translation only.
Parsed 1 CTL formulae.
Detected timeout of ITS tools.
[2021-05-11 21:39:28] [INFO ] Initial state reduction rules for CTL removed 2 formulas.
[2021-05-11 21:39:28] [INFO ] Flatten gal took : 113 ms
[2021-05-11 21:39:28] [INFO ] Initial state reduction rules for CTL removed 1 formulas.
FORMULA CSRepetitions-PT-10-CTLCardinality-12 FALSE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA CSRepetitions-PT-10-CTLCardinality-06 TRUE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA CSRepetitions-PT-10-CTLCardinality-02 TRUE TECHNIQUES TOPOLOGICAL INITIAL_STATE
[2021-05-11 21:39:29] [INFO ] Flatten gal took : 91 ms
[2021-05-11 21:39:29] [INFO ] Applying decomposition
[2021-05-11 21:39:29] [INFO ] Flatten gal took : 75 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/graph17179658002451078205.txt, -o, /tmp/graph17179658002451078205.bin, -w, /tmp/graph17179658002451078205.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/graph17179658002451078205.bin, -l, -1, -v, -w, /tmp/graph17179658002451078205.weights, -q, 0, -e, 0.001], workingDir=null]
[2021-05-11 21:39:37] [INFO ] Decomposing Gal with order
[2021-05-11 21:39:37] [INFO ] Rewriting arrays to variables to allow decomposition.
[2021-05-11 21:39:41] [INFO ] Removed a total of 900 redundant transitions.
[2021-05-11 21:39:41] [INFO ] Flatten gal took : 4302 ms
[2021-05-11 21:39:41] [INFO ] Fuse similar labels procedure discarded/fused a total of 0 labels/synchronizations in 16 ms.
[2021-05-11 21:39:42] [INFO ] Time to serialize gal into /tmp/CTLCardinality2875232172420841849.gal : 17 ms
[2021-05-11 21:39:42] [INFO ] Time to serialize properties into /tmp/CTLCardinality9667817069756145431.ctl : 16 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/CTLCardinality2875232172420841849.gal, -t, CGAL, -ctl, /tmp/CTLCardinality9667817069756145431.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/CTLCardinality2875232172420841849.gal -t CGAL -ctl /tmp/CTLCardinality9667817069756145431.ctl --gen-order FOLLOW
No direction supplied, using forward translation only.
Parsed 11 CTL formulae.
Detected timeout of ITS tools.
[2021-05-11 22:00:18] [INFO ] Flatten gal took : 273 ms
[2021-05-11 22:00:18] [INFO ] Time to serialize gal into /tmp/CTLCardinality6485732440765659428.gal : 81 ms
[2021-05-11 22:00:18] [INFO ] Time to serialize properties into /tmp/CTLCardinality8283186803308022191.ctl : 25 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/CTLCardinality6485732440765659428.gal, -t, CGAL, -ctl, /tmp/CTLCardinality8283186803308022191.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/CTLCardinality6485732440765659428.gal -t CGAL -ctl /tmp/CTLCardinality8283186803308022191.ctl --gen-order FOLLOW
No direction supplied, using forward translation only.
Parsed 11 CTL formulae.
ITS-tools command line returned an error code 137
[2021-05-11 22:16:32] [INFO ] Flatten gal took : 133 ms
[2021-05-11 22:16:33] [INFO ] Input system was already deterministic with 2300 transitions.
[2021-05-11 22:16:33] [INFO ] Transformed 1311 places.
[2021-05-11 22:16:33] [INFO ] Transformed 2300 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-11 22:16:33] [INFO ] Time to serialize gal into /tmp/CTLCardinality11508397397696071412.gal : 21 ms
[2021-05-11 22:16:33] [INFO ] Time to serialize properties into /tmp/CTLCardinality772510272403169207.ctl : 11 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/CTLCardinality11508397397696071412.gal, -t, CGAL, -ctl, /tmp/CTLCardinality772510272403169207.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/CTLCardinality11508397397696071412.gal -t CGAL -ctl /tmp/CTLCardinality772510272403169207.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.
Detected timeout of ITS tools.

BK_STOP 1620772631153

--------------------
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="CSRepetitions-PT-10"
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 CSRepetitions-PT-10, 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 r026-tajo-162038144100569"
echo "====================================================================="
echo
echo "--------------------"
echo "preparation of the directory to be used:"

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