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

About the Execution of ITS-Tools for FlexibleBarrier-PT-22b

Execution Summary
Max Memory
Used (MB)
Time wait (ms) CPU Usage (ms) I/O Wait (ms) Computed Result Execution
Status
16243.403 3600000.00 3389552.00 89675.00 ?T?FFFT?TF??TFF? 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.r102-smll-162075331200153.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 FlexibleBarrier-PT-22b, examination is CTLCardinality
Time confinement is 3600 seconds
Memory confinement is 16384 MBytes
Number of cores is 4
Run identifier is r102-smll-162075331200153
=====================================================================

--------------------
preparation of the directory to be used:
/home/mcc/execution
total 2.1M
-rw-r--r-- 1 mcc users 12K May 5 16:58 CTLCardinality.txt
-rw-r--r-- 1 mcc users 107K May 10 09:43 CTLCardinality.xml
-rw-r--r-- 1 mcc users 11K May 5 16:58 CTLFireability.txt
-rw-r--r-- 1 mcc users 90K May 10 09:43 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 3.5K Mar 28 16:12 LTLCardinality.txt
-rw-r--r-- 1 mcc users 26K Mar 28 16:12 LTLCardinality.xml
-rw-r--r-- 1 mcc users 2.1K Mar 28 16:12 LTLFireability.txt
-rw-r--r-- 1 mcc users 16K Mar 28 16:12 LTLFireability.xml
-rw-r--r-- 1 mcc users 3.5K Mar 23 11:23 ReachabilityCardinality.txt
-rw-r--r-- 1 mcc users 17K Mar 23 11:23 ReachabilityCardinality.xml
-rw-r--r-- 1 mcc users 2.5K Mar 22 19:55 ReachabilityFireability.txt
-rw-r--r-- 1 mcc users 13K Mar 22 19:55 ReachabilityFireability.xml
-rw-r--r-- 1 mcc users 1.7K Mar 22 09:15 UpperBounds.txt
-rw-r--r-- 1 mcc users 3.8K Mar 22 09:15 UpperBounds.xml
-rw-r--r-- 1 mcc users 6 May 5 16:51 equiv_col
-rw-r--r-- 1 mcc users 4 May 5 16:51 instance
-rw-r--r-- 1 mcc users 6 May 5 16:51 iscolored
-rw-r--r-- 1 mcc users 1.8M 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 FlexibleBarrier-PT-22b-CTLCardinality-00
FORMULA_NAME FlexibleBarrier-PT-22b-CTLCardinality-01
FORMULA_NAME FlexibleBarrier-PT-22b-CTLCardinality-02
FORMULA_NAME FlexibleBarrier-PT-22b-CTLCardinality-03
FORMULA_NAME FlexibleBarrier-PT-22b-CTLCardinality-04
FORMULA_NAME FlexibleBarrier-PT-22b-CTLCardinality-05
FORMULA_NAME FlexibleBarrier-PT-22b-CTLCardinality-06
FORMULA_NAME FlexibleBarrier-PT-22b-CTLCardinality-07
FORMULA_NAME FlexibleBarrier-PT-22b-CTLCardinality-08
FORMULA_NAME FlexibleBarrier-PT-22b-CTLCardinality-09
FORMULA_NAME FlexibleBarrier-PT-22b-CTLCardinality-10
FORMULA_NAME FlexibleBarrier-PT-22b-CTLCardinality-11
FORMULA_NAME FlexibleBarrier-PT-22b-CTLCardinality-12
FORMULA_NAME FlexibleBarrier-PT-22b-CTLCardinality-13
FORMULA_NAME FlexibleBarrier-PT-22b-CTLCardinality-14
FORMULA_NAME FlexibleBarrier-PT-22b-CTLCardinality-15

=== Now, execution of the tool begins

BK_START 1621188463649

