fond
Model Checking Contest 2021
11th edition, Paris, France, June 23, 2021
Execution of r223-tall-162098216000198
Last Updated
Jun 28, 2021

About the Execution of ITS-Tools for ShieldIIPs-PT-050B

Execution Summary
Max Memory
Used (MB)
Time wait (ms) CPU Usage (ms) I/O Wait (ms) Computed Result Execution
Status
700.779 64338.00 81349.00 180.10 F 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.r223-tall-162098216000198.qcow2', fmt=qcow2 size=4294967296 backing_file='/data/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 ShieldIIPs-PT-050B, examination is StableMarking
Time confinement is 1800 seconds
Memory confinement is 16384 MBytes
Number of cores is 4
Run identifier is r223-tall-162098216000198
=====================================================================

--------------------
preparation of the directory to be used:
/home/mcc/execution
total 1.2M
-rw-r--r-- 1 mcc users 15K May 5 16:58 CTLCardinality.txt
-rw-r--r-- 1 mcc users 134K May 10 09:44 CTLCardinality.xml
-rw-r--r-- 1 mcc users 11K May 5 16:58 CTLFireability.txt
-rw-r--r-- 1 mcc users 88K May 10 09:44 CTLFireability.xml
-rw-r--r-- 1 mcc users 4.2K May 6 14:48 GenericPropertiesDefinition.xml
-rw-r--r-- 1 mcc users 2.9K Mar 28 16:36 LTLCardinality.txt
-rw-r--r-- 1 mcc users 19K Mar 28 16:36 LTLCardinality.xml
-rw-r--r-- 1 mcc users 1.9K Mar 28 16:36 LTLFireability.txt
-rw-r--r-- 1 mcc users 15K Mar 28 16:36 LTLFireability.xml
-rw-r--r-- 1 mcc users 4.3K Mar 27 11:56 ReachabilityCardinality.txt
-rw-r--r-- 1 mcc users 23K Mar 27 11:56 ReachabilityCardinality.xml
-rw-r--r-- 1 mcc users 2.8K Mar 25 17:46 ReachabilityFireability.txt
-rw-r--r-- 1 mcc users 17K Mar 25 17:46 ReachabilityFireability.xml
-rw-r--r-- 1 mcc users 1.7K Mar 22 08:16 UpperBounds.txt
-rw-r--r-- 1 mcc users 3.7K Mar 22 08:16 UpperBounds.xml
-rw-r--r-- 1 mcc users 6 May 5 16:52 equiv_col
-rw-r--r-- 1 mcc users 5 May 5 16:52 instance
-rw-r--r-- 1 mcc users 6 May 5 16:52 iscolored
-rw-r--r-- 1 mcc users 846K May 5 16:52 model.pnml

--------------------
content from stdout:

=== Data for post analysis generated by BenchKit (invocation template)

The expected result is a vector of booleans
BOOL_VECTOR

FORMULA_NAME StableMarking

=== Now, execution of the tool begins

BK_START 1621071000124

