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

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

Execution Summary
Max Memory
Used (MB)
Time wait (ms) CPU Usage (ms) I/O Wait (ms) Computed Result Execution
Status
0.000 1151381.00 0.00 0.00 [undef] Cannot compute

Execution Chart

Sorry, for this execution, no execution chart could be reported.

Trace from the execution

Formatting '/data/fkordon/mcc2023-input.r339-tall-167889212000131.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-9, examination is ReachabilityDeadlock
Time confinement is 1800 seconds
Memory confinement is 16384 MBytes
Number of cores is 4
Run identifier is r339-tall-167889212000131
=====================================================================

--------------------
preparation of the directory to be used:
/home/mcc/execution
total 70M
-rw-r--r-- 1 mcc users 6.6K Feb 25 13:51 CTLCardinality.txt
-rw-r--r-- 1 mcc users 70K Feb 25 13:51 CTLCardinality.xml
-rw-r--r-- 1 mcc users 7.4K Feb 25 13:48 CTLFireability.txt
-rw-r--r-- 1 mcc users 53K Feb 25 13:48 CTLFireability.xml
-rw-r--r-- 1 mcc users 4.2K Jan 29 11:41 GenericPropertiesDefinition.xml
-rw-r--r-- 1 mcc users 3.5K Feb 25 16:40 LTLCardinality.txt
-rw-r--r-- 1 mcc users 24K Feb 25 16:40 LTLCardinality.xml
-rw-r--r-- 1 mcc users 3.1K Feb 25 16:40 LTLFireability.txt
-rw-r--r-- 1 mcc users 19K Feb 25 16:40 LTLFireability.xml
-rw-r--r-- 1 mcc users 15K Feb 25 14:02 ReachabilityCardinality.txt
-rw-r--r-- 1 mcc users 159K Feb 25 14:02 ReachabilityCardinality.xml
-rw-r--r-- 1 mcc users 18K Feb 25 13:56 ReachabilityFireability.txt
-rw-r--r-- 1 mcc users 115K Feb 25 13:56 ReachabilityFireability.xml
-rw-r--r-- 1 mcc users 1.6K Feb 25 16:40 UpperBounds.txt
-rw-r--r-- 1 mcc users 3.6K Feb 25 16:40 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 1679096869328

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-9
Not applying reductions.
Model is PT
ReachabilityDeadlock PT
Running Version 202303021504
[2023-03-17 23:47:51] [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:47:51] [INFO ] Parsing pnml file : /home/mcc/execution/model.pnml
[2023-03-17 23:47:53] [INFO ] Load time of PNML (sax parser for PT used): 2015 ms
[2023-03-17 23:47:53] [INFO ] Transformed 1399 places.
[2023-03-17 23:47:53] [INFO ] Transformed 144369 transitions.
[2023-03-17 23:47:53] [INFO ] Parsed PT model containing 1399 places and 144369 transitions and 577414 arcs in 2566 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 58 ms.259802KB 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 4020 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 4034 ms. Remains : 1380/1399 places, 144368/144369 transitions.
Interrupted Random walk after 291408 steps, including 0 resets, run timeout after 30001 ms. (steps per millisecond=9 )
[2023-03-17 23:48:28] [INFO ] Flow matrix only has 81237 transitions (discarded 63131 similar events)
// Phase 1: matrix 81237 rows 1380 cols
[2023-03-17 23:48:29] [INFO ] Computed 19 place invariants in 551 ms
[2023-03-17 23:48:54] [INFO ] [Real]Absence check using 19 positive place invariants in 101 ms returned sat
[2023-03-17 23:48:54] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2023-03-17 23:49:14] [INFO ] [Real]Absence check using state equation in 19637 ms returned sat
[2023-03-17 23:49:15] [INFO ] Solution in real domain found non-integer solution.
[2023-03-17 23:49:40] [INFO ] [Nat]Absence check using 19 positive place invariants in 112 ms returned sat
[2023-03-17 23:49:40] [INFO ] [Nat]Adding state equation constraints to refine reachable states.
[2023-03-17 23:50:00] [INFO ] [Nat]Absence check using state equation in 19424 ms returned sat
[2023-03-17 23:50:01] [INFO ] State equation strengthened by 741 read => feed constraints.
[2023-03-17 23:50:08] [INFO ] [Nat]Added 741 Read/Feed constraints in 6890 ms returned sat
[2023-03-17 23:50:17] [INFO ] Deduced a trap composed of 72 places in 7941 ms of which 9 ms to minimize.
[2023-03-17 23:50:25] [INFO ] Deduced a trap composed of 72 places in 6755 ms of which 1 ms to minimize.
[2023-03-17 23:50:33] [INFO ] Deduced a trap composed of 40 places in 6744 ms of which 2 ms to minimize.
[2023-03-17 23:50:42] [INFO ] Deduced a trap composed of 72 places in 7729 ms of which 2 ms to minimize.
[2023-03-17 23:50:52] [INFO ] Deduced a trap composed of 48 places in 8072 ms of which 3 ms to minimize.
[2023-03-17 23:51:03] [INFO ] Deduced a trap composed of 128 places in 10242 ms of which 2 ms to minimize.
[2023-03-17 23:51:14] [INFO ] Deduced a trap composed of 40 places in 9672 ms of which 1 ms to minimize.
[2023-03-17 23:51:25] [INFO ] Deduced a trap composed of 64 places in 9662 ms of which 2 ms to minimize.
[2023-03-17 23:51:36] [INFO ] Deduced a trap composed of 64 places in 9547 ms of which 1 ms to minimize.
[2023-03-17 23:51:45] [INFO ] Deduced a trap composed of 64 places in 7824 ms of which 5 ms to minimize.
[2023-03-17 23:51:53] [INFO ] Deduced a trap composed of 16 places in 7684 ms of which 1 ms to minimize.
[2023-03-17 23:52:03] [INFO ] Deduced a trap composed of 34 places in 7895 ms of which 1 ms to minimize.
[2023-03-17 23:52:11] [INFO ] Deduced a trap composed of 48 places in 7281 ms of which 1 ms to minimize.
[2023-03-17 23:52:21] [INFO ] Deduced a trap composed of 72 places in 8755 ms of which 1 ms to minimize.
[2023-03-17 23:52:29] [INFO ] Deduced a trap composed of 80 places in 6632 ms of which 1 ms to minimize.
[2023-03-17 23:52:39] [INFO ] Deduced a trap composed of 128 places in 8970 ms of which 3 ms to minimize.
[2023-03-17 23:52:48] [INFO ] Deduced a trap composed of 96 places in 7148 ms of which 0 ms to minimize.
[2023-03-17 23:52:56] [INFO ] Deduced a trap composed of 128 places in 7106 ms of which 1 ms to minimize.
[2023-03-17 23:53:04] [INFO ] Deduced a trap composed of 96 places in 6882 ms of which 1 ms to minimize.
[2023-03-17 23:53:12] [INFO ] Deduced a trap composed of 128 places in 6331 ms of which 1 ms to minimize.
[2023-03-17 23:53:21] [INFO ] Deduced a trap composed of 72 places in 7111 ms of which 1 ms to minimize.
[2023-03-17 23:53:30] [INFO ] Deduced a trap composed of 96 places in 7666 ms of which 3 ms to minimize.
[2023-03-17 23:53:39] [INFO ] Deduced a trap composed of 64 places in 8044 ms of which 1 ms to minimize.
[2023-03-17 23:53:49] [INFO ] Deduced a trap composed of 40 places in 8221 ms of which 0 ms to minimize.
[2023-03-17 23:53:58] [INFO ] Deduced a trap composed of 96 places in 7588 ms of which 1 ms to minimize.
[2023-03-17 23:54:06] [INFO ] Deduced a trap composed of 96 places in 6805 ms of which 0 ms to minimize.
[2023-03-17 23:54:14] [INFO ] Deduced a trap composed of 128 places in 6558 ms of which 1 ms to minimize.
[2023-03-17 23:54:21] [INFO ] Deduced a trap composed of 64 places in 6146 ms of which 0 ms to minimize.
[2023-03-17 23:54:21] [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 185106 steps, including 0 resets, run timeout after 30001 ms. (steps per millisecond=6 )
Interrupted Random walk after 328964 steps, including 0 resets, run timeout after 30001 ms. (steps per millisecond=10 )
Interrupted Random directed walk after 184634 steps, including 0 resets, run timeout after 30008 ms. (steps per millisecond=6 )
Interrupted Random walk after 326847 steps, including 0 resets, run timeout after 30001 ms. (steps per millisecond=10 )
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 1438 ms. Remains 1380 /1380 variables (removed 0) and now considering 144368/144368 (removed 0) transitions.
[2023-03-17 23:56:23] [INFO ] Flow matrix only has 81237 transitions (discarded 63131 similar events)
[2023-03-17 23:56:23] [INFO ] Invariant cache hit.
[2023-03-17 23:56:32] [INFO ] Implicit Places using invariants in 9589 ms returned []
Implicit Place search using SMT only with invariants took 9595 ms to find 0 implicit places.
[2023-03-17 23:56:32] [INFO ] Flow matrix only has 81237 transitions (discarded 63131 similar events)
[2023-03-17 23:56:32] [INFO ] Invariant cache hit.
[2023-03-17 23:57:03] [INFO ] Performed 85839/144368 'is it Dead' test of which 0 returned DEAD in 30 seconds.
[2023-03-17 23:57:22] [INFO ] Dead Transitions using invariants and state equation in 50041 ms found 0 transitions.
Finished structural reductions in DEADLOCK mode , in 1 iterations and 61083 ms. Remains : 1380/1380 places, 144368/144368 transitions.
Interrupted Random walk after 327736 steps, including 0 resets, run timeout after 30001 ms. (steps per millisecond=10 )
[2023-03-17 23:57:52] [INFO ] Flow matrix only has 81237 transitions (discarded 63131 similar events)
[2023-03-17 23:57:52] [INFO ] Invariant cache hit.
[2023-03-17 23:58:17] [INFO ] [Real]Absence check using 19 positive place invariants in 36 ms returned sat
[2023-03-17 23:58:17] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2023-03-17 23:58:37] [INFO ] [Real]Absence check using state equation in 19798 ms returned sat
[2023-03-17 23:58:38] [INFO ] Solution in real domain found non-integer solution.
[2023-03-17 23:59:01] [INFO ] [Nat]Absence check using 19 positive place invariants in 53 ms returned sat
[2023-03-17 23:59:01] [INFO ] [Nat]Adding state equation constraints to refine reachable states.
[2023-03-17 23:59:20] [INFO ] [Nat]Absence check using state equation in 19041 ms returned sat
[2023-03-17 23:59:21] [INFO ] State equation strengthened by 741 read => feed constraints.
[2023-03-17 23:59:27] [INFO ] [Nat]Added 741 Read/Feed constraints in 6254 ms returned sat
[2023-03-17 23:59:34] [INFO ] Deduced a trap composed of 72 places in 5814 ms of which 1 ms to minimize.
[2023-03-17 23:59:42] [INFO ] Deduced a trap composed of 48 places in 6287 ms of which 1 ms to minimize.
[2023-03-17 23:59:50] [INFO ] Deduced a trap composed of 16 places in 6706 ms of which 0 ms to minimize.
[2023-03-17 23:59:58] [INFO ] Deduced a trap composed of 48 places in 7299 ms of which 0 ms to minimize.
[2023-03-18 00:00:08] [INFO ] Deduced a trap composed of 40 places in 8448 ms of which 1 ms to minimize.
[2023-03-18 00:00:17] [INFO ] Deduced a trap composed of 128 places in 7888 ms of which 3 ms to minimize.
[2023-03-18 00:00:24] [INFO ] Deduced a trap composed of 128 places in 5797 ms of which 4 ms to minimize.
[2023-03-18 00:00:31] [INFO ] Deduced a trap composed of 34 places in 6292 ms of which 0 ms to minimize.
[2023-03-18 00:00:39] [INFO ] Deduced a trap composed of 64 places in 6708 ms of which 0 ms to minimize.
[2023-03-18 00:00:46] [INFO ] Deduced a trap composed of 96 places in 6264 ms of which 1 ms to minimize.
[2023-03-18 00:00:54] [INFO ] Deduced a trap composed of 72 places in 6145 ms of which 1 ms to minimize.
[2023-03-18 00:01:02] [INFO ] Deduced a trap composed of 64 places in 7555 ms of which 1 ms to minimize.
[2023-03-18 00:01:10] [INFO ] Deduced a trap composed of 64 places in 6736 ms of which 1 ms to minimize.
[2023-03-18 00:01:19] [INFO ] Deduced a trap composed of 80 places in 7728 ms of which 0 ms to minimize.
[2023-03-18 00:01:28] [INFO ] Deduced a trap composed of 128 places in 8089 ms of which 2 ms to minimize.
[2023-03-18 00:01:35] [INFO ] Deduced a trap composed of 40 places in 5603 ms of which 0 ms to minimize.
[2023-03-18 00:01:45] [INFO ] Deduced a trap composed of 64 places in 7858 ms of which 0 ms to minimize.
[2023-03-18 00:01:54] [INFO ] Deduced a trap composed of 72 places in 7789 ms of which 1 ms to minimize.
[2023-03-18 00:02:03] [INFO ] Deduced a trap composed of 96 places in 8396 ms of which 2 ms to minimize.
[2023-03-18 00:02:12] [INFO ] Deduced a trap composed of 96 places in 7880 ms of which 1 ms to minimize.
[2023-03-18 00:02:20] [INFO ] Deduced a trap composed of 128 places in 6876 ms of which 1 ms to minimize.
[2023-03-18 00:02:28] [INFO ] Deduced a trap composed of 40 places in 6715 ms of which 1 ms to minimize.
[2023-03-18 00:02:37] [INFO ] Deduced a trap composed of 72 places in 7427 ms of which 2 ms to minimize.
[2023-03-18 00:02:45] [INFO ] Deduced a trap composed of 128 places in 7067 ms of which 0 ms to minimize.
[2023-03-18 00:02:53] [INFO ] Deduced a trap composed of 64 places in 6535 ms of which 1 ms to minimize.
[2023-03-18 00:03:00] [INFO ] Deduced a trap composed of 128 places in 6194 ms of which 1 ms to minimize.
[2023-03-18 00:03:08] [INFO ] Deduced a trap composed of 128 places in 7005 ms of which 1 ms to minimize.
[2023-03-18 00:03:17] [INFO ] Deduced a trap composed of 128 places in 7519 ms of which 1 ms to minimize.
[2023-03-18 00:03:24] [INFO ] Deduced a trap composed of 64 places in 6281 ms of which 5 ms to minimize.
[2023-03-18 00:03:32] [INFO ] Deduced a trap composed of 72 places in 6539 ms of which 1 ms to minimize.
[2023-03-18 00:03:41] [INFO ] Deduced a trap composed of 96 places in 7588 ms of which 1 ms to minimize.
[2023-03-18 00:03:41] [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 182459 steps, including 0 resets, run timeout after 30005 ms. (steps per millisecond=6 )
Interrupted Random walk after 334358 steps, including 0 resets, run timeout after 30001 ms. (steps per millisecond=11 )
Interrupted Random directed walk after 190026 steps, including 0 resets, run timeout after 30003 ms. (steps per millisecond=6 )
Interrupted Random walk after 341732 steps, including 0 resets, run timeout after 30001 ms. (steps per millisecond=11 )
[2023-03-18 00:05:46] [INFO ] Flatten gal took : 4349 ms
Using solver Z3 to compute partial order matrices.
Built C files in :
/tmp/ltsmin334331069316862800
[2023-03-18 00:05:49] [INFO ] Too many transitions (144369) to apply POR reductions. Disabling POR matrices.
[2023-03-18 00:05:51] [INFO ] Built C files in 1526ms conformant to PINS (ltsmin variant)in folder :/tmp/ltsmin334331069316862800
Running compilation step : cd /tmp/ltsmin334331069316862800;'/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-18 00:05:52] [INFO ] Applying decomposition
[2023-03-18 00:05:57] [INFO ] Flatten gal took : 4359 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/graph13314339287311157796.txt' '-o' '/tmp/graph13314339287311157796.bin' '-w' '/tmp/graph13314339287311157796.weights'
Built communities with : '/home/mcc/BenchKit/itstools/itstools/plugins/fr.lip6.move.gal.louvain.binaries_1.0.0.202303021504/bin/louvain-linux64' '/tmp/graph13314339287311157796.bin' '-l' '-1' '-v' '-w' '/tmp/graph13314339287311157796.weights' '-q' '0' '-e' '0.001'
[2023-03-18 00:06:05] [INFO ] Decomposing Gal with order
[2023-03-18 00:06:05] [INFO ] Rewriting arrays to variables to allow decomposition.
[2023-03-18 00:06:24] [INFO ] Removed a total of 435483 redundant transitions.
[2023-03-18 00:06:43] [INFO ] Flatten gal took : 31715 ms

BK_STOP 1679098020709

--------------------
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-9"
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-9, 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-167889212000131"
echo "====================================================================="
echo
echo "--------------------"
echo "preparation of the directory to be used:"

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