fond
Model Checking Contest 2022
12th edition, Bergen, Norway, June 21, 2022
Execution of r229-tall-165286033900186
Last Updated
Jun 22, 2022

About the Execution of ITS-Tools for ShieldIIPt-PT-030B

Execution Summary
Max Memory
Used (MB)
Time wait (ms) CPU Usage (ms) I/O Wait (ms) Computed Result Execution
Status
11384.623 1800000.00 7001664.00 270.50 [undef] Time out reached

Execution Chart

We display below the execution chart for this examination (boot time has been removed).

Trace from the execution

Formatting '/data/fkordon/mcc2022-input.r229-tall-165286033900186.qcow2', fmt=qcow2 size=4294967296 backing_file=/data/fkordon/mcc2022-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 ShieldIIPt-PT-030B, examination is ReachabilityDeadlock
Time confinement is 1800 seconds
Memory confinement is 16384 MBytes
Number of cores is 4
Run identifier is r229-tall-165286033900186
=====================================================================

--------------------
preparation of the directory to be used:
/home/mcc/execution
total 760K
-rw-r--r-- 1 mcc users 7.6K Apr 29 18:26 CTLCardinality.txt
-rw-r--r-- 1 mcc users 84K Apr 29 18:26 CTLCardinality.xml
-rw-r--r-- 1 mcc users 6.6K Apr 29 18:26 CTLFireability.txt
-rw-r--r-- 1 mcc users 64K Apr 29 18:26 CTLFireability.xml
-rw-r--r-- 1 mcc users 4.2K May 10 09:34 GenericPropertiesDefinition.xml
-rw-r--r-- 1 mcc users 3.6K May 9 08:51 LTLCardinality.txt
-rw-r--r-- 1 mcc users 25K May 9 08:51 LTLCardinality.xml
-rw-r--r-- 1 mcc users 2.3K May 9 08:51 LTLFireability.txt
-rw-r--r-- 1 mcc users 17K May 9 08:51 LTLFireability.xml
-rw-r--r-- 1 mcc users 1.7K May 9 08:51 UpperBounds.txt
-rw-r--r-- 1 mcc users 3.7K May 9 08:51 UpperBounds.xml
-rw-r--r-- 1 mcc users 6 May 10 09:34 equiv_col
-rw-r--r-- 1 mcc users 5 May 10 09:34 instance
-rw-r--r-- 1 mcc users 6 May 10 09:34 iscolored
-rw-r--r-- 1 mcc users 512K May 10 09:34 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 ReachabilityDeadlock

=== Now, execution of the tool begins

BK_START 1653032633687