Running Version 0
[2021-05-16 18:07:46] [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-16 18:07:46] [INFO ] Parsing pnml file : /home/mcc/execution/model.pnml
[2021-05-16 18:07:47] [INFO ] Load time of PNML (sax parser for PT used): 501 ms
[2021-05-16 18:07:47] [INFO ] Transformed 6478 places.
[2021-05-16 18:07:47] [INFO ] Transformed 7469 transitions.
[2021-05-16 18:07:47] [INFO ] Found NUPN structural information;
[2021-05-16 18:07:47] [INFO ] Parsed PT model containing 6478 places and 7469 transitions in 620 ms.
Parsed 16 properties from file /home/mcc/execution/CTLCardinality.xml in 62 ms.
FORMULA FlexibleBarrier-PT-22b-CTLCardinality-04 FALSE TECHNIQUES TOPOLOGICAL INITIAL_STATE
Support contains 682 out of 6478 places. Attempting structural reductions.
Starting structural reductions, iteration 0 : 6478/6478 places, 7469/7469 transitions.
Discarding 2421 places :
Symmetric choice reduction at 0 with 2421 rule applications. Total rules 2421 place count 4057 transition count 5048
Iterating global reduction 0 with 2421 rules applied. Total rules applied 4842 place count 4057 transition count 5048
Discarding 1051 places :
Symmetric choice reduction at 0 with 1051 rule applications. Total rules 5893 place count 3006 transition count 3997
Iterating global reduction 0 with 1051 rules applied. Total rules applied 6944 place count 3006 transition count 3997
Discarding 489 places :
Symmetric choice reduction at 0 with 489 rule applications. Total rules 7433 place count 2517 transition count 3508
Iterating global reduction 0 with 489 rules applied. Total rules applied 7922 place count 2517 transition count 3508
Ensure Unique test removed 146 transitions
Reduce isomorphic transitions removed 146 transitions.
Iterating post reduction 0 with 146 rules applied. Total rules applied 8068 place count 2517 transition count 3362
Applied a total of 8068 rules in 2241 ms. Remains 2517 /6478 variables (removed 3961) and now considering 3362/7469 (removed 4107) transitions.
// Phase 1: matrix 3362 rows 2517 cols
[2021-05-16 18:07:49] [INFO ] Computed 24 place invariants in 160 ms
[2021-05-16 18:07:52] [INFO ] Implicit Places using invariants in 2549 ms returned []
// Phase 1: matrix 3362 rows 2517 cols
[2021-05-16 18:07:52] [INFO ] Computed 24 place invariants in 98 ms
[2021-05-16 18:07:54] [INFO ] Implicit Places using invariants and state equation in 1973 ms returned []
Implicit Place search using SMT with State Equation took 4564 ms to find 0 implicit places.
// Phase 1: matrix 3362 rows 2517 cols
[2021-05-16 18:07:54] [INFO ] Computed 24 place invariants in 99 ms
[2021-05-16 18:07:57] [INFO ] Dead Transitions using invariants and state equation in 3535 ms returned []
Finished structural reductions, in 1 iterations. Remains : 2517/6478 places, 3362/7469 transitions.
[2021-05-16 18:07:58] [INFO ] Flatten gal took : 343 ms
[2021-05-16 18:07:58] [INFO ] Flatten gal took : 229 ms
[2021-05-16 18:07:59] [INFO ] Input system was already deterministic with 3362 transitions.
Incomplete random walk after 100000 steps, including 683 resets, run finished after 3042 ms. (steps per millisecond=32 ) properties (out of 77) seen :11
Running SMT prover for 66 properties.
// Phase 1: matrix 3362 rows 2517 cols
[2021-05-16 18:08:02] [INFO ] Computed 24 place invariants in 100 ms
[2021-05-16 18:08:07] [INFO ] [Real]Absence check using 24 positive place invariants in 40 ms returned sat
[2021-05-16 18:08:07] [INFO ] SMT Verify possible in real domain returnedunsat :2 sat :0 real:64
[2021-05-16 18:08:11] [INFO ] [Nat]Absence check using 24 positive place invariants in 42 ms returned sat
[2021-05-16 18:08:12] [INFO ] [Nat]Adding state equation constraints to refine reachable states.
[2021-05-16 18:08:15] [INFO ] [Nat]Absence check using state equation in 3414 ms returned unsat :55 sat :11
Attempting to minimize the solution found.
Minimization took 1375 ms.
[2021-05-16 18:08:17] [INFO ] SMT Verify possible in nat domain returned unsat :55 sat :11
Successfully simplified 57 atomic propositions for a total of 15 simplifications.
[2021-05-16 18:08:17] [INFO ] Initial state test concluded for 4 properties.
FORMULA FlexibleBarrier-PT-22b-CTLCardinality-01 TRUE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA FlexibleBarrier-PT-22b-CTLCardinality-03 FALSE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA FlexibleBarrier-PT-22b-CTLCardinality-06 TRUE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA FlexibleBarrier-PT-22b-CTLCardinality-09 FALSE TECHNIQUES TOPOLOGICAL INITIAL_STATE
Graph (trivial) has 2410 edges and 2517 vertex of which 127 / 2517 are part of one of the 21 SCC in 15 ms
Free SCC test removed 106 places
Ensure Unique test removed 107 transitions
Reduce isomorphic transitions removed 107 transitions.
Reduce places removed 1 places and 1 transitions.
Drop transitions removed 302 transitions
Trivial Post-agglo rules discarded 302 transitions
Performed 302 trivial Post agglomeration. Transition count delta: 302
Iterating post reduction 0 with 302 rules applied. Total rules applied 303 place count 2410 transition count 2952
Reduce places removed 302 places and 0 transitions.
Iterating post reduction 1 with 302 rules applied. Total rules applied 605 place count 2108 transition count 2952
Performed 93 Pre agglomeration using Quasi-Persistent + Divergent Free condition..
Pre-agglomeration after 2 with 93 Pre rules applied. Total rules applied 605 place count 2108 transition count 2859
Deduced a syphon composed of 93 places in 4 ms
Reduce places removed 93 places and 0 transitions.
Iterating global reduction 2 with 186 rules applied. Total rules applied 791 place count 2015 transition count 2859
Discarding 518 places :
Symmetric choice reduction at 2 with 518 rule applications. Total rules 1309 place count 1497 transition count 2341
Iterating global reduction 2 with 518 rules applied. Total rules applied 1827 place count 1497 transition count 2341
Ensure Unique test removed 30 transitions
Reduce isomorphic transitions removed 30 transitions.
Iterating post reduction 2 with 30 rules applied. Total rules applied 1857 place count 1497 transition count 2311
Discarding 180 places :
Symmetric choice reduction at 3 with 180 rule applications. Total rules 2037 place count 1317 transition count 2131
Iterating global reduction 3 with 180 rules applied. Total rules applied 2217 place count 1317 transition count 2131
Ensure Unique test removed 173 transitions
Reduce isomorphic transitions removed 173 transitions.
Iterating post reduction 3 with 173 rules applied. Total rules applied 2390 place count 1317 transition count 1958
Performed 130 Post agglomeration using F-continuation condition.Transition count delta: 130
Deduced a syphon composed of 130 places in 2 ms
Reduce places removed 130 places and 0 transitions.
Iterating global reduction 4 with 260 rules applied. Total rules applied 2650 place count 1187 transition count 1828
Discarding 72 places :
Symmetric choice reduction at 4 with 72 rule applications. Total rules 2722 place count 1115 transition count 1756
Iterating global reduction 4 with 72 rules applied. Total rules applied 2794 place count 1115 transition count 1756
Ensure Unique test removed 72 transitions
Reduce isomorphic transitions removed 72 transitions.
Iterating post reduction 4 with 72 rules applied. Total rules applied 2866 place count 1115 transition count 1684
Performed 1 Post agglomeration using F-continuation condition.Transition count delta: 0
Deduced a syphon composed of 1 places in 1 ms
Reduce places removed 1 places and 0 transitions.
Iterating global reduction 5 with 2 rules applied. Total rules applied 2868 place count 1114 transition count 1684
Drop transitions removed 23 transitions
Redundant transition composition rules discarded 23 transitions
Iterating global reduction 5 with 23 rules applied. Total rules applied 2891 place count 1114 transition count 1661
Reduce places removed 1 places and 1 transitions.
Iterating global reduction 5 with 1 rules applied. Total rules applied 2892 place count 1113 transition count 1660
Reduce places removed 1 places and 1 transitions.
Iterating global reduction 5 with 1 rules applied. Total rules applied 2893 place count 1112 transition count 1659
Applied a total of 2893 rules in 3065 ms. Remains 1112 /2517 variables (removed 1405) and now considering 1659/3362 (removed 1703) transitions.
[2021-05-16 18:08:20] [INFO ] Initial state reduction rules for CTL removed 1 formulas.
[2021-05-16 18:08:20] [INFO ] Flatten gal took : 76 ms
FORMULA FlexibleBarrier-PT-22b-CTLCardinality-05 FALSE TECHNIQUES TOPOLOGICAL INITIAL_STATE
[2021-05-16 18:08:20] [INFO ] Flatten gal took : 82 ms
[2021-05-16 18:08:20] [INFO ] Input system was already deterministic with 1659 transitions.
[2021-05-16 18:08:20] [INFO ] Initial state reduction rules for CTL removed 3 formulas.
[2021-05-16 18:08:20] [INFO ] Flatten gal took : 129 ms
[2021-05-16 18:08:20] [INFO ] Initial state reduction rules for CTL removed 1 formulas.
FORMULA FlexibleBarrier-PT-22b-CTLCardinality-14 FALSE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA FlexibleBarrier-PT-22b-CTLCardinality-13 FALSE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA FlexibleBarrier-PT-22b-CTLCardinality-12 TRUE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA FlexibleBarrier-PT-22b-CTLCardinality-08 TRUE TECHNIQUES TOPOLOGICAL INITIAL_STATE
[2021-05-16 18:08:20] [INFO ] Flatten gal took : 122 ms
[2021-05-16 18:08:21] [INFO ] Applying decomposition
[2021-05-16 18:08:21] [INFO ] Flatten gal took : 124 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/graph15611328401461948637.txt, -o, /tmp/graph15611328401461948637.bin, -w, /tmp/graph15611328401461948637.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/graph15611328401461948637.bin, -l, -1, -v, -w, /tmp/graph15611328401461948637.weights, -q, 0, -e, 0.001], workingDir=null]
[2021-05-16 18:08:21] [INFO ] Decomposing Gal with order
[2021-05-16 18:08:21] [INFO ] Rewriting arrays to variables to allow decomposition.
[2021-05-16 18:08:23] [INFO ] Removed a total of 839 redundant transitions.
[2021-05-16 18:08:23] [INFO ] Flatten gal took : 1269 ms
[2021-05-16 18:08:24] [INFO ] Fuse similar labels procedure discarded/fused a total of 148 labels/synchronizations in 223 ms.
[2021-05-16 18:08:24] [INFO ] Time to serialize gal into /tmp/CTLCardinality4507183093799933594.gal : 74 ms
[2021-05-16 18:08:24] [INFO ] Time to serialize properties into /tmp/CTLCardinality5574038589683740762.ctl : 21 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/CTLCardinality4507183093799933594.gal, -t, CGAL, -ctl, /tmp/CTLCardinality5574038589683740762.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/CTLCardinality4507183093799933594.gal -t CGAL -ctl /tmp/CTLCardinality5574038589683740762.ctl --gen-order FOLLOW
No direction supplied, using forward translation only.
Parsed 6 CTL formulae.
Detected timeout of ITS tools.
[2021-05-16 18:28:38] [INFO ] Applying decomposition
[2021-05-16 18:28:40] [INFO ] Flatten gal took : 1845 ms
[2021-05-16 18:28:41] [INFO ] Decomposing Gal with order
[2021-05-16 18:28:41] [INFO ] Rewriting arrays to variables to allow decomposition.
[2021-05-16 18:28:47] [INFO ] Removed a total of 900 redundant transitions.
[2021-05-16 18:28:47] [INFO ] Flatten gal took : 5402 ms
[2021-05-16 18:28:49] [INFO ] Fuse similar labels procedure discarded/fused a total of 3826 labels/synchronizations in 1001 ms.
[2021-05-16 18:28:51] [INFO ] Time to serialize gal into /tmp/CTLCardinality17200013470596495208.gal : 114 ms
[2021-05-16 18:28:51] [INFO ] Time to serialize properties into /tmp/CTLCardinality17545746242725139100.ctl : 9 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/CTLCardinality17200013470596495208.gal, -t, CGAL, -ctl, /tmp/CTLCardinality17545746242725139100.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/CTLCardinality17200013470596495208.gal -t CGAL -ctl /tmp/CTLCardinality17545746242725139100.ctl --gen-order FOLLOW
No direction supplied, using forward translation only.
Parsed 6 CTL formulae.
Detected timeout of ITS tools.
[2021-05-16 18:49:04] [INFO ] Flatten gal took : 609 ms
[2021-05-16 18:49:06] [INFO ] Input system was already deterministic with 3362 transitions.
[2021-05-16 18:49:07] [INFO ] Transformed 2517 places.
[2021-05-16 18:49:07] [INFO ] Transformed 3362 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-16 18:49:09] [INFO ] Time to serialize gal into /tmp/CTLCardinality392262980281783100.gal : 64 ms
[2021-05-16 18:49:09] [INFO ] Time to serialize properties into /tmp/CTLCardinality17652147965673272853.ctl : 5 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/CTLCardinality392262980281783100.gal, -t, CGAL, -ctl, /tmp/CTLCardinality17652147965673272853.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/CTLCardinality392262980281783100.gal -t CGAL -ctl /tmp/CTLCardinality17652147965673272853.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 6 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="FlexibleBarrier-PT-22b"
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 FlexibleBarrier-PT-22b, 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 r102-smll-162075331200153"
echo "====================================================================="
echo
echo "--------------------"
echo "preparation of the directory to be used:"

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