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

About the Execution of 2021-gold for DES-PT-00a

Execution Summary
Max Memory
Used (MB)
Time wait (ms) CPU Usage (ms) I/O Wait (ms) Computed Result Execution
Status
283.676 25050.00 36700.00 484.00 FTFFFFTTFTTTTFFT 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.r046-smll-165252115800146.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 DES-PT-00a, examination is ReachabilityCardinality
Time confinement is 3600 seconds
Memory confinement is 16384 MBytes
Number of cores is 4
Run identifier is r046-smll-165252115800146
=====================================================================

--------------------
preparation of the directory to be used:
/home/mcc/execution
total 456K
-rw-r--r-- 1 mcc users 7.3K Apr 29 15:56 CTLCardinality.txt
-rw-r--r-- 1 mcc users 87K Apr 29 15:56 CTLCardinality.xml
-rw-r--r-- 1 mcc users 4.4K Apr 29 15:54 CTLFireability.txt
-rw-r--r-- 1 mcc users 38K Apr 29 15:54 CTLFireability.xml
-rw-r--r-- 1 mcc users 4.2K May 10 09:33 GenericPropertiesDefinition.xml
-rw-r--r-- 1 mcc users 6.6K May 10 09:33 GenericPropertiesVerdict.xml
-rw-r--r-- 1 mcc users 3.3K May 9 07:21 LTLCardinality.txt
-rw-r--r-- 1 mcc users 25K May 9 07:21 LTLCardinality.xml
-rw-r--r-- 1 mcc users 2.0K May 9 07:21 LTLFireability.txt
-rw-r--r-- 1 mcc users 15K May 9 07:21 LTLFireability.xml
-rw-r--r-- 1 mcc users 12K Apr 29 15:57 ReachabilityCardinality.txt
-rw-r--r-- 1 mcc users 136K Apr 29 15:57 ReachabilityCardinality.xml
-rw-r--r-- 1 mcc users 4.8K Apr 29 15:56 ReachabilityFireability.txt
-rw-r--r-- 1 mcc users 36K Apr 29 15:56 ReachabilityFireability.xml
-rw-r--r-- 1 mcc users 1.5K May 9 07:21 UpperBounds.txt
-rw-r--r-- 1 mcc users 3.5K May 9 07:21 UpperBounds.xml
-rw-r--r-- 1 mcc users 6 May 10 09:33 equiv_col
-rw-r--r-- 1 mcc users 4 May 10 09:33 instance
-rw-r--r-- 1 mcc users 6 May 10 09:33 iscolored
-rw-r--r-- 1 mcc users 31K May 10 09:33 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 DES-PT-00a-ReachabilityCardinality-00
FORMULA_NAME DES-PT-00a-ReachabilityCardinality-01
FORMULA_NAME DES-PT-00a-ReachabilityCardinality-02
FORMULA_NAME DES-PT-00a-ReachabilityCardinality-03
FORMULA_NAME DES-PT-00a-ReachabilityCardinality-04
FORMULA_NAME DES-PT-00a-ReachabilityCardinality-05
FORMULA_NAME DES-PT-00a-ReachabilityCardinality-06
FORMULA_NAME DES-PT-00a-ReachabilityCardinality-07
FORMULA_NAME DES-PT-00a-ReachabilityCardinality-08
FORMULA_NAME DES-PT-00a-ReachabilityCardinality-09
FORMULA_NAME DES-PT-00a-ReachabilityCardinality-10
FORMULA_NAME DES-PT-00a-ReachabilityCardinality-11
FORMULA_NAME DES-PT-00a-ReachabilityCardinality-12
FORMULA_NAME DES-PT-00a-ReachabilityCardinality-13
FORMULA_NAME DES-PT-00a-ReachabilityCardinality-14
FORMULA_NAME DES-PT-00a-ReachabilityCardinality-15

=== Now, execution of the tool begins

BK_START 1655072003861