Running Version 0
[2021-05-15 09:30:01] [INFO ] Running its-tools with arguments : [-pnfolder, /home/mcc/execution, -examination, StableMarking, -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, 1800]
[2021-05-15 09:30:01] [INFO ] Parsing pnml file : /home/mcc/execution/model.pnml
[2021-05-15 09:30:01] [INFO ] Load time of PNML (sax parser for PT used): 174 ms
[2021-05-15 09:30:02] [INFO ] Transformed 3003 places.
[2021-05-15 09:30:02] [INFO ] Transformed 2953 transitions.
[2021-05-15 09:30:02] [INFO ] Found NUPN structural information;
[2021-05-15 09:30:02] [INFO ] Parsed PT model containing 3003 places and 2953 transitions in 377 ms.
Structural test allowed to assert that 1352 places are NOT stable. Took 26 ms.
Incomplete random walk after 10000 steps, including 2 resets, run finished after 736 ms. (steps per millisecond=13 ) properties (out of 1651) seen :859
Running SMT prover for 792 properties.
// Phase 1: matrix 2953 rows 3003 cols
[2021-05-15 09:30:03] [INFO ] Computed 451 place invariants in 39 ms
[2021-05-15 09:30:28] [WARNING] SMT solver failed with error :SMT solver raised an error when submitting script.... while checking expressions.
Fused 792 Parikh solutions to 1 different solutions.
Support contains 792 out of 3003 places. Attempting structural reductions.
Starting structural reductions, iteration 0 : 3003/3003 places, 2953/2953 transitions.
Drop transitions removed 229 transitions
Trivial Post-agglo rules discarded 229 transitions
Performed 229 trivial Post agglomeration. Transition count delta: 229
Iterating post reduction 0 with 229 rules applied. Total rules applied 229 place count 3003 transition count 2724
Reduce places removed 229 places and 0 transitions.
Iterating post reduction 1 with 229 rules applied. Total rules applied 458 place count 2774 transition count 2724
Performed 208 Pre agglomeration using Quasi-Persistent + Divergent Free condition..
Pre-agglomeration after 2 with 208 Pre rules applied. Total rules applied 458 place count 2774 transition count 2516
Deduced a syphon composed of 208 places in 7 ms
Reduce places removed 208 places and 0 transitions.
Iterating global reduction 2 with 416 rules applied. Total rules applied 874 place count 2566 transition count 2516
Discarding 147 places :
Symmetric choice reduction at 2 with 147 rule applications. Total rules 1021 place count 2419 transition count 2369
Iterating global reduction 2 with 147 rules applied. Total rules applied 1168 place count 2419 transition count 2369
Performed 86 Pre agglomeration using Quasi-Persistent + Divergent Free condition..
Pre-agglomeration after 2 with 86 Pre rules applied. Total rules applied 1168 place count 2419 transition count 2283
Deduced a syphon composed of 86 places in 18 ms
Reduce places removed 86 places and 0 transitions.
Iterating global reduction 2 with 172 rules applied. Total rules applied 1340 place count 2333 transition count 2283
Performed 662 Post agglomeration using F-continuation condition.Transition count delta: 662
Deduced a syphon composed of 662 places in 5 ms
Reduce places removed 662 places and 0 transitions.
Iterating global reduction 2 with 1324 rules applied. Total rules applied 2664 place count 1671 transition count 1621
Renaming transitions due to excessive name length > 1024 char.
Partial Free-agglomeration rule applied 191 times.
Drop transitions removed 191 transitions
Iterating global reduction 2 with 191 rules applied. Total rules applied 2855 place count 1671 transition count 1621
Reduce places removed 1 places and 1 transitions.
Iterating global reduction 2 with 1 rules applied. Total rules applied 2856 place count 1670 transition count 1620
Reduce places removed 1 places and 0 transitions.
Iterating post reduction 2 with 1 rules applied. Total rules applied 2857 place count 1669 transition count 1620
Applied a total of 2857 rules in 893 ms. Remains 1669 /3003 variables (removed 1334) and now considering 1620/2953 (removed 1333) transitions.
Finished structural reductions, in 1 iterations. Remains : 1669/3003 places, 1620/2953 transitions.
[2021-05-15 09:30:29] [INFO ] Flatten gal took : 203 ms
[2021-05-15 09:30:29] [INFO ] Flatten gal took : 148 ms
[2021-05-15 09:30:29] [INFO ] Time to serialize gal into /tmp/ReachabilityCardinality17318461595295507088.gal : 45 ms
[2021-05-15 09:30:29] [INFO ] Time to serialize properties into /tmp/ReachabilityCardinality17225878455635797625.prop : 4 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-reach-linux64, --gc-threshold, 2000000, --quiet, -i, /tmp/ReachabilityCardinality17318461595295507088.gal, -t, CGAL, -reachable-file, /tmp/ReachabilityCardinality17225878455635797625.prop, --nowitness, --gen-order, FOLLOW], workingDir=/home/mcc/execution]

its-reach command run as :

