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

About the Execution of 2022-gold for NoC3x3-PT-5A

Execution Summary
Max Memory
Used (MB)
Time wait (ms) CPU Usage (ms) I/O Wait (ms) Computed Result Execution
Status
7175.764 1800000.00 7028347.00 641.90 [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/mcc2023-input.r288-smll-167863554100181.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 NoC3x3-PT-5A, examination is ReachabilityDeadlock
Time confinement is 1800 seconds
Memory confinement is 16384 MBytes
Number of cores is 4
Run identifier is r288-smll-167863554100181
=====================================================================

--------------------
preparation of the directory to be used:
/home/mcc/execution
total 688K
-rw-r--r-- 1 mcc users 7.4K Feb 26 09:49 CTLCardinality.txt
-rw-r--r-- 1 mcc users 82K Feb 26 09:49 CTLCardinality.xml
-rw-r--r-- 1 mcc users 6.7K Feb 26 09:48 CTLFireability.txt
-rw-r--r-- 1 mcc users 66K Feb 26 09:48 CTLFireability.xml
-rw-r--r-- 1 mcc users 4.2K Jan 29 11:40 GenericPropertiesDefinition.xml
-rw-r--r-- 1 mcc users 3.6K Feb 25 16:28 LTLCardinality.txt
-rw-r--r-- 1 mcc users 25K Feb 25 16:28 LTLCardinality.xml
-rw-r--r-- 1 mcc users 2.1K Feb 25 16:28 LTLFireability.txt
-rw-r--r-- 1 mcc users 18K Feb 25 16:28 LTLFireability.xml
-rw-r--r-- 1 mcc users 8.1K Feb 26 09:51 ReachabilityCardinality.txt
-rw-r--r-- 1 mcc users 82K Feb 26 09:51 ReachabilityCardinality.xml
-rw-r--r-- 1 mcc users 8.8K Feb 26 09:50 ReachabilityFireability.txt
-rw-r--r-- 1 mcc users 77K Feb 26 09:50 ReachabilityFireability.xml
-rw-r--r-- 1 mcc users 1.5K Feb 25 16:28 UpperBounds.txt
-rw-r--r-- 1 mcc users 3.6K Feb 25 16:28 UpperBounds.xml
-rw-r--r-- 1 mcc users 6 Mar 5 18:23 equiv_col
-rw-r--r-- 1 mcc users 3 Mar 5 18:23 instance
-rw-r--r-- 1 mcc users 6 Mar 5 18:23 iscolored
-rw-r--r-- 1 mcc users 248K 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 1678902339807

Running Version 202205111006
[2023-03-15 17:45:42] [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-15 17:45:42] [INFO ] Parsing pnml file : /home/mcc/execution/model.pnml
[2023-03-15 17:45:42] [INFO ] Load time of PNML (sax parser for PT used): 209 ms
[2023-03-15 17:45:42] [INFO ] Transformed 417 places.
[2023-03-15 17:45:42] [INFO ] Transformed 933 transitions.
[2023-03-15 17:45:42] [INFO ] Found NUPN structural information;
[2023-03-15 17:45:42] [INFO ] Parsed PT model containing 417 places and 933 transitions in 415 ms.
Parsed 1 properties from file /home/mcc/execution/ReachabilityDeadlock.xml in 7 ms.
Working with output stream class java.io.PrintStream
Built sparse matrix representations for Structural reductions in 8 ms.10280KB memory used
Starting structural reductions in DEADLOCKS mode, iteration 0 : 417/417 places, 933/933 transitions.
Computed a total of 10 stabilizing places and 1 stable transitions
Computed a total of 10 stabilizing places and 1 stable transitions
Discarding 79 places :
Symmetric choice reduction at 0 with 79 rule applications. Total rules 79 place count 338 transition count 744
Iterating global reduction 0 with 79 rules applied. Total rules applied 158 place count 338 transition count 744
Computed a total of 10 stabilizing places and 1 stable transitions
Discarding 4 places :
Symmetric choice reduction at 0 with 4 rule applications. Total rules 162 place count 334 transition count 728
Iterating global reduction 0 with 4 rules applied. Total rules applied 166 place count 334 transition count 728
Ensure Unique test removed 8 transitions
Reduce isomorphic transitions removed 8 transitions.
Computed a total of 10 stabilizing places and 1 stable transitions
Iterating post reduction 0 with 8 rules applied. Total rules applied 174 place count 334 transition count 720
Computed a total of 10 stabilizing places and 1 stable transitions
Computed a total of 10 stabilizing places and 1 stable transitions
Drop transitions removed 18 transitions
Redundant transition composition rules discarded 18 transitions
Iterating global reduction 1 with 18 rules applied. Total rules applied 192 place count 334 transition count 702
Reduce places removed 2 places and 0 transitions.
Computed a total of 8 stabilizing places and 1 stable transitions
Iterating post reduction 1 with 2 rules applied. Total rules applied 194 place count 332 transition count 702
Computed a total of 8 stabilizing places and 1 stable transitions
Discarding 2 places :
Symmetric choice reduction at 2 with 2 rule applications. Total rules 196 place count 330 transition count 696
Iterating global reduction 2 with 2 rules applied. Total rules applied 198 place count 330 transition count 696
Computed a total of 8 stabilizing places and 1 stable transitions
Computed a total of 8 stabilizing places and 1 stable transitions
Reduce places removed 1 places and 1 transitions.
Iterating global reduction 2 with 1 rules applied. Total rules applied 199 place count 329 transition count 695
Reduce places removed 7 places and 0 transitions.
Computed a total of 0 stabilizing places and 0 stable transitions
Iterating post reduction 2 with 7 rules applied. Total rules applied 206 place count 322 transition count 695
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 206 rules in 254 ms. Remains 322 /417 variables (removed 95) and now considering 695/933 (removed 238) transitions.
Finished structural reductions, in 1 iterations. Remains : 322/417 places, 695/933 transitions.
Random walk for 1250000 steps, including 0 resets, run took 4103 ms (no deadlock found). (steps per millisecond=304 )
Random directed walk for 1250001 steps, including 0 resets, run took 5040 ms (no deadlock found). (steps per millisecond=248 )
// Phase 1: matrix 695 rows 322 cols
[2023-03-15 17:45:52] [INFO ] Computed 57 place invariants in 21 ms
[2023-03-15 17:45:52] [INFO ] [Real]Absence check using 57 positive place invariants in 40 ms returned sat
[2023-03-15 17:45:52] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2023-03-15 17:45:53] [INFO ] [Real]Absence check using state equation in 421 ms returned sat
[2023-03-15 17:45:53] [INFO ] Solution in real domain found non-integer solution.
[2023-03-15 17:45:53] [INFO ] [Nat]Absence check using 57 positive place invariants in 39 ms returned sat
[2023-03-15 17:45:53] [INFO ] [Nat]Adding state equation constraints to refine reachable states.
[2023-03-15 17:45:54] [INFO ] [Nat]Absence check using state equation in 858 ms returned sat
[2023-03-15 17:45:54] [INFO ] State equation strengthened by 18 read => feed constraints.
[2023-03-15 17:45:54] [INFO ] [Nat]Added 18 Read/Feed constraints in 56 ms returned sat
[2023-03-15 17:45:54] [INFO ] Computed and/alt/rep : 630/2391/630 causal constraints (skipped 34 transitions) in 67 ms.
[2023-03-15 17:45:59] [INFO ] Added : 413 causal constraints over 83 iterations in 5476 ms. Result :sat
Attempting to minimize the solution found.
Minimization took 20 ms.
Parikh directed walk for 92100 steps, including 616 resets, run took 505 ms. (steps per millisecond=182 )
Random directed walk for 500000 steps, including 0 resets, run took 2442 ms (no deadlock found). (steps per millisecond=204 )
Random walk for 500000 steps, including 0 resets, run took 1586 ms (no deadlock found). (steps per millisecond=315 )
Random directed walk for 500000 steps, including 0 resets, run took 1924 ms (no deadlock found). (steps per millisecond=259 )
Random walk for 500000 steps, including 0 resets, run took 1664 ms (no deadlock found). (steps per millisecond=300 )
Starting structural reductions in DEADLOCKS mode, iteration 0 : 322/322 places, 695/695 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 21 ms. Remains 322 /322 variables (removed 0) and now considering 695/695 (removed 0) transitions.
// Phase 1: matrix 695 rows 322 cols
[2023-03-15 17:46:08] [INFO ] Computed 57 place invariants in 5 ms
[2023-03-15 17:46:08] [INFO ] Implicit Places using invariants in 332 ms returned []
// Phase 1: matrix 695 rows 322 cols
[2023-03-15 17:46:08] [INFO ] Computed 57 place invariants in 5 ms
[2023-03-15 17:46:08] [INFO ] State equation strengthened by 18 read => feed constraints.
[2023-03-15 17:46:09] [INFO ] Implicit Places using invariants and state equation in 810 ms returned []
Implicit Place search using SMT with State Equation took 1146 ms to find 0 implicit places.
[2023-03-15 17:46:09] [INFO ] Redundant transitions in 52 ms returned []
// Phase 1: matrix 695 rows 322 cols
[2023-03-15 17:46:09] [INFO ] Computed 57 place invariants in 6 ms
[2023-03-15 17:46:09] [INFO ] Dead Transitions using invariants and state equation in 640 ms found 0 transitions.
Finished structural reductions, in 1 iterations. Remains : 322/322 places, 695/695 transitions.
Random walk for 1250000 steps, including 0 resets, run took 4364 ms (no deadlock found). (steps per millisecond=286 )
Random directed walk for 1250002 steps, including 0 resets, run took 4941 ms (no deadlock found). (steps per millisecond=252 )
// Phase 1: matrix 695 rows 322 cols
[2023-03-15 17:46:19] [INFO ] Computed 57 place invariants in 4 ms
[2023-03-15 17:46:19] [INFO ] [Real]Absence check using 57 positive place invariants in 29 ms returned sat
[2023-03-15 17:46:19] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2023-03-15 17:46:19] [INFO ] [Real]Absence check using state equation in 414 ms returned sat
[2023-03-15 17:46:20] [INFO ] Solution in real domain found non-integer solution.
[2023-03-15 17:46:20] [INFO ] [Nat]Absence check using 57 positive place invariants in 35 ms returned sat
[2023-03-15 17:46:20] [INFO ] [Nat]Adding state equation constraints to refine reachable states.
[2023-03-15 17:46:21] [INFO ] [Nat]Absence check using state equation in 857 ms returned sat
[2023-03-15 17:46:21] [INFO ] State equation strengthened by 18 read => feed constraints.
[2023-03-15 17:46:21] [INFO ] [Nat]Added 18 Read/Feed constraints in 54 ms returned sat
[2023-03-15 17:46:21] [INFO ] Computed and/alt/rep : 630/2391/630 causal constraints (skipped 34 transitions) in 85 ms.
[2023-03-15 17:46:29] [INFO ] Added : 413 causal constraints over 83 iterations in 8051 ms. Result :sat
Attempting to minimize the solution found.
Minimization took 32 ms.
Parikh directed walk for 92100 steps, including 600 resets, run took 685 ms. (steps per millisecond=134 )
Random directed walk for 500005 steps, including 0 resets, run took 1936 ms (no deadlock found). (steps per millisecond=258 )
Random walk for 500000 steps, including 0 resets, run took 1467 ms (no deadlock found). (steps per millisecond=340 )
Random directed walk for 500000 steps, including 0 resets, run took 1823 ms (no deadlock found). (steps per millisecond=274 )
Random walk for 500000 steps, including 0 resets, run took 1669 ms (no deadlock found). (steps per millisecond=299 )
[2023-03-15 17:46:37] [INFO ] Flatten gal took : 293 ms
Using solver Z3 to compute partial order matrices.
Built C files in :
/tmp/ltsmin9845742759605979627
[2023-03-15 17:46:37] [INFO ] Computing symmetric may disable matrix : 933 transitions.
[2023-03-15 17:46:37] [INFO ] Computation of Complete disable matrix. took 10 ms. Total solver calls (SAT/UNSAT): 0(0/0)
[2023-03-15 17:46:37] [INFO ] Computing symmetric may enable matrix : 933 transitions.
[2023-03-15 17:46:37] [INFO ] Computation of Complete enable matrix. took 16 ms. Total solver calls (SAT/UNSAT): 0(0/0)
[2023-03-15 17:46:37] [INFO ] Applying decomposition
[2023-03-15 17:46:38] [INFO ] Flatten gal took : 154 ms
[2023-03-15 17:46:38] [INFO ] Computing Do-Not-Accords matrix : 933 transitions.
[2023-03-15 17:46:38] [INFO ] Computation of Completed DNA matrix. took 54 ms. Total solver calls (SAT/UNSAT): 0(0/0)
[2023-03-15 17:46:38] [INFO ] Built C files in 618ms conformant to PINS (ltsmin variant)in folder :/tmp/ltsmin9845742759605979627
Running compilation step : cd /tmp/ltsmin9845742759605979627;'/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'
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/graph6228514163573633477.txt' '-o' '/tmp/graph6228514163573633477.bin' '-w' '/tmp/graph6228514163573633477.weights'
Built communities with : '/home/mcc/BenchKit/itstools/plugins/fr.lip6.move.gal.louvain.binaries_1.0.0.202205111006/bin/louvain-linux64' '/tmp/graph6228514163573633477.bin' '-l' '-1' '-v' '-w' '/tmp/graph6228514163573633477.weights' '-q' '0' '-e' '0.001'
[2023-03-15 17:46:38] [INFO ] Decomposing Gal with order
[2023-03-15 17:46:38] [INFO ] Rewriting arrays to variables to allow decomposition.
[2023-03-15 17:46:39] [INFO ] Removed a total of 403 redundant transitions.
[2023-03-15 17:46:39] [INFO ] Flatten gal took : 687 ms
[2023-03-15 17:46:40] [INFO ] Fuse similar labels procedure discarded/fused a total of 346 labels/synchronizations in 94 ms.
[2023-03-15 17:46:40] [INFO ] Time to serialize gal into /tmp/ReachabilityDeadlock6675381079623776877.gal : 95 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/ReachabilityDeadlock6675381079623776877.gal' '-t' 'CGAL' '-ctl' 'DEADLOCK'

