fond
Model Checking Contest 2022
12th edition, Bergen, Norway, June 21, 2022
Execution of r197-tajo-165281578900080
Last Updated
Jun 22, 2022

About the Execution of 2021-gold for RERS17pb115-PT-9

Execution Summary
Max Memory
Used (MB)
Time wait (ms) CPU Usage (ms) I/O Wait (ms) Computed Result Execution
Status
16240.128 306459.00 538224.00 11398.60 ??TF?T?T?FFF??F? normal

Execution Chart

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

Trace from the execution

Formatting '/mnt/tpsp/fkordon/mcc2022-input.r197-tajo-165281578900080.qcow2', fmt=qcow2 size=4294967296 backing_file='/mnt/tpsp/fkordon/mcc2022-input.qcow2' encryption=off cluster_size=65536 lazy_refcounts=off
Waiting for the VM to be ready (probing ssh)
........................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
=====================================================================
Generated by BenchKit 2-4028
Executing tool gold2021
Input is RERS17pb115-PT-9, examination is ReachabilityCardinality
Time confinement is 3600 seconds
Memory confinement is 16384 MBytes
Number of cores is 4
Run identifier is r197-tajo-165281578900080
=====================================================================

--------------------
preparation of the directory to be used:
/home/mcc/execution
total 70M
-rw-r--r-- 1 mcc users 6.7K Apr 30 06:13 CTLCardinality.txt
-rw-r--r-- 1 mcc users 73K Apr 30 06:13 CTLCardinality.xml
-rw-r--r-- 1 mcc users 7.5K Apr 30 06:10 CTLFireability.txt
-rw-r--r-- 1 mcc users 55K Apr 30 06:10 CTLFireability.xml
-rw-r--r-- 1 mcc users 4.2K May 10 09:34 GenericPropertiesDefinition.xml
-rw-r--r-- 1 mcc users 6.4K May 10 09:34 GenericPropertiesVerdict.xml
-rw-r--r-- 1 mcc users 3.7K May 9 08:34 LTLCardinality.txt
-rw-r--r-- 1 mcc users 27K May 9 08:34 LTLCardinality.xml
-rw-r--r-- 1 mcc users 3.0K May 9 08:34 LTLFireability.txt
-rw-r--r-- 1 mcc users 18K May 9 08:34 LTLFireability.xml
-rw-r--r-- 1 mcc users 15K Apr 30 06:23 ReachabilityCardinality.txt
-rw-r--r-- 1 mcc users 164K Apr 30 06:23 ReachabilityCardinality.xml
-rw-r--r-- 1 mcc users 11K Apr 30 06:20 ReachabilityFireability.txt
-rw-r--r-- 1 mcc users 66K Apr 30 06:20 ReachabilityFireability.xml
-rw-r--r-- 1 mcc users 1.6K May 9 08:34 UpperBounds.txt
-rw-r--r-- 1 mcc users 3.6K May 9 08:34 UpperBounds.xml
-rw-r--r-- 1 mcc users 6 May 10 09:34 equiv_col
-rw-r--r-- 1 mcc users 2 May 10 09:34 instance
-rw-r--r-- 1 mcc users 6 May 10 09:34 iscolored
-rw-r--r-- 1 mcc users 69M May 10 09:34 model.pnml

--------------------
content from stdout:

=== Data for post analysis generated by BenchKit (invocation template)

The expected result is a vector of booleans
BOOL_VECTOR