/home/mcc/BenchKit/itstools/plugins/fr.lip6.move.gal.itstools.binaries_1.0.0.202104292328/bin/its-reach-linux64 --gc-threshold 2000000 --quiet -i /tmp/ReachabilityCardinality17318461595295507088.gal -t CGAL -reachable-file /tmp/ReachabilityCardinality17225878455635797625.prop --nowitness --gen-order FOLLOW
Loading property file /tmp/ReachabilityCardinality17225878455635797625.prop.
SDD proceeding with computation,792 properties remain. new max is 4
SDD size :1 after 5
SDD proceeding with computation,792 properties remain. new max is 8
SDD size :5 after 10
SDD proceeding with computation,792 properties remain. new max is 16
SDD size :10 after 19
SDD proceeding with computation,792 properties remain. new max is 32
SDD size :19 after 36
Invariant property smplace_1229 does not hold.
Invariant property smplace_1218 does not hold.
Invariant property smplace_1214 does not hold.
Invariant property smplace_1213 does not hold.
Invariant property smplace_1196 does not hold.
Invariant property smplace_1170 does not hold.
Invariant property smplace_1159 does not hold.
Invariant property smplace_1155 does not hold.
Invariant property smplace_1154 does not hold.
Invariant property smplace_1138 does not hold.
Invariant property smplace_1137 does not hold.
Invariant property smplace_1111 does not hold.
Invariant property smplace_1100 does not hold.
Invariant property smplace_1096 does not hold.
Invariant property smplace_1079 does not hold.
Invariant property smplace_1078 does not hold.
SDD proceeding with computation,776 properties remain. new max is 32
SDD size :36 after 69
Invariant property smplace_1095 does not hold.
Invariant property smplace_1052 does not hold.
Invariant property smplace_1041 does not hold.
Invariant property smplace_1037 does not hold.
Invariant property smplace_1036 does not hold.
Invariant property smplace_1020 does not hold.
Invariant property smplace_1019 does not hold.
Invariant property smplace_993 does not hold.
Invariant property smplace_982 does not hold.
Invariant property smplace_978 does not hold.
Invariant property smplace_977 does not hold.
Invariant property smplace_961 does not hold.
Invariant property smplace_960 does not hold.
Invariant property smplace_934 does not hold.
Invariant property smplace_923 does not hold.
Invariant property smplace_919 does not hold.
Invariant property smplace_918 does not hold.
Invariant property smplace_902 does not hold.
Invariant property smplace_901 does not hold.
Invariant property smplace_875 does not hold.
Invariant property smplace_864 does not hold.
Invariant property smplace_860 does not hold.
Invariant property smplace_859 does not hold.
Invariant property smplace_843 does not hold.
Invariant property smplace_842 does not hold.
Invariant property smplace_816 does not hold.
Invariant property smplace_805 does not hold.
Invariant property smplace_801 does not hold.
Invariant property smplace_800 does not hold.
Invariant property smplace_784 does not hold.
Invariant property smplace_783 does not hold.
Invariant property smplace_757 does not hold.
Invariant property smplace_746 does not hold.
Invariant property smplace_742 does not hold.
Invariant property smplace_741 does not hold.
Invariant property smplace_725 does not hold.
Invariant property smplace_724 does not hold.
Invariant property smplace_698 does not hold.
Invariant property smplace_687 does not hold.
Invariant property smplace_683 does not hold.
Invariant property smplace_682 does not hold.
Invariant property smplace_666 does not hold.
Invariant property smplace_665 does not hold.
Invariant property smplace_639 does not hold.
Invariant property smplace_628 does not hold.
Invariant property smplace_624 does not hold.
Invariant property smplace_623 does not hold.
Invariant property smplace_607 does not hold.
Invariant property smplace_606 does not hold.
Invariant property smplace_580 does not hold.
Invariant property smplace_569 does not hold.
Invariant property smplace_565 does not hold.
Invariant property smplace_564 does not hold.
Invariant property smplace_548 does not hold.
Invariant property smplace_547 does not hold.
Invariant property smplace_521 does not hold.
Invariant property smplace_510 does not hold.
Invariant property smplace_506 does not hold.
Invariant property smplace_505 does not hold.
Invariant property smplace_489 does not hold.
Invariant property smplace_488 does not hold.
Invariant property smplace_462 does not hold.
Invariant property smplace_451 does not hold.
Invariant property smplace_447 does not hold.
Invariant property smplace_430 does not hold.
Invariant property smplace_429 does not hold.
SDD proceeding with computation,710 properties remain. new max is 32
SDD size :69 after 102
Invariant property smplace_446 does not hold.
Invariant property smplace_403 does not hold.
Invariant property smplace_392 does not hold.
Invariant property smplace_388 does not hold.
Invariant property smplace_387 does not hold.
Invariant property smplace_371 does not hold.
Invariant property smplace_370 does not hold.
Invariant property smplace_344 does not hold.
Invariant property smplace_333 does not hold.
Invariant property smplace_329 does not hold.
Invariant property smplace_328 does not hold.
Invariant property smplace_312 does not hold.
Invariant property smplace_311 does not hold.
Invariant property smplace_285 does not hold.
Invariant property smplace_274 does not hold.
Invariant property smplace_270 does not hold.
Invariant property smplace_269 does not hold.
Invariant property smplace_253 does not hold.
Invariant property smplace_252 does not hold.
Invariant property smplace_226 does not hold.
Invariant property smplace_215 does not hold.
Invariant property smplace_211 does not hold.
Invariant property smplace_210 does not hold.
Invariant property smplace_194 does not hold.
Invariant property smplace_193 does not hold.
Invariant property smplace_167 does not hold.
Invariant property smplace_156 does not hold.
Invariant property smplace_152 does not hold.
Invariant property smplace_151 does not hold.
Invariant property smplace_135 does not hold.
Invariant property smplace_134 does not hold.
Invariant property smplace_108 does not hold.
Invariant property smplace_97 does not hold.
Invariant property smplace_93 does not hold.
Invariant property smplace_92 does not hold.
Invariant property smplace_76 does not hold.
Invariant property smplace_75 does not hold.
Invariant property smplace_73 does not hold.
Invariant property smplace_52 does not hold.
Invariant property smplace_51 does not hold.
SDD proceeding with computation,670 properties remain. new max is 32
SDD size :102 after 126
Invariant property smplace_107 does not hold.
Invariant property smplace_104 does not hold.
Invariant property smplace_103 does not hold.
Invariant property smplace_102 does not hold.
Invariant property smplace_89 does not hold.
Invariant property smplace_88 does not hold.
Invariant property smplace_83 does not hold.
Invariant property smplace_79 does not hold.
Invariant property smplace_72 does not hold.
Invariant property smplace_66 does not hold.
Invariant property smplace_63 does not hold.
Invariant property smplace_62 does not hold.
SDD proceeding with computation,658 properties remain. new max is 32
SDD size :126 after 210
Invariant property smplace_82 does not hold.
Invariant property smplace_81 does not hold.
Invariant property smplace_69 does not hold.
Invariant property smplace_68 does not hold.
Invariant property smplace_67 does not hold.
SDD proceeding with computation,653 properties remain. new max is 32
SDD size :210 after 310
SDD proceeding with computation,653 properties remain. new max is 64
SDD size :310 after 535
Invariant property smplace_96 does not hold.
Invariant property smplace_70 does not hold.
Invariant property smplace_65 does not hold.
SDD proceeding with computation,650 properties remain. new max is 64
SDD size :535 after 1422
Invariant property smplace_95 does not hold.
SDD proceeding with computation,649 properties remain. new max is 64
SDD size :1422 after 1846
Invariant property smplace_106 does not hold.
Invariant property smplace_80 does not hold.
SDD proceeding with computation,647 properties remain. new max is 64
SDD size :1846 after 3280
SDD proceeding with computation,647 properties remain. new max is 128
SDD size :3280 after 6950
SDD proceeding with computation,647 properties remain. new max is 256
SDD size :6950 after 7528
Invariant property smplace_132 does not hold.
Invariant property smplace_78 does not hold.
SDD proceeding with computation,645 properties remain. new max is 256
SDD size :7528 after 34106
SDD proceeding with computation,645 properties remain. new max is 512
SDD size :34106 after 47044
Invariant property smplace_166 does not hold.
Invariant property smplace_142 does not hold.
Invariant property smplace_131 does not hold.
SDD proceeding with computation,642 properties remain. new max is 512
SDD size :47044 after 340499
Detected timeout of ITS tools.
[2021-05-15 09:30:44] [INFO ] Flatten gal took : 123 ms
[2021-05-15 09:30:44] [INFO ] Applying decomposition
[2021-05-15 09:30:45] [INFO ] Flatten gal took : 83 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/graph16520767246911545302.txt, -o, /tmp/graph16520767246911545302.bin, -w, /tmp/graph16520767246911545302.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/graph16520767246911545302.bin, -l, -1, -v, -w, /tmp/graph16520767246911545302.weights, -q, 0, -e, 0.001], workingDir=null]
[2021-05-15 09:30:45] [INFO ] Decomposing Gal with order
[2021-05-15 09:30:45] [INFO ] Rewriting arrays to variables to allow decomposition.
[2021-05-15 09:30:45] [INFO ] Removed a total of 1094 redundant transitions.
[2021-05-15 09:30:45] [INFO ] Flatten gal took : 182 ms
[2021-05-15 09:30:46] [INFO ] Fuse similar labels procedure discarded/fused a total of 334 labels/synchronizations in 48 ms.
[2021-05-15 09:30:46] [INFO ] Time to serialize gal into /tmp/ReachabilityCardinality3698098032328797889.gal : 19 ms
[2021-05-15 09:30:46] [INFO ] Time to serialize properties into /tmp/ReachabilityCardinality6717220879092845169.prop : 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-reach-linux64, --gc-threshold, 2000000, --quiet, -i, /tmp/ReachabilityCardinality3698098032328797889.gal, -t, CGAL, -reachable-file, /tmp/ReachabilityCardinality6717220879092845169.prop, --nowitness], workingDir=/home/mcc/execution]

