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

About the Execution of 2021-gold for GPUForwardProgress-PT-12b

Execution Summary
Max Memory
Used (MB)
Time wait (ms) CPU Usage (ms) I/O Wait (ms) Computed Result Execution
Status
241.979 25977.00 38684.00 392.70 TTFTFTTFFTTTFTFF 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.r107-smll-165260580400128.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 GPUForwardProgress-PT-12b, examination is ReachabilityCardinality
Time confinement is 3600 seconds
Memory confinement is 16384 MBytes
Number of cores is 4
Run identifier is r107-smll-165260580400128
=====================================================================

--------------------
preparation of the directory to be used:
/home/mcc/execution
total 508K
-rw-r--r-- 1 mcc users 6.1K Apr 29 12:45 CTLCardinality.txt
-rw-r--r-- 1 mcc users 63K Apr 29 12:45 CTLCardinality.xml
-rw-r--r-- 1 mcc users 5.3K Apr 29 12:44 CTLFireability.txt
-rw-r--r-- 1 mcc users 50K Apr 29 12:44 CTLFireability.xml
-rw-r--r-- 1 mcc users 3.6K May 9 07:55 LTLCardinality.txt
-rw-r--r-- 1 mcc users 24K May 9 07:55 LTLCardinality.xml
-rw-r--r-- 1 mcc users 2.3K May 9 07:55 LTLFireability.txt
-rw-r--r-- 1 mcc users 16K May 9 07:55 LTLFireability.xml
-rw-r--r-- 1 mcc users 13K Apr 29 12:45 ReachabilityCardinality.txt
-rw-r--r-- 1 mcc users 140K Apr 29 12:45 ReachabilityCardinality.xml
-rw-r--r-- 1 mcc users 8.1K Apr 29 12:45 ReachabilityFireability.txt
-rw-r--r-- 1 mcc users 71K Apr 29 12:45 ReachabilityFireability.xml
-rw-r--r-- 1 mcc users 1.7K May 9 07:55 UpperBounds.txt
-rw-r--r-- 1 mcc users 3.8K May 9 07:55 UpperBounds.xml
-rw-r--r-- 1 mcc users 6 May 10 09:34 equiv_col
-rw-r--r-- 1 mcc users 4 May 10 09:34 instance
-rw-r--r-- 1 mcc users 6 May 10 09:34 iscolored
-rw-r--r-- 1 mcc users 65K 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 GPUForwardProgress-PT-12b-ReachabilityCardinality-00
FORMULA_NAME GPUForwardProgress-PT-12b-ReachabilityCardinality-01
FORMULA_NAME GPUForwardProgress-PT-12b-ReachabilityCardinality-02
FORMULA_NAME GPUForwardProgress-PT-12b-ReachabilityCardinality-03
FORMULA_NAME GPUForwardProgress-PT-12b-ReachabilityCardinality-04
FORMULA_NAME GPUForwardProgress-PT-12b-ReachabilityCardinality-05
FORMULA_NAME GPUForwardProgress-PT-12b-ReachabilityCardinality-06
FORMULA_NAME GPUForwardProgress-PT-12b-ReachabilityCardinality-07
FORMULA_NAME GPUForwardProgress-PT-12b-ReachabilityCardinality-08
FORMULA_NAME GPUForwardProgress-PT-12b-ReachabilityCardinality-09
FORMULA_NAME GPUForwardProgress-PT-12b-ReachabilityCardinality-10
FORMULA_NAME GPUForwardProgress-PT-12b-ReachabilityCardinality-11
FORMULA_NAME GPUForwardProgress-PT-12b-ReachabilityCardinality-12
FORMULA_NAME GPUForwardProgress-PT-12b-ReachabilityCardinality-13
FORMULA_NAME GPUForwardProgress-PT-12b-ReachabilityCardinality-14
FORMULA_NAME GPUForwardProgress-PT-12b-ReachabilityCardinality-15

=== Now, execution of the tool begins

BK_START 1655075735535