Running Version 202205111006
[2022-05-20 07:43:54] [INFO ] Running its-tools with arguments : [-pnfolder, /home/mcc/execution, -examination, ReachabilityDeadlock, -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]
[2022-05-20 07:43:54] [INFO ] Parsing pnml file : /home/mcc/execution/model.pnml
[2022-05-20 07:43:55] [INFO ] Load time of PNML (sax parser for PT used): 162 ms
[2022-05-20 07:43:55] [INFO ] Transformed 2103 places.
[2022-05-20 07:43:55] [INFO ] Transformed 1953 transitions.
[2022-05-20 07:43:55] [INFO ] Found NUPN structural information;
[2022-05-20 07:43:55] [INFO ] Parsed PT model containing 2103 places and 1953 transitions in 322 ms.
Parsed 1 properties from file /home/mcc/execution/ReachabilityDeadlock.xml in 3 ms.
Working with output stream class java.io.PrintStream
Built sparse matrix representations for Structural reductions in 8 ms.16788KB memory used
Starting structural reductions in DEADLOCKS mode, iteration 0 : 2103/2103 places, 1953/1953 transitions.
Computed a total of 600 stabilizing places and 600 stable transitions
Computed a total of 600 stabilizing places and 600 stable transitions
Drop transitions removed 512 transitions
Trivial Post-agglo rules discarded 512 transitions
Performed 512 trivial Post agglomeration. Transition count delta: 512
Iterating post reduction 0 with 512 rules applied. Total rules applied 512 place count 2103 transition count 1441
Reduce places removed 512 places and 0 transitions.
Ensure Unique test removed 1 transitions
Reduce isomorphic transitions removed 1 transitions.
Computed a total of 360 stabilizing places and 360 stable transitions
Drop transitions removed 1 transitions
Trivial Post-agglo rules discarded 1 transitions
Performed 1 trivial Post agglomeration. Transition count delta: 1
Iterating post reduction 1 with 514 rules applied. Total rules applied 1026 place count 1591 transition count 1439
Reduce places removed 1 places and 0 transitions.
Computed a total of 360 stabilizing places and 360 stable transitions
Iterating post reduction 2 with 1 rules applied. Total rules applied 1027 place count 1590 transition count 1439
Computed a total of 360 stabilizing places and 360 stable transitions
Performed 121 Pre agglomeration using Quasi-Persistent + Divergent Free condition..
Pre-agglomeration after 3 with 121 Pre rules applied. Total rules applied 1027 place count 1590 transition count 1318
Deduced a syphon composed of 121 places in 3 ms
Reduce places removed 121 places and 0 transitions.
Iterating global reduction 3 with 242 rules applied. Total rules applied 1269 place count 1469 transition count 1318
Computed a total of 360 stabilizing places and 360 stable transitions
Discarding 210 places :
Symmetric choice reduction at 3 with 210 rule applications. Total rules 1479 place count 1259 transition count 1108
Iterating global reduction 3 with 210 rules applied. Total rules applied 1689 place count 1259 transition count 1108
Computed a total of 240 stabilizing places and 240 stable transitions
Performed 90 Pre agglomeration using Quasi-Persistent + Divergent Free condition..
Pre-agglomeration after 3 with 90 Pre rules applied. Total rules applied 1689 place count 1259 transition count 1018
Deduced a syphon composed of 90 places in 4 ms
Reduce places removed 90 places and 0 transitions.
Iterating global reduction 3 with 180 rules applied. Total rules applied 1869 place count 1169 transition count 1018
Computed a total of 241 stabilizing places and 240 stable transitions
Performed 509 Post agglomeration using F-continuation condition.Transition count delta: 509
Deduced a syphon composed of 509 places in 1 ms
Reduce places removed 509 places and 0 transitions.
Iterating global reduction 3 with 1018 rules applied. Total rules applied 2887 place count 660 transition count 509
Computed a total of 3 stabilizing places and 1 stable transitions
Renaming transitions due to excessive name length > 1024 char.
Performed 89 Post agglomeration using F-continuation condition.Transition count delta: -59
Deduced a syphon composed of 89 places in 1 ms
Reduce places removed 89 places and 0 transitions.
Iterating global reduction 3 with 178 rules applied. Total rules applied 3065 place count 571 transition count 568
Computed a total of 3 stabilizing places and 1 stable transitions
Computed a total of 3 stabilizing places and 1 stable transitions
Reduce places removed 1 places and 1 transitions.
Iterating global reduction 3 with 1 rules applied. Total rules applied 3066 place count 570 transition count 567
Reduce places removed 2 places and 0 transitions.
Computed a total of 0 stabilizing places and 0 stable transitions
Iterating post reduction 3 with 2 rules applied. Total rules applied 3068 place count 568 transition count 567
Computed a total of 0 stabilizing places and 0 stable transitions
Performed 1 Pre agglomeration using Quasi-Persistent + Divergent Free condition..
Pre-agglomeration after 4 with 1 Pre rules applied. Total rules applied 3068 place count 568 transition count 566
Deduced a syphon composed of 1 places in 2 ms
Reduce places removed 1 places and 0 transitions.
Iterating global reduction 4 with 2 rules applied. Total rules applied 3070 place count 567 transition count 566
Computed a total of 0 stabilizing places and 0 stable transitions
Computed a total of 0 stabilizing places and 0 stable transitions
Applied a total of 3070 rules in 714 ms. Remains 567 /2103 variables (removed 1536) and now considering 566/1953 (removed 1387) transitions.
Finished structural reductions, in 1 iterations. Remains : 567/2103 places, 566/1953 transitions.
Random walk for 1250000 steps, including 0 resets, run took 6380 ms (no deadlock found). (steps per millisecond=195 )
Random directed walk for 1250000 steps, including 0 resets, run took 4943 ms (no deadlock found). (steps per millisecond=252 )
// Phase 1: matrix 566 rows 567 cols
[2022-05-20 07:44:07] [INFO ] Computed 269 place invariants in 17 ms
[2022-05-20 07:44:07] [INFO ] [Real]Absence check using 269 positive place invariants in 110 ms returned sat
[2022-05-20 07:44:07] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2022-05-20 07:44:08] [INFO ] [Real]Absence check using state equation in 582 ms returned sat
[2022-05-20 07:44:08] [INFO ] Solution in real domain found non-integer solution.
[2022-05-20 07:44:08] [INFO ] [Nat]Absence check using 269 positive place invariants in 90 ms returned sat
[2022-05-20 07:44:08] [INFO ] [Nat]Adding state equation constraints to refine reachable states.
[2022-05-20 07:44:09] [INFO ] [Nat]Absence check using state equation in 561 ms returned sat
[2022-05-20 07:44:09] [INFO ] Computed and/alt/rep : 562/858/562 causal constraints (skipped 0 transitions) in 35 ms.
[2022-05-20 07:44:13] [INFO ] Added : 425 causal constraints over 86 iterations in 4146 ms. Result :sat
Attempting to minimize the solution found.
Minimization took 27 ms.
Parikh directed walk for 470300 steps, including 1000 resets, run took 2541 ms. (steps per millisecond=185 )
Random directed walk for 500000 steps, including 0 resets, run took 1954 ms (no deadlock found). (steps per millisecond=255 )
Random walk for 500000 steps, including 0 resets, run took 2490 ms (no deadlock found). (steps per millisecond=200 )
Random directed walk for 500002 steps, including 0 resets, run took 1948 ms (no deadlock found). (steps per millisecond=256 )
Random walk for 500000 steps, including 0 resets, run took 2496 ms (no deadlock found). (steps per millisecond=200 )
Starting structural reductions in DEADLOCKS mode, iteration 0 : 567/567 places, 566/566 transitions.
Computed a total of 0 stabilizing places and 0 stable transitions
Computed a total of 0 stabilizing places and 0 stable transitions
Computed a total of 0 stabilizing places and 0 stable transitions
Applied a total of 0 rules in 17 ms. Remains 567 /567 variables (removed 0) and now considering 566/566 (removed 0) transitions.
// Phase 1: matrix 566 rows 567 cols
[2022-05-20 07:44:24] [INFO ] Computed 269 place invariants in 6 ms
[2022-05-20 07:44:25] [INFO ] Implicit Places using invariants in 351 ms returned [556]
Discarding 1 places :
Implicit Place search using SMT only with invariants took 354 ms to find 1 implicit places.
Starting structural reductions in DEADLOCKS mode, iteration 1 : 566/567 places, 566/566 transitions.
Computed a total of 0 stabilizing places and 0 stable transitions
Computed a total of 0 stabilizing places and 0 stable transitions
Performed 1 Post agglomeration using F-continuation condition.Transition count delta: 1
Deduced a syphon composed of 1 places in 0 ms
Reduce places removed 1 places and 0 transitions.
Iterating global reduction 0 with 2 rules applied. Total rules applied 2 place count 565 transition count 565
Computed a total of 0 stabilizing places and 0 stable transitions
Computed a total of 0 stabilizing places and 0 stable transitions
Applied a total of 2 rules in 27 ms. Remains 565 /566 variables (removed 1) and now considering 565/566 (removed 1) transitions.
// Phase 1: matrix 565 rows 565 cols
[2022-05-20 07:44:25] [INFO ] Computed 268 place invariants in 2 ms
[2022-05-20 07:44:25] [INFO ] Implicit Places using invariants in 296 ms returned []
// Phase 1: matrix 565 rows 565 cols
[2022-05-20 07:44:25] [INFO ] Computed 268 place invariants in 2 ms
[2022-05-20 07:44:25] [INFO ] Implicit Places using invariants and state equation in 483 ms returned []
Implicit Place search using SMT with State Equation took 781 ms to find 0 implicit places.
Starting structural reductions in DEADLOCKS mode, iteration 2 : 565/567 places, 565/566 transitions.
Finished structural reductions, in 2 iterations. Remains : 565/567 places, 565/566 transitions.
Random walk for 1250000 steps, including 0 resets, run took 6249 ms (no deadlock found). (steps per millisecond=200 )
Random directed walk for 1250003 steps, including 0 resets, run took 4925 ms (no deadlock found). (steps per millisecond=253 )
// Phase 1: matrix 565 rows 565 cols
[2022-05-20 07:44:37] [INFO ] Computed 268 place invariants in 6 ms
[2022-05-20 07:44:37] [INFO ] [Real]Absence check using 268 positive place invariants in 100 ms returned sat
[2022-05-20 07:44:37] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2022-05-20 07:44:37] [INFO ] [Real]Absence check using state equation in 591 ms returned sat
[2022-05-20 07:44:38] [INFO ] Solution in real domain found non-integer solution.
[2022-05-20 07:44:38] [INFO ] [Nat]Absence check using 268 positive place invariants in 98 ms returned sat
[2022-05-20 07:44:38] [INFO ] [Nat]Adding state equation constraints to refine reachable states.
[2022-05-20 07:44:38] [INFO ] [Nat]Absence check using state equation in 568 ms returned sat
[2022-05-20 07:44:38] [INFO ] Computed and/alt/rep : 561/855/561 causal constraints (skipped 0 transitions) in 32 ms.
[2022-05-20 07:44:43] [INFO ] Added : 476 causal constraints over 96 iterations in 4664 ms. Result :sat
Attempting to minimize the solution found.
Minimization took 26 ms.
Parikh directed walk for 263400 steps, including 1000 resets, run took 1568 ms. (steps per millisecond=167 )
Random directed walk for 500001 steps, including 0 resets, run took 2115 ms (no deadlock found). (steps per millisecond=236 )
Random walk for 500000 steps, including 0 resets, run took 2701 ms (no deadlock found). (steps per millisecond=185 )
Random directed walk for 500002 steps, including 0 resets, run took 1943 ms (no deadlock found). (steps per millisecond=257 )
Random walk for 500000 steps, including 0 resets, run took 2517 ms (no deadlock found). (steps per millisecond=198 )
[2022-05-20 07:44:54] [INFO ] Flatten gal took : 161 ms
Using solver Z3 to compute partial order matrices.
Built C files in :
/tmp/ltsmin6589660578044509188
[2022-05-20 07:44:54] [INFO ] Too many transitions (1953) to apply POR reductions. Disabling POR matrices.
[2022-05-20 07:44:54] [INFO ] Applying decomposition
[2022-05-20 07:44:54] [INFO ] Built C files in 64ms conformant to PINS (ltsmin variant)in folder :/tmp/ltsmin6589660578044509188
Running compilation step : cd /tmp/ltsmin6589660578044509188;'/home/mcc/BenchKit/itstools/plugins/fr.lip6.move.gal.ltsmin.binaries_1.0.0.202205111006/bin/limit_time.pl' '360' 'gcc' '-c' '-I/home/mcc/BenchKit/itstools/plugins/fr.lip6.move.gal.ltsmin.binaries_1.0.0.202205111006/bin/include/' '-I.' '-std=c99' '-fPIC' '-O0' 'model.c'
[2022-05-20 07:44:54] [INFO ] Flatten gal took : 93 ms
Converted graph to binary with : '/home/mcc/BenchKit/itstools/plugins/fr.lip6.move.gal.louvain.binaries_1.0.0.202205111006/bin/convert-linux64' '-i' '/tmp/graph2053893218580399922.txt' '-o' '/tmp/graph2053893218580399922.bin' '-w' '/tmp/graph2053893218580399922.weights'
Built communities with : '/home/mcc/BenchKit/itstools/plugins/fr.lip6.move.gal.louvain.binaries_1.0.0.202205111006/bin/louvain-linux64' '/tmp/graph2053893218580399922.bin' '-l' '-1' '-v' '-w' '/tmp/graph2053893218580399922.weights' '-q' '0' '-e' '0.001'
[2022-05-20 07:44:55] [INFO ] Decomposing Gal with order
[2022-05-20 07:44:55] [INFO ] Rewriting arrays to variables to allow decomposition.
[2022-05-20 07:44:55] [INFO ] Removed a total of 180 redundant transitions.
[2022-05-20 07:44:55] [INFO ] Flatten gal took : 181 ms
[2022-05-20 07:44:55] [INFO ] Fuse similar labels procedure discarded/fused a total of 0 labels/synchronizations in 12 ms.
[2022-05-20 07:44:55] [INFO ] Time to serialize gal into /tmp/ReachabilityDeadlock9862464278701208535.gal : 28 ms
Invoking ITS tools like this :cd /home/mcc/execution;'/home/mcc/BenchKit/itstools/plugins/fr.lip6.move.gal.itstools.binaries_1.0.0.202205111006/bin/its-ctl-linux64' '--gc-threshold' '2000000' '--quiet' '-i' '/tmp/ReachabilityDeadlock9862464278701208535.gal' '-t' 'CGAL' '-ctl' 'DEADLOCK'