Running Version 0
[2022-06-12 22:13:26] [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-12 22:13:27] [INFO ] Parsing pnml file : /home/mcc/execution/model.pnml
[2022-06-12 22:13:27] [INFO ] Load time of PNML (sax parser for PT used): 68 ms
[2022-06-12 22:13:27] [INFO ] Transformed 115 places.
[2022-06-12 22:13:27] [INFO ] Transformed 76 transitions.
[2022-06-12 22:13:27] [INFO ] Found NUPN structural information;
[2022-06-12 22:13:27] [INFO ] Parsed PT model containing 115 places and 76 transitions in 128 ms.
Parsed 16 properties from file /home/mcc/execution/ReachabilityCardinality.xml in 25 ms.
Working with output stream class java.io.PrintStream
Ensure Unique test removed 14 transitions
Reduce redundant transitions removed 14 transitions.
FORMULA DES-PT-00a-ReachabilityCardinality-08 FALSE TECHNIQUES TOPOLOGICAL INITIAL_STATE
Incomplete random walk after 10000 steps, including 222 resets, run finished after 121 ms. (steps per millisecond=82 ) properties (out of 15) seen :9
FORMULA DES-PT-00a-ReachabilityCardinality-15 TRUE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA DES-PT-00a-ReachabilityCardinality-14 FALSE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA DES-PT-00a-ReachabilityCardinality-13 FALSE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA DES-PT-00a-ReachabilityCardinality-12 TRUE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA DES-PT-00a-ReachabilityCardinality-07 TRUE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA DES-PT-00a-ReachabilityCardinality-05 FALSE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA DES-PT-00a-ReachabilityCardinality-04 FALSE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA DES-PT-00a-ReachabilityCardinality-03 FALSE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA DES-PT-00a-ReachabilityCardinality-00 FALSE TECHNIQUES TOPOLOGICAL RANDOM_WALK
Incomplete Best-First random walk after 10000 steps, including 44 resets, run finished after 130 ms. (steps per millisecond=76 ) properties (out of 6) seen :0
Incomplete Best-First random walk after 10000 steps, including 44 resets, run finished after 112 ms. (steps per millisecond=89 ) properties (out of 6) seen :0
Incomplete Best-First random walk after 10001 steps, including 61 resets, run finished after 65 ms. (steps per millisecond=153 ) properties (out of 6) seen :0
Incomplete Best-First random walk after 10001 steps, including 51 resets, run finished after 36 ms. (steps per millisecond=277 ) properties (out of 6) seen :0
Incomplete Best-First random walk after 10000 steps, including 44 resets, run finished after 27 ms. (steps per millisecond=370 ) properties (out of 6) seen :0
Incomplete Best-First random walk after 10000 steps, including 46 resets, run finished after 24 ms. (steps per millisecond=416 ) properties (out of 6) seen :0
Running SMT prover for 6 properties.
// Phase 1: matrix 62 rows 115 cols
[2022-06-12 22:13:27] [INFO ] Computed 57 place invariants in 17 ms
[2022-06-12 22:13:28] [INFO ] [Real]Absence check using 35 positive place invariants in 38 ms returned sat
[2022-06-12 22:13:28] [INFO ] [Real]Absence check using 35 positive and 22 generalized place invariants in 17 ms returned sat
[2022-06-12 22:13:28] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2022-06-12 22:13:28] [INFO ] [Real]Absence check using state equation in 99 ms returned sat
[2022-06-12 22:13:28] [INFO ] Solution in real domain found non-integer solution.
[2022-06-12 22:13:28] [INFO ] [Real]Absence check using 35 positive place invariants in 19 ms returned sat
[2022-06-12 22:13:28] [INFO ] [Real]Absence check using 35 positive and 22 generalized place invariants in 25 ms returned sat
[2022-06-12 22:13:28] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2022-06-12 22:13:28] [INFO ] [Real]Absence check using state equation in 192 ms returned sat
[2022-06-12 22:13:28] [INFO ] Solution in real domain found non-integer solution.
[2022-06-12 22:13:28] [INFO ] [Nat]Absence check using 35 positive place invariants in 23 ms returned sat
[2022-06-12 22:13:28] [INFO ] [Nat]Absence check using 35 positive and 22 generalized place invariants in 19 ms returned sat
[2022-06-12 22:13:28] [INFO ] [Nat]Adding state equation constraints to refine reachable states.
[2022-06-12 22:13:28] [INFO ] [Nat]Absence check using state equation in 134 ms returned sat
[2022-06-12 22:13:28] [INFO ] State equation strengthened by 1 read => feed constraints.
[2022-06-12 22:13:28] [INFO ] [Nat]Added 1 Read/Feed constraints in 2 ms returned sat
[2022-06-12 22:13:28] [INFO ] Computed and/alt/rep : 59/174/59 causal constraints (skipped 2 transitions) in 14 ms.
[2022-06-12 22:13:29] [INFO ] Added : 53 causal constraints over 11 iterations in 232 ms. Result :sat
Attempting to minimize the solution found.
Minimization took 21 ms.
[2022-06-12 22:13:29] [INFO ] [Real]Absence check using 35 positive place invariants in 21 ms returned sat
[2022-06-12 22:13:29] [INFO ] [Real]Absence check using 35 positive and 22 generalized place invariants in 13 ms returned sat
[2022-06-12 22:13:29] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2022-06-12 22:13:29] [INFO ] [Real]Absence check using state equation in 81 ms returned sat
[2022-06-12 22:13:29] [INFO ] Solution in real domain found non-integer solution.
[2022-06-12 22:13:29] [INFO ] [Real]Absence check using 35 positive place invariants in 29 ms returned sat
[2022-06-12 22:13:29] [INFO ] [Real]Absence check using 35 positive and 22 generalized place invariants in 15 ms returned sat
[2022-06-12 22:13:29] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2022-06-12 22:13:29] [INFO ] [Real]Absence check using state equation in 65 ms returned sat
[2022-06-12 22:13:29] [INFO ] Solution in real domain found non-integer solution.
[2022-06-12 22:13:29] [INFO ] [Real]Absence check using 35 positive place invariants in 18 ms returned sat
[2022-06-12 22:13:29] [INFO ] [Real]Absence check using 35 positive and 22 generalized place invariants in 16 ms returned sat
[2022-06-12 22:13:29] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2022-06-12 22:13:29] [INFO ] [Real]Absence check using state equation in 68 ms returned sat
[2022-06-12 22:13:29] [INFO ] Solution in real domain found non-integer solution.
FORMULA DES-PT-00a-ReachabilityCardinality-11 TRUE TECHNIQUES STRUCTURAL_REDUCTION TOPOLOGICAL SAT_SMT
FORMULA DES-PT-00a-ReachabilityCardinality-10 TRUE TECHNIQUES STRUCTURAL_REDUCTION TOPOLOGICAL SAT_SMT
FORMULA DES-PT-00a-ReachabilityCardinality-09 TRUE TECHNIQUES STRUCTURAL_REDUCTION TOPOLOGICAL SAT_SMT
FORMULA DES-PT-00a-ReachabilityCardinality-02 FALSE TECHNIQUES STRUCTURAL_REDUCTION TOPOLOGICAL SAT_SMT
FORMULA DES-PT-00a-ReachabilityCardinality-01 TRUE TECHNIQUES STRUCTURAL_REDUCTION TOPOLOGICAL SAT_SMT
Fused 6 Parikh solutions to 1 different solutions.
Incomplete Parikh walk after 8500 steps, including 183 resets, run finished after 62 ms. (steps per millisecond=137 ) properties (out of 1) seen :0 could not realise parikh vector
Support contains 23 out of 115 places. Attempting structural reductions.
Starting structural reductions, iteration 0 : 115/115 places, 62/62 transitions.
Performed 1 Pre agglomeration using Quasi-Persistent + Divergent Free condition..
Pre-agglomeration after 0 with 1 Pre rules applied. Total rules applied 0 place count 115 transition count 61
Deduced a syphon composed of 1 places in 1 ms
Reduce places removed 1 places and 0 transitions.
Iterating global reduction 0 with 2 rules applied. Total rules applied 2 place count 114 transition count 61
Discarding 1 places :
Symmetric choice reduction at 0 with 1 rule applications. Total rules 3 place count 113 transition count 60
Iterating global reduction 0 with 1 rules applied. Total rules applied 4 place count 113 transition count 60
Partial Free-agglomeration rule applied 4 times.
Drop transitions removed 4 transitions
Iterating global reduction 0 with 4 rules applied. Total rules applied 8 place count 113 transition count 60
Applied a total of 8 rules in 70 ms. Remains 113 /115 variables (removed 2) and now considering 60/62 (removed 2) transitions.
Finished structural reductions, in 1 iterations. Remains : 113/115 places, 60/62 transitions.
[2022-06-12 22:13:30] [INFO ] Flatten gal took : 65 ms
[2022-06-12 22:13:30] [INFO ] Flatten gal took : 27 ms
[2022-06-12 22:13:30] [INFO ] Time to serialize gal into /tmp/ReachabilityCardinality12180271856157325303.gal : 13 ms
[2022-06-12 22:13:30] [INFO ] Time to serialize properties into /tmp/ReachabilityCardinality2623069936563487218.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/ReachabilityCardinality12180271856157325303.gal, -t, CGAL, -reachable-file, /tmp/ReachabilityCardinality2623069936563487218.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/ReachabilityCardinality12180271856157325303.gal -t CGAL -reachable-file /tmp/ReachabilityCardinality2623069936563487218.prop --nowitness --gen-order FOLLOW
Loading property file /tmp/ReachabilityCardinality2623069936563487218.prop.
SDD proceeding with computation,1 properties remain. new max is 4
SDD size :1 after 5
SDD proceeding with computation,1 properties remain. new max is 8
SDD size :5 after 12
SDD proceeding with computation,1 properties remain. new max is 16
SDD size :12 after 49
SDD proceeding with computation,1 properties remain. new max is 32
SDD size :49 after 198
SDD proceeding with computation,1 properties remain. new max is 64
SDD size :198 after 348
SDD proceeding with computation,1 properties remain. new max is 128
SDD size :348 after 697
SDD proceeding with computation,1 properties remain. new max is 256
SDD size :697 after 2483
SDD proceeding with computation,1 properties remain. new max is 512
SDD size :2483 after 5327
SDD proceeding with computation,1 properties remain. new max is 1024
SDD size :5327 after 24810
Detected timeout of ITS tools.
[2022-06-12 22:13:45] [INFO ] Flatten gal took : 26 ms
[2022-06-12 22:13:45] [INFO ] Applying decomposition
[2022-06-12 22:13:45] [INFO ] Flatten gal took : 40 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/graph2139747789579469793.txt, -o, /tmp/graph2139747789579469793.bin, -w, /tmp/graph2139747789579469793.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/graph2139747789579469793.bin, -l, -1, -v, -w, /tmp/graph2139747789579469793.weights, -q, 0, -e, 0.001], workingDir=null]
[2022-06-12 22:13:45] [INFO ] Decomposing Gal with order
[2022-06-12 22:13:45] [INFO ] Rewriting arrays to variables to allow decomposition.
[2022-06-12 22:13:45] [INFO ] Removed a total of 23 redundant transitions.
[2022-06-12 22:13:45] [INFO ] Flatten gal took : 107 ms
[2022-06-12 22:13:46] [INFO ] Fuse similar labels procedure discarded/fused a total of 0 labels/synchronizations in 25 ms.
[2022-06-12 22:13:46] [INFO ] Time to serialize gal into /tmp/ReachabilityCardinality7395034876591351861.gal : 18 ms
[2022-06-12 22:13:46] [INFO ] Time to serialize properties into /tmp/ReachabilityCardinality15190092902522094960.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/ReachabilityCardinality7395034876591351861.gal, -t, CGAL, -reachable-file, /tmp/ReachabilityCardinality15190092902522094960.prop, --nowitness], 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/ReachabilityCardinality7395034876591351861.gal -t CGAL -reachable-file /tmp/ReachabilityCardinality15190092902522094960.prop --nowitness
Loading property file /tmp/ReachabilityCardinality15190092902522094960.prop.
SDD proceeding with computation,1 properties remain. new max is 4
SDD size :3 after 13
SDD proceeding with computation,1 properties remain. new max is 8
SDD size :13 after 461
SDD proceeding with computation,1 properties remain. new max is 16
SDD size :4229 after 3.19455e+07
Model ,|S| ,Time ,Mem(kb) ,fin. SDD ,fin. DDD ,peak SDD ,peak DDD ,SDD Hom ,SDD cache peak ,DDD Hom ,DDD cachepeak ,SHom cache
petri\_inst\_inst\_mod\_flat,8.11257e+09,1.62826,40856,2132,46,102216,202,359,94354,57,423,0
Total reachable state count : 8112568259

Verifying 1 reachability properties.
Reachability property DES-PT-00a-ReachabilityCardinality-06 is true.
FORMULA DES-PT-00a-ReachabilityCardinality-06 TRUE TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL COLLATERAL_PROCESSING USE_NUPN

Model ,|S| ,Time ,Mem(kb) ,fin. SDD ,fin. DDD ,peak SDD ,peak DDD ,SDD Hom ,SDD cache peak ,DDD Hom ,DDD cachepeak ,SHom cache
DES-PT-00a-ReachabilityCardinality-06,16,1.66174,40856,54,18,102216,202,405,94354,66,423,11094
All properties solved without resorting to model-checking.

BK_STOP 1655072028911

--------------------
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="DES-PT-00a"
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 DES-PT-00a, 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 r046-smll-165252115800146"
echo "====================================================================="
echo
echo "--------------------"
echo "preparation of the directory to be used:"

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