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

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

Execution Summary
Max Memory
Used (MB)
Time wait (ms) CPU Usage (ms) I/O Wait (ms) Computed Result Execution
Status
16246.871 3600000.00 3144410.00 162015.20 ???T????FFTTF?TT 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-162075331100121.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-18b, examination is CTLCardinality
Time confinement is 3600 seconds
Memory confinement is 16384 MBytes
Number of cores is 4
Run identifier is r102-smll-162075331100121
=====================================================================

--------------------
preparation of the directory to be used:
/home/mcc/execution
total 1.6M
-rw-r--r-- 1 mcc users 18K May 5 16:58 CTLCardinality.txt
-rw-r--r-- 1 mcc users 159K 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 87K 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.6K Mar 28 16:12 LTLCardinality.txt
-rw-r--r-- 1 mcc users 27K 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 4.1K Mar 23 11:17 ReachabilityCardinality.txt
-rw-r--r-- 1 mcc users 21K Mar 23 11:17 ReachabilityCardinality.xml
-rw-r--r-- 1 mcc users 2.5K Mar 22 19:42 ReachabilityFireability.txt
-rw-r--r-- 1 mcc users 13K Mar 22 19:42 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.2M 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-18b-CTLCardinality-00
FORMULA_NAME FlexibleBarrier-PT-18b-CTLCardinality-01
FORMULA_NAME FlexibleBarrier-PT-18b-CTLCardinality-02
FORMULA_NAME FlexibleBarrier-PT-18b-CTLCardinality-03
FORMULA_NAME FlexibleBarrier-PT-18b-CTLCardinality-04
FORMULA_NAME FlexibleBarrier-PT-18b-CTLCardinality-05
FORMULA_NAME FlexibleBarrier-PT-18b-CTLCardinality-06
FORMULA_NAME FlexibleBarrier-PT-18b-CTLCardinality-07
FORMULA_NAME FlexibleBarrier-PT-18b-CTLCardinality-08
FORMULA_NAME FlexibleBarrier-PT-18b-CTLCardinality-09
FORMULA_NAME FlexibleBarrier-PT-18b-CTLCardinality-10
FORMULA_NAME FlexibleBarrier-PT-18b-CTLCardinality-11
FORMULA_NAME FlexibleBarrier-PT-18b-CTLCardinality-12
FORMULA_NAME FlexibleBarrier-PT-18b-CTLCardinality-13
FORMULA_NAME FlexibleBarrier-PT-18b-CTLCardinality-14
FORMULA_NAME FlexibleBarrier-PT-18b-CTLCardinality-15

=== Now, execution of the tool begins

BK_START 1621162703029