its-ctl command run as :

/home/mcc/BenchKit/itstools/plugins/fr.lip6.move.gal.itstools.binaries_1.0.0.202205111006/bin/its-ctl-linux64 --gc-threshold 2000000 --quiet -i /tmp/R...225
No direction supplied, using forward translation only.
Compilation finished in 6334 ms.
Running link step : cd /tmp/ltsmin9845742759605979627;'gcc' '-shared' '-o' 'gal.so' 'model.o'
Link finished in 164 ms.
Running LTSmin : cd /tmp/ltsmin9845742759605979627;'/home/mcc/BenchKit/itstools/plugins/fr.lip6.move.gal.ltsmin.binaries_1.0.0.202205111006/bin/pins2lts-mc-linux64' './gal.so' '--threads=8' '-p' '--pins-guards' '--when' '-d'
Detected timeout of ITS tools.
[2023-03-15 17:56:58] [INFO ] Applying decomposition
[2023-03-15 17:56:58] [INFO ] Flatten gal took : 218 ms
[2023-03-15 17:56:59] [INFO ] Decomposing Gal with order
[2023-03-15 17:56:59] [INFO ] Rewriting arrays to variables to allow decomposition.
[2023-03-15 17:56:59] [INFO ] Removed a total of 991 redundant transitions.
[2023-03-15 17:56:59] [INFO ] Flatten gal took : 428 ms
[2023-03-15 17:56:59] [INFO ] Fuse similar labels procedure discarded/fused a total of 530 labels/synchronizations in 83 ms.
[2023-03-15 17:56:59] [INFO ] Time to serialize gal into /tmp/ReachabilityDeadlock6293908877415101096.gal : 31 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/ReachabilityDeadlock6293908877415101096.gal' '-t' 'CGAL' '-ctl' 'DEADLOCK'

