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

About the Execution of 2021-gold for ShieldIIPt-PT-050B

Execution Summary
Max Memory
Used (MB)
Time wait (ms) CPU Usage (ms) I/O Wait (ms) Computed Result Execution
Status
8275.516 1800000.00 6763574.00 579.10 [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.r234-tall-165286038000206.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 gold2021
Input is ShieldIIPt-PT-050B, examination is ReachabilityDeadlock
Time confinement is 1800 seconds
Memory confinement is 16384 MBytes
Number of cores is 4
Run identifier is r234-tall-165286038000206
=====================================================================

--------------------
preparation of the directory to be used:
/home/mcc/execution
total 1.1M
-rw-r--r-- 1 mcc users 5.9K Apr 29 18:24 CTLCardinality.txt
-rw-r--r-- 1 mcc users 60K Apr 29 18:24 CTLCardinality.xml
-rw-r--r-- 1 mcc users 5.0K Apr 29 18:23 CTLFireability.txt
-rw-r--r-- 1 mcc users 43K Apr 29 18:23 CTLFireability.xml
-rw-r--r-- 1 mcc users 4.2K May 10 09:34 GenericPropertiesDefinition.xml
-rw-r--r-- 1 mcc users 3.9K May 9 08:51 LTLCardinality.txt
-rw-r--r-- 1 mcc users 28K 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 18K 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 860K 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 1653032911925

Running Version 0
[2022-05-20 07:48:33] [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:48:33] [INFO ] Parsing pnml file : /home/mcc/execution/model.pnml
[2022-05-20 07:48:33] [INFO ] Load time of PNML (sax parser for PT used): 182 ms
[2022-05-20 07:48:33] [INFO ] Transformed 3503 places.
[2022-05-20 07:48:33] [INFO ] Transformed 3253 transitions.
[2022-05-20 07:48:33] [INFO ] Found NUPN structural information;
[2022-05-20 07:48:33] [INFO ] Parsed PT model containing 3503 places and 3253 transitions in 348 ms.
Parsed 1 properties from file /home/mcc/execution/ReachabilityDeadlock.xml in 4 ms.
Working with output stream class java.io.PrintStream
Built sparse matrix representations for Structural reductions in 8 ms.31825KB memory used
Starting structural reductions, iteration 0 : 3503/3503 places, 3253/3253 transitions.
Drop transitions removed 852 transitions
Trivial Post-agglo rules discarded 852 transitions
Performed 852 trivial Post agglomeration. Transition count delta: 852
Iterating post reduction 0 with 852 rules applied. Total rules applied 852 place count 3503 transition count 2401
Reduce places removed 852 places and 0 transitions.
Ensure Unique test removed 1 transitions
Reduce isomorphic transitions removed 1 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 854 rules applied. Total rules applied 1706 place count 2651 transition count 2399
Reduce places removed 1 places and 0 transitions.
Iterating post reduction 2 with 1 rules applied. Total rules applied 1707 place count 2650 transition count 2399
Performed 201 Pre agglomeration using Quasi-Persistent + Divergent Free condition..
Pre-agglomeration after 3 with 201 Pre rules applied. Total rules applied 1707 place count 2650 transition count 2198
Deduced a syphon composed of 201 places in 5 ms
Reduce places removed 201 places and 0 transitions.
Iterating global reduction 3 with 402 rules applied. Total rules applied 2109 place count 2449 transition count 2198
Discarding 350 places :
Symmetric choice reduction at 3 with 350 rule applications. Total rules 2459 place count 2099 transition count 1848
Iterating global reduction 3 with 350 rules applied. Total rules applied 2809 place count 2099 transition count 1848
Performed 150 Pre agglomeration using Quasi-Persistent + Divergent Free condition..
Pre-agglomeration after 3 with 150 Pre rules applied. Total rules applied 2809 place count 2099 transition count 1698
Deduced a syphon composed of 150 places in 12 ms
Reduce places removed 150 places and 0 transitions.
Iterating global reduction 3 with 300 rules applied. Total rules applied 3109 place count 1949 transition count 1698
Performed 849 Post agglomeration using F-continuation condition.Transition count delta: 849
Deduced a syphon composed of 849 places in 3 ms
Reduce places removed 849 places and 0 transitions.
Iterating global reduction 3 with 1698 rules applied. Total rules applied 4807 place count 1100 transition count 849
Renaming transitions due to excessive name length > 1024 char.
Performed 101 Post agglomeration using F-continuation condition.Transition count delta: -66
Deduced a syphon composed of 101 places in 5 ms
Reduce places removed 101 places and 0 transitions.
Iterating global reduction 3 with 202 rules applied. Total rules applied 5009 place count 999 transition count 915
Performed 48 Post agglomeration using F-continuation condition.Transition count delta: -33
Deduced a syphon composed of 48 places in 11 ms
Reduce places removed 48 places and 0 transitions.
Iterating global reduction 3 with 96 rules applied. Total rules applied 5105 place count 951 transition count 948
Reduce places removed 1 places and 1 transitions.
Iterating global reduction 3 with 1 rules applied. Total rules applied 5106 place count 950 transition count 947
Reduce places removed 2 places and 0 transitions.
Iterating post reduction 3 with 2 rules applied. Total rules applied 5108 place count 948 transition count 947
Performed 1 Pre agglomeration using Quasi-Persistent + Divergent Free condition..
Pre-agglomeration after 4 with 1 Pre rules applied. Total rules applied 5108 place count 948 transition count 946
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 5110 place count 947 transition count 946
Applied a total of 5110 rules in 1093 ms. Remains 947 /3503 variables (removed 2556) and now considering 946/3253 (removed 2307) transitions.
Finished structural reductions, in 1 iterations. Remains : 947/3503 places, 946/3253 transitions.
Random walk for 1250000 steps, including 0 resets, run took 9726 ms (no deadlock found). (steps per millisecond=128 )
Random directed walk for 1250002 steps, including 0 resets, run took 7761 ms (no deadlock found). (steps per millisecond=161 )
// Phase 1: matrix 946 rows 947 cols
[2022-05-20 07:48:52] [INFO ] Computed 449 place invariants in 14 ms
[2022-05-20 07:48:53] [INFO ] [Real]Absence check using 449 positive place invariants in 309 ms returned sat
[2022-05-20 07:48:53] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2022-05-20 07:48:54] [INFO ] [Real]Absence check using state equation in 1255 ms returned sat
[2022-05-20 07:48:54] [INFO ] Solution in real domain found non-integer solution.
[2022-05-20 07:48:55] [INFO ] [Nat]Absence check using 449 positive place invariants in 188 ms returned sat
[2022-05-20 07:48:55] [INFO ] [Nat]Adding state equation constraints to refine reachable states.
[2022-05-20 07:48:56] [INFO ] [Nat]Absence check using state equation in 1086 ms returned sat
[2022-05-20 07:48:56] [INFO ] Computed and/alt/rep : 942/1438/942 causal constraints (skipped 0 transitions) in 87 ms.
[2022-05-20 07:49:10] [INFO ] Added : 770 causal constraints over 155 iterations in 14161 ms. Result :sat
Attempting to minimize the solution found.
Minimization took 88 ms.
Parikh directed walk for 1077200 steps, including 1000 resets, run took 8408 ms. (steps per millisecond=128 )
Random directed walk for 500005 steps, including 0 resets, run took 3097 ms (no deadlock found). (steps per millisecond=161 )
Random walk for 500000 steps, including 0 resets, run took 3772 ms (no deadlock found). (steps per millisecond=132 )
Random directed walk for 500006 steps, including 0 resets, run took 3072 ms (no deadlock found). (steps per millisecond=162 )
Random walk for 500000 steps, including 0 resets, run took 3753 ms (no deadlock found). (steps per millisecond=133 )
Starting structural reductions, iteration 0 : 947/947 places, 946/946 transitions.
Applied a total of 0 rules in 21 ms. Remains 947 /947 variables (removed 0) and now considering 946/946 (removed 0) transitions.
// Phase 1: matrix 946 rows 947 cols
[2022-05-20 07:49:32] [INFO ] Computed 449 place invariants in 8 ms
[2022-05-20 07:49:33] [INFO ] Implicit Places using invariants in 767 ms returned [936]
Discarding 1 places :
Implicit Place search using SMT only with invariants took 769 ms to find 1 implicit places.
[2022-05-20 07:49:33] [INFO ] Redundant transitions in 63 ms returned []
// Phase 1: matrix 946 rows 946 cols
[2022-05-20 07:49:33] [INFO ] Computed 448 place invariants in 3 ms
[2022-05-20 07:49:34] [INFO ] Dead Transitions using invariants and state equation in 464 ms returned []
Starting structural reductions, iteration 1 : 946/947 places, 946/946 transitions.
Performed 1 Post agglomeration using F-continuation condition.Transition count delta: 1
Deduced a syphon composed of 1 places in 1 ms
Reduce places removed 1 places and 0 transitions.
Iterating global reduction 0 with 2 rules applied. Total rules applied 2 place count 945 transition count 945
Applied a total of 2 rules in 33 ms. Remains 945 /946 variables (removed 1) and now considering 945/946 (removed 1) transitions.
// Phase 1: matrix 945 rows 945 cols
[2022-05-20 07:49:34] [INFO ] Computed 448 place invariants in 4 ms
[2022-05-20 07:49:34] [INFO ] Implicit Places using invariants in 490 ms returned []
// Phase 1: matrix 945 rows 945 cols
[2022-05-20 07:49:34] [INFO ] Computed 448 place invariants in 3 ms
[2022-05-20 07:49:35] [INFO ] Implicit Places using invariants and state equation in 951 ms returned []
Implicit Place search using SMT with State Equation took 1442 ms to find 0 implicit places.
Finished structural reductions, in 2 iterations. Remains : 945/947 places, 945/946 transitions.
Random walk for 1250000 steps, including 0 resets, run took 9269 ms (no deadlock found). (steps per millisecond=134 )
Random directed walk for 1250003 steps, including 0 resets, run took 7520 ms (no deadlock found). (steps per millisecond=166 )
// Phase 1: matrix 945 rows 945 cols
[2022-05-20 07:49:52] [INFO ] Computed 448 place invariants in 3 ms
[2022-05-20 07:49:52] [INFO ] [Real]Absence check using 448 positive place invariants in 220 ms returned sat
[2022-05-20 07:49:52] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2022-05-20 07:49:53] [INFO ] [Real]Absence check using state equation in 1132 ms returned sat
[2022-05-20 07:49:53] [INFO ] Solution in real domain found non-integer solution.
[2022-05-20 07:49:54] [INFO ] [Nat]Absence check using 448 positive place invariants in 212 ms returned sat
[2022-05-20 07:49:54] [INFO ] [Nat]Adding state equation constraints to refine reachable states.
[2022-05-20 07:49:55] [INFO ] [Nat]Absence check using state equation in 1251 ms returned sat
[2022-05-20 07:49:55] [INFO ] Computed and/alt/rep : 941/1435/941 causal constraints (skipped 0 transitions) in 44 ms.
[2022-05-20 07:50:08] [INFO ] Added : 790 causal constraints over 158 iterations in 12972 ms. Result :sat
Attempting to minimize the solution found.
Minimization took 63 ms.
Parikh directed walk for 377400 steps, including 1000 resets, run took 3047 ms. (steps per millisecond=123 )
Random directed walk for 500004 steps, including 0 resets, run took 3005 ms (no deadlock found). (steps per millisecond=166 )
Random walk for 500000 steps, including 0 resets, run took 3738 ms (no deadlock found). (steps per millisecond=133 )
Random directed walk for 500001 steps, including 0 resets, run took 3042 ms (no deadlock found). (steps per millisecond=164 )
Random walk for 500000 steps, including 0 resets, run took 3763 ms (no deadlock found). (steps per millisecond=132 )
[2022-05-20 07:50:25] [INFO ] Flatten gal took : 246 ms
Using solver Z3 to compute partial order matrices.
Built C files in :
/tmp/ltsmin2421789416825551020
[2022-05-20 07:50:25] [INFO ] Too many transitions (3253) to apply POR reductions. Disabling POR matrices.
[2022-05-20 07:50:25] [INFO ] Applying decomposition
[2022-05-20 07:50:25] [INFO ] Built C files in 153ms conformant to PINS (ltsmin variant)in folder :/tmp/ltsmin2421789416825551020
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/ltsmin2421789416825551020]
[2022-05-20 07:50:26] [INFO ] Flatten gal took : 200 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/graph8518701429283023927.txt, -o, /tmp/graph8518701429283023927.bin, -w, /tmp/graph8518701429283023927.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/graph8518701429283023927.bin, -l, -1, -v, -w, /tmp/graph8518701429283023927.weights, -q, 0, -e, 0.001], workingDir=null]
[2022-05-20 07:50:26] [INFO ] Decomposing Gal with order
[2022-05-20 07:50:26] [INFO ] Rewriting arrays to variables to allow decomposition.
[2022-05-20 07:50:27] [INFO ] Removed a total of 300 redundant transitions.
[2022-05-20 07:50:27] [INFO ] Flatten gal took : 423 ms
[2022-05-20 07:50:28] [INFO ] Fuse similar labels procedure discarded/fused a total of 0 labels/synchronizations in 68 ms.
[2022-05-20 07:50:28] [INFO ] Time to serialize gal into /tmp/ReachabilityDeadlock2666769266697344718.gal : 133 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/ReachabilityDeadlock2666769266697344718.gal, -t, CGAL, -ctl, DEADLOCK], 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/ReachabilityDeadlock2666769266697344718.gal -t CGAL -ctl DEADLOCK
No direction supplied, using forward translation only.
Compilation finished in 50350 ms.
Running link step : CommandLine [args=[gcc, -shared, -o, gal.so, model.o], workingDir=/tmp/ltsmin2421789416825551020]
Link finished in 73 ms.
Running LTSmin : CommandLine [args=[/home/mcc/BenchKit/itstools/plugins/fr.lip6.move.gal.ltsmin.binaries_1.0.0.202104292328/bin/pins2lts-mc-linux64, ./gal.so, --threads=8, -p, --pins-guards, --when, -d], workingDir=/tmp/ltsmin2421789416825551020]
Detected timeout of ITS tools.
[2022-05-20 08:01:05] [INFO ] Applying decomposition
[2022-05-20 08:01:06] [INFO ] Flatten gal took : 299 ms
[2022-05-20 08:01:06] [INFO ] Decomposing Gal with order
[2022-05-20 08:01:07] [INFO ] Rewriting arrays to variables to allow decomposition.
[2022-05-20 08:01:07] [INFO ] Flatten gal took : 323 ms
[2022-05-20 08:01:08] [INFO ] Fuse similar labels procedure discarded/fused a total of 0 labels/synchronizations in 126 ms.
[2022-05-20 08:01:08] [INFO ] Time to serialize gal into /tmp/ReachabilityDeadlock2198053964179299898.gal : 32 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/ReachabilityDeadlock2198053964179299898.gal, -t, CGAL, -ctl, DEADLOCK], 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/ReachabilityDeadlock2198053964179299898.gal -t CGAL -ctl DEADLOCK
No direction supplied, using forward translation only.
Detected timeout of ITS tools.
[2022-05-20 08:11:46] [INFO ] Flatten gal took : 300 ms
[2022-05-20 08:11:46] [INFO ] Input system was already deterministic with 3253 transitions.
[2022-05-20 08:11:46] [INFO ] Transformed 3503 places.
[2022-05-20 08:11:46] [INFO ] Transformed 3253 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
[2022-05-20 08:11:48] [INFO ] Time to serialize gal into /tmp/ReachabilityDeadlock7013127379684530.gal : 31 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/ReachabilityDeadlock7013127379684530.gal, -t, CGAL, -ctl, DEADLOCK, --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/ReachabilityDeadlock7013127379684530.gal -t CGAL -ctl DEADLOCK --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.

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
+ [[ 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
+ [[ -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 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=/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="ShieldIIPt-PT-050B"
export BK_EXAMINATION="ReachabilityDeadlock"
export BK_TOOL="gold2021"
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 gold2021"
echo " Input is ShieldIIPt-PT-050B, 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 r234-tall-165286038000206"
echo "====================================================================="
echo
echo "--------------------"
echo "preparation of the directory to be used:"

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