its-ctl command run as :

/home/mcc/BenchKit/itstools/plugins/fr.lip6.move.gal.itstools.binaries_1.0.0.202205111006/bin/its-ctl-linux64 --gc-threshold 2000000 --quiet -i /tmp/R...225
No direction supplied, using forward translation only.
Compilation finished in 3843 ms.
Running link step : cd /tmp/ltsmin6589660578044509188;'gcc' '-shared' '-o' 'gal.so' 'model.o'
Link finished in 50 ms.
Running LTSmin : cd /tmp/ltsmin6589660578044509188;'/home/mcc/BenchKit/itstools/plugins/fr.lip6.move.gal.ltsmin.binaries_1.0.0.202205111006/bin/pins2lts-mc-linux64' './gal.so' '--threads=8' '-p' '--pins-guards' '--when' '-d'
Detected timeout of ITS tools.
[2022-05-20 07:55:15] [INFO ] Applying decomposition
[2022-05-20 07:55:15] [INFO ] Flatten gal took : 164 ms
[2022-05-20 07:55:16] [INFO ] Decomposing Gal with order
[2022-05-20 07:55:16] [INFO ] Rewriting arrays to variables to allow decomposition.
[2022-05-20 07:55:16] [INFO ] Flatten gal took : 240 ms
[2022-05-20 07:55:17] [INFO ] Fuse similar labels procedure discarded/fused a total of 0 labels/synchronizations in 25 ms.
[2022-05-20 07:55:17] [INFO ] Time to serialize gal into /tmp/ReachabilityDeadlock346511466550115970.gal : 24 ms
Invoking ITS tools like this :cd /home/mcc/execution;'/home/mcc/BenchKit/itstools/plugins/fr.lip6.move.gal.itstools.binaries_1.0.0.202205111006/bin/its-ctl-linux64' '--gc-threshold' '2000000' '--quiet' '-i' '/tmp/ReachabilityDeadlock346511466550115970.gal' '-t' 'CGAL' '-ctl' 'DEADLOCK'