its-reach command run as :

/home/mcc/BenchKit/itstools/plugins/fr.lip6.move.gal.itstools.binaries_1.0.0.202104292328/bin/its-reach-linux64 --gc-threshold 2000000 --quiet -i /tmp/ReachabilityCardinality3698098032328797889.gal -t CGAL -reachable-file /tmp/ReachabilityCardinality6717220879092845169.prop --nowitness
Loading property file /tmp/ReachabilityCardinality6717220879092845169.prop.
SDD proceeding with computation,642 properties remain. new max is 4
SDD size :1 after 1
SDD proceeding with computation,642 properties remain. new max is 8
SDD size :1 after 1
SDD proceeding with computation,642 properties remain. new max is 16
SDD size :1 after 1
SDD proceeding with computation,642 properties remain. new max is 32
SDD size :1 after 1
SDD proceeding with computation,642 properties remain. new max is 64
SDD size :1 after 1
SDD proceeding with computation,642 properties remain. new max is 128
SDD size :1 after 1
Detected timeout of ITS tools.
Built C files in :
/tmp/ltsmin12881542347557312292
[2021-05-15 09:31:01] [INFO ] Built C files in 76ms conformant to PINS (ltsmin variant)in folder :/tmp/ltsmin12881542347557312292
Running compilation step : CommandLine [args=[gcc, -c, -I/home/mcc/BenchKit/itstools/plugins/fr.lip6.move.gal.ltsmin.binaries_1.0.0.202104292328/bin/include/, -I., -std=c99, -fPIC, -O2, model.c], workingDir=/tmp/ltsmin12881542347557312292]
WARNING : LTS min runner thread failed on error :java.lang.RuntimeException: Compilation or link of executable timed out.java.util.concurrent.TimeoutException: Subprocess running CommandLine [args=[gcc, -c, -I/home/mcc/BenchKit/itstools/plugins/fr.lip6.move.gal.ltsmin.binaries_1.0.0.202104292328/bin/include/, -I., -std=c99, -fPIC, -O2, model.c], workingDir=/tmp/ltsmin12881542347557312292] killed by timeout after 1 SECONDS
java.lang.RuntimeException: Compilation or link of executable timed out.java.util.concurrent.TimeoutException: Subprocess running CommandLine [args=[gcc, -c, -I/home/mcc/BenchKit/itstools/plugins/fr.lip6.move.gal.ltsmin.binaries_1.0.0.202104292328/bin/include/, -I., -std=c99, -fPIC, -O2, model.c], workingDir=/tmp/ltsmin12881542347557312292] killed by timeout after 1 SECONDS
at fr.lip6.move.gal.application.LTSminRunner$1.run(LTSminRunner.java:79)
at java.base/java.lang.Thread.run(Thread.java:834)
Finished random walk after 76294 steps, including 13 resets, run visited all 642 properties in 1296 ms. (steps per millisecond=58 )
Able to resolve query StableMarking after proving 1652 properties.
FORMULA StableMarking FALSE TECHNIQUES RANDOM_WALK MARKED_SUFFIX_TEST DECISION_DIAGRAMS COLLATERAL_PROCESSING TOPOLOGICAL

BK_STOP 1621071064462

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

+ export BINDIR=/home/mcc/BenchKit/bin//../
+ BINDIR=/home/mcc/BenchKit/bin//../
++ pwd
+ export MODEL=/home/mcc/execution
+ MODEL=/home/mcc/execution
+ [[ StableMarking = StateSpace ]]
+ /home/mcc/BenchKit/bin//..//runeclipse.sh /home/mcc/execution StableMarking -its -ltsmin -greatspnpath /home/mcc/BenchKit/bin//..//greatspn/ -order META -manyOrder -smt -timeout 1800
+ 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 StableMarking -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 1800 -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="ShieldIIPs-PT-050B"
export BK_EXAMINATION="StableMarking"
export BK_TOOL="itstools"
export BK_RESULT_DIR="/tmp/BK_RESULTS/OUTPUTS"
export BK_TIME_CONFINEMENT="1800"
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 ShieldIIPs-PT-050B, examination is StableMarking"
echo " Time confinement is $BK_TIME_CONFINEMENT seconds"
echo " Memory confinement is 16384 MBytes"
echo " Number of cores is 4"
echo " Run identifier is r223-tall-162098216000198"
echo "====================================================================="
echo
echo "--------------------"
echo "preparation of the directory to be used:"

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