here is the order used to build the result vector(from text file)
FORMULA_NAME RERS17pb115-PT-9-ReachabilityCardinality-00
FORMULA_NAME RERS17pb115-PT-9-ReachabilityCardinality-01
FORMULA_NAME RERS17pb115-PT-9-ReachabilityCardinality-02
FORMULA_NAME RERS17pb115-PT-9-ReachabilityCardinality-03
FORMULA_NAME RERS17pb115-PT-9-ReachabilityCardinality-04
FORMULA_NAME RERS17pb115-PT-9-ReachabilityCardinality-05
FORMULA_NAME RERS17pb115-PT-9-ReachabilityCardinality-06
FORMULA_NAME RERS17pb115-PT-9-ReachabilityCardinality-07
FORMULA_NAME RERS17pb115-PT-9-ReachabilityCardinality-08
FORMULA_NAME RERS17pb115-PT-9-ReachabilityCardinality-09
FORMULA_NAME RERS17pb115-PT-9-ReachabilityCardinality-10
FORMULA_NAME RERS17pb115-PT-9-ReachabilityCardinality-11
FORMULA_NAME RERS17pb115-PT-9-ReachabilityCardinality-12
FORMULA_NAME RERS17pb115-PT-9-ReachabilityCardinality-13
FORMULA_NAME RERS17pb115-PT-9-ReachabilityCardinality-14
FORMULA_NAME RERS17pb115-PT-9-ReachabilityCardinality-15

=== Now, execution of the tool begins

BK_START 1655099097867