its-ctl command run as :

/home/mcc/BenchKit/itstools/plugins/fr.lip6.move.gal.itstools.binaries_1.0.0.202205111006/bin/its-ctl-linux64 --gc-threshold 2000000 --quiet -i /tmp/R...225
No direction supplied, using forward translation only.
Detected timeout of ITS tools.
[2023-03-15 18:07:18] [INFO ] Flatten gal took : 143 ms
[2023-03-15 18:07:18] [INFO ] Input system was already deterministic with 933 transitions.
[2023-03-15 18:07:18] [INFO ] Transformed 417 places.
[2023-03-15 18:07:18] [INFO ] Transformed 933 transitions.
Running greatSPN : cd /home/mcc/execution;'/home/mcc/BenchKit/bin//..//greatspn//bin/pinvar' '/home/mcc/execution/gspn'
Run of greatSPN captured in /home/mcc/execution/outPut.txt
Running greatSPN : cd /home/mcc/execution;'/home/mcc/BenchKit/bin//..//greatspn//bin/RGMEDD2' '/home/mcc/execution/gspn' '-META' '-varord-only'
Run of greatSPN captured in /home/mcc/execution/outPut.txt
Using order generated by GreatSPN with heuristic : META
[2023-03-15 18:07:19] [INFO ] Time to serialize gal into /tmp/ReachabilityDeadlock2031598132188284831.gal : 26 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/ReachabilityDeadlock2031598132188284831.gal' '-t' 'CGAL' '-ctl' 'DEADLOCK' '--load-order' '/home/mcc/execution/model.ord' '--gen-order' 'FOLLOW'