Running Version 0
[2022-06-12 23:15:38] [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 23:15:38] [INFO ] Parsing pnml file : /home/mcc/execution/model.pnml
[2022-06-12 23:15:38] [INFO ] Load time of PNML (sax parser for PT used): 102 ms
[2022-06-12 23:15:38] [INFO ] Transformed 264 places.
[2022-06-12 23:15:38] [INFO ] Transformed 277 transitions.
[2022-06-12 23:15:38] [INFO ] Found NUPN structural information;
[2022-06-12 23:15:38] [INFO ] Parsed PT model containing 264 places and 277 transitions in 171 ms.
Parsed 16 properties from file /home/mcc/execution/ReachabilityCardinality.xml in 28 ms.
Working with output stream class java.io.PrintStream
FORMULA GPUForwardProgress-PT-12b-ReachabilityCardinality-07 FALSE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA GPUForwardProgress-PT-12b-ReachabilityCardinality-14 FALSE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA GPUForwardProgress-PT-12b-ReachabilityCardinality-15 FALSE TECHNIQUES TOPOLOGICAL INITIAL_STATE
Incomplete random walk after 10000 steps, including 82 resets, run finished after 70 ms. (steps per millisecond=142 ) properties (out of 13) seen :8
FORMULA GPUForwardProgress-PT-12b-ReachabilityCardinality-13 TRUE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA GPUForwardProgress-PT-12b-ReachabilityCardinality-12 FALSE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA GPUForwardProgress-PT-12b-ReachabilityCardinality-09 TRUE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA GPUForwardProgress-PT-12b-ReachabilityCardinality-08 FALSE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA GPUForwardProgress-PT-12b-ReachabilityCardinality-05 TRUE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA GPUForwardProgress-PT-12b-ReachabilityCardinality-03 TRUE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA GPUForwardProgress-PT-12b-ReachabilityCardinality-01 TRUE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA GPUForwardProgress-PT-12b-ReachabilityCardinality-00 TRUE TECHNIQUES TOPOLOGICAL RANDOM_WALK
Incomplete Best-First random walk after 10000 steps, including 12 resets, run finished after 122 ms. (steps per millisecond=81 ) properties (out of 5) seen :0
Incomplete Best-First random walk after 10001 steps, including 13 resets, run finished after 50 ms. (steps per millisecond=200 ) properties (out of 5) seen :0
Incomplete Best-First random walk after 10001 steps, including 14 resets, run finished after 60 ms. (steps per millisecond=166 ) properties (out of 5) seen :0
Incomplete Best-First random walk after 10001 steps, including 11 resets, run finished after 15 ms. (steps per millisecond=666 ) properties (out of 5) seen :1
FORMULA GPUForwardProgress-PT-12b-ReachabilityCardinality-06 TRUE TECHNIQUES TOPOLOGICAL BESTFIRST_WALK
Incomplete Best-First random walk after 10001 steps, including 10 resets, run finished after 11 ms. (steps per millisecond=909 ) properties (out of 4) seen :0
Running SMT prover for 4 properties.
// Phase 1: matrix 277 rows 264 cols
[2022-06-12 23:15:38] [INFO ] Computed 14 place invariants in 29 ms
[2022-06-12 23:15:39] [INFO ] [Real]Absence check using 0 positive and 14 generalized place invariants in 20 ms returned sat
[2022-06-12 23:15:39] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2022-06-12 23:15:39] [INFO ] [Real]Absence check using state equation in 251 ms returned sat
[2022-06-12 23:15:39] [INFO ] Solution in real domain found non-integer solution.
[2022-06-12 23:15:39] [INFO ] [Nat]Absence check using 0 positive and 14 generalized place invariants in 23 ms returned sat
[2022-06-12 23:15:39] [INFO ] [Nat]Adding state equation constraints to refine reachable states.
[2022-06-12 23:15:39] [INFO ] [Nat]Absence check using state equation in 206 ms returned sat
[2022-06-12 23:15:39] [INFO ] Computed and/alt/rep : 271/481/271 causal constraints (skipped 5 transitions) in 33 ms.
[2022-06-12 23:15:40] [INFO ] Added : 175 causal constraints over 35 iterations in 1000 ms. Result :sat
Attempting to minimize the solution found.
Minimization took 13 ms.
[2022-06-12 23:15:40] [INFO ] [Real]Absence check using 0 positive and 14 generalized place invariants in 17 ms returned sat
[2022-06-12 23:15:40] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2022-06-12 23:15:41] [INFO ] [Real]Absence check using state equation in 209 ms returned sat
[2022-06-12 23:15:41] [INFO ] Solution in real domain found non-integer solution.
[2022-06-12 23:15:41] [INFO ] [Nat]Absence check using 0 positive and 14 generalized place invariants in 16 ms returned sat
[2022-06-12 23:15:41] [INFO ] [Nat]Adding state equation constraints to refine reachable states.
[2022-06-12 23:15:41] [INFO ] [Nat]Absence check using state equation in 183 ms returned sat
[2022-06-12 23:15:41] [INFO ] Computed and/alt/rep : 271/481/271 causal constraints (skipped 5 transitions) in 23 ms.
[2022-06-12 23:15:42] [INFO ] Added : 204 causal constraints over 41 iterations in 1083 ms. Result :sat
Attempting to minimize the solution found.
Minimization took 8 ms.
[2022-06-12 23:15:42] [INFO ] [Real]Absence check using 0 positive and 14 generalized place invariants in 14 ms returned sat
[2022-06-12 23:15:42] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2022-06-12 23:15:42] [INFO ] [Real]Absence check using state equation in 126 ms returned sat
[2022-06-12 23:15:42] [INFO ] Computed and/alt/rep : 271/481/271 causal constraints (skipped 5 transitions) in 26 ms.
[2022-06-12 23:15:42] [INFO ] Solution in real domain found non-integer solution.
[2022-06-12 23:15:43] [INFO ] [Nat]Absence check using 0 positive and 14 generalized place invariants in 13 ms returned sat
[2022-06-12 23:15:43] [INFO ] [Nat]Adding state equation constraints to refine reachable states.
[2022-06-12 23:15:43] [INFO ] [Nat]Absence check using state equation in 115 ms returned sat
[2022-06-12 23:15:43] [INFO ] Computed and/alt/rep : 271/481/271 causal constraints (skipped 5 transitions) in 22 ms.
[2022-06-12 23:15:43] [INFO ] Added : 100 causal constraints over 20 iterations in 450 ms. Result :sat
Attempting to minimize the solution found.
Minimization took 3 ms.
[2022-06-12 23:15:43] [INFO ] [Real]Absence check using 0 positive and 14 generalized place invariants in 13 ms returned sat
[2022-06-12 23:15:43] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2022-06-12 23:15:43] [INFO ] [Real]Absence check using state equation in 121 ms returned sat
[2022-06-12 23:15:43] [INFO ] Computed and/alt/rep : 271/481/271 causal constraints (skipped 5 transitions) in 25 ms.
[2022-06-12 23:15:43] [INFO ] Solution in real domain found non-integer solution.
[2022-06-12 23:15:44] [INFO ] [Nat]Absence check using 0 positive and 14 generalized place invariants in 12 ms returned sat
[2022-06-12 23:15:44] [INFO ] [Nat]Adding state equation constraints to refine reachable states.
[2022-06-12 23:15:44] [INFO ] [Nat]Absence check using state equation in 112 ms returned sat
[2022-06-12 23:15:44] [INFO ] Computed and/alt/rep : 271/481/271 causal constraints (skipped 5 transitions) in 26 ms.
[2022-06-12 23:15:44] [INFO ] Added : 114 causal constraints over 23 iterations in 548 ms. Result :sat
Attempting to minimize the solution found.
Minimization took 4 ms.
Incomplete Parikh walk after 27300 steps, including 343 resets, run finished after 109 ms. (steps per millisecond=250 ) properties (out of 4) seen :0 could not realise parikh vector
Incomplete Parikh walk after 27500 steps, including 146 resets, run finished after 82 ms. (steps per millisecond=335 ) properties (out of 4) seen :1 could not realise parikh vector
FORMULA GPUForwardProgress-PT-12b-ReachabilityCardinality-04 FALSE TECHNIQUES TOPOLOGICAL PARIKH_WALK
Incomplete Parikh walk after 9600 steps, including 122 resets, run finished after 15 ms. (steps per millisecond=640 ) properties (out of 3) seen :1 could not realise parikh vector
FORMULA GPUForwardProgress-PT-12b-ReachabilityCardinality-10 TRUE TECHNIQUES TOPOLOGICAL PARIKH_WALK
Incomplete Parikh walk after 10300 steps, including 120 resets, run finished after 17 ms. (steps per millisecond=605 ) properties (out of 2) seen :1 could not realise parikh vector
FORMULA GPUForwardProgress-PT-12b-ReachabilityCardinality-11 TRUE TECHNIQUES TOPOLOGICAL PARIKH_WALK
Support contains 53 out of 264 places. Attempting structural reductions.
Starting structural reductions, iteration 0 : 264/264 places, 277/277 transitions.
Graph (trivial) has 147 edges and 264 vertex of which 5 / 264 are part of one of the 1 SCC in 6 ms
Free SCC test removed 4 places
Drop transitions removed 5 transitions
Reduce isomorphic transitions removed 5 transitions.
Ensure Unique test removed 1 places
Drop transitions removed 69 transitions
Trivial Post-agglo rules discarded 69 transitions
Performed 69 trivial Post agglomeration. Transition count delta: 69
Iterating post reduction 0 with 70 rules applied. Total rules applied 71 place count 259 transition count 203
Reduce places removed 69 places and 0 transitions.
Ensure Unique test removed 3 transitions
Reduce isomorphic transitions removed 3 transitions.
Performed 21 Post agglomeration using F-continuation condition.Transition count delta: 21
Iterating post reduction 1 with 93 rules applied. Total rules applied 164 place count 190 transition count 179
Reduce places removed 21 places and 0 transitions.
Iterating post reduction 2 with 21 rules applied. Total rules applied 185 place count 169 transition count 179
Performed 16 Pre agglomeration using Quasi-Persistent + Divergent Free condition..
Pre-agglomeration after 3 with 16 Pre rules applied. Total rules applied 185 place count 169 transition count 163
Deduced a syphon composed of 16 places in 1 ms
Reduce places removed 16 places and 0 transitions.
Iterating global reduction 3 with 32 rules applied. Total rules applied 217 place count 153 transition count 163
Discarding 1 places :
Symmetric choice reduction at 3 with 1 rule applications. Total rules 218 place count 152 transition count 162
Iterating global reduction 3 with 1 rules applied. Total rules applied 219 place count 152 transition count 162
Ensure Unique test removed 1 transitions
Reduce isomorphic transitions removed 1 transitions.
Iterating post reduction 3 with 1 rules applied. Total rules applied 220 place count 152 transition count 161
Performed 1 Pre agglomeration using Quasi-Persistent + Divergent Free condition..
Pre-agglomeration after 4 with 1 Pre rules applied. Total rules applied 220 place count 152 transition count 160
Deduced a syphon composed of 1 places in 1 ms
Reduce places removed 1 places and 0 transitions.
Iterating global reduction 4 with 2 rules applied. Total rules applied 222 place count 151 transition count 160
Performed 18 Post agglomeration using F-continuation condition.Transition count delta: 18
Deduced a syphon composed of 18 places in 1 ms
Reduce places removed 18 places and 0 transitions.
Iterating global reduction 4 with 36 rules applied. Total rules applied 258 place count 133 transition count 142
Performed 3 Post agglomeration using F-continuation condition.Transition count delta: 0
Deduced a syphon composed of 3 places in 1 ms
Reduce places removed 3 places and 0 transitions.
Iterating global reduction 4 with 6 rules applied. Total rules applied 264 place count 130 transition count 142
Drop transitions removed 3 transitions
Redundant transition composition rules discarded 3 transitions
Iterating global reduction 4 with 3 rules applied. Total rules applied 267 place count 130 transition count 139
Free-agglomeration rule applied 9 times.
Iterating global reduction 4 with 9 rules applied. Total rules applied 276 place count 130 transition count 130
Reduce places removed 9 places and 0 transitions.
Iterating post reduction 4 with 9 rules applied. Total rules applied 285 place count 121 transition count 130
Reduce places removed 1 places and 1 transitions.
Iterating global reduction 5 with 1 rules applied. Total rules applied 286 place count 120 transition count 129
Applied a total of 286 rules in 110 ms. Remains 120 /264 variables (removed 144) and now considering 129/277 (removed 148) transitions.
Finished structural reductions, in 1 iterations. Remains : 120/264 places, 129/277 transitions.
[2022-06-12 23:15:45] [INFO ] Flatten gal took : 63 ms
[2022-06-12 23:15:45] [INFO ] Flatten gal took : 20 ms
[2022-06-12 23:15:45] [INFO ] Time to serialize gal into /tmp/ReachabilityCardinality8802617758730194517.gal : 13 ms
[2022-06-12 23:15:45] [INFO ] Time to serialize properties into /tmp/ReachabilityCardinality6510960794034019851.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/ReachabilityCardinality8802617758730194517.gal, -t, CGAL, -reachable-file, /tmp/ReachabilityCardinality6510960794034019851.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/ReachabilityCardinality8802617758730194517.gal -t CGAL -reachable-file /tmp/ReachabilityCardinality6510960794034019851.prop --nowitness --gen-order FOLLOW
Loading property file /tmp/ReachabilityCardinality6510960794034019851.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 13
SDD proceeding with computation,1 properties remain. new max is 16
SDD size :13 after 63
SDD proceeding with computation,1 properties remain. new max is 32
SDD size :63 after 2403
SDD proceeding with computation,1 properties remain. new max is 64
SDD size :2403 after 288052
Invariant property GPUForwardProgress-PT-12b-ReachabilityCardinality-02 does not hold.
FORMULA GPUForwardProgress-PT-12b-ReachabilityCardinality-02 FALSE TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL COLLATERAL_PROCESSING
Found states matching all0 target predicate
Will report total states built up to this point. Computation was interrupted after 65 fixpoint passes
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,5.69359e+06,13.0628,4900,2,759,12,4529,6,0,610,1121,0
Total reachable state count : 5693592

Verifying 1 reachability properties.
Detected timeout of ITS tools.
All properties solved without resorting to model-checking.

BK_STOP 1655075761512

--------------------
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="GPUForwardProgress-PT-12b"
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 GPUForwardProgress-PT-12b, 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 r107-smll-165260580400128"
echo "====================================================================="
echo
echo "--------------------"
echo "preparation of the directory to be used:"

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