Running Version 0
[2022-06-13 05:44:59] [INFO ] Running its-tools with arguments : [-pnfolder, /home/mcc/execution, -examination, ReachabilityCardinality, -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, 3600]
[2022-06-13 05:44:59] [INFO ] Parsing pnml file : /home/mcc/execution/model.pnml
[2022-06-13 05:45:01] [INFO ] Load time of PNML (sax parser for PT used): 2212 ms
[2022-06-13 05:45:02] [INFO ] Transformed 1399 places.
[2022-06-13 05:45:02] [INFO ] Transformed 144369 transitions.
[2022-06-13 05:45:02] [INFO ] Parsed PT model containing 1399 places and 144369 transitions in 2860 ms.
Parsed 16 properties from file /home/mcc/execution/ReachabilityCardinality.xml in 21 ms.
Working with output stream class java.io.PrintStream
Incomplete random walk after 10000 steps, including 2 resets, run finished after 1209 ms. (steps per millisecond=8 ) properties (out of 16) seen :3
FORMULA RERS17pb115-PT-9-ReachabilityCardinality-09 FALSE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA RERS17pb115-PT-9-ReachabilityCardinality-03 FALSE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA RERS17pb115-PT-9-ReachabilityCardinality-02 TRUE TECHNIQUES TOPOLOGICAL RANDOM_WALK
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 103 ms. (steps per millisecond=97 ) properties (out of 13) seen :0
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 131 ms. (steps per millisecond=76 ) properties (out of 13) seen :0
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 138 ms. (steps per millisecond=72 ) properties (out of 13) seen :0
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 98 ms. (steps per millisecond=102 ) properties (out of 13) seen :0
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 95 ms. (steps per millisecond=105 ) properties (out of 13) seen :0
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 93 ms. (steps per millisecond=107 ) properties (out of 13) seen :0
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 126 ms. (steps per millisecond=79 ) properties (out of 13) seen :0
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 206 ms. (steps per millisecond=48 ) properties (out of 13) seen :0
Incomplete Best-First random walk after 10000 steps, including 2 resets, run finished after 161 ms. (steps per millisecond=62 ) properties (out of 13) seen :0
Incomplete Best-First random walk after 10000 steps, including 2 resets, run finished after 214 ms. (steps per millisecond=46 ) properties (out of 13) seen :0
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 158 ms. (steps per millisecond=63 ) properties (out of 13) seen :0
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 144 ms. (steps per millisecond=69 ) properties (out of 13) seen :0
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 136 ms. (steps per millisecond=73 ) properties (out of 13) seen :0
Running SMT prover for 13 properties.
[2022-06-13 05:45:07] [INFO ] Flow matrix only has 81238 transitions (discarded 63131 similar events)
// Phase 1: matrix 81238 rows 1399 cols
[2022-06-13 05:45:07] [INFO ] Computed 37 place invariants in 479 ms
[2022-06-13 05:45:08] [INFO ] [Real]Absence check using 19 positive place invariants in 54 ms returned sat
[2022-06-13 05:45:08] [INFO ] [Real]Absence check using 19 positive and 18 generalized place invariants in 6 ms returned sat
[2022-06-13 05:45:08] [INFO ] SMT Verify possible in real domain returnedunsat :0 sat :0 real:13
[2022-06-13 05:45:09] [INFO ] [Nat]Absence check using 19 positive place invariants in 19 ms returned sat
[2022-06-13 05:45:09] [INFO ] [Nat]Absence check using 19 positive and 18 generalized place invariants in 4 ms returned sat
[2022-06-13 05:45:09] [INFO ] [Nat]Adding state equation constraints to refine reachable states.
[2022-06-13 05:45:34] [INFO ] [Nat]Absence check using state equation in 24532 ms returned unsat :2 sat :11
[2022-06-13 05:45:39] [INFO ] State equation strengthened by 2277 read => feed constraints.
[2022-06-13 05:45:39] [WARNING] SMT solver failed with error :SMT solver raised an error when submitting script.... while checking expressions.
FORMULA RERS17pb115-PT-9-ReachabilityCardinality-10 FALSE TECHNIQUES STRUCTURAL_REDUCTION TOPOLOGICAL SAT_SMT
FORMULA RERS17pb115-PT-9-ReachabilityCardinality-05 TRUE TECHNIQUES STRUCTURAL_REDUCTION TOPOLOGICAL SAT_SMT
Fused 13 Parikh solutions to 1 different solutions.
Support contains 184 out of 1399 places. Attempting structural reductions.
Starting structural reductions, iteration 0 : 1399/1399 places, 144369/144369 transitions.
Ensure Unique test removed 18 places
Iterating post reduction 0 with 18 rules applied. Total rules applied 18 place count 1381 transition count 144369
Applied a total of 18 rules in 2992 ms. Remains 1381 /1399 variables (removed 18) and now considering 144369/144369 (removed 0) transitions.
Finished structural reductions, in 1 iterations. Remains : 1381/1399 places, 144369/144369 transitions.
[2022-06-13 05:45:50] [INFO ] Flatten gal took : 6367 ms
[2022-06-13 05:45:55] [INFO ] Flatten gal took : 4934 ms
[2022-06-13 05:45:56] [INFO ] Time to serialize gal into /tmp/ReachabilityCardinality10001801749841691362.gal : 534 ms
[2022-06-13 05:45:56] [INFO ] Time to serialize properties into /tmp/ReachabilityCardinality5862973331396734826.prop : 15 ms
Invoking ITS tools like this :CommandLine [args=[/home/mcc/BenchKit/itstools/plugins/fr.lip6.move.gal.itstools.binaries_1.0.0.202104292328/bin/its-reach-linux64, --gc-threshold, 2000000, --quiet, -i, /tmp/ReachabilityCardinality10001801749841691362.gal, -t, CGAL, -reachable-file, /tmp/ReachabilityCardinality5862973331396734826.prop, --nowitness, --gen-order, FOLLOW], workingDir=/home/mcc/execution]

its-reach command run as :

