fond
Model Checking Contest 2023
13th edition, Paris, France, April 26, 2023 (at TOOLympics II)
Execution of r339-tall-167889212000121
Last Updated
May 14, 2023

About the Execution of ITS-Tools for RERS17pb115-PT-7

Execution Summary
Max Memory
Used (MB)
Time wait (ms) CPU Usage (ms) I/O Wait (ms) Computed Result Execution
Status
16197.752 1160790.00 1295151.00 25451.40 [undef] Cannot compute

Execution Chart

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

Trace from the execution

Formatting '/data/fkordon/mcc2023-input.r339-tall-167889212000121.qcow2', fmt=qcow2 size=4294967296 backing_file=/data/fkordon/mcc2023-input.qcow2 cluster_size=65536 lazy_refcounts=off refcount_bits=16
Waiting for the VM to be ready (probing ssh)
.................................................................................................................
=====================================================================
Generated by BenchKit 2-5348
Executing tool itstools
Input is RERS17pb115-PT-7, examination is ReachabilityDeadlock
Time confinement is 1800 seconds
Memory confinement is 16384 MBytes
Number of cores is 4
Run identifier is r339-tall-167889212000121
=====================================================================

--------------------
preparation of the directory to be used:
/home/mcc/execution
total 70M
-rw-r--r-- 1 mcc users 7.1K Feb 25 13:53 CTLCardinality.txt
-rw-r--r-- 1 mcc users 79K Feb 25 13:53 CTLCardinality.xml
-rw-r--r-- 1 mcc users 9.2K Feb 25 13:50 CTLFireability.txt
-rw-r--r-- 1 mcc users 70K Feb 25 13:50 CTLFireability.xml
-rw-r--r-- 1 mcc users 4.2K Jan 29 11:41 GenericPropertiesDefinition.xml
-rw-r--r-- 1 mcc users 4.0K Feb 25 16:39 LTLCardinality.txt
-rw-r--r-- 1 mcc users 28K Feb 25 16:39 LTLCardinality.xml
-rw-r--r-- 1 mcc users 3.1K Feb 25 16:39 LTLFireability.txt
-rw-r--r-- 1 mcc users 19K Feb 25 16:39 LTLFireability.xml
-rw-r--r-- 1 mcc users 11K Feb 25 14:02 ReachabilityCardinality.txt
-rw-r--r-- 1 mcc users 105K Feb 25 14:02 ReachabilityCardinality.xml
-rw-r--r-- 1 mcc users 9.1K Feb 25 13:58 ReachabilityFireability.txt
-rw-r--r-- 1 mcc users 55K Feb 25 13:58 ReachabilityFireability.xml
-rw-r--r-- 1 mcc users 1.6K Feb 25 16:39 UpperBounds.txt
-rw-r--r-- 1 mcc users 3.6K Feb 25 16:39 UpperBounds.xml
-rw-r--r-- 1 mcc users 6 Mar 5 18:23 equiv_col
-rw-r--r-- 1 mcc users 2 Mar 5 18:23 instance
-rw-r--r-- 1 mcc users 6 Mar 5 18:23 iscolored
-rw-r--r-- 1 mcc users 69M Mar 5 18:23 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 1679095946331

