fond
Model Checking Contest 2022
12th edition, Bergen, Norway, June 21, 2022
Execution of r251-smll-165303244900015
Last Updated
Jun 22, 2022

About the Execution of 2021-gold for SimpleLoadBal-PT-20

Execution Summary
Max Memory
Used (MB)
Time wait (ms) CPU Usage (ms) I/O Wait (ms) Computed Result Execution
Status
387.703 21987.00 42377.00 395.90 FTFFFFFTTTTTTFTF normal

Execution Chart

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

Trace from the execution

Formatting '/data/fkordon/mcc2022-input.r251-smll-165303244900015.qcow2', fmt=qcow2 size=4294967296 backing_file=/data/fkordon/mcc2022-input.qcow2 cluster_size=65536 lazy_refcounts=off refcount_bits=16
Waiting for the VM to be ready (probing ssh)
.............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
=====================================================================
Generated by BenchKit 2-4028
Executing tool gold2021
Input is SimpleLoadBal-PT-20, examination is ReachabilityFireability
Time confinement is 3600 seconds
Memory confinement is 16384 MBytes
Number of cores is 4
Run identifier is r251-smll-165303244900015
=====================================================================

--------------------
preparation of the directory to be used:
/home/mcc/execution
total 2.4M
-rw-r--r-- 1 mcc users 8.6K Apr 29 14:21 CTLCardinality.txt
-rw-r--r-- 1 mcc users 75K Apr 29 14:21 CTLCardinality.xml
-rw-r--r-- 1 mcc users 7.3K Apr 29 14:20 CTLFireability.txt
-rw-r--r-- 1 mcc users 52K Apr 29 14:20 CTLFireability.xml
-rw-r--r-- 1 mcc users 4.2K May 10 09:34 GenericPropertiesDefinition.xml
-rw-r--r-- 1 mcc users 6.8K May 10 09:34 GenericPropertiesVerdict.xml
-rw-r--r-- 1 mcc users 5.0K May 9 09:03 LTLCardinality.txt
-rw-r--r-- 1 mcc users 28K May 9 09:03 LTLCardinality.xml
-rw-r--r-- 1 mcc users 3.2K May 9 09:03 LTLFireability.txt
-rw-r--r-- 1 mcc users 19K May 9 09:03 LTLFireability.xml
-rw-r--r-- 1 mcc users 11K Apr 29 14:22 ReachabilityCardinality.txt
-rw-r--r-- 1 mcc users 81K Apr 29 14:22 ReachabilityCardinality.xml
-rw-r--r-- 1 mcc users 14K Apr 29 14:22 ReachabilityFireability.txt
-rw-r--r-- 1 mcc users 86K Apr 29 14:22 ReachabilityFireability.xml
-rw-r--r-- 1 mcc users 1.9K May 9 09:03 UpperBounds.txt
-rw-r--r-- 1 mcc users 3.9K May 9 09:03 UpperBounds.xml
-rw-r--r-- 1 mcc users 6 May 10 09:34 equiv_col
-rw-r--r-- 1 mcc users 3 May 10 09:34 instance
-rw-r--r-- 1 mcc users 6 May 10 09:34 iscolored
-rw-r--r-- 1 mcc users 2.0M 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 SimpleLoadBal-PT-20-ReachabilityFireability-00
FORMULA_NAME SimpleLoadBal-PT-20-ReachabilityFireability-01
FORMULA_NAME SimpleLoadBal-PT-20-ReachabilityFireability-02
FORMULA_NAME SimpleLoadBal-PT-20-ReachabilityFireability-03
FORMULA_NAME SimpleLoadBal-PT-20-ReachabilityFireability-04
FORMULA_NAME SimpleLoadBal-PT-20-ReachabilityFireability-05
FORMULA_NAME SimpleLoadBal-PT-20-ReachabilityFireability-06
FORMULA_NAME SimpleLoadBal-PT-20-ReachabilityFireability-07
FORMULA_NAME SimpleLoadBal-PT-20-ReachabilityFireability-08
FORMULA_NAME SimpleLoadBal-PT-20-ReachabilityFireability-09
FORMULA_NAME SimpleLoadBal-PT-20-ReachabilityFireability-10
FORMULA_NAME SimpleLoadBal-PT-20-ReachabilityFireability-11
FORMULA_NAME SimpleLoadBal-PT-20-ReachabilityFireability-12
FORMULA_NAME SimpleLoadBal-PT-20-ReachabilityFireability-13
FORMULA_NAME SimpleLoadBal-PT-20-ReachabilityFireability-14
FORMULA_NAME SimpleLoadBal-PT-20-ReachabilityFireability-15