/home/mcc/BenchKit/itstools/plugins/fr.lip6.move.gal.itstools.binaries_1.0.0.202104292328/bin/its-reach-linux64 --gc-threshold 2000000 --quiet -i /tmp/ReachabilityCardinality10001801749841691362.gal -t CGAL -reachable-file /tmp/ReachabilityCardinality5862973331396734826.prop --nowitness --gen-order FOLLOW
Detected timeout of ITS tools.
[2022-06-13 05:46:16] [INFO ] Flatten gal took : 4418 ms
[2022-06-13 05:46:16] [INFO ] Applying decomposition
[2022-06-13 05:46:20] [INFO ] Flatten gal took : 3884 ms
Converted graph to binary with : CommandLine [args=[/home/mcc/BenchKit/itstools/plugins/fr.lip6.move.gal.louvain.binaries_1.0.0.202104292328/bin/convert-linux64, -i, /tmp/graph1690351119887336865.txt, -o, /tmp/graph1690351119887336865.bin, -w, /tmp/graph1690351119887336865.weights], workingDir=null]
Built communities with : CommandLine [args=[/home/mcc/BenchKit/itstools/plugins/fr.lip6.move.gal.louvain.binaries_1.0.0.202104292328/bin/louvain-linux64, /tmp/graph1690351119887336865.bin, -l, -1, -v, -w, /tmp/graph1690351119887336865.weights, -q, 0, -e, 0.001], workingDir=null]
[2022-06-13 05:46:33] [INFO ] Decomposing Gal with order
[2022-06-13 05:46:33] [INFO ] Rewriting arrays to variables to allow decomposition.
[2022-06-13 05:46:48] [INFO ] Removed a total of 435651 redundant transitions.
[2022-06-13 05:46:50] [INFO ] Flatten gal took : 9643 ms
[2022-06-13 05:47:20] [INFO ] Fuse similar labels procedure discarded/fused a total of 2148 labels/synchronizations in 25836 ms.
[2022-06-13 05:47:22] [INFO ] Time to serialize gal into /tmp/ReachabilityCardinality17369685255867682954.gal : 547 ms
[2022-06-13 05:47:22] [INFO ] Time to serialize properties into /tmp/ReachabilityCardinality2781554835039788207.prop : 1 ms
Invoking ITS tools like this :CommandLine [args=[/home/mcc/BenchKit/itstools/plugins/fr.lip6.move.gal.itstools.binaries_1.0.0.202104292328/bin/its-reach-linux64, --gc-threshold, 2000000, --quiet, -i, /tmp/ReachabilityCardinality17369685255867682954.gal, -t, CGAL, -reachable-file, /tmp/ReachabilityCardinality2781554835039788207.prop, --nowitness, --gen-order, FOLLOW], workingDir=/home/mcc/execution]

its-reach command run as :