its-ctl command run as :

/home/mcc/BenchKit/itstools/plugins/fr.lip6.move.gal.itstools.binaries_1.0.0.202205111006/bin/its-ctl-linux64 --gc-threshold 2000000 --quiet -i /tmp/R...224
No direction supplied, using forward translation only.
Detected timeout of ITS tools.
[2022-05-20 08:05:37] [INFO ] Flatten gal took : 107 ms
[2022-05-20 08:05:37] [INFO ] Input system was already deterministic with 1953 transitions.
[2022-05-20 08:05:37] [INFO ] Transformed 2103 places.
[2022-05-20 08:05:37] [INFO ] Transformed 1953 transitions.
Running greatSPN : cd /home/mcc/execution;'/home/mcc/BenchKit/bin//..//greatspn//bin/pinvar' '/home/mcc/execution/gspn'
Run of greatSPN captured in /home/mcc/execution/outPut.txt
Running greatSPN : cd /home/mcc/execution;'/home/mcc/BenchKit/bin//..//greatspn//bin/RGMEDD2' '/home/mcc/execution/gspn' '-META' '-varord-only'
Run of greatSPN captured in /home/mcc/execution/outPut.txt
Using order generated by GreatSPN with heuristic : META
[2022-05-20 08:05:38] [INFO ] Time to serialize gal into /tmp/ReachabilityDeadlock14467203427230503631.gal : 34 ms
Invoking ITS tools like this :cd /home/mcc/execution;'/home/mcc/BenchKit/itstools/plugins/fr.lip6.move.gal.itstools.binaries_1.0.0.202205111006/bin/its-ctl-linux64' '--gc-threshold' '2000000' '--quiet' '-i' '/tmp/ReachabilityDeadlock14467203427230503631.gal' '-t' 'CGAL' '-ctl' 'DEADLOCK' '--load-order' '/home/mcc/execution/model.ord' '--gen-order' 'FOLLOW'

