fond
Model Checking Contest 2024
14th edition, Geneva, Switzerland, June 25, 2024
Execution of r245-tall-171654349800402
Last Updated
July 7, 2024

About the Execution of GreatSPN+red for NeighborGrid-PT-d2n3m1c12

Execution Summary
Max Memory
Used (MB)
Time wait (ms) CPU Usage (ms) I/O Wait (ms) Computed Result Execution
Status
224.848 3015.00 6827.00 53.10 TFTFTFFTFTFFFTFF normal

Execution Chart

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

Trace from the execution

Formatting '/data/fkordon/mcc2024-input.r245-tall-171654349800402.qcow2', fmt=qcow2 size=4294967296 backing_file=/data/fkordon/mcc2024-input.qcow2 backing_fmt=qcow2 cluster_size=65536 lazy_refcounts=off refcount_bits=16
Waiting for the VM to be ready (probing ssh)
................
=====================================================================
Generated by BenchKit 2-5568
Executing tool greatspnxred
Input is NeighborGrid-PT-d2n3m1c12, examination is CTLFireability
Time confinement is 3600 seconds
Memory confinement is 16384 MBytes
Number of cores is 4
Run identifier is r245-tall-171654349800402
=====================================================================

--------------------
preparation of the directory to be used:
/home/mcc/execution
total 556K
-rw-r--r-- 1 mcc users 6.9K May 14 13:22 CTLCardinality.txt
-rw-r--r-- 1 mcc users 72K May 14 13:22 CTLCardinality.xml
-rw-r--r-- 1 mcc users 7.7K May 14 13:22 CTLFireability.txt
-rw-r--r-- 1 mcc users 65K May 14 13:22 CTLFireability.xml
-rw-r--r-- 1 mcc users 4.2K May 18 16:43 GenericPropertiesDefinition.xml
-rw-r--r-- 1 mcc users 6.4K May 18 16:43 GenericPropertiesVerdict.xml
-rw-r--r-- 1 mcc users 3.7K Apr 23 07:40 LTLCardinality.txt
-rw-r--r-- 1 mcc users 24K Apr 23 07:40 LTLCardinality.xml
-rw-r--r-- 1 mcc users 2.7K Apr 23 07:40 LTLFireability.txt
-rw-r--r-- 1 mcc users 17K Apr 23 07:40 LTLFireability.xml
-rw-r--r-- 1 mcc users 14K Apr 11 16:52 ReachabilityCardinality.txt
-rw-r--r-- 1 mcc users 145K Apr 11 16:52 ReachabilityCardinality.xml
-rw-r--r-- 1 mcc users 15K Apr 11 16:51 ReachabilityFireability.txt
-rw-r--r-- 1 mcc users 119K Apr 11 16:51 ReachabilityFireability.xml
-rw-r--r-- 1 mcc users 1.8K Apr 23 07:40 UpperBounds.txt
-rw-r--r-- 1 mcc users 3.8K Apr 23 07:40 UpperBounds.xml
-rw-r--r-- 1 mcc users 6 May 18 16:43 equiv_col
-rw-r--r-- 1 mcc users 10 May 18 16:43 instance
-rw-r--r-- 1 mcc users 6 May 18 16:43 iscolored
-rwxr-xr-x 1 mcc users 11K May 18 16:43 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 NeighborGrid-PT-d2n3m1c12-CTLFireability-2024-00
FORMULA_NAME NeighborGrid-PT-d2n3m1c12-CTLFireability-2024-01
FORMULA_NAME NeighborGrid-PT-d2n3m1c12-CTLFireability-2024-02
FORMULA_NAME NeighborGrid-PT-d2n3m1c12-CTLFireability-2024-03
FORMULA_NAME NeighborGrid-PT-d2n3m1c12-CTLFireability-2024-04
FORMULA_NAME NeighborGrid-PT-d2n3m1c12-CTLFireability-2024-05
FORMULA_NAME NeighborGrid-PT-d2n3m1c12-CTLFireability-2024-06
FORMULA_NAME NeighborGrid-PT-d2n3m1c12-CTLFireability-2024-07
FORMULA_NAME NeighborGrid-PT-d2n3m1c12-CTLFireability-2024-08
FORMULA_NAME NeighborGrid-PT-d2n3m1c12-CTLFireability-2024-09
FORMULA_NAME NeighborGrid-PT-d2n3m1c12-CTLFireability-2024-10
FORMULA_NAME NeighborGrid-PT-d2n3m1c12-CTLFireability-2024-11
FORMULA_NAME NeighborGrid-PT-d2n3m1c12-CTLFireability-2023-12
FORMULA_NAME NeighborGrid-PT-d2n3m1c12-CTLFireability-2023-13
FORMULA_NAME NeighborGrid-PT-d2n3m1c12-CTLFireability-2023-14
FORMULA_NAME NeighborGrid-PT-d2n3m1c12-CTLFireability-2023-15