/home/mcc/BenchKit/itstools/plugins/fr.lip6.move.gal.itstools.binaries_1.0.0.202104292328/bin/its-reach-linux64 --gc-threshold 2000000 --quiet -i /tmp/ReachabilityCardinality17369685255867682954.gal -t CGAL -reachable-file /tmp/ReachabilityCardinality2781554835039788207.prop --nowitness --gen-order FOLLOW
Loading property file /tmp/ReachabilityCardinality2781554835039788207.prop.
Detected timeout of ITS tools.
Built C files in :
/tmp/ltsmin2414608610219403711
[2022-06-13 05:47:39] [INFO ] Built C files in 1562ms conformant to PINS (ltsmin variant)in folder :/tmp/ltsmin2414608610219403711
Running compilation step : CommandLine [args=[gcc, -c, -I/home/mcc/BenchKit/itstools/plugins/fr.lip6.move.gal.ltsmin.binaries_1.0.0.202104292328/bin/include/, -I., -std=c99, -fPIC, -O2, model.c], workingDir=/tmp/ltsmin2414608610219403711]
WARNING : LTS min runner thread failed on error :java.lang.RuntimeException: Compilation or link of executable timed out.java.util.concurrent.TimeoutException: Subprocess running CommandLine [args=[gcc, -c, -I/home/mcc/BenchKit/itstools/plugins/fr.lip6.move.gal.ltsmin.binaries_1.0.0.202104292328/bin/include/, -I., -std=c99, -fPIC, -O2, model.c], workingDir=/tmp/ltsmin2414608610219403711] killed by timeout after 1 SECONDS
java.lang.RuntimeException: Compilation or link of executable timed out.java.util.concurrent.TimeoutException: Subprocess running CommandLine [args=[gcc, -c, -I/home/mcc/BenchKit/itstools/plugins/fr.lip6.move.gal.ltsmin.binaries_1.0.0.202104292328/bin/include/, -I., -std=c99, -fPIC, -O2, model.c], workingDir=/tmp/ltsmin2414608610219403711] killed by timeout after 1 SECONDS
at fr.lip6.move.gal.application.LTSminRunner$1.run(LTSminRunner.java:79)
at java.base/java.lang.Thread.run(Thread.java:834)
Interrupted random walk after 126249 steps, including 0 resets, run timeout after 30694 ms. (steps per millisecond=4 ) properties seen :{9=1}
FORMULA RERS17pb115-PT-9-ReachabilityCardinality-14 FALSE TECHNIQUES TOPOLOGICAL RANDOM_WALK
Interrupted Best-First random walk after 670855 steps, including 2 resets, run timeout after 5001 ms. (steps per millisecond=134 ) properties seen :{}
Interrupted Best-First random walk after 701250 steps, including 2 resets, run timeout after 5001 ms. (steps per millisecond=140 ) properties seen :{}
Interrupted Best-First random walk after 464314 steps, including 1 resets, run timeout after 5001 ms. (steps per millisecond=92 ) properties seen :{}
Interrupted Best-First random walk after 830647 steps, including 2 resets, run timeout after 5001 ms. (steps per millisecond=166 ) properties seen :{}
Interrupted Best-First random walk after 578236 steps, including 1 resets, run timeout after 5001 ms. (steps per millisecond=115 ) properties seen :{4=1}
FORMULA RERS17pb115-PT-9-ReachabilityCardinality-07 TRUE TECHNIQUES TOPOLOGICAL BESTFIRST_WALK
Interrupted Best-First random walk after 911943 steps, including 2 resets, run timeout after 5001 ms. (steps per millisecond=182 ) properties seen :{}
Incomplete Best-First random walk after 1000001 steps, including 2 resets, run finished after 4533 ms. (steps per millisecond=220 ) properties (out of 9) seen :1
FORMULA RERS17pb115-PT-9-ReachabilityCardinality-11 FALSE TECHNIQUES TOPOLOGICAL BESTFIRST_WALK
Interrupted Best-First random walk after 817973 steps, including 2 resets, run timeout after 5001 ms. (steps per millisecond=163 ) properties seen :{}
Interrupted Best-First random walk after 957933 steps, including 2 resets, run timeout after 5001 ms. (steps per millisecond=191 ) properties seen :{}
Interrupted Best-First random walk after 890114 steps, including 2 resets, run timeout after 5001 ms. (steps per millisecond=177 ) properties seen :{}
Running SMT prover for 8 properties.
[2022-06-13 05:49:04] [INFO ] Flow matrix only has 81238 transitions (discarded 63131 similar events)
// Phase 1: matrix 81238 rows 1381 cols
[2022-06-13 05:49:04] [INFO ] Computed 19 place invariants in 664 ms
[2022-06-13 05:49:07] [INFO ] [Real]Absence check using 19 positive place invariants in 35 ms returned sat
[2022-06-13 05:49:07] [INFO ] SMT Verify possible in real domain returnedunsat :0 sat :0 real:8
[2022-06-13 05:49:07] [INFO ] [Nat]Absence check using 19 positive place invariants in 35 ms returned sat
[2022-06-13 05:49:08] [INFO ] [Nat]Adding state equation constraints to refine reachable states.
[2022-06-13 05:49:47] [INFO ] [Nat]Absence check using state equation in 39354 ms returned unsat :0 sat :8

BK_STOP 1655099404326

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