=== Now, execution of the tool begins

BK_START 1655068597120

Running Version 0
[2022-06-12 21:16:39] [INFO ] Running its-tools with arguments : [-pnfolder, /home/mcc/execution, -examination, ReachabilityFireability, -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-12 21:16:39] [INFO ] Parsing pnml file : /home/mcc/execution/model.pnml
[2022-06-12 21:16:40] [INFO ] Load time of PNML (sax parser for PT used): 355 ms
[2022-06-12 21:16:40] [INFO ] Transformed 194 places.
[2022-06-12 21:16:40] [INFO ] Transformed 2205 transitions.
[2022-06-12 21:16:40] [INFO ] Found NUPN structural information;
[2022-06-12 21:16:40] [INFO ] Completing missing partition info from NUPN : creating a component with [P_client_idle_1, P_client_idle_2, P_client_idle_3, P_client_idle_4, P_client_idle_5, P_client_idle_6, P_client_idle_7, P_client_idle_8, P_client_idle_9, P_client_idle_10, P_client_idle_11, P_client_idle_12, P_client_idle_13, P_client_idle_14, P_client_idle_15, P_client_idle_16, P_client_idle_17, P_client_idle_18, P_client_idle_19, P_client_idle_20, P_client_waiting_1, P_client_waiting_2, P_client_waiting_3, P_client_waiting_4, P_client_waiting_5, P_client_waiting_6, P_client_waiting_7, P_client_waiting_8, P_client_waiting_9, P_client_waiting_10, P_client_waiting_11, P_client_waiting_12, P_client_waiting_13, P_client_waiting_14, P_client_waiting_15, P_client_waiting_16, P_client_waiting_17, P_client_waiting_18, P_client_waiting_19, P_client_waiting_20, P_client_request_1, P_client_request_2, P_client_request_3, P_client_request_4, P_client_request_5, P_client_request_6, P_client_request_7, P_client_request_8, P_client_request_9, P_client_request_10, P_client_request_11, P_client_request_12, P_client_request_13, P_client_request_14, P_client_request_15, P_client_request_16, P_client_request_17, P_client_request_18, P_client_request_19, P_client_request_20, P_client_ack_1, P_client_ack_2, P_client_ack_3, P_client_ack_4, P_client_ack_5, P_client_ack_6, P_client_ack_7, P_client_ack_8, P_client_ack_9, P_client_ack_10, P_client_ack_11, P_client_ack_12, P_client_ack_13, P_client_ack_14, P_client_ack_15, P_client_ack_16, P_client_ack_17, P_client_ack_18, P_client_ack_19, P_client_ack_20, P_server_idle_1, P_server_idle_2, P_server_waiting_1, P_server_waiting_2, P_server_processed_1, P_server_processed_2, P_server_notification_1, P_server_notification_2, P_server_notification_ack_1, P_server_notification_ack_2, P_server_request_1_1, P_server_request_1_2, P_server_request_2_1, P_server_request_2_2, P_server_request_3_1, P_server_request_3_2, P_server_request_4_1, P_server_request_4_2, P_server_request_5_1, P_server_request_5_2, P_server_request_6_1, P_server_request_6_2, P_server_request_7_1, P_server_request_7_2, P_server_request_8_1, P_server_request_8_2, P_server_request_9_1, P_server_request_9_2, P_server_request_10_1, P_server_request_10_2, P_server_request_11_1, P_server_request_11_2, P_server_request_12_1, P_server_request_12_2, P_server_request_13_1, P_server_request_13_2, P_server_request_14_1, P_server_request_14_2, P_server_request_15_1, P_server_request_15_2, P_server_request_16_1, P_server_request_16_2, P_server_request_17_1, P_server_request_17_2, P_server_request_18_1, P_server_request_18_2, P_server_request_19_1, P_server_request_19_2, P_server_request_20_1, P_server_request_20_2, P_lb_idle_1, P_lb_routing_1_1, P_lb_routing_1_2, P_lb_routing_1_3, P_lb_routing_1_4, P_lb_routing_1_5, P_lb_routing_1_6, P_lb_routing_1_7, P_lb_routing_1_8, P_lb_routing_1_9, P_lb_routing_1_10, P_lb_routing_1_11, P_lb_routing_1_12, P_lb_routing_1_13, P_lb_routing_1_14, P_lb_routing_1_15, P_lb_routing_1_16, P_lb_routing_1_17, P_lb_routing_1_18, P_lb_routing_1_19, P_lb_routing_1_20, P_lb_balancing_1, P_lb_load_1_0, P_lb_load_1_1, P_lb_load_1_2, P_lb_load_1_3, P_lb_load_1_4, P_lb_load_1_5, P_lb_load_1_6, P_lb_load_1_7, P_lb_load_1_8, P_lb_load_1_9, P_lb_load_1_10, P_lb_load_1_11, P_lb_load_1_12, P_lb_load_1_13, P_lb_load_1_14, P_lb_load_1_15, P_lb_load_1_16, P_lb_load_1_17, P_lb_load_1_18, P_lb_load_1_19, P_lb_load_1_20, P_lb_load_2_0, P_lb_load_2_1, P_lb_load_2_2, P_lb_load_2_3, P_lb_load_2_4, P_lb_load_2_5, P_lb_load_2_6, P_lb_load_2_7, P_lb_load_2_8, P_lb_load_2_9, P_lb_load_2_10, P_lb_load_2_11, P_lb_load_2_12, P_lb_load_2_13, P_lb_load_2_14, P_lb_load_2_15, P_lb_load_2_16, P_lb_load_2_17, P_lb_load_2_18, P_lb_load_2_19, P_lb_load_2_20]
[2022-06-12 21:16:40] [INFO ] Parsed PT model containing 194 places and 2205 transitions in 477 ms.
Parsed 16 properties from file /home/mcc/execution/ReachabilityFireability.xml in 34 ms.
Working with output stream class java.io.PrintStream
Incomplete random walk after 10000 steps, including 2 resets, run finished after 324 ms. (steps per millisecond=30 ) properties (out of 16) seen :3
FORMULA SimpleLoadBal-PT-20-ReachabilityFireability-14 TRUE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA SimpleLoadBal-PT-20-ReachabilityFireability-09 TRUE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA SimpleLoadBal-PT-20-ReachabilityFireability-05 FALSE TECHNIQUES TOPOLOGICAL RANDOM_WALK
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 50 ms. (steps per millisecond=200 ) properties (out of 13) seen :1
FORMULA SimpleLoadBal-PT-20-ReachabilityFireability-10 TRUE TECHNIQUES TOPOLOGICAL BESTFIRST_WALK
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 30 ms. (steps per millisecond=333 ) properties (out of 12) seen :0
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 101 ms. (steps per millisecond=99 ) properties (out of 12) seen :0
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 33 ms. (steps per millisecond=303 ) properties (out of 12) seen :0
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 29 ms. (steps per millisecond=344 ) properties (out of 12) seen :0
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 106 ms. (steps per millisecond=94 ) properties (out of 12) seen :0
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 87 ms. (steps per millisecond=114 ) properties (out of 12) seen :0
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 89 ms. (steps per millisecond=112 ) properties (out of 12) seen :0
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 83 ms. (steps per millisecond=120 ) properties (out of 12) seen :0
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 80 ms. (steps per millisecond=125 ) properties (out of 12) seen :1
FORMULA SimpleLoadBal-PT-20-ReachabilityFireability-12 TRUE TECHNIQUES TOPOLOGICAL BESTFIRST_WALK
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 49 ms. (steps per millisecond=204 ) properties (out of 11) seen :0
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 50 ms. (steps per millisecond=200 ) properties (out of 11) seen :0
Running SMT prover for 11 properties.
[2022-06-12 21:16:41] [INFO ] Flow matrix only has 1745 transitions (discarded 460 similar events)
// Phase 1: matrix 1745 rows 194 cols
[2022-06-12 21:16:41] [INFO ] Invariants computation overflowed in 70 ms
[2022-06-12 21:16:42] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2022-06-12 21:16:42] [INFO ] [Real]Absence check using state equation in 654 ms returned unsat
[2022-06-12 21:16:42] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2022-06-12 21:16:43] [INFO ] [Real]Absence check using state equation in 454 ms returned sat
[2022-06-12 21:16:43] [INFO ] State equation strengthened by 841 read => feed constraints.
[2022-06-12 21:16:44] [INFO ] [Real]Added 841 Read/Feed constraints in 497 ms returned sat
[2022-06-12 21:16:44] [INFO ] Solution in real domain found non-integer solution.
[2022-06-12 21:16:44] [INFO ] [Nat]Adding state equation constraints to refine reachable states.
[2022-06-12 21:16:44] [INFO ] [Nat]Absence check using state equation in 501 ms returned sat
[2022-06-12 21:16:45] [INFO ] [Nat]Added 841 Read/Feed constraints in 744 ms returned sat
[2022-06-12 21:16:46] [INFO ] Computed and/alt/rep : 40/80/40 causal constraints (skipped 1685 transitions) in 616 ms.
[2022-06-12 21:16:47] [INFO ] Added : 39 causal constraints over 8 iterations in 1770 ms. Result :sat
Attempting to minimize the solution found.
Minimization took 30 ms.
[2022-06-12 21:16:47] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2022-06-12 21:16:48] [INFO ] [Real]Absence check using state equation in 377 ms returned unsat
[2022-06-12 21:16:48] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2022-06-12 21:16:48] [INFO ] [Real]Absence check using state equation in 495 ms returned unsat
[2022-06-12 21:16:48] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2022-06-12 21:16:49] [INFO ] [Real]Absence check using state equation in 663 ms returned unsat
[2022-06-12 21:16:49] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2022-06-12 21:16:49] [INFO ] [Real]Absence check using state equation in 499 ms returned sat
[2022-06-12 21:16:49] [INFO ] Solution in real domain found non-integer solution.
[2022-06-12 21:16:49] [INFO ] [Nat]Adding state equation constraints to refine reachable states.
[2022-06-12 21:16:50] [INFO ] [Nat]Absence check using state equation in 871 ms returned sat
[2022-06-12 21:16:51] [INFO ] [Nat]Added 841 Read/Feed constraints in 554 ms returned sat
[2022-06-12 21:16:51] [INFO ] Computed and/alt/rep : 40/80/40 causal constraints (skipped 1685 transitions) in 267 ms.
[2022-06-12 21:16:52] [INFO ] Added : 40 causal constraints over 8 iterations in 1484 ms. Result :sat
Attempting to minimize the solution found.
Minimization took 30 ms.
[2022-06-12 21:16:53] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2022-06-12 21:16:53] [INFO ] [Real]Absence check using state equation in 682 ms returned sat
[2022-06-12 21:16:53] [INFO ] Solution in real domain found non-integer solution.
[2022-06-12 21:16:54] [INFO ] [Nat]Adding state equation constraints to refine reachable states.
[2022-06-12 21:16:54] [INFO ] [Nat]Absence check using state equation in 471 ms returned unsat
[2022-06-12 21:16:54] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2022-06-12 21:16:55] [INFO ] [Real]Absence check using state equation in 546 ms returned sat
[2022-06-12 21:16:55] [INFO ] Solution in real domain found non-integer solution.
[2022-06-12 21:16:55] [INFO ] [Nat]Adding state equation constraints to refine reachable states.
[2022-06-12 21:16:55] [INFO ] [Nat]Absence check using state equation in 442 ms returned unsat
[2022-06-12 21:16:55] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2022-06-12 21:16:56] [INFO ] [Real]Absence check using state equation in 693 ms returned sat
[2022-06-12 21:16:56] [INFO ] Solution in real domain found non-integer solution.
[2022-06-12 21:16:56] [INFO ] [Nat]Adding state equation constraints to refine reachable states.
[2022-06-12 21:16:56] [INFO ] [Nat]Absence check using state equation in 407 ms returned unsat
[2022-06-12 21:16:57] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2022-06-12 21:16:57] [INFO ] [Real]Absence check using state equation in 570 ms returned unsat
FORMULA SimpleLoadBal-PT-20-ReachabilityFireability-15 FALSE TECHNIQUES STRUCTURAL_REDUCTION TOPOLOGICAL SAT_SMT
FORMULA SimpleLoadBal-PT-20-ReachabilityFireability-13 FALSE TECHNIQUES STRUCTURAL_REDUCTION TOPOLOGICAL SAT_SMT
FORMULA SimpleLoadBal-PT-20-ReachabilityFireability-11 TRUE TECHNIQUES STRUCTURAL_REDUCTION TOPOLOGICAL SAT_SMT
FORMULA SimpleLoadBal-PT-20-ReachabilityFireability-08 TRUE TECHNIQUES STRUCTURAL_REDUCTION TOPOLOGICAL SAT_SMT
FORMULA SimpleLoadBal-PT-20-ReachabilityFireability-07 TRUE TECHNIQUES STRUCTURAL_REDUCTION TOPOLOGICAL SAT_SMT
FORMULA SimpleLoadBal-PT-20-ReachabilityFireability-04 FALSE TECHNIQUES STRUCTURAL_REDUCTION TOPOLOGICAL SAT_SMT
FORMULA SimpleLoadBal-PT-20-ReachabilityFireability-03 FALSE TECHNIQUES STRUCTURAL_REDUCTION TOPOLOGICAL SAT_SMT
FORMULA SimpleLoadBal-PT-20-ReachabilityFireability-02 FALSE TECHNIQUES STRUCTURAL_REDUCTION TOPOLOGICAL SAT_SMT
FORMULA SimpleLoadBal-PT-20-ReachabilityFireability-00 FALSE TECHNIQUES STRUCTURAL_REDUCTION TOPOLOGICAL SAT_SMT
Fused 11 Parikh solutions to 2 different solutions.
Finished Parikh walk after 34409 steps, including 972 resets, run visited all 2 properties in 440 ms. (steps per millisecond=78 )
FORMULA SimpleLoadBal-PT-20-ReachabilityFireability-06 FALSE TECHNIQUES TOPOLOGICAL PARIKH_WALK
FORMULA SimpleLoadBal-PT-20-ReachabilityFireability-01 TRUE TECHNIQUES TOPOLOGICAL PARIKH_WALK
All properties solved without resorting to model-checking.

