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

About the Execution of 2022-gold for RERS2020-PT-pb101

Execution Summary
Max Memory
Used (MB)
Time wait (ms) CPU Usage (ms) I/O Wait (ms) Computed Result Execution
Status
13150.271 1212971.00 1474991.00 3591.00 F normal

Execution Chart

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

Trace from the execution

Formatting '/data/fkordon/mcc2023-input.r352-tall-167889221100136.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 gold2022
Input is RERS2020-PT-pb101, examination is ReachabilityDeadlock
Time confinement is 1800 seconds
Memory confinement is 16384 MBytes
Number of cores is 4
Run identifier is r352-tall-167889221100136
=====================================================================

--------------------
preparation of the directory to be used:
/home/mcc/execution
total 84M
-rw-r--r-- 1 mcc users 6.8K Feb 26 08:20 CTLCardinality.txt
-rw-r--r-- 1 mcc users 69K Feb 26 08:20 CTLCardinality.xml
-rw-r--r-- 1 mcc users 5.1K Feb 26 08:15 CTLFireability.txt
-rw-r--r-- 1 mcc users 39K Feb 26 08:15 CTLFireability.xml
-rw-r--r-- 1 mcc users 3.5K Feb 25 16:40 LTLCardinality.txt
-rw-r--r-- 1 mcc users 25K Feb 25 16:40 LTLCardinality.xml
-rw-r--r-- 1 mcc users 2.5K Feb 25 16:40 LTLFireability.txt
-rw-r--r-- 1 mcc users 16K Feb 25 16:40 LTLFireability.xml
-rw-r--r-- 1 mcc users 7.9K Feb 26 08:27 ReachabilityCardinality.txt
-rw-r--r-- 1 mcc users 76K Feb 26 08:27 ReachabilityCardinality.xml
-rw-r--r-- 1 mcc users 8.9K Feb 26 08:23 ReachabilityFireability.txt
-rw-r--r-- 1 mcc users 62K Feb 26 08:23 ReachabilityFireability.xml
-rw-r--r-- 1 mcc users 1.6K Feb 25 16:40 UpperBounds.txt
-rw-r--r-- 1 mcc users 3.7K 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 6 Mar 5 18:23 instance
-rw-r--r-- 1 mcc users 6 Mar 5 18:23 iscolored
-rw-r--r-- 1 mcc users 83M 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 1679146881980