bash -c /home/mcc/BenchKit/BenchKit_head.sh 2> STDERR ; echo ; echo -n "BK_STOP " ; date -u +%s%3N
Invoking MCC driver with
BK_TOOL=itstools
BK_EXAMINATION=ReachabilityDeadlock
BK_BIN_PATH=/home/mcc/BenchKit/bin/
BK_TIME_CONFINEMENT=1800
BK_INPUT=RERS17pb115-PT-7
Not applying reductions.
Model is PT
ReachabilityDeadlock PT
Running Version 202303021504
[2023-03-17 23:32:28] [INFO ] Running its-tools with arguments : [-pnfolder, /home/mcc/execution, -examination, ReachabilityDeadlock, -its, -ltsmin, -greatspnpath, /home/mcc/BenchKit/bin//../itstools/bin//..//greatspn/, -order, META, -manyOrder, -smt, -timeout, 1800]
[2023-03-17 23:32:28] [INFO ] Parsing pnml file : /home/mcc/execution/model.pnml
[2023-03-17 23:32:30] [INFO ] Load time of PNML (sax parser for PT used): 1884 ms
[2023-03-17 23:32:30] [INFO ] Transformed 1399 places.
[2023-03-17 23:32:30] [INFO ] Transformed 144369 transitions.
[2023-03-17 23:32:30] [INFO ] Parsed PT model containing 1399 places and 144369 transitions and 577414 arcs in 2415 ms.
Parsed 1 properties from file /home/mcc/execution/ReachabilityDeadlock.xml in 2 ms.
Working with output stream class java.io.PrintStream
Built sparse matrix representations for Structural reductions in 36 ms.338019KB memory used
Starting structural reductions in DEADLOCK mode, iteration 0 : 1399/1399 places, 144369/144369 transitions.
Computed a total of 19 stabilizing places and 1 stable transitions
Ensure Unique test removed 18 places
Computed a total of 1 stabilizing places and 1 stable transitions
Iterating post reduction 0 with 18 rules applied. Total rules applied 18 place count 1381 transition count 144369
Computed a total of 1 stabilizing places and 1 stable transitions
Computed a total of 1 stabilizing places and 1 stable transitions
Reduce places removed 1 places and 1 transitions.
Iterating global reduction 1 with 1 rules applied. Total rules applied 19 place count 1380 transition count 144368
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 19 rules in 3554 ms. Remains 1380 /1399 variables (removed 19) and now considering 144368/144369 (removed 1) transitions.
Finished structural reductions in DEADLOCK mode , in 1 iterations and 3568 ms. Remains : 1380/1399 places, 144368/144369 transitions.
Interrupted Random walk after 342961 steps, including 0 resets, run timeout after 30001 ms. (steps per millisecond=11 )
[2023-03-17 23:33:05] [INFO ] Flow matrix only has 81237 transitions (discarded 63131 similar events)
// Phase 1: matrix 81237 rows 1380 cols
[2023-03-17 23:33:05] [INFO ] Computed 19 place invariants in 386 ms
[2023-03-17 23:33:29] [INFO ] [Real]Absence check using 19 positive place invariants in 86 ms returned sat
[2023-03-17 23:33:29] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2023-03-17 23:33:48] [INFO ] [Real]Absence check using state equation in 19636 ms returned sat
[2023-03-17 23:33:50] [INFO ] Solution in real domain found non-integer solution.
[2023-03-17 23:34:13] [INFO ] [Nat]Absence check using 19 positive place invariants in 77 ms returned sat
[2023-03-17 23:34:13] [INFO ] [Nat]Adding state equation constraints to refine reachable states.
[2023-03-17 23:34:33] [INFO ] [Nat]Absence check using state equation in 19314 ms returned sat
[2023-03-17 23:34:34] [INFO ] State equation strengthened by 741 read => feed constraints.
[2023-03-17 23:34:40] [INFO ] [Nat]Added 741 Read/Feed constraints in 6577 ms returned sat
[2023-03-17 23:34:48] [INFO ] Deduced a trap composed of 16 places in 6937 ms of which 4 ms to minimize.
[2023-03-17 23:34:56] [INFO ] Deduced a trap composed of 64 places in 6831 ms of which 3 ms to minimize.
[2023-03-17 23:35:06] [INFO ] Deduced a trap composed of 40 places in 8091 ms of which 3 ms to minimize.
[2023-03-17 23:35:16] [INFO ] Deduced a trap composed of 72 places in 9349 ms of which 3 ms to minimize.
[2023-03-17 23:35:25] [INFO ] Deduced a trap composed of 64 places in 8011 ms of which 1 ms to minimize.
[2023-03-17 23:35:35] [INFO ] Deduced a trap composed of 72 places in 8104 ms of which 1 ms to minimize.
[2023-03-17 23:35:46] [INFO ] Deduced a trap composed of 48 places in 10260 ms of which 3 ms to minimize.
[2023-03-17 23:35:56] [INFO ] Deduced a trap composed of 128 places in 8586 ms of which 2 ms to minimize.
[2023-03-17 23:36:05] [INFO ] Deduced a trap composed of 96 places in 7838 ms of which 1 ms to minimize.
[2023-03-17 23:36:14] [INFO ] Deduced a trap composed of 72 places in 8078 ms of which 1 ms to minimize.
[2023-03-17 23:36:24] [INFO ] Deduced a trap composed of 72 places in 8261 ms of which 1 ms to minimize.
[2023-03-17 23:36:33] [INFO ] Deduced a trap composed of 64 places in 7934 ms of which 1 ms to minimize.
[2023-03-17 23:36:41] [INFO ] Deduced a trap composed of 48 places in 6762 ms of which 1 ms to minimize.
[2023-03-17 23:36:51] [INFO ] Deduced a trap composed of 40 places in 8221 ms of which 1 ms to minimize.
[2023-03-17 23:37:00] [INFO ] Deduced a trap composed of 96 places in 8155 ms of which 1 ms to minimize.
[2023-03-17 23:37:09] [INFO ] Deduced a trap composed of 72 places in 7553 ms of which 1 ms to minimize.
[2023-03-17 23:37:18] [INFO ] Deduced a trap composed of 34 places in 7482 ms of which 1 ms to minimize.
[2023-03-17 23:37:27] [INFO ] Deduced a trap composed of 128 places in 8186 ms of which 0 ms to minimize.
[2023-03-17 23:37:36] [INFO ] Deduced a trap composed of 128 places in 7662 ms of which 1 ms to minimize.
[2023-03-17 23:37:44] [INFO ] Deduced a trap composed of 72 places in 7028 ms of which 0 ms to minimize.
[2023-03-17 23:37:53] [INFO ] Deduced a trap composed of 128 places in 7018 ms of which 1 ms to minimize.
[2023-03-17 23:38:00] [INFO ] Deduced a trap composed of 64 places in 6677 ms of which 1 ms to minimize.
[2023-03-17 23:38:10] [INFO ] Deduced a trap composed of 128 places in 8044 ms of which 1 ms to minimize.
[2023-03-17 23:38:19] [INFO ] Deduced a trap composed of 40 places in 7824 ms of which 2 ms to minimize.
[2023-03-17 23:38:28] [INFO ] Deduced a trap composed of 96 places in 7786 ms of which 1 ms to minimize.
[2023-03-17 23:38:36] [INFO ] Deduced a trap composed of 96 places in 6963 ms of which 1 ms to minimize.
[2023-03-17 23:38:44] [INFO ] Deduced a trap composed of 64 places in 7117 ms of which 1 ms to minimize.
[2023-03-17 23:38:52] [INFO ] Deduced a trap composed of 128 places in 6506 ms of which 1 ms to minimize.
[2023-03-17 23:38:52] [WARNING] SMT solver failed with error :java.lang.RuntimeException: SMT solver raised an error when submitting script. Raised (error "Failed to assert expression: java.io.IOException: Stream close... while checking Deadlocks.
Interrupted Random directed walk after 142678 steps, including 0 resets, run timeout after 30005 ms. (steps per millisecond=4 )
Interrupted Random walk after 259051 steps, including 0 resets, run timeout after 30001 ms. (steps per millisecond=8 )
Interrupted Random directed walk after 151553 steps, including 0 resets, run timeout after 30001 ms. (steps per millisecond=5 )
Interrupted Random walk after 249146 steps, including 0 resets, run timeout after 30001 ms. (steps per millisecond=8 )
Starting structural reductions in DEADLOCK mode, iteration 0 : 1380/1380 places, 144368/144368 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 1338 ms. Remains 1380 /1380 variables (removed 0) and now considering 144368/144368 (removed 0) transitions.
[2023-03-17 23:40:54] [INFO ] Flow matrix only has 81237 transitions (discarded 63131 similar events)
[2023-03-17 23:40:54] [INFO ] Invariant cache hit.
[2023-03-17 23:41:04] [INFO ] Implicit Places using invariants in 10217 ms returned []
Implicit Place search using SMT only with invariants took 10228 ms to find 0 implicit places.
[2023-03-17 23:41:04] [INFO ] Flow matrix only has 81237 transitions (discarded 63131 similar events)
[2023-03-17 23:41:04] [INFO ] Invariant cache hit.
[2023-03-17 23:41:34] [INFO ] Performed 84433/144368 'is it Dead' test of which 0 returned DEAD in 30 seconds.
[2023-03-17 23:41:54] [INFO ] Dead Transitions using invariants and state equation in 50645 ms found 0 transitions.
Finished structural reductions in DEADLOCK mode , in 1 iterations and 62217 ms. Remains : 1380/1380 places, 144368/144368 transitions.
Interrupted Random walk after 277031 steps, including 0 resets, run timeout after 30001 ms. (steps per millisecond=9 )
[2023-03-17 23:42:24] [INFO ] Flow matrix only has 81237 transitions (discarded 63131 similar events)
[2023-03-17 23:42:24] [INFO ] Invariant cache hit.
[2023-03-17 23:42:49] [INFO ] [Real]Absence check using 19 positive place invariants in 34 ms returned sat
[2023-03-17 23:42:49] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2023-03-17 23:43:09] [INFO ] [Real]Absence check using state equation in 20814 ms returned sat
[2023-03-17 23:43:11] [INFO ] Solution in real domain found non-integer solution.
[2023-03-17 23:43:37] [INFO ] [Nat]Absence check using 19 positive place invariants in 54 ms returned sat
[2023-03-17 23:43:37] [INFO ] [Nat]Adding state equation constraints to refine reachable states.
[2023-03-17 23:43:55] [INFO ] [Nat]Absence check using state equation in 18687 ms returned sat
[2023-03-17 23:43:56] [INFO ] State equation strengthened by 741 read => feed constraints.
[2023-03-17 23:44:04] [INFO ] [Nat]Added 741 Read/Feed constraints in 7636 ms returned sat
[2023-03-17 23:44:14] [INFO ] Deduced a trap composed of 48 places in 8572 ms of which 1 ms to minimize.
[2023-03-17 23:44:23] [INFO ] Deduced a trap composed of 72 places in 8257 ms of which 1 ms to minimize.
[2023-03-17 23:44:32] [INFO ] Deduced a trap composed of 40 places in 7507 ms of which 0 ms to minimize.
[2023-03-17 23:44:40] [INFO ] Deduced a trap composed of 128 places in 6774 ms of which 1 ms to minimize.
[2023-03-17 23:44:48] [INFO ] Deduced a trap composed of 96 places in 6354 ms of which 0 ms to minimize.
[2023-03-17 23:44:56] [INFO ] Deduced a trap composed of 48 places in 6434 ms of which 2 ms to minimize.
[2023-03-17 23:45:04] [INFO ] Deduced a trap composed of 34 places in 7310 ms of which 3 ms to minimize.
[2023-03-17 23:45:13] [INFO ] Deduced a trap composed of 64 places in 7652 ms of which 0 ms to minimize.
[2023-03-17 23:45:21] [INFO ] Deduced a trap composed of 40 places in 7308 ms of which 1 ms to minimize.
[2023-03-17 23:45:29] [INFO ] Deduced a trap composed of 96 places in 6726 ms of which 0 ms to minimize.
[2023-03-17 23:45:38] [INFO ] Deduced a trap composed of 40 places in 7368 ms of which 1 ms to minimize.
[2023-03-17 23:45:45] [INFO ] Deduced a trap composed of 72 places in 6198 ms of which 2 ms to minimize.
[2023-03-17 23:45:53] [INFO ] Deduced a trap composed of 64 places in 6313 ms of which 1 ms to minimize.
[2023-03-17 23:46:00] [INFO ] Deduced a trap composed of 16 places in 5751 ms of which 0 ms to minimize.
[2023-03-17 23:46:06] [INFO ] Deduced a trap composed of 72 places in 5522 ms of which 1 ms to minimize.
[2023-03-17 23:46:14] [INFO ] Deduced a trap composed of 64 places in 6335 ms of which 0 ms to minimize.
[2023-03-17 23:46:21] [INFO ] Deduced a trap composed of 72 places in 6338 ms of which 0 ms to minimize.
[2023-03-17 23:46:29] [INFO ] Deduced a trap composed of 72 places in 6752 ms of which 2 ms to minimize.
[2023-03-17 23:46:37] [INFO ] Deduced a trap composed of 96 places in 6845 ms of which 1 ms to minimize.
[2023-03-17 23:46:46] [INFO ] Deduced a trap composed of 64 places in 8009 ms of which 0 ms to minimize.
[2023-03-17 23:46:55] [INFO ] Deduced a trap composed of 72 places in 7418 ms of which 1 ms to minimize.
[2023-03-17 23:47:03] [INFO ] Deduced a trap composed of 128 places in 7422 ms of which 0 ms to minimize.
[2023-03-17 23:47:12] [INFO ] Deduced a trap composed of 128 places in 8042 ms of which 3 ms to minimize.
[2023-03-17 23:47:21] [INFO ] Deduced a trap composed of 96 places in 7537 ms of which 1 ms to minimize.
[2023-03-17 23:47:31] [INFO ] Deduced a trap composed of 96 places in 8105 ms of which 1 ms to minimize.
[2023-03-17 23:47:39] [INFO ] Deduced a trap composed of 64 places in 7009 ms of which 1 ms to minimize.
[2023-03-17 23:47:48] [INFO ] Deduced a trap composed of 128 places in 7630 ms of which 1 ms to minimize.
[2023-03-17 23:47:56] [INFO ] Deduced a trap composed of 64 places in 6568 ms of which 2 ms to minimize.
[2023-03-17 23:48:05] [INFO ] Deduced a trap composed of 128 places in 7505 ms of which 0 ms to minimize.
[2023-03-17 23:48:12] [INFO ] Deduced a trap composed of 128 places in 6590 ms of which 1 ms to minimize.
[2023-03-17 23:48:12] [WARNING] SMT solver failed with error :java.lang.RuntimeException: SMT solver raised an error when submitting script. Raised (error "Failed to assert expression: java.io.IOException: Stream close... while checking Deadlocks.
Interrupted Random directed walk after 150299 steps, including 0 resets, run timeout after 30005 ms. (steps per millisecond=5 )
Interrupted Random walk after 286685 steps, including 0 resets, run timeout after 30001 ms. (steps per millisecond=9 )
Interrupted Random directed walk after 158721 steps, including 0 resets, run timeout after 30003 ms. (steps per millisecond=5 )
Interrupted Random walk after 338371 steps, including 0 resets, run timeout after 30001 ms. (steps per millisecond=11 )
[2023-03-17 23:50:18] [INFO ] Flatten gal took : 4476 ms
Using solver Z3 to compute partial order matrices.
Built C files in :
/tmp/ltsmin18181979234466141126
[2023-03-17 23:50:21] [INFO ] Too many transitions (144369) to apply POR reductions. Disabling POR matrices.
[2023-03-17 23:50:23] [INFO ] Built C files in 1713ms conformant to PINS (ltsmin variant)in folder :/tmp/ltsmin18181979234466141126
Running compilation step : cd /tmp/ltsmin18181979234466141126;'/home/mcc/BenchKit/itstools/itstools/plugins/fr.lip6.move.gal.ltsmin.binaries_1.0.0.202303021504/bin/limit_time.pl' '360' 'gcc' '-c' '-I/home/mcc/BenchKit/itstools/itstools/plugins/fr.lip6.move.gal.ltsmin.binaries_1.0.0.202303021504/bin/include/' '-I.' '-std=c99' '-fPIC' '-O0' 'model.c'
[2023-03-17 23:50:24] [INFO ] Applying decomposition
[2023-03-17 23:50:28] [INFO ] Flatten gal took : 3889 ms
Converted graph to binary with : '/home/mcc/BenchKit/itstools/itstools/plugins/fr.lip6.move.gal.louvain.binaries_1.0.0.202303021504/bin/convert-linux64' '-i' '/tmp/graph5098126499013117131.txt' '-o' '/tmp/graph5098126499013117131.bin' '-w' '/tmp/graph5098126499013117131.weights'
Built communities with : '/home/mcc/BenchKit/itstools/itstools/plugins/fr.lip6.move.gal.louvain.binaries_1.0.0.202303021504/bin/louvain-linux64' '/tmp/graph5098126499013117131.bin' '-l' '-1' '-v' '-w' '/tmp/graph5098126499013117131.weights' '-q' '0' '-e' '0.001'
[2023-03-17 23:50:36] [INFO ] Decomposing Gal with order
[2023-03-17 23:50:36] [INFO ] Rewriting arrays to variables to allow decomposition.
[2023-03-17 23:50:47] [INFO ] Removed a total of 435333 redundant transitions.
[2023-03-17 23:50:48] [INFO ] Flatten gal took : 6239 ms
[2023-03-17 23:51:06] [INFO ] Fuse similar labels procedure discarded/fused a total of 2619 labels/synchronizations in 13138 ms.
[2023-03-17 23:51:07] [INFO ] Time to serialize gal into /tmp/ReachabilityDeadlock12759100397512818676.gal : 460 ms
Invoking ITS tools like this :cd /home/mcc/execution;'/home/mcc/BenchKit/itstools/itstools/plugins/fr.lip6.move.gal.itstools.binaries_1.0.0.202303021504/bin/its-ctl-linux64' '--gc-threshold' '2000000' '--quiet' '-i' '/tmp/ReachabilityDeadlock12759100397512818676.gal' '-t' 'CGAL' '-ctl' 'DEADLOCK'

its-ctl command run as :

/home/mcc/BenchKit/itstools/itstools/plugins/fr.lip6.move.gal.itstools.binaries_1.0.0.202303021504/bin/its-ctl-linux64 --gc-threshold 2000000 --quiet -...235

BK_STOP 1679097107121

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

+ export BINDIR=/home/mcc/BenchKit/bin//../itstools/bin//../
+ BINDIR=/home/mcc/BenchKit/bin//../itstools/bin//../
++ pwd
+ export MODEL=/home/mcc/execution
+ MODEL=/home/mcc/execution
+ [[ ReachabilityDeadlock = StateSpace ]]
+ /home/mcc/BenchKit/bin//../itstools/bin//..//runeclipse.sh /home/mcc/execution ReachabilityDeadlock -its -ltsmin -greatspnpath /home/mcc/BenchKit/bin//../itstools/bin//..//greatspn/ -order META -manyOrder -smt -timeout 1800
+ ulimit -s 65536
+ [[ -z '' ]]
+ export LTSMIN_MEM_SIZE=8589934592
+ LTSMIN_MEM_SIZE=8589934592
+ export PYTHONPATH=/home/mcc/BenchKit/itstools/pylibs
+ PYTHONPATH=/home/mcc/BenchKit/itstools/pylibs
+ export LD_LIBRARY_PATH=/home/mcc/BenchKit/itstools/pylibs:
+ LD_LIBRARY_PATH=/home/mcc/BenchKit/itstools/pylibs:
++ sed s/.jar//
++ perl -pe 's/.*\.//g'
++ ls /home/mcc/BenchKit/bin//../itstools/bin//..//itstools/plugins/fr.lip6.move.gal.application.pnmcc_1.0.0.202303021504.jar
+ VERSION=202303021504
+ echo 'Running Version 202303021504'
+ /home/mcc/BenchKit/bin//../itstools/bin//..//itstools/its-tools -pnfolder /home/mcc/execution -examination ReachabilityDeadlock -its -ltsmin -greatspnpath /home/mcc/BenchKit/bin//../itstools/bin//..//greatspn/ -order META -manyOrder -smt -timeout 1800

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="RERS17pb115-PT-7"
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-5348"
echo " Executing tool itstools"
echo " Input is RERS17pb115-PT-7, 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 r339-tall-167889212000121"
echo "====================================================================="
echo
echo "--------------------"
echo "preparation of the directory to be used:"

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