BK_STOP 1655068619107

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

+ export BINDIR=/home/mcc/BenchKit/bin//../
+ BINDIR=/home/mcc/BenchKit/bin//../
++ pwd
+ export MODEL=/home/mcc/execution
+ MODEL=/home/mcc/execution
+ [[ ReachabilityFireability = StateSpace ]]
+ /home/mcc/BenchKit/bin//..//runeclipse.sh /home/mcc/execution ReachabilityFireability -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 ReachabilityFireability -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="SimpleLoadBal-PT-20"
export BK_EXAMINATION="ReachabilityFireability"
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 SimpleLoadBal-PT-20, examination is ReachabilityFireability"
echo " Time confinement is $BK_TIME_CONFINEMENT seconds"
echo " Memory confinement is 16384 MBytes"
echo " Number of cores is 4"
echo " Run identifier is r251-smll-165303244900015"
echo "====================================================================="
echo
echo "--------------------"
echo "preparation of the directory to be used:"

tar xzf /home/mcc/BenchKit/INPUTS/SimpleLoadBal-PT-20.tgz
mv SimpleLoadBal-PT-20 execution
cd execution
if [ "ReachabilityFireability" = "ReachabilityDeadlock" ] || [ "ReachabilityFireability" = "UpperBounds" ] || [ "ReachabilityFireability" = "QuasiLiveness" ] || [ "ReachabilityFireability" = "StableMarking" ] || [ "ReachabilityFireability" = "Liveness" ] || [ "ReachabilityFireability" = "OneSafe" ] || [ "ReachabilityFireability" = "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 [ "ReachabilityFireability" = "UpperBounds" ] ; then
echo "The expected result is a vector of positive values"
echo NUM_VECTOR
elif [ "ReachabilityFireability" != "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 "ReachabilityFireability.txt" ] ; then
echo "here is the order used to build the result vector(from text file)"
for x in $(grep Property ReachabilityFireability.txt | cut -d ' ' -f 2 | sort -u) ; do
echo "FORMULA_NAME $x"
done
elif [ -f "ReachabilityFireability.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 '' ReachabilityFireability.xml | cut -d '>' -f 2 | cut -d '<' -f 1 | sort -u) ; do
echo "FORMULA_NAME $x"
done
elif [ "ReachabilityFireability" = "ReachabilityDeadlock" ] || [ "ReachabilityFireability" = "QuasiLiveness" ] || [ "ReachabilityFireability" = "StableMarking" ] || [ "ReachabilityFireability" = "Liveness" ] || [ "ReachabilityFireability" = "OneSafe" ] ; then
echo "FORMULA_NAME ReachabilityFireability"
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 ;