Running Version 202205111006
[2023-03-18 13:41:23] [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]
[2023-03-18 13:41:23] [INFO ] Parsing pnml file : /home/mcc/execution/model.pnml
[2023-03-18 13:41:26] [INFO ] Load time of PNML (sax parser for PT used): 2720 ms
[2023-03-18 13:41:26] [INFO ] Transformed 906 places.
[2023-03-18 13:41:26] [INFO ] Transformed 149363 transitions.
[2023-03-18 13:41:26] [INFO ] Found NUPN structural information;
[2023-03-18 13:41:26] [INFO ] Parsed PT model containing 906 places and 149363 transitions in 3371 ms.
Parsed 1 properties from file /home/mcc/execution/ReachabilityDeadlock.xml in 3 ms.
Working with output stream class java.io.PrintStream
Ensure Unique test removed 2798 transitions
Reduce redundant transitions removed 2798 transitions.
Built sparse matrix representations for Structural reductions in 41 ms.361296KB memory used
Starting structural reductions in DEADLOCKS mode, iteration 0 : 906/906 places, 146565/146565 transitions.
Computed a total of 144 stabilizing places and 28382 stable transitions
Ensure Unique test removed 4 places
Computed a total of 140 stabilizing places and 28382 stable transitions
Iterating post reduction 0 with 4 rules applied. Total rules applied 4 place count 902 transition count 146565
Computed a total of 140 stabilizing places and 28382 stable transitions
Performed 1 Pre agglomeration using Quasi-Persistent + Divergent Free condition..
Pre-agglomeration after 1 with 1 Pre rules applied. Total rules applied 4 place count 902 transition count 146564
Deduced a syphon composed of 1 places in 53 ms
Reduce places removed 1 places and 0 transitions.
Iterating global reduction 1 with 2 rules applied. Total rules applied 6 place count 901 transition count 146564
Computed a total of 139 stabilizing places and 28381 stable transitions
Performed 21 Post agglomeration using F-continuation condition.Transition count delta: 21
Deduced a syphon composed of 21 places in 65 ms
Reduce places removed 21 places and 0 transitions.
Iterating global reduction 1 with 42 rules applied. Total rules applied 48 place count 880 transition count 146543
Ensure Unique test removed 1161 transitions
Reduce isomorphic transitions removed 1161 transitions.
Computed a total of 134 stabilizing places and 28154 stable transitions
Iterating post reduction 1 with 1161 rules applied. Total rules applied 1209 place count 880 transition count 145382
Computed a total of 134 stabilizing places and 28154 stable transitions
Computed a total of 134 stabilizing places and 28154 stable transitions
Applied a total of 1209 rules in 5389 ms. Remains 880 /906 variables (removed 26) and now considering 145382/146565 (removed 1183) transitions.
Finished structural reductions, in 1 iterations. Remains : 880/906 places, 145382/146565 transitions.
Interrupted Random walk after 416351 steps, including 0 resets, run timeout after 30001 ms. (steps per millisecond=13 )
[2023-03-18 13:42:02] [INFO ] Flow matrix only has 112309 transitions (discarded 33073 similar events)
// Phase 1: matrix 112309 rows 880 cols
[2023-03-18 13:42:03] [INFO ] Computed 5 place invariants in 552 ms
[2023-03-18 13:42:12] [INFO ] [Real]Absence check using 5 positive place invariants in 28 ms returned sat
[2023-03-18 13:42:12] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2023-03-18 13:42:45] [INFO ] [Real]Absence check using state equation in 33015 ms returned sat
[2023-03-18 13:42:47] [INFO ] Solution in real domain found non-integer solution.
[2023-03-18 13:42:56] [INFO ] [Nat]Absence check using 5 positive place invariants in 43 ms returned sat
[2023-03-18 13:42:56] [INFO ] [Nat]Adding state equation constraints to refine reachable states.
[2023-03-18 13:43:29] [INFO ] [Nat]Absence check using state equation in 32800 ms returned sat
[2023-03-18 13:43:30] [INFO ] State equation strengthened by 2563 read => feed constraints.
[2023-03-18 13:43:50] [INFO ] [Nat]Added 2563 Read/Feed constraints in 19418 ms returned sat
[2023-03-18 13:44:05] [INFO ] Deduced a trap composed of 83 places in 14140 ms of which 10 ms to minimize.
[2023-03-18 13:44:21] [INFO ] Deduced a trap composed of 242 places in 13682 ms of which 3 ms to minimize.
[2023-03-18 13:44:35] [INFO ] Deduced a trap composed of 226 places in 13203 ms of which 2 ms to minimize.
[2023-03-18 13:44:50] [INFO ] Deduced a trap composed of 196 places in 12797 ms of which 2 ms to minimize.
[2023-03-18 13:45:04] [INFO ] Deduced a trap composed of 54 places in 12725 ms of which 3 ms to minimize.
[2023-03-18 13:45:19] [INFO ] Deduced a trap composed of 494 places in 13028 ms of which 3 ms to minimize.
[2023-03-18 13:45:33] [INFO ] Deduced a trap composed of 495 places in 12640 ms of which 1 ms to minimize.
[2023-03-18 13:45:42] [INFO ] Deduced a trap composed of 192 places in 7453 ms of which 2 ms to minimize.
[2023-03-18 13:45:51] [INFO ] Deduced a trap composed of 441 places in 7669 ms of which 1 ms to minimize.
[2023-03-18 13:46:06] [INFO ] Deduced a trap composed of 27 places in 13254 ms of which 2 ms to minimize.
[2023-03-18 13:46:15] [INFO ] Deduced a trap composed of 249 places in 7309 ms of which 1 ms to minimize.
[2023-03-18 13:46:24] [INFO ] Deduced a trap composed of 499 places in 7411 ms of which 1 ms to minimize.
[2023-03-18 13:46:37] [INFO ] Deduced a trap composed of 502 places in 11515 ms of which 1 ms to minimize.
[2023-03-18 13:46:50] [INFO ] Deduced a trap composed of 53 places in 12267 ms of which 2 ms to minimize.
[2023-03-18 13:47:03] [INFO ] Deduced a trap composed of 145 places in 10920 ms of which 2 ms to minimize.
[2023-03-18 13:47:15] [INFO ] Deduced a trap composed of 142 places in 10861 ms of which 2 ms to minimize.
[2023-03-18 13:47:28] [INFO ] Deduced a trap composed of 60 places in 10937 ms of which 1 ms to minimize.
[2023-03-18 13:47:40] [INFO ] Deduced a trap composed of 408 places in 11288 ms of which 3 ms to minimize.
[2023-03-18 13:47:53] [INFO ] Deduced a trap composed of 134 places in 10568 ms of which 1 ms to minimize.
[2023-03-18 13:47:53] [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 293891 steps, including 0 resets, run timeout after 30001 ms. (steps per millisecond=9 )
Interrupted Random walk after 377098 steps, including 0 resets, run timeout after 30001 ms. (steps per millisecond=12 )
Interrupted Random directed walk after 296179 steps, including 0 resets, run timeout after 30001 ms. (steps per millisecond=9 )
Interrupted Random walk after 382833 steps, including 0 resets, run timeout after 30001 ms. (steps per millisecond=12 )
Starting structural reductions in DEADLOCKS mode, iteration 0 : 880/880 places, 145382/145382 transitions.
Computed a total of 134 stabilizing places and 28154 stable transitions
Computed a total of 134 stabilizing places and 28154 stable transitions
Computed a total of 134 stabilizing places and 28154 stable transitions
Applied a total of 0 rules in 1539 ms. Remains 880 /880 variables (removed 0) and now considering 145382/145382 (removed 0) transitions.
[2023-03-18 13:49:54] [INFO ] Flow matrix only has 112309 transitions (discarded 33073 similar events)
// Phase 1: matrix 112309 rows 880 cols
[2023-03-18 13:49:54] [INFO ] Computed 5 place invariants in 391 ms
[2023-03-18 13:50:04] [INFO ] Implicit Places using invariants in 10420 ms returned []
Implicit Place search using SMT only with invariants took 10428 ms to find 0 implicit places.
[2023-03-18 13:50:05] [INFO ] Flow matrix only has 112309 transitions (discarded 33073 similar events)
// Phase 1: matrix 112309 rows 880 cols
[2023-03-18 13:50:05] [INFO ] Computed 5 place invariants in 396 ms
[2023-03-18 13:50:35] [INFO ] Performed 87465/145382 'is it Dead' test of which 0 returned DEAD in 30 seconds.
[2023-03-18 13:50:54] [INFO ] Dead Transitions using invariants and state equation in 49419 ms found 0 transitions.
Finished structural reductions, in 1 iterations. Remains : 880/880 places, 145382/145382 transitions.
Interrupted Random walk after 398606 steps, including 0 resets, run timeout after 30001 ms. (steps per millisecond=13 )
[2023-03-18 13:51:24] [INFO ] Flow matrix only has 112309 transitions (discarded 33073 similar events)
// Phase 1: matrix 112309 rows 880 cols
[2023-03-18 13:51:24] [INFO ] Computed 5 place invariants in 385 ms
[2023-03-18 13:51:33] [INFO ] [Real]Absence check using 5 positive place invariants in 16 ms returned sat
[2023-03-18 13:51:33] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2023-03-18 13:52:05] [INFO ] [Real]Absence check using state equation in 32701 ms returned sat
[2023-03-18 13:52:07] [INFO ] Solution in real domain found non-integer solution.
[2023-03-18 13:52:16] [INFO ] [Nat]Absence check using 5 positive place invariants in 47 ms returned sat
[2023-03-18 13:52:16] [INFO ] [Nat]Adding state equation constraints to refine reachable states.
[2023-03-18 13:52:50] [INFO ] [Nat]Absence check using state equation in 34610 ms returned sat
[2023-03-18 13:52:51] [INFO ] State equation strengthened by 2563 read => feed constraints.
[2023-03-18 13:53:09] [INFO ] [Nat]Added 2563 Read/Feed constraints in 17934 ms returned sat
[2023-03-18 13:53:25] [INFO ] Deduced a trap composed of 83 places in 13284 ms of which 2 ms to minimize.
[2023-03-18 13:53:40] [INFO ] Deduced a trap composed of 242 places in 13563 ms of which 3 ms to minimize.
[2023-03-18 13:53:55] [INFO ] Deduced a trap composed of 226 places in 13415 ms of which 2 ms to minimize.
[2023-03-18 13:54:09] [INFO ] Deduced a trap composed of 196 places in 12659 ms of which 5 ms to minimize.
[2023-03-18 13:54:24] [INFO ] Deduced a trap composed of 54 places in 13520 ms of which 2 ms to minimize.
[2023-03-18 13:54:39] [INFO ] Deduced a trap composed of 494 places in 12992 ms of which 1 ms to minimize.
[2023-03-18 13:54:53] [INFO ] Deduced a trap composed of 495 places in 13081 ms of which 2 ms to minimize.
[2023-03-18 13:55:02] [INFO ] Deduced a trap composed of 192 places in 7537 ms of which 2 ms to minimize.
[2023-03-18 13:55:12] [INFO ] Deduced a trap composed of 441 places in 7676 ms of which 1 ms to minimize.
[2023-03-18 13:55:27] [INFO ] Deduced a trap composed of 27 places in 13686 ms of which 2 ms to minimize.
[2023-03-18 13:55:36] [INFO ] Deduced a trap composed of 249 places in 7673 ms of which 1 ms to minimize.
[2023-03-18 13:55:45] [INFO ] Deduced a trap composed of 499 places in 7118 ms of which 0 ms to minimize.
[2023-03-18 13:55:58] [INFO ] Deduced a trap composed of 502 places in 12087 ms of which 2 ms to minimize.
[2023-03-18 13:56:12] [INFO ] Deduced a trap composed of 53 places in 12313 ms of which 2 ms to minimize.
[2023-03-18 13:56:27] [INFO ] Deduced a trap composed of 145 places in 12561 ms of which 3 ms to minimize.
[2023-03-18 13:56:40] [INFO ] Deduced a trap composed of 142 places in 12378 ms of which 4 ms to minimize.
[2023-03-18 13:56:54] [INFO ] Deduced a trap composed of 60 places in 11758 ms of which 2 ms to minimize.
[2023-03-18 13:57:07] [INFO ] Deduced a trap composed of 408 places in 11270 ms of which 2 ms to minimize.
[2023-03-18 13:57:21] [INFO ] Deduced a trap composed of 197 places in 14103 ms of which 2 ms to minimize.
[2023-03-18 13:57: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 278970 steps, including 0 resets, run timeout after 30001 ms. (steps per millisecond=9 )
Interrupted Random walk after 354116 steps, including 0 resets, run timeout after 30001 ms. (steps per millisecond=11 )
Interrupted Random directed walk after 275034 steps, including 0 resets, run timeout after 30001 ms. (steps per millisecond=9 )
Interrupted Random walk after 318297 steps, including 0 resets, run timeout after 30001 ms. (steps per millisecond=10 )
[2023-03-18 13:59:27] [INFO ] Flatten gal took : 5057 ms
Using solver Z3 to compute partial order matrices.
Built C files in :
/tmp/ltsmin8172160353755326450
[2023-03-18 13:59:30] [INFO ] Too many transitions (146565) to apply POR reductions. Disabling POR matrices.
[2023-03-18 13:59:32] [INFO ] Built C files in 1640ms conformant to PINS (ltsmin variant)in folder :/tmp/ltsmin8172160353755326450
Running compilation step : cd /tmp/ltsmin8172160353755326450;'/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'
[2023-03-18 13:59:33] [INFO ] Applying decomposition
[2023-03-18 13:59:38] [INFO ] Flatten gal took : 4882 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/graph8110426106037194624.txt' '-o' '/tmp/graph8110426106037194624.bin' '-w' '/tmp/graph8110426106037194624.weights'
Built communities with : '/home/mcc/BenchKit/itstools/plugins/fr.lip6.move.gal.louvain.binaries_1.0.0.202205111006/bin/louvain-linux64' '/tmp/graph8110426106037194624.bin' '-l' '-1' '-v' '-w' '/tmp/graph8110426106037194624.weights' '-q' '0' '-e' '0.001'
[2023-03-18 13:59:49] [INFO ] Decomposing Gal with order
[2023-03-18 13:59:49] [INFO ] Rewriting arrays to variables to allow decomposition.
[2023-03-18 14:00:01] [INFO ] Removed a total of 378283 redundant transitions.
[2023-03-18 14:00:02] [INFO ] Flatten gal took : 9344 ms
[2023-03-18 14:00:24] [INFO ] Fuse similar labels procedure discarded/fused a total of 2701 labels/synchronizations in 19716 ms.
[2023-03-18 14:00:24] [INFO ] Time to serialize gal into /tmp/ReachabilityDeadlock15914884314172959094.gal : 251 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/ReachabilityDeadlock15914884314172959094.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...226
No direction supplied, using forward translation only.
Model ,|S| ,Time ,Mem(kb) ,fin. SDD ,fin. DDD ,peak SDD ,peak DDD ,SDD Hom ,SDD cache peak ,DDD Hom ,DDD cachepeak ,SHom cache
reachable,345421,67.9693,318384,3645,524,414273,16867,71740,602604,814,58913,0


Model ,|S| ,Time ,Mem(kb) ,fin. SDD ,fin. DDD ,peak SDD ,peak DDD ,SDD Hom ,SDD cache peak ,DDD Hom ,DDD cachepeak ,SHom cache
dead,0,70.1907,318384,1,0,414273,16867,150680,602604,2836,58913,422867

System contains 0 deadlocks (shown below if less than --print-limit option) !
FORMULA ReachabilityDeadlock FALSE TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL USE_NUPN
[ 0 ]
WARNING : LTS min runner thread was asked to interrupt. Dying gracefully.
Total runtime 1211509 ms.

BK_STOP 1679148094951

--------------------
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="RERS2020-PT-pb101"
export BK_EXAMINATION="ReachabilityDeadlock"
export BK_TOOL="gold2022"
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 gold2022"
echo " Input is RERS2020-PT-pb101, 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 r352-tall-167889221100136"
echo "====================================================================="
echo
echo "--------------------"
echo "preparation of the directory to be used:"

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