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

About the Execution of LTSMin+red for ShieldIIPs-PT-001A

Execution Summary
Max Memory
Used (MB)
Time wait (ms) CPU Usage (ms) I/O Wait (ms) Computed Result Execution
Status
200.596 3575350.00 14288843.00 39.60 FTFFF??T?T???TT? normal

Execution Chart

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

Trace from the execution

Formatting '/data/fkordon/mcc2023-input.r393-oct2-167903716500001.qcow2', fmt=qcow2 cluster_size=65536 extended_l2=off compression_type=zlib size=4294967296 backing_file=/data/fkordon/mcc2023-input.qcow2 backing_fmt=qcow2 lazy_refcounts=off refcount_bits=16
Waiting for the VM to be ready (probing ssh)
........................
=====================================================================
Generated by BenchKit 2-5348
Executing tool ltsminxred
Input is ShieldIIPs-PT-001A, examination is CTLCardinality
Time confinement is 3600 seconds
Memory confinement is 16384 MBytes
Number of cores is 4
Run identifier is r393-oct2-167903716500001
=====================================================================

--------------------
preparation of the directory to be used:
/home/mcc/execution
total 444K
-rw-r--r-- 1 mcc users 7.6K Feb 25 16:29 CTLCardinality.txt
-rw-r--r-- 1 mcc users 91K Feb 25 16:29 CTLCardinality.xml
-rw-r--r-- 1 mcc users 4.3K Feb 25 16:28 CTLFireability.txt
-rw-r--r-- 1 mcc users 35K Feb 25 16:28 CTLFireability.xml
-rw-r--r-- 1 mcc users 4.2K Jan 29 11:41 GenericPropertiesDefinition.xml
-rw-r--r-- 1 mcc users 6.5K Jan 29 11:41 GenericPropertiesVerdict.xml
-rw-r--r-- 1 mcc users 3.4K Feb 25 16:54 LTLCardinality.txt
-rw-r--r-- 1 mcc users 24K Feb 25 16:54 LTLCardinality.xml
-rw-r--r-- 1 mcc users 2.1K Feb 25 16:54 LTLFireability.txt
-rw-r--r-- 1 mcc users 16K Feb 25 16:54 LTLFireability.xml
-rw-r--r-- 1 mcc users 11K Feb 25 16:30 ReachabilityCardinality.txt
-rw-r--r-- 1 mcc users 123K Feb 25 16:30 ReachabilityCardinality.xml
-rw-r--r-- 1 mcc users 7.0K Feb 25 16:30 ReachabilityFireability.txt
-rw-r--r-- 1 mcc users 60K Feb 25 16:30 ReachabilityFireability.xml
-rw-r--r-- 1 mcc users 1.6K Feb 25 16:54 UpperBounds.txt
-rw-r--r-- 1 mcc users 3.7K Feb 25 16:54 UpperBounds.xml
-rw-r--r-- 1 mcc users 6 Mar 5 18:23 equiv_col
-rw-r--r-- 1 mcc users 5 Mar 5 18:23 instance
-rw-r--r-- 1 mcc users 6 Mar 5 18:23 iscolored
-rw-r--r-- 1 mcc users 9.0K Mar 5 18:23 model.pnml

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

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

The expected result is a vector of booleans
BOOL_VECTOR

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

=== Now, execution of the tool begins

BK_START 1679416924637