its-ctl command run as :

/home/mcc/BenchKit/itstools/plugins/fr.lip6.move.gal.itstools.binaries_1.0.0.202205111006/bin/its-ctl-linux64 --gc-threshold 2000000 --quiet -i /tmp/R...292
Successfully loaded order from file /home/mcc/execution/model.ord
No direction supplied, using forward translation only.

BK_TIME_CONFINEMENT_REACHED

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

+ export LANG=C
+ LANG=C
+ export BINDIR=/home/mcc/BenchKit/bin//../
+ BINDIR=/home/mcc/BenchKit/bin//../
++ pwd
+ export MODEL=/home/mcc/execution
+ MODEL=/home/mcc/execution
+ [[ ReachabilityDeadlock = StateSpace ]]
+ /home/mcc/BenchKit/bin//..//runeclipse.sh /home/mcc/execution ReachabilityDeadlock -its -ltsmin -greatspnpath /home/mcc/BenchKit/bin//..//greatspn/ -order META -manyOrder -smt -timeout 1800
+ ulimit -s 65536
+ export PYTHONPATH=/usr/lib/python3.9/site-packages/
+ PYTHONPATH=/usr/lib/python3.9/site-packages/
+ export LD_LIBRARY_PATH=/usr/local/lib:
+ LD_LIBRARY_PATH=/usr/local/lib:
+ [[ -z '' ]]
+ export LTSMIN_MEM_SIZE=8589934592
+ LTSMIN_MEM_SIZE=8589934592
++ sed s/.jar//
++ perl -pe 's/.*\.//g'
++ ls /home/mcc/BenchKit/bin//..//itstools/plugins/fr.lip6.move.gal.application.pnmcc_1.0.0.202205111006.jar
+ VERSION=202205111006
+ echo 'Running Version 202205111006'
+ /home/mcc/BenchKit/bin//..//itstools/its-tools -data @none -pnfolder /home/mcc/execution -examination ReachabilityDeadlock -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=@none -Xss128m -Xms40m -Xmx8192m

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="ShieldIIPt-PT-030B"
export BK_EXAMINATION="ReachabilityDeadlock"
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 ShieldIIPt-PT-030B, examination is ReachabilityDeadlock"
echo " Time confinement is $BK_TIME_CONFINEMENT seconds"
echo " Memory confinement is 16384 MBytes"
echo " Number of cores is 4"
echo " Run identifier is r229-tall-165286033900186"
echo "====================================================================="
echo
echo "--------------------"
echo "preparation of the directory to be used:"

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