Running Version 0
[2021-05-16 10:58:26] [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 10:58:26] [INFO ] Parsing pnml file : /home/mcc/execution/model.pnml
[2021-05-16 10:58:26] [INFO ] Load time of PNML (sax parser for PT used): 450 ms
[2021-05-16 10:58:26] [INFO ] Transformed 4370 places.
[2021-05-16 10:58:26] [INFO ] Transformed 5037 transitions.
[2021-05-16 10:58:26] [INFO ] Found NUPN structural information;
[2021-05-16 10:58:26] [INFO ] Parsed PT model containing 4370 places and 5037 transitions in 574 ms.
Parsed 16 properties from file /home/mcc/execution/CTLCardinality.xml in 61 ms.
Support contains 1063 out of 4370 places. Attempting structural reductions.
Starting structural reductions, iteration 0 : 4370/4370 places, 5037/5037 transitions.
Discarding 1308 places :
Symmetric choice reduction at 0 with 1308 rule applications. Total rules 1308 place count 3062 transition count 3729
Iterating global reduction 0 with 1308 rules applied. Total rules applied 2616 place count 3062 transition count 3729
Discarding 498 places :
Symmetric choice reduction at 0 with 498 rule applications. Total rules 3114 place count 2564 transition count 3231
Iterating global reduction 0 with 498 rules applied. Total rules applied 3612 place count 2564 transition count 3231
Discarding 178 places :
Symmetric choice reduction at 0 with 178 rule applications. Total rules 3790 place count 2386 transition count 3053
Iterating global reduction 0 with 178 rules applied. Total rules applied 3968 place count 2386 transition count 3053
Ensure Unique test removed 19 transitions
Reduce isomorphic transitions removed 19 transitions.
Iterating post reduction 0 with 19 rules applied. Total rules applied 3987 place count 2386 transition count 3034
Applied a total of 3987 rules in 1064 ms. Remains 2386 /4370 variables (removed 1984) and now considering 3034/5037 (removed 2003) transitions.
// Phase 1: matrix 3034 rows 2386 cols
[2021-05-16 10:58:28] [INFO ] Computed 20 place invariants in 127 ms
[2021-05-16 10:58:29] [INFO ] Implicit Places using invariants in 1664 ms returned []
// Phase 1: matrix 3034 rows 2386 cols
[2021-05-16 10:58:29] [INFO ] Computed 20 place invariants in 127 ms
[2021-05-16 10:58:31] [INFO ] Implicit Places using invariants and state equation in 1919 ms returned []
Implicit Place search using SMT with State Equation took 3623 ms to find 0 implicit places.
// Phase 1: matrix 3034 rows 2386 cols
[2021-05-16 10:58:31] [INFO ] Computed 20 place invariants in 62 ms
[2021-05-16 10:58:34] [INFO ] Dead Transitions using invariants and state equation in 2744 ms returned []
Finished structural reductions, in 1 iterations. Remains : 2386/4370 places, 3034/5037 transitions.
[2021-05-16 10:58:35] [INFO ] Flatten gal took : 365 ms
[2021-05-16 10:58:35] [INFO ] Flatten gal took : 198 ms
[2021-05-16 10:58:35] [INFO ] Input system was already deterministic with 3034 transitions.
Incomplete random walk after 100000 steps, including 821 resets, run finished after 3259 ms. (steps per millisecond=30 ) properties (out of 106) seen :39
Running SMT prover for 67 properties.
// Phase 1: matrix 3034 rows 2386 cols
[2021-05-16 10:58:39] [INFO ] Computed 20 place invariants in 95 ms
[2021-05-16 10:58:44] [INFO ] SMT Verify possible in real domain returnedunsat :0 sat :0 real:67
[2021-05-16 10:58:48] [INFO ] [Nat]Absence check using 20 positive place invariants in 45 ms returned sat
[2021-05-16 10:58:49] [INFO ] [Nat]Adding state equation constraints to refine reachable states.
[2021-05-16 10:58:52] [INFO ] [Nat]Absence check using state equation in 3541 ms returned unsat :55 sat :12
Attempting to minimize the solution found.
Minimization took 1823 ms.
[2021-05-16 10:58:54] [INFO ] SMT Verify possible in nat domain returned unsat :55 sat :12
Successfully simplified 55 atomic propositions for a total of 16 simplifications.
[2021-05-16 10:58:54] [INFO ] Initial state test concluded for 2 properties.
FORMULA FlexibleBarrier-PT-18b-CTLCardinality-10 TRUE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA FlexibleBarrier-PT-18b-CTLCardinality-14 TRUE TECHNIQUES TOPOLOGICAL INITIAL_STATE
Graph (trivial) has 2325 edges and 2386 vertex of which 110 / 2386 are part of one of the 18 SCC in 14 ms
Free SCC test removed 92 places
Ensure Unique test removed 93 transitions
Reduce isomorphic transitions removed 93 transitions.
Reduce places removed 1 places and 1 transitions.
Drop transitions removed 390 transitions
Trivial Post-agglo rules discarded 390 transitions
Performed 390 trivial Post agglomeration. Transition count delta: 390
Iterating post reduction 0 with 390 rules applied. Total rules applied 391 place count 2293 transition count 2550
Reduce places removed 390 places and 0 transitions.
Performed 1 Post agglomeration using F-continuation condition.Transition count delta: 1
Iterating post reduction 1 with 391 rules applied. Total rules applied 782 place count 1903 transition count 2549
Reduce places removed 1 places and 0 transitions.
Iterating post reduction 2 with 1 rules applied. Total rules applied 783 place count 1902 transition count 2549
Performed 106 Pre agglomeration using Quasi-Persistent + Divergent Free condition..
Pre-agglomeration after 3 with 106 Pre rules applied. Total rules applied 783 place count 1902 transition count 2443
Deduced a syphon composed of 106 places in 2 ms
Reduce places removed 106 places and 0 transitions.
Iterating global reduction 3 with 212 rules applied. Total rules applied 995 place count 1796 transition count 2443
Discarding 705 places :
Symmetric choice reduction at 3 with 705 rule applications. Total rules 1700 place count 1091 transition count 1738
Iterating global reduction 3 with 705 rules applied. Total rules applied 2405 place count 1091 transition count 1738
Ensure Unique test removed 15 transitions
Reduce isomorphic transitions removed 15 transitions.
Iterating post reduction 3 with 15 rules applied. Total rules applied 2420 place count 1091 transition count 1723
Performed 2 Pre agglomeration using Quasi-Persistent + Divergent Free condition..
Pre-agglomeration after 4 with 2 Pre rules applied. Total rules applied 2420 place count 1091 transition count 1721
Deduced a syphon composed of 2 places in 2 ms
Reduce places removed 2 places and 0 transitions.
Iterating global reduction 4 with 4 rules applied. Total rules applied 2424 place count 1089 transition count 1721
Discarding 159 places :
Symmetric choice reduction at 4 with 159 rule applications. Total rules 2583 place count 930 transition count 1562
Iterating global reduction 4 with 159 rules applied. Total rules applied 2742 place count 930 transition count 1562
Ensure Unique test removed 158 transitions
Reduce isomorphic transitions removed 158 transitions.
Iterating post reduction 4 with 158 rules applied. Total rules applied 2900 place count 930 transition count 1404
Performed 104 Post agglomeration using F-continuation condition.Transition count delta: 104
Deduced a syphon composed of 104 places in 0 ms
Reduce places removed 104 places and 0 transitions.
Iterating global reduction 5 with 208 rules applied. Total rules applied 3108 place count 826 transition count 1300
Discarding 94 places :
Symmetric choice reduction at 5 with 94 rule applications. Total rules 3202 place count 732 transition count 1206
Iterating global reduction 5 with 94 rules applied. Total rules applied 3296 place count 732 transition count 1206
Ensure Unique test removed 94 transitions
Reduce isomorphic transitions removed 94 transitions.
Iterating post reduction 5 with 94 rules applied. Total rules applied 3390 place count 732 transition count 1112
Drop transitions removed 18 transitions
Redundant transition composition rules discarded 18 transitions
Iterating global reduction 6 with 18 rules applied. Total rules applied 3408 place count 732 transition count 1094
Reduce places removed 1 places and 1 transitions.
Iterating global reduction 6 with 1 rules applied. Total rules applied 3409 place count 731 transition count 1093
Reduce places removed 1 places and 1 transitions.
Iterating global reduction 6 with 1 rules applied. Total rules applied 3410 place count 730 transition count 1092
Applied a total of 3410 rules in 1260 ms. Remains 730 /2386 variables (removed 1656) and now considering 1092/3034 (removed 1942) transitions.
[2021-05-16 10:58:56] [INFO ] Initial state reduction rules for CTL removed 1 formulas.
[2021-05-16 10:58:56] [INFO ] Flatten gal took : 45 ms
FORMULA FlexibleBarrier-PT-18b-CTLCardinality-12 FALSE TECHNIQUES TOPOLOGICAL INITIAL_STATE
[2021-05-16 10:58:56] [INFO ] Flatten gal took : 46 ms
[2021-05-16 10:58:56] [INFO ] Input system was already deterministic with 1092 transitions.
[2021-05-16 10:58:56] [INFO ] Initial state reduction rules for CTL removed 5 formulas.
[2021-05-16 10:58:56] [INFO ] Flatten gal took : 110 ms
FORMULA FlexibleBarrier-PT-18b-CTLCardinality-15 TRUE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA FlexibleBarrier-PT-18b-CTLCardinality-11 TRUE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA FlexibleBarrier-PT-18b-CTLCardinality-09 FALSE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA FlexibleBarrier-PT-18b-CTLCardinality-08 FALSE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA FlexibleBarrier-PT-18b-CTLCardinality-03 TRUE TECHNIQUES TOPOLOGICAL INITIAL_STATE
[2021-05-16 10:58:56] [INFO ] Flatten gal took : 97 ms
[2021-05-16 10:58:56] [INFO ] Applying decomposition
[2021-05-16 10:58:56] [INFO ] Flatten gal took : 99 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/graph14558518249356607768.txt, -o, /tmp/graph14558518249356607768.bin, -w, /tmp/graph14558518249356607768.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/graph14558518249356607768.bin, -l, -1, -v, -w, /tmp/graph14558518249356607768.weights, -q, 0, -e, 0.001], workingDir=null]
[2021-05-16 10:58:57] [INFO ] Decomposing Gal with order
[2021-05-16 10:58:57] [INFO ] Rewriting arrays to variables to allow decomposition.
[2021-05-16 10:58:58] [INFO ] Removed a total of 805 redundant transitions.
[2021-05-16 10:58:58] [INFO ] Flatten gal took : 731 ms
[2021-05-16 10:58:58] [INFO ] Fuse similar labels procedure discarded/fused a total of 158 labels/synchronizations in 148 ms.
[2021-05-16 10:58:59] [INFO ] Time to serialize gal into /tmp/CTLCardinality1447204987064548407.gal : 68 ms
[2021-05-16 10:58:59] [INFO ] Time to serialize properties into /tmp/CTLCardinality12865427032987546304.ctl : 3 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/CTLCardinality1447204987064548407.gal, -t, CGAL, -ctl, /tmp/CTLCardinality12865427032987546304.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/CTLCardinality1447204987064548407.gal -t CGAL -ctl /tmp/CTLCardinality12865427032987546304.ctl --gen-order FOLLOW
No direction supplied, using forward translation only.
Parsed 8 CTL formulae.
Detected timeout of ITS tools.
[2021-05-16 11:19:16] [INFO ] Applying decomposition
[2021-05-16 11:19:19] [INFO ] Flatten gal took : 2471 ms
[2021-05-16 11:19:19] [INFO ] Decomposing Gal with order
[2021-05-16 11:19:19] [INFO ] Rewriting arrays to variables to allow decomposition.
[2021-05-16 11:19:20] [INFO ] Removed a total of 566 redundant transitions.
[2021-05-16 11:19:20] [INFO ] Flatten gal took : 751 ms
[2021-05-16 11:19:22] [INFO ] Fuse similar labels procedure discarded/fused a total of 2110 labels/synchronizations in 1230 ms.
[2021-05-16 11:19:24] [INFO ] Time to serialize gal into /tmp/CTLCardinality979071122786659718.gal : 82 ms
[2021-05-16 11:19:24] [INFO ] Time to serialize properties into /tmp/CTLCardinality14715396323510716656.ctl : 3 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/CTLCardinality979071122786659718.gal, -t, CGAL, -ctl, /tmp/CTLCardinality14715396323510716656.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/CTLCardinality979071122786659718.gal -t CGAL -ctl /tmp/CTLCardinality14715396323510716656.ctl --gen-order FOLLOW
No direction supplied, using forward translation only.
Parsed 8 CTL formulae.
Detected timeout of ITS tools.
[2021-05-16 11:39:40] [INFO ] Flatten gal took : 1095 ms
[2021-05-16 11:39:41] [INFO ] Input system was already deterministic with 3034 transitions.
[2021-05-16 11:39:42] [INFO ] Transformed 2386 places.
[2021-05-16 11:39:42] [INFO ] Transformed 3034 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 11:39:43] [INFO ] Time to serialize gal into /tmp/CTLCardinality11780616264744085094.gal : 19 ms
[2021-05-16 11:39:43] [INFO ] Time to serialize properties into /tmp/CTLCardinality5112041676160525662.ctl : 6 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/CTLCardinality11780616264744085094.gal, -t, CGAL, -ctl, /tmp/CTLCardinality5112041676160525662.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/CTLCardinality11780616264744085094.gal -t CGAL -ctl /tmp/CTLCardinality5112041676160525662.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 8 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-18b"
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-18b, 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-162075331100121"
echo "====================================================================="
echo
echo "--------------------"
echo "preparation of the directory to be used:"

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