=== Now, execution of the tool begins

BK_START 1716664306070

Invoking MCC driver with
BK_TOOL=greatspnxred
BK_EXAMINATION=CTLFireability
BK_BIN_PATH=/home/mcc/BenchKit/bin/
BK_TIME_CONFINEMENT=3600
BK_INPUT=NeighborGrid-PT-d2n3m1c12
BK_MEMORY_CONFINEMENT=16384
Applying reductions before tool greatspn
Invoking reducer
Running Version 202405141337
[2024-05-25 19:11:47] [INFO ] Running its-tools with arguments : [-pnfolder, /home/mcc/execution, -examination, CTLFireability, -timeout, 360, -rebuildPNML]
[2024-05-25 19:11:47] [INFO ] Parsing pnml file : /home/mcc/execution/model.pnml
[2024-05-25 19:11:47] [INFO ] Load time of PNML (sax parser for PT used): 34 ms
[2024-05-25 19:11:47] [INFO ] Transformed 9 places.
[2024-05-25 19:11:47] [INFO ] Transformed 40 transitions.
[2024-05-25 19:11:47] [INFO ] Parsed PT model containing 9 places and 40 transitions and 80 arcs in 128 ms.
Parsed 16 properties from file /home/mcc/execution/CTLFireability.xml in 18 ms.
Initial state reduction rules removed 2 formulas.
FORMULA NeighborGrid-PT-d2n3m1c12-CTLFireability-2023-12 FALSE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA NeighborGrid-PT-d2n3m1c12-CTLFireability-2023-15 FALSE TECHNIQUES TOPOLOGICAL INITIAL_STATE
Support contains 9 out of 9 places. Attempting structural reductions.
Starting structural reductions in LTL mode, iteration 0 : 9/9 places, 40/40 transitions.
Applied a total of 0 rules in 8 ms. Remains 9 /9 variables (removed 0) and now considering 40/40 (removed 0) transitions.
// Phase 1: matrix 40 rows 9 cols
[2024-05-25 19:11:47] [INFO ] Computed 1 invariants in 11 ms
[2024-05-25 19:11:47] [INFO ] Implicit Places using invariants in 156 ms returned []
[2024-05-25 19:11:47] [INFO ] Invariant cache hit.
[2024-05-25 19:11:47] [INFO ] Implicit Places using invariants and state equation in 52 ms returned []
Implicit Place search using SMT with State Equation took 245 ms to find 0 implicit places.
Running 0 sub problems to find dead transitions.
Search for dead transitions found 0 dead transitions in 1ms
Finished structural reductions in LTL mode , in 1 iterations and 271 ms. Remains : 9/9 places, 40/40 transitions.
Support contains 9 out of 9 places after structural reductions.
[2024-05-25 19:11:47] [INFO ] Flatten gal took : 32 ms
[2024-05-25 19:11:47] [INFO ] Flatten gal took : 5 ms
[2024-05-25 19:11:47] [INFO ] Input system was already deterministic with 40 transitions.
Reduction of identical properties reduced properties to check from 26 to 25
RANDOM walk for 181 steps (0 resets) in 21 ms. (8 steps per ms) remains 0/25 properties
[2024-05-25 19:11:48] [INFO ] Flatten gal took : 3 ms
[2024-05-25 19:11:48] [INFO ] Flatten gal took : 4 ms
[2024-05-25 19:11:48] [INFO ] Input system was already deterministic with 40 transitions.
Computed a total of 0 stabilizing places and 0 stable transitions
Starting structural reductions in SI_CTL mode, iteration 0 : 9/9 places, 40/40 transitions.
Graph (trivial) has 30 edges and 9 vertex of which 8 / 9 are part of one of the 1 SCC in 2 ms
Free SCC test removed 7 places
Ensure Unique test removed 37 transitions
Reduce isomorphic transitions removed 37 transitions.
Applied a total of 1 rules in 19 ms. Remains 2 /9 variables (removed 7) and now considering 3/40 (removed 37) transitions.
Finished structural reductions in SI_CTL mode , in 1 iterations and 19 ms. Remains : 2/9 places, 3/40 transitions.
[2024-05-25 19:11:48] [INFO ] Flatten gal took : 1 ms
[2024-05-25 19:11:48] [INFO ] Flatten gal took : 1 ms
[2024-05-25 19:11:48] [INFO ] Input system was already deterministic with 3 transitions.
Starting structural reductions in LTL mode, iteration 0 : 9/9 places, 40/40 transitions.
Applied a total of 0 rules in 1 ms. Remains 9 /9 variables (removed 0) and now considering 40/40 (removed 0) transitions.
Finished structural reductions in LTL mode , in 1 iterations and 1 ms. Remains : 9/9 places, 40/40 transitions.
[2024-05-25 19:11:48] [INFO ] Flatten gal took : 10 ms
[2024-05-25 19:11:48] [INFO ] Flatten gal took : 2 ms
[2024-05-25 19:11:48] [INFO ] Input system was already deterministic with 40 transitions.
Starting structural reductions in LTL mode, iteration 0 : 9/9 places, 40/40 transitions.
Applied a total of 0 rules in 1 ms. Remains 9 /9 variables (removed 0) and now considering 40/40 (removed 0) transitions.
Finished structural reductions in LTL mode , in 1 iterations and 1 ms. Remains : 9/9 places, 40/40 transitions.
[2024-05-25 19:11:48] [INFO ] Flatten gal took : 2 ms
[2024-05-25 19:11:48] [INFO ] Flatten gal took : 2 ms
[2024-05-25 19:11:48] [INFO ] Input system was already deterministic with 40 transitions.
Starting structural reductions in LTL mode, iteration 0 : 9/9 places, 40/40 transitions.
Applied a total of 0 rules in 0 ms. Remains 9 /9 variables (removed 0) and now considering 40/40 (removed 0) transitions.
Finished structural reductions in LTL mode , in 1 iterations and 0 ms. Remains : 9/9 places, 40/40 transitions.
[2024-05-25 19:11:48] [INFO ] Flatten gal took : 2 ms
[2024-05-25 19:11:48] [INFO ] Flatten gal took : 2 ms
[2024-05-25 19:11:48] [INFO ] Input system was already deterministic with 40 transitions.
Starting structural reductions in LTL mode, iteration 0 : 9/9 places, 40/40 transitions.
Applied a total of 0 rules in 0 ms. Remains 9 /9 variables (removed 0) and now considering 40/40 (removed 0) transitions.
Finished structural reductions in LTL mode , in 1 iterations and 1 ms. Remains : 9/9 places, 40/40 transitions.
[2024-05-25 19:11:48] [INFO ] Flatten gal took : 2 ms
[2024-05-25 19:11:48] [INFO ] Flatten gal took : 2 ms
[2024-05-25 19:11:48] [INFO ] Input system was already deterministic with 40 transitions.
Starting structural reductions in LTL mode, iteration 0 : 9/9 places, 40/40 transitions.
Applied a total of 0 rules in 1 ms. Remains 9 /9 variables (removed 0) and now considering 40/40 (removed 0) transitions.
Finished structural reductions in LTL mode , in 1 iterations and 1 ms. Remains : 9/9 places, 40/40 transitions.
[2024-05-25 19:11:48] [INFO ] Flatten gal took : 1 ms
[2024-05-25 19:11:48] [INFO ] Flatten gal took : 1 ms
[2024-05-25 19:11:48] [INFO ] Input system was already deterministic with 40 transitions.
Starting structural reductions in SI_CTL mode, iteration 0 : 9/9 places, 40/40 transitions.
Graph (trivial) has 4 edges and 9 vertex of which 3 / 9 are part of one of the 1 SCC in 0 ms
Free SCC test removed 2 places
Ensure Unique test removed 11 transitions
Reduce isomorphic transitions removed 11 transitions.
Applied a total of 1 rules in 2 ms. Remains 7 /9 variables (removed 2) and now considering 29/40 (removed 11) transitions.
Finished structural reductions in SI_CTL mode , in 1 iterations and 3 ms. Remains : 7/9 places, 29/40 transitions.
[2024-05-25 19:11:48] [INFO ] Flatten gal took : 1 ms
[2024-05-25 19:11:48] [INFO ] Flatten gal took : 1 ms
[2024-05-25 19:11:48] [INFO ] Input system was already deterministic with 29 transitions.
Starting structural reductions in LTL mode, iteration 0 : 9/9 places, 40/40 transitions.
Applied a total of 0 rules in 0 ms. Remains 9 /9 variables (removed 0) and now considering 40/40 (removed 0) transitions.
Finished structural reductions in LTL mode , in 1 iterations and 0 ms. Remains : 9/9 places, 40/40 transitions.
[2024-05-25 19:11:48] [INFO ] Flatten gal took : 2 ms
[2024-05-25 19:11:48] [INFO ] Flatten gal took : 2 ms
[2024-05-25 19:11:48] [INFO ] Input system was already deterministic with 40 transitions.
Starting structural reductions in SI_CTL mode, iteration 0 : 9/9 places, 40/40 transitions.
Graph (trivial) has 12 edges and 9 vertex of which 5 / 9 are part of one of the 1 SCC in 0 ms
Free SCC test removed 4 places
Ensure Unique test removed 27 transitions
Reduce isomorphic transitions removed 27 transitions.
Applied a total of 1 rules in 1 ms. Remains 5 /9 variables (removed 4) and now considering 13/40 (removed 27) transitions.
Finished structural reductions in SI_CTL mode , in 1 iterations and 2 ms. Remains : 5/9 places, 13/40 transitions.
[2024-05-25 19:11:48] [INFO ] Flatten gal took : 1 ms
[2024-05-25 19:11:48] [INFO ] Flatten gal took : 1 ms
[2024-05-25 19:11:48] [INFO ] Input system was already deterministic with 13 transitions.
Starting structural reductions in LTL mode, iteration 0 : 9/9 places, 40/40 transitions.
Applied a total of 0 rules in 1 ms. Remains 9 /9 variables (removed 0) and now considering 40/40 (removed 0) transitions.
Finished structural reductions in LTL mode , in 1 iterations and 1 ms. Remains : 9/9 places, 40/40 transitions.
[2024-05-25 19:11:48] [INFO ] Flatten gal took : 1 ms
[2024-05-25 19:11:48] [INFO ] Flatten gal took : 2 ms
[2024-05-25 19:11:48] [INFO ] Input system was already deterministic with 40 transitions.
Starting structural reductions in LTL mode, iteration 0 : 9/9 places, 40/40 transitions.
Applied a total of 0 rules in 0 ms. Remains 9 /9 variables (removed 0) and now considering 40/40 (removed 0) transitions.
Finished structural reductions in LTL mode , in 1 iterations and 1 ms. Remains : 9/9 places, 40/40 transitions.
[2024-05-25 19:11:48] [INFO ] Flatten gal took : 1 ms
[2024-05-25 19:11:48] [INFO ] Flatten gal took : 1 ms
[2024-05-25 19:11:48] [INFO ] Input system was already deterministic with 40 transitions.
Starting structural reductions in LTL mode, iteration 0 : 9/9 places, 40/40 transitions.
Applied a total of 0 rules in 0 ms. Remains 9 /9 variables (removed 0) and now considering 40/40 (removed 0) transitions.
Finished structural reductions in LTL mode , in 1 iterations and 1 ms. Remains : 9/9 places, 40/40 transitions.
[2024-05-25 19:11:48] [INFO ] Flatten gal took : 1 ms
[2024-05-25 19:11:48] [INFO ] Flatten gal took : 1 ms
[2024-05-25 19:11:48] [INFO ] Input system was already deterministic with 40 transitions.
Starting structural reductions in LTL mode, iteration 0 : 9/9 places, 40/40 transitions.
Applied a total of 0 rules in 1 ms. Remains 9 /9 variables (removed 0) and now considering 40/40 (removed 0) transitions.
Finished structural reductions in LTL mode , in 1 iterations and 1 ms. Remains : 9/9 places, 40/40 transitions.
[2024-05-25 19:11:48] [INFO ] Flatten gal took : 1 ms
[2024-05-25 19:11:48] [INFO ] Flatten gal took : 2 ms
[2024-05-25 19:11:48] [INFO ] Input system was already deterministic with 40 transitions.
Starting structural reductions in LTL mode, iteration 0 : 9/9 places, 40/40 transitions.
Applied a total of 0 rules in 1 ms. Remains 9 /9 variables (removed 0) and now considering 40/40 (removed 0) transitions.
Finished structural reductions in LTL mode , in 1 iterations and 1 ms. Remains : 9/9 places, 40/40 transitions.
[2024-05-25 19:11:48] [INFO ] Flatten gal took : 2 ms
[2024-05-25 19:11:48] [INFO ] Flatten gal took : 2 ms
[2024-05-25 19:11:48] [INFO ] Input system was already deterministic with 40 transitions.
[2024-05-25 19:11:48] [INFO ] Flatten gal took : 2 ms
[2024-05-25 19:11:48] [INFO ] Flatten gal took : 2 ms
[2024-05-25 19:11:48] [INFO ] Export to MCC of 14 properties in file /home/mcc/execution/CTLFireability.sr.xml took 2 ms.
[2024-05-25 19:11:48] [INFO ] Export to PNML in file /home/mcc/execution/model.sr.pnml of net with 9 places, 40 transitions and 80 arcs took 4 ms.
Total runtime 1101 ms.
There are residual formulas that ITS could not solve within timeout
----------------------------------------------------------------------
GreatSPN-meddly tool, MCC 2023
----------------------------------------------------------------------