+ export BINDIR=/home/mcc/BenchKit/bin//../
+ BINDIR=/home/mcc/BenchKit/bin//../
++ pwd
+ export MODEL=/home/mcc/execution
+ MODEL=/home/mcc/execution
+ [[ ReachabilityCardinality = StateSpace ]]
+ /home/mcc/BenchKit/bin//..//runeclipse.sh /home/mcc/execution ReachabilityCardinality -its -ltsmin -greatspnpath /home/mcc/BenchKit/bin//..//greatspn/ -order META -manyOrder -smt -timeout 3600
+ ulimit -s 65536
+ [[ -z '' ]]
+ export LTSMIN_MEM_SIZE=8589934592
+ LTSMIN_MEM_SIZE=8589934592
++ cut -d . -f 9
++ ls /home/mcc/BenchKit/bin//..//itstools/plugins/fr.lip6.move.gal.application.pnmcc_1.0.0.202104292328.jar
+ VERSION=0
+ echo 'Running Version 0'
+ /home/mcc/BenchKit/bin//..//itstools/its-tools -data /home/mcc/execution/workspace -pnfolder /home/mcc/execution -examination ReachabilityCardinality -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 3600 -vmargs -Dosgi.locking=none -Declipse.stateSaveDelayInterval=-1 -Dosgi.configuration.area=/tmp/.eclipse -Xss128m -Xms40m -Xmx16000m

Sequence of Actions to be Executed by the VM

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

set -x
# this is for BenchKit: configuration of major elements for the test
export BK_INPUT="RERS17pb115-PT-9"
export BK_EXAMINATION="ReachabilityCardinality"
export BK_TOOL="gold2021"
export BK_RESULT_DIR="/tmp/BK_RESULTS/OUTPUTS"
export BK_TIME_CONFINEMENT="3600"
export BK_MEMORY_CONFINEMENT="16384"
export BK_BIN_PATH="/home/mcc/BenchKit/bin/"

# this is specific to your benchmark or test

export BIN_DIR="$HOME/BenchKit/bin"

# remove the execution directoty if it exists (to avoid increse of .vmdk images)
if [ -d execution ] ; then
rm -rf execution
fi

# this is for BenchKit: explicit launching of the test
echo "====================================================================="
echo " Generated by BenchKit 2-4028"
echo " Executing tool gold2021"
echo " Input is RERS17pb115-PT-9, examination is ReachabilityCardinality"
echo " Time confinement is $BK_TIME_CONFINEMENT seconds"
echo " Memory confinement is 16384 MBytes"
echo " Number of cores is 4"
echo " Run identifier is r197-tajo-165281578900080"
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 [ "ReachabilityCardinality" = "ReachabilityDeadlock" ] || [ "ReachabilityCardinality" = "UpperBounds" ] || [ "ReachabilityCardinality" = "QuasiLiveness" ] || [ "ReachabilityCardinality" = "StableMarking" ] || [ "ReachabilityCardinality" = "Liveness" ] || [ "ReachabilityCardinality" = "OneSafe" ] || [ "ReachabilityCardinality" = "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 [ "ReachabilityCardinality" = "UpperBounds" ] ; then
echo "The expected result is a vector of positive values"
echo NUM_VECTOR
elif [ "ReachabilityCardinality" != "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 "ReachabilityCardinality.txt" ] ; then
echo "here is the order used to build the result vector(from text file)"
for x in $(grep Property ReachabilityCardinality.txt | cut -d ' ' -f 2 | sort -u) ; do
echo "FORMULA_NAME $x"
done
elif [ -f "ReachabilityCardinality.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 '' ReachabilityCardinality.xml | cut -d '>' -f 2 | cut -d '<' -f 1 | sort -u) ; do
echo "FORMULA_NAME $x"
done
elif [ "ReachabilityCardinality" = "ReachabilityDeadlock" ] || [ "ReachabilityCardinality" = "QuasiLiveness" ] || [ "ReachabilityCardinality" = "StableMarking" ] || [ "ReachabilityCardinality" = "Liveness" ] || [ "ReachabilityCardinality" = "OneSafe" ] ; then
echo "FORMULA_NAME ReachabilityCardinality"
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 ;