bash -c /home/mcc/BenchKit/BenchKit_head.sh 2> STDERR ; echo ; echo -n "BK_STOP " ; date -u +%s%3N
Invoking MCC driver with
BK_TOOL=ltsminxred
BK_EXAMINATION=CTLCardinality
BK_BIN_PATH=/home/mcc/BenchKit/bin/
BK_TIME_CONFINEMENT=3600
BK_INPUT=ShieldIIPs-PT-001A
Applying reductions before tool ltsmin
Invoking reducer
Running Version 202303021504
[2023-03-21 16:42:07] [INFO ] Running its-tools with arguments : [-pnfolder, /home/mcc/execution, -examination, CTLCardinality, -timeout, 360, -rebuildPNML]
[2023-03-21 16:42:07] [INFO ] Parsing pnml file : /home/mcc/execution/model.pnml
[2023-03-21 16:42:07] [INFO ] Load time of PNML (sax parser for PT used): 34 ms
[2023-03-21 16:42:07] [INFO ] Transformed 28 places.
[2023-03-21 16:42:07] [INFO ] Transformed 27 transitions.
[2023-03-21 16:42:07] [INFO ] Found NUPN structural information;
[2023-03-21 16:42:07] [INFO ] Parsed PT model containing 28 places and 27 transitions and 114 arcs in 119 ms.
Parsed 16 properties from file /home/mcc/execution/CTLCardinality.xml in 26 ms.
Initial state reduction rules removed 1 formulas.
Initial state reduction rules removed 1 formulas.
FORMULA ShieldIIPs-PT-001A-CTLCardinality-09 TRUE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA ShieldIIPs-PT-001A-CTLCardinality-13 TRUE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA ShieldIIPs-PT-001A-CTLCardinality-14 TRUE TECHNIQUES TOPOLOGICAL INITIAL_STATE
Support contains 28 out of 28 places. Attempting structural reductions.
Starting structural reductions in LTL mode, iteration 0 : 28/28 places, 27/27 transitions.
Applied a total of 0 rules in 12 ms. Remains 28 /28 variables (removed 0) and now considering 27/27 (removed 0) transitions.
// Phase 1: matrix 27 rows 28 cols
[2023-03-21 16:42:07] [INFO ] Computed 10 place invariants in 4 ms
[2023-03-21 16:42:07] [INFO ] Implicit Places using invariants in 224 ms returned []
[2023-03-21 16:42:07] [INFO ] Invariant cache hit.
[2023-03-21 16:42:07] [INFO ] Implicit Places using invariants and state equation in 63 ms returned []
Implicit Place search using SMT with State Equation took 318 ms to find 0 implicit places.
[2023-03-21 16:42:07] [INFO ] Invariant cache hit.
[2023-03-21 16:42:07] [INFO ] Dead Transitions using invariants and state equation in 44 ms found 0 transitions.
Finished structural reductions in LTL mode , in 1 iterations and 377 ms. Remains : 28/28 places, 27/27 transitions.
Support contains 28 out of 28 places after structural reductions.
[2023-03-21 16:42:07] [INFO ] Initial state reduction rules for CTL removed 3 formulas.
[2023-03-21 16:42:07] [INFO ] Flatten gal took : 21 ms
FORMULA ShieldIIPs-PT-001A-CTLCardinality-07 TRUE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA ShieldIIPs-PT-001A-CTLCardinality-03 FALSE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA ShieldIIPs-PT-001A-CTLCardinality-00 FALSE TECHNIQUES TOPOLOGICAL INITIAL_STATE
[2023-03-21 16:42:07] [INFO ] Flatten gal took : 9 ms
[2023-03-21 16:42:08] [INFO ] Input system was already deterministic with 27 transitions.
Finished random walk after 70 steps, including 0 resets, run visited all 55 properties in 19 ms. (steps per millisecond=3 )
[2023-03-21 16:42:08] [INFO ] Flatten gal took : 6 ms
[2023-03-21 16:42:08] [INFO ] Flatten gal took : 6 ms
[2023-03-21 16:42:08] [INFO ] Input system was already deterministic with 27 transitions.
Computed a total of 1 stabilizing places and 1 stable transitions
Starting structural reductions in LTL mode, iteration 0 : 28/28 places, 27/27 transitions.
Applied a total of 0 rules in 2 ms. Remains 28 /28 variables (removed 0) and now considering 27/27 (removed 0) transitions.
Finished structural reductions in LTL mode , in 1 iterations and 2 ms. Remains : 28/28 places, 27/27 transitions.
[2023-03-21 16:42:08] [INFO ] Flatten gal took : 4 ms
[2023-03-21 16:42:08] [INFO ] Flatten gal took : 3 ms
[2023-03-21 16:42:08] [INFO ] Input system was already deterministic with 27 transitions.
Starting structural reductions in LTL mode, iteration 0 : 28/28 places, 27/27 transitions.
Applied a total of 0 rules in 1 ms. Remains 28 /28 variables (removed 0) and now considering 27/27 (removed 0) transitions.
Finished structural reductions in LTL mode , in 1 iterations and 1 ms. Remains : 28/28 places, 27/27 transitions.
[2023-03-21 16:42:08] [INFO ] Flatten gal took : 2 ms
[2023-03-21 16:42:08] [INFO ] Flatten gal took : 2 ms
[2023-03-21 16:42:08] [INFO ] Input system was already deterministic with 27 transitions.
Starting structural reductions in LTL mode, iteration 0 : 28/28 places, 27/27 transitions.
Applied a total of 0 rules in 1 ms. Remains 28 /28 variables (removed 0) and now considering 27/27 (removed 0) transitions.
Finished structural reductions in LTL mode , in 1 iterations and 1 ms. Remains : 28/28 places, 27/27 transitions.
[2023-03-21 16:42:08] [INFO ] Flatten gal took : 2 ms
[2023-03-21 16:42:08] [INFO ] Flatten gal took : 2 ms
[2023-03-21 16:42:08] [INFO ] Input system was already deterministic with 27 transitions.
Starting structural reductions in LTL mode, iteration 0 : 28/28 places, 27/27 transitions.
Applied a total of 0 rules in 0 ms. Remains 28 /28 variables (removed 0) and now considering 27/27 (removed 0) transitions.
Finished structural reductions in LTL mode , in 1 iterations and 1 ms. Remains : 28/28 places, 27/27 transitions.
[2023-03-21 16:42:08] [INFO ] Flatten gal took : 2 ms
[2023-03-21 16:42:08] [INFO ] Flatten gal took : 2 ms
[2023-03-21 16:42:08] [INFO ] Input system was already deterministic with 27 transitions.
Starting structural reductions in LTL mode, iteration 0 : 28/28 places, 27/27 transitions.
Applied a total of 0 rules in 1 ms. Remains 28 /28 variables (removed 0) and now considering 27/27 (removed 0) transitions.
Finished structural reductions in LTL mode , in 1 iterations and 1 ms. Remains : 28/28 places, 27/27 transitions.
[2023-03-21 16:42:08] [INFO ] Flatten gal took : 1 ms
[2023-03-21 16:42:08] [INFO ] Flatten gal took : 2 ms
[2023-03-21 16:42:08] [INFO ] Input system was already deterministic with 27 transitions.
Starting structural reductions in LTL mode, iteration 0 : 28/28 places, 27/27 transitions.
Applied a total of 0 rules in 0 ms. Remains 28 /28 variables (removed 0) and now considering 27/27 (removed 0) transitions.
Finished structural reductions in LTL mode , in 1 iterations and 0 ms. Remains : 28/28 places, 27/27 transitions.
[2023-03-21 16:42:08] [INFO ] Flatten gal took : 2 ms
[2023-03-21 16:42:08] [INFO ] Flatten gal took : 2 ms
[2023-03-21 16:42:08] [INFO ] Input system was already deterministic with 27 transitions.
Starting structural reductions in SI_CTL mode, iteration 0 : 28/28 places, 27/27 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 28 transition count 26
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 27 transition count 26
Performed 1 Post agglomeration using F-continuation condition.Transition count delta: 1
Deduced a syphon composed of 1 places in 0 ms
Reduce places removed 1 places and 0 transitions.
Iterating global reduction 0 with 2 rules applied. Total rules applied 4 place count 26 transition count 25
Applied a total of 4 rules in 8 ms. Remains 26 /28 variables (removed 2) and now considering 25/27 (removed 2) transitions.
Finished structural reductions in SI_CTL mode , in 1 iterations and 8 ms. Remains : 26/28 places, 25/27 transitions.
[2023-03-21 16:42:08] [INFO ] Flatten gal took : 2 ms
[2023-03-21 16:42:08] [INFO ] Flatten gal took : 1 ms
[2023-03-21 16:42:08] [INFO ] Input system was already deterministic with 25 transitions.
Starting structural reductions in LTL mode, iteration 0 : 28/28 places, 27/27 transitions.
Applied a total of 0 rules in 1 ms. Remains 28 /28 variables (removed 0) and now considering 27/27 (removed 0) transitions.
Finished structural reductions in LTL mode , in 1 iterations and 1 ms. Remains : 28/28 places, 27/27 transitions.
[2023-03-21 16:42:08] [INFO ] Flatten gal took : 1 ms
[2023-03-21 16:42:08] [INFO ] Flatten gal took : 2 ms
[2023-03-21 16:42:08] [INFO ] Input system was already deterministic with 27 transitions.
Starting structural reductions in LTL mode, iteration 0 : 28/28 places, 27/27 transitions.
Applied a total of 0 rules in 0 ms. Remains 28 /28 variables (removed 0) and now considering 27/27 (removed 0) transitions.
Finished structural reductions in LTL mode , in 1 iterations and 1 ms. Remains : 28/28 places, 27/27 transitions.
[2023-03-21 16:42:08] [INFO ] Flatten gal took : 2 ms
[2023-03-21 16:42:08] [INFO ] Flatten gal took : 2 ms
[2023-03-21 16:42:08] [INFO ] Input system was already deterministic with 27 transitions.
Starting structural reductions in LTL mode, iteration 0 : 28/28 places, 27/27 transitions.
Applied a total of 0 rules in 1 ms. Remains 28 /28 variables (removed 0) and now considering 27/27 (removed 0) transitions.
Finished structural reductions in LTL mode , in 1 iterations and 1 ms. Remains : 28/28 places, 27/27 transitions.
[2023-03-21 16:42:08] [INFO ] Flatten gal took : 2 ms
[2023-03-21 16:42:08] [INFO ] Flatten gal took : 2 ms
[2023-03-21 16:42:08] [INFO ] Input system was already deterministic with 27 transitions.
[2023-03-21 16:42:08] [INFO ] Flatten gal took : 3 ms
[2023-03-21 16:42:08] [INFO ] Flatten gal took : 2 ms
[2023-03-21 16:42:08] [INFO ] Export to MCC of 10 properties in file /home/mcc/execution/CTLCardinality.sr.xml took 2 ms.
[2023-03-21 16:42:08] [INFO ] Export to PNML in file /home/mcc/execution/model.sr.pnml of net with 28 places, 27 transitions and 114 arcs took 1 ms.
Total runtime 1110 ms.
There are residual formulas that ITS could not solve within timeout
pnml2lts-sym model.pnml --lace-workers=4 --vset=lddmc --saturation=sat -rbs,w2W,ru,hf --sylvan-sizes=20,28,20,28 --ctl=/tmp/468/ctl_0_ --ctl=/tmp/468/ctl_1_ --ctl=/tmp/468/ctl_2_ --ctl=/tmp/468/ctl_3_ --ctl=/tmp/468/ctl_4_ --ctl=/tmp/468/ctl_5_ --ctl=/tmp/468/ctl_6_ --ctl=/tmp/468/ctl_7_ --ctl=/tmp/468/ctl_8_ --ctl=/tmp/468/ctl_9_ --mu-par --mu-opt
TIME LIMIT: Killed by timeout after 3570 seconds
MemTotal: 16393220 kB
MemFree: 16026308 kB
After kill :
MemTotal: 16393220 kB
MemFree: 16094864 kB
FORMULA ShieldIIPs-PT-001A-CTLCardinality-01 TRUE TECHNIQUES DECISION_DIAGRAMS PARALLEL_PROCESSING USE_NUPN
FORMULA ShieldIIPs-PT-001A-CTLCardinality-02 FALSE TECHNIQUES DECISION_DIAGRAMS PARALLEL_PROCESSING USE_NUPN
FORMULA ShieldIIPs-PT-001A-CTLCardinality-04 FALSE TECHNIQUES DECISION_DIAGRAMS PARALLEL_PROCESSING USE_NUPN
Could not compute solution for formula : ShieldIIPs-PT-001A-CTLCardinality-05
Could not compute solution for formula : ShieldIIPs-PT-001A-CTLCardinality-06
Could not compute solution for formula : ShieldIIPs-PT-001A-CTLCardinality-08
Could not compute solution for formula : ShieldIIPs-PT-001A-CTLCardinality-10
Could not compute solution for formula : ShieldIIPs-PT-001A-CTLCardinality-11
Could not compute solution for formula : ShieldIIPs-PT-001A-CTLCardinality-12
Could not compute solution for formula : ShieldIIPs-PT-001A-CTLCardinality-15