Running NeighborGrid-PT-d2n3m1c12

IS_COLORED=
IS_NUPN=

LOADING PETRI NET FILE /home/mcc/execution/413/model.pnml (PNML) ...
PNML VERSION 2009, P/T NET.
COLOR CLASSES: 0
CONSTANTS: 0
PLACES: 9
TRANSITIONS: 40
COLOR VARS: 0
MEASURES: 0
LOADING TIME: [User 0.000s, Sys 0.001s]


SAVING FILE /home/mcc/execution/413/model (.net / .def) ...
EXPORT TIME: [User 0.000s, Sys 0.000s]


----------------------------------------------------------------------
GreatSPN/Meddly.
Copyright (C) 1987-2022, University of Torino, Italy.
website: https://github.com/greatspn/SOURCES

Based on MEDDLY version 0.16.0
Copyright (C) 2009, Iowa State University Research Foundation, Inc.
website: http://meddly.sourceforge.net

Process ID: 523
MODEL NAME: /home/mcc/execution/413/model
9 places, 40 transitions.

Creating all event NSFs..
Creating all event NSFs..
Split: SplitSubtract
Start RS construction.
Split: SplitSubtract
Start RS construction.
Building monolithic NSF...
FORMULA NeighborGrid-PT-d2n3m1c12-CTLFireability-2024-00 TRUE TECHNIQUES DECISION_DIAGRAMS PARALLEL_PROCESSING UNFOLDING_TO_PT USE_NUPN TOPOLOGICAL
FORMULA NeighborGrid-PT-d2n3m1c12-CTLFireability-2024-02 TRUE TECHNIQUES DECISION_DIAGRAMS PARALLEL_PROCESSING UNFOLDING_TO_PT USE_NUPN TOPOLOGICAL
FORMULA NeighborGrid-PT-d2n3m1c12-CTLFireability-2024-03 FALSE TECHNIQUES DECISION_DIAGRAMS PARALLEL_PROCESSING UNFOLDING_TO_PT USE_NUPN TOPOLOGICAL
FORMULA NeighborGrid-PT-d2n3m1c12-CTLFireability-2024-04 TRUE TECHNIQUES DECISION_DIAGRAMS PARALLEL_PROCESSING UNFOLDING_TO_PT USE_NUPN TOPOLOGICAL
FORMULA NeighborGrid-PT-d2n3m1c12-CTLFireability-2024-05 FALSE TECHNIQUES DECISION_DIAGRAMS PARALLEL_PROCESSING UNFOLDING_TO_PT USE_NUPN TOPOLOGICAL
FORMULA NeighborGrid-PT-d2n3m1c12-CTLFireability-2024-06 FALSE TECHNIQUES DECISION_DIAGRAMS PARALLEL_PROCESSING UNFOLDING_TO_PT USE_NUPN TOPOLOGICAL
FORMULA NeighborGrid-PT-d2n3m1c12-CTLFireability-2024-07 TRUE TECHNIQUES DECISION_DIAGRAMS PARALLEL_PROCESSING UNFOLDING_TO_PT USE_NUPN TOPOLOGICAL
FORMULA NeighborGrid-PT-d2n3m1c12-CTLFireability-2024-01 FALSE TECHNIQUES DECISION_DIAGRAMS PARALLEL_PROCESSING UNFOLDING_TO_PT USE_NUPN TOPOLOGICAL
FORMULA NeighborGrid-PT-d2n3m1c12-CTLFireability-2024-10 FALSE TECHNIQUES DECISION_DIAGRAMS PARALLEL_PROCESSING UNFOLDING_TO_PT USE_NUPN TOPOLOGICAL
FORMULA NeighborGrid-PT-d2n3m1c12-CTLFireability-2024-09 TRUE TECHNIQUES DECISION_DIAGRAMS PARALLEL_PROCESSING UNFOLDING_TO_PT USE_NUPN TOPOLOGICAL
FORMULA NeighborGrid-PT-d2n3m1c12-CTLFireability-2024-08 FALSE TECHNIQUES DECISION_DIAGRAMS PARALLEL_PROCESSING UNFOLDING_TO_PT USE_NUPN TOPOLOGICAL
FORMULA NeighborGrid-PT-d2n3m1c12-CTLFireability-2024-11 FALSE TECHNIQUES DECISION_DIAGRAMS PARALLEL_PROCESSING UNFOLDING_TO_PT USE_NUPN TOPOLOGICAL
FORMULA NeighborGrid-PT-d2n3m1c12-CTLFireability-2023-14 FALSE TECHNIQUES DECISION_DIAGRAMS PARALLEL_PROCESSING UNFOLDING_TO_PT USE_NUPN TOPOLOGICAL
FORMULA NeighborGrid-PT-d2n3m1c12-CTLFireability-2023-13 TRUE TECHNIQUES DECISION_DIAGRAMS PARALLEL_PROCESSING UNFOLDING_TO_PT USE_NUPN TOPOLOGICAL
Ok.
EXITCODE: 0
----------------------------------------------------------------------

BK_STOP 1716664309085

--------------------
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.202405141337.jar
+ VERSION=202405141337
+ echo 'Running Version 202405141337'
+ /home/mcc/BenchKit/bin//../reducer/bin//../../itstools//itstools/its-tools -pnfolder /home/mcc/execution -examination CTLFireability -timeout 360 -rebuildPNML

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="NeighborGrid-PT-d2n3m1c12"
export BK_EXAMINATION="CTLFireability"
export BK_TOOL="greatspnxred"
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-5568"
echo " Executing tool greatspnxred"
echo " Input is NeighborGrid-PT-d2n3m1c12, examination is CTLFireability"
echo " Time confinement is $BK_TIME_CONFINEMENT seconds"
echo " Memory confinement is 16384 MBytes"
echo " Number of cores is 4"
echo " Run identifier is r245-tall-171654349800402"
echo "====================================================================="
echo
echo "--------------------"
echo "preparation of the directory to be used:"

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