its-ctl command run as :

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

BK_TIME_CONFINEMENT_REACHED

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

+ export LANG=C
+ LANG=C
+ export BINDIR=/home/mcc/BenchKit/bin//../
+ BINDIR=/home/mcc/BenchKit/bin//../
++ pwd
+ export MODEL=/home/mcc/execution
+ MODEL=/home/mcc/execution
+ [[ ReachabilityDeadlock = StateSpace ]]
+ /home/mcc/BenchKit/bin//..//runeclipse.sh /home/mcc/execution ReachabilityDeadlock -its -ltsmin -greatspnpath /home/mcc/BenchKit/bin//..//greatspn/ -order META -manyOrder -smt -timeout 1800
+ ulimit -s 65536
+ export PYTHONPATH=/usr/lib/python3.9/site-packages/
+ PYTHONPATH=/usr/lib/python3.9/site-packages/
+ export LD_LIBRARY_PATH=/usr/local/lib:
+ LD_LIBRARY_PATH=/usr/local/lib:
+ [[ -z '' ]]
+ export LTSMIN_MEM_SIZE=8589934592
+ LTSMIN_MEM_SIZE=8589934592
++ sed s/.jar//
++ perl -pe 's/.*\.//g'
++ ls /home/mcc/BenchKit/bin//..//itstools/plugins/fr.lip6.move.gal.application.pnmcc_1.0.0.202205111006.jar
+ VERSION=202205111006
+ echo 'Running Version 202205111006'
+ /home/mcc/BenchKit/bin//..//itstools/its-tools -data @none -pnfolder /home/mcc/execution -examination ReachabilityDeadlock -spotpath /home/mcc/BenchKit/bin//..//ltlfilt -z3path /home/mcc/BenchKit/bin//..//z3/bin/z3 -yices2path /home/mcc/BenchKit/bin//..//yices/bin/yices -its -ltsmin -greatspnpath /home/mcc/BenchKit/bin//..//greatspn/ -order META -manyOrder -smt -timeout 1800 -vmargs -Dosgi.locking=none -Declipse.stateSaveDelayInterval=-1 -Dosgi.configuration.area=@none -Xss128m -Xms40m -Xmx8192m

Sequence of Actions to be Executed by the VM

This is useful if one wants to reexecute the tool in the VM from the submitted image disk.

set -x
# this is for BenchKit: configuration of major elements for the test
export BK_INPUT="NoC3x3-PT-5A"
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 NoC3x3-PT-5A, 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 r288-smll-167863554100181"
echo "====================================================================="
echo
echo "--------------------"
echo "preparation of the directory to be used:"

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