BK_STOP 1679420499987

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

+ ulimit -s 65536
+ [[ -z '' ]]
+ export LTSMIN_MEM_SIZE=8589934592
+ LTSMIN_MEM_SIZE=8589934592
+ export PYTHONPATH=/home/mcc/BenchKit/itstools/pylibs
+ PYTHONPATH=/home/mcc/BenchKit/itstools/pylibs
+ export LD_LIBRARY_PATH=/home/mcc/BenchKit/itstools/pylibs:
+ LD_LIBRARY_PATH=/home/mcc/BenchKit/itstools/pylibs:
++ sed s/.jar//
++ perl -pe 's/.*\.//g'
++ ls /home/mcc/BenchKit/bin//../reducer/bin//../../itstools//itstools/plugins/fr.lip6.move.gal.application.pnmcc_1.0.0.202303021504.jar
+ VERSION=202303021504
+ echo 'Running Version 202303021504'
+ /home/mcc/BenchKit/bin//../reducer/bin//../../itstools//itstools/its-tools -pnfolder /home/mcc/execution -examination CTLCardinality -timeout 360 -rebuildPNML
mcc2023
ctl formula name ShieldIIPs-PT-001A-CTLCardinality-01
ctl formula formula --ctl=/tmp/468/ctl_0_
ctl formula name ShieldIIPs-PT-001A-CTLCardinality-02
ctl formula formula --ctl=/tmp/468/ctl_1_
ctl formula name ShieldIIPs-PT-001A-CTLCardinality-04
ctl formula formula --ctl=/tmp/468/ctl_2_
ctl formula name ShieldIIPs-PT-001A-CTLCardinality-05
ctl formula formula --ctl=/tmp/468/ctl_3_
ctl formula name ShieldIIPs-PT-001A-CTLCardinality-06
ctl formula formula --ctl=/tmp/468/ctl_4_
ctl formula name ShieldIIPs-PT-001A-CTLCardinality-08
ctl formula formula --ctl=/tmp/468/ctl_5_
ctl formula name ShieldIIPs-PT-001A-CTLCardinality-10
ctl formula formula --ctl=/tmp/468/ctl_6_
ctl formula name ShieldIIPs-PT-001A-CTLCardinality-11
ctl formula formula --ctl=/tmp/468/ctl_7_
ctl formula name ShieldIIPs-PT-001A-CTLCardinality-12
ctl formula formula --ctl=/tmp/468/ctl_8_
ctl formula name ShieldIIPs-PT-001A-CTLCardinality-15
ctl formula formula --ctl=/tmp/468/ctl_9_
pnml2lts-sym: Exploration order is bfs-prev
pnml2lts-sym: Saturation strategy is sat
pnml2lts-sym: Guided search strategy is unguided
pnml2lts-sym: Attractor strategy is default
pnml2lts-sym: opening model.pnml
pnml2lts-sym: Edge label is id
Warning: program compiled against libxml 210 using older 209
pnml2lts-sym: Petri net has 28 places, 27 transitions and 114 arcs
pnml2lts-sym: Petri net Petri analyzed
pnml2lts-sym: There are no safe places
pnml2lts-sym: Loading Petri net took 0.000 real 0.000 user 0.000 sys
pnml2lts-sym: Initializing regrouping layer
pnml2lts-sym: Regroup specification: bs,w2W,ru,hf
pnml2lts-sym: Regroup Boost's Sloan
pnml2lts-sym: Regroup over-approximate must-write to may-write
pnml2lts-sym: Regroup Row sUbsume
pnml2lts-sym: Reqroup Horizontal Flip
pnml2lts-sym: Regrouping: 27->20 groups
pnml2lts-sym: Regrouping took 0.010 real 0.010 user 0.000 sys
pnml2lts-sym: state vector length is 28; there are 20 groups
pnml2lts-sym: Creating a multi-core ListDD domain.
pnml2lts-sym: Sylvan allocates 15.000 GB virtual memory for nodes table and operation cache.
pnml2lts-sym: Initial nodes table and operation cache requires 60.00 MB.
pnml2lts-sym: Using GBgetTransitionsShortR2W as next-state function
pnml2lts-sym: got initial state
pnml2lts-sym: parsing CTL formula
pnml2lts-sym: converting CTL to mu-calculus...
pnml2lts-sym: parsing CTL formula
pnml2lts-sym: converting CTL to mu-calculus...
pnml2lts-sym: parsing CTL formula
pnml2lts-sym: converting CTL to mu-calculus...
pnml2lts-sym: parsing CTL formula
pnml2lts-sym: converting CTL to mu-calculus...
pnml2lts-sym: parsing CTL formula
pnml2lts-sym: converting CTL to mu-calculus...
pnml2lts-sym: parsing CTL formula
pnml2lts-sym: converting CTL to mu-calculus...
pnml2lts-sym: parsing CTL formula
pnml2lts-sym: converting CTL to mu-calculus...
pnml2lts-sym: parsing CTL formula
pnml2lts-sym: converting CTL to mu-calculus...
pnml2lts-sym: parsing CTL formula
pnml2lts-sym: converting CTL to mu-calculus...
pnml2lts-sym: parsing CTL formula
pnml2lts-sym: converting CTL to mu-calculus...
pnml2lts-sym: Exploration took 2521 group checks and 0 next state calls
pnml2lts-sym: reachability took 0.070 real 0.240 user 0.050 sys
pnml2lts-sym: counting visited states...
pnml2lts-sym: counting took 0.000 real 0.000 user 0.000 sys
pnml2lts-sym: state space has 9143 states, 478 nodes
pnml2lts-sym: Formula /tmp/468/ctl_1_ does not hold for the initial state
pnml2lts-sym: Formula /tmp/468/ctl_2_ does not hold for the initial state
pnml2lts-sym: Formula /tmp/468/ctl_0_ holds for the initial state
Killing (15) : 474
Killing (9) : 474

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="ShieldIIPs-PT-001A"
export BK_EXAMINATION="CTLCardinality"
export BK_TOOL="ltsminxred"
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-5348"
echo " Executing tool ltsminxred"
echo " Input is ShieldIIPs-PT-001A, examination is CTLCardinality"
echo " Time confinement is $BK_TIME_CONFINEMENT seconds"
echo " Memory confinement is 16384 MBytes"
echo " Number of cores is 4"
echo " Run identifier is r393-oct2-167903716500001"
echo "====================================================================="
echo
echo "--------------------"
echo "preparation of the directory to be used:"

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