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

About the Execution of GreatSPN+red for NQueens-PT-25

Execution Summary
Max Memory
Used (MB)
Time wait (ms) CPU Usage (ms) I/O Wait (ms) Computed Result Execution
Status
13858.676 3600000.00 9581102.00 3917.30 ????F?????????T? 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-171654349800385.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 NQueens-PT-25, examination is CTLCardinality
Time confinement is 3600 seconds
Memory confinement is 16384 MBytes
Number of cores is 4
Run identifier is r245-tall-171654349800385
=====================================================================

--------------------
preparation of the directory to be used:
/home/mcc/execution
total 1.1M
-rw-r--r-- 1 mcc users 7.5K May 14 13:22 CTLCardinality.txt
-rw-r--r-- 1 mcc users 81K May 14 13:22 CTLCardinality.xml
-rw-r--r-- 1 mcc users 6.4K May 14 13:22 CTLFireability.txt
-rw-r--r-- 1 mcc users 53K 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.5K May 18 16:43 GenericPropertiesVerdict.xml
-rw-r--r-- 1 mcc users 3.8K May 19 07:12 LTLCardinality.txt
-rw-r--r-- 1 mcc users 26K May 19 16:10 LTLCardinality.xml
-rw-r--r-- 1 mcc users 2.3K May 19 07:23 LTLFireability.txt
-rw-r--r-- 1 mcc users 17K May 19 18:42 LTLFireability.xml
-rw-r--r-- 1 mcc users 17K Apr 12 03:19 ReachabilityCardinality.txt
-rw-r--r-- 1 mcc users 181K Apr 12 03:19 ReachabilityCardinality.xml
-rw-r--r-- 1 mcc users 14K Apr 12 03:17 ReachabilityFireability.txt
-rw-r--r-- 1 mcc users 103K Apr 12 03:17 ReachabilityFireability.xml
-rw-r--r-- 1 mcc users 1.6K Apr 23 07:40 UpperBounds.txt
-rw-r--r-- 1 mcc users 3.6K 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 3 May 18 16:43 instance
-rw-r--r-- 1 mcc users 6 May 18 16:43 iscolored
-rw-r--r-- 1 mcc users 534K 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 NQueens-PT-25-CTLCardinality-2024-00
FORMULA_NAME NQueens-PT-25-CTLCardinality-2024-01
FORMULA_NAME NQueens-PT-25-CTLCardinality-2024-02
FORMULA_NAME NQueens-PT-25-CTLCardinality-2024-03
FORMULA_NAME NQueens-PT-25-CTLCardinality-2024-04
FORMULA_NAME NQueens-PT-25-CTLCardinality-2024-05
FORMULA_NAME NQueens-PT-25-CTLCardinality-2024-06
FORMULA_NAME NQueens-PT-25-CTLCardinality-2024-07
FORMULA_NAME NQueens-PT-25-CTLCardinality-2024-08
FORMULA_NAME NQueens-PT-25-CTLCardinality-2024-09
FORMULA_NAME NQueens-PT-25-CTLCardinality-2024-10
FORMULA_NAME NQueens-PT-25-CTLCardinality-2024-11
FORMULA_NAME NQueens-PT-25-CTLCardinality-2023-12
FORMULA_NAME NQueens-PT-25-CTLCardinality-2023-13
FORMULA_NAME NQueens-PT-25-CTLCardinality-2023-14
FORMULA_NAME NQueens-PT-25-CTLCardinality-2023-15

=== Now, execution of the tool begins

BK_START 1716659981161

Invoking MCC driver with
BK_TOOL=greatspnxred
BK_EXAMINATION=CTLCardinality
BK_BIN_PATH=/home/mcc/BenchKit/bin/
BK_TIME_CONFINEMENT=3600
BK_INPUT=NQueens-PT-25
BK_MEMORY_CONFINEMENT=16384
Applying reductions before tool greatspn
Invoking reducer
Running Version 202405141337
[2024-05-25 17:59:42] [INFO ] Running its-tools with arguments : [-pnfolder, /home/mcc/execution, -examination, CTLCardinality, -timeout, 360, -rebuildPNML]
[2024-05-25 17:59:42] [INFO ] Parsing pnml file : /home/mcc/execution/model.pnml
[2024-05-25 17:59:42] [INFO ] Load time of PNML (sax parser for PT used): 125 ms
[2024-05-25 17:59:42] [INFO ] Transformed 775 places.
[2024-05-25 17:59:42] [INFO ] Transformed 625 transitions.
[2024-05-25 17:59:42] [INFO ] Found NUPN structural information;
[2024-05-25 17:59:42] [INFO ] Parsed PT model containing 775 places and 625 transitions and 3125 arcs in 225 ms.
Parsed 16 properties from file /home/mcc/execution/CTLCardinality.xml in 21 ms.
Reduce places removed 2 places and 0 transitions.
Initial state reduction rules removed 1 formulas.
FORMULA NQueens-PT-25-CTLCardinality-2023-14 TRUE TECHNIQUES TOPOLOGICAL INITIAL_STATE
Support contains 101 out of 773 places. Attempting structural reductions.
Starting structural reductions in LTL mode, iteration 0 : 773/773 places, 625/625 transitions.
Reduce places removed 533 places and 0 transitions.
Iterating post reduction 0 with 533 rules applied. Total rules applied 533 place count 240 transition count 625
Applied a total of 533 rules in 33 ms. Remains 240 /773 variables (removed 533) and now considering 625/625 (removed 0) transitions.
// Phase 1: matrix 625 rows 240 cols
[2024-05-25 17:59:42] [INFO ] Invariants computation overflowed in 94 ms
[2024-05-25 17:59:43] [INFO ] Implicit Places using invariants in 482 ms returned []
// Phase 1: matrix 625 rows 240 cols
[2024-05-25 17:59:43] [INFO ] Invariants computation overflowed in 57 ms
[2024-05-25 18:00:16] [INFO ] Performed 93/240 implicitness test of which 0 returned IMPLICIT in 32 seconds.
[2024-05-25 18:00:48] [INFO ] Performed 95/240 implicitness test of which 0 returned IMPLICIT in 64 seconds.
[2024-05-25 18:01:20] [INFO ] Performed 97/240 implicitness test of which 0 returned IMPLICIT in 96 seconds.
[2024-05-25 18:01:52] [INFO ] Performed 101/240 implicitness test of which 0 returned IMPLICIT in 128 seconds.
[2024-05-25 18:01:52] [INFO ] Timeout of Implicit test with SMT after 128 seconds.
[2024-05-25 18:01:52] [INFO ] Implicit Places using invariants and state equation in 129311 ms returned []
Implicit Place search using SMT with State Equation took 129821 ms to find 0 implicit places.
Running 0 sub problems to find dead transitions.
Search for dead transitions found 0 dead transitions in 3ms
Starting structural reductions in LTL mode, iteration 1 : 240/773 places, 625/625 transitions.
Finished structural reductions in LTL mode , in 1 iterations and 129880 ms. Remains : 240/773 places, 625/625 transitions.
Support contains 101 out of 240 places after structural reductions.
[2024-05-25 18:01:52] [INFO ] Flatten gal took : 86 ms
[2024-05-25 18:01:52] [INFO ] Flatten gal took : 61 ms
[2024-05-25 18:01:52] [INFO ] Input system was already deterministic with 625 transitions.
Support contains 83 out of 240 places (down from 101) after GAL structural reductions.
RANDOM walk for 40000 steps (1722 resets) in 3680 ms. (10 steps per ms) remains 1/50 properties
BEST_FIRST walk for 40004 steps (8 resets) in 238 ms. (167 steps per ms) remains 1/1 properties
// Phase 1: matrix 625 rows 240 cols
[2024-05-25 18:01:54] [INFO ] Invariants computation overflowed in 65 ms
At refinement iteration 0 (INCLUDED_ONLY) 0/2 variables, 2/2 constraints. Problems are: Problem set: 0 solved, 1 unsolved
At refinement iteration 1 (INCLUDED_ONLY) 0/2 variables, 0/2 constraints. Problems are: Problem set: 0 solved, 1 unsolved
At refinement iteration 2 (OVERLAPS) 2/4 variables, 2/4 constraints. Problems are: Problem set: 0 solved, 1 unsolved
At refinement iteration 3 (INCLUDED_ONLY) 0/4 variables, 0/4 constraints. Problems are: Problem set: 0 solved, 1 unsolved
Problem AtomicPropp9 is UNSAT
After SMT solving in domain Real declared 140/865 variables, and 11 constraints, problems are : Problem set: 1 solved, 0 unsolved in 55 ms.
Refiners :[Domain max(s): 2/240 constraints, State Equation: 9/240 constraints, PredecessorRefiner: 1/1 constraints, Known Traps: 0/0 constraints]
After SMT, in 143ms problems are : Problem set: 1 solved, 0 unsolved
Skipping Parikh replay, no witness traces provided.
Successfully simplified 1 atomic propositions for a total of 15 simplifications.
FORMULA NQueens-PT-25-CTLCardinality-2024-04 FALSE TECHNIQUES TOPOLOGICAL INITIAL_STATE
[2024-05-25 18:01:54] [INFO ] Flatten gal took : 40 ms
[2024-05-25 18:01:54] [INFO ] Flatten gal took : 40 ms
[2024-05-25 18:01:54] [INFO ] Input system was already deterministic with 625 transitions.
Computed a total of 240 stabilizing places and 625 stable transitions
Complete graph has no SCC; deadlocks are unavoidable. place count 240 transition count 625
Detected that all paths lead to deadlock. Applying this knowledge to assert that all AP eventually converge (and all enablings converge to false).
AF dead knowledge conclusive for 1 formulas.
Starting structural reductions in LTL mode, iteration 0 : 240/240 places, 625/625 transitions.
Reduce places removed 92 places and 0 transitions.
Iterating post reduction 0 with 92 rules applied. Total rules applied 92 place count 148 transition count 625
Applied a total of 92 rules in 17 ms. Remains 148 /240 variables (removed 92) and now considering 625/625 (removed 0) transitions.
Finished structural reductions in LTL mode , in 1 iterations and 17 ms. Remains : 148/240 places, 625/625 transitions.
[2024-05-25 18:01:54] [INFO ] Flatten gal took : 34 ms
[2024-05-25 18:01:54] [INFO ] Flatten gal took : 30 ms
[2024-05-25 18:01:54] [INFO ] Input system was already deterministic with 625 transitions.
Starting structural reductions in LTL mode, iteration 0 : 240/240 places, 625/625 transitions.
Reduce places removed 91 places and 0 transitions.
Iterating post reduction 0 with 91 rules applied. Total rules applied 91 place count 149 transition count 625
Applied a total of 91 rules in 5 ms. Remains 149 /240 variables (removed 91) and now considering 625/625 (removed 0) transitions.
Finished structural reductions in LTL mode , in 1 iterations and 5 ms. Remains : 149/240 places, 625/625 transitions.
[2024-05-25 18:01:54] [INFO ] Flatten gal took : 28 ms
[2024-05-25 18:01:54] [INFO ] Flatten gal took : 28 ms
[2024-05-25 18:01:54] [INFO ] Input system was already deterministic with 625 transitions.
Starting structural reductions in LTL mode, iteration 0 : 240/240 places, 625/625 transitions.
Reduce places removed 84 places and 0 transitions.
Iterating post reduction 0 with 84 rules applied. Total rules applied 84 place count 156 transition count 625
Applied a total of 84 rules in 5 ms. Remains 156 /240 variables (removed 84) and now considering 625/625 (removed 0) transitions.
Finished structural reductions in LTL mode , in 1 iterations and 5 ms. Remains : 156/240 places, 625/625 transitions.
[2024-05-25 18:01:54] [INFO ] Flatten gal took : 25 ms
[2024-05-25 18:01:54] [INFO ] Flatten gal took : 25 ms
[2024-05-25 18:01:54] [INFO ] Input system was already deterministic with 625 transitions.
Starting structural reductions in LTL mode, iteration 0 : 240/240 places, 625/625 transitions.
Reduce places removed 87 places and 0 transitions.
Iterating post reduction 0 with 87 rules applied. Total rules applied 87 place count 153 transition count 625
Applied a total of 87 rules in 5 ms. Remains 153 /240 variables (removed 87) and now considering 625/625 (removed 0) transitions.
Finished structural reductions in LTL mode , in 1 iterations and 5 ms. Remains : 153/240 places, 625/625 transitions.
[2024-05-25 18:01:54] [INFO ] Flatten gal took : 26 ms
[2024-05-25 18:01:54] [INFO ] Flatten gal took : 27 ms
[2024-05-25 18:01:54] [INFO ] Input system was already deterministic with 625 transitions.
Starting structural reductions in LTL mode, iteration 0 : 240/240 places, 625/625 transitions.
Reduce places removed 87 places and 0 transitions.
Iterating post reduction 0 with 87 rules applied. Total rules applied 87 place count 153 transition count 625
Applied a total of 87 rules in 5 ms. Remains 153 /240 variables (removed 87) and now considering 625/625 (removed 0) transitions.
Finished structural reductions in LTL mode , in 1 iterations and 5 ms. Remains : 153/240 places, 625/625 transitions.
[2024-05-25 18:01:54] [INFO ] Flatten gal took : 24 ms
[2024-05-25 18:01:54] [INFO ] Flatten gal took : 25 ms
[2024-05-25 18:01:55] [INFO ] Input system was already deterministic with 625 transitions.
Starting structural reductions in LTL mode, iteration 0 : 240/240 places, 625/625 transitions.
Reduce places removed 83 places and 0 transitions.
Iterating post reduction 0 with 83 rules applied. Total rules applied 83 place count 157 transition count 625
Applied a total of 83 rules in 5 ms. Remains 157 /240 variables (removed 83) and now considering 625/625 (removed 0) transitions.
Finished structural reductions in LTL mode , in 1 iterations and 5 ms. Remains : 157/240 places, 625/625 transitions.
[2024-05-25 18:01:55] [INFO ] Flatten gal took : 22 ms
[2024-05-25 18:01:55] [INFO ] Flatten gal took : 24 ms
[2024-05-25 18:01:55] [INFO ] Input system was already deterministic with 625 transitions.
Starting structural reductions in LTL mode, iteration 0 : 240/240 places, 625/625 transitions.
Reduce places removed 87 places and 0 transitions.
Iterating post reduction 0 with 87 rules applied. Total rules applied 87 place count 153 transition count 625
Applied a total of 87 rules in 5 ms. Remains 153 /240 variables (removed 87) and now considering 625/625 (removed 0) transitions.
Finished structural reductions in LTL mode , in 1 iterations and 5 ms. Remains : 153/240 places, 625/625 transitions.
[2024-05-25 18:01:55] [INFO ] Flatten gal took : 22 ms
[2024-05-25 18:01:55] [INFO ] Flatten gal took : 25 ms
[2024-05-25 18:01:55] [INFO ] Input system was already deterministic with 625 transitions.
Starting structural reductions in SI_CTL mode, iteration 0 : 240/240 places, 625/625 transitions.
Graph (complete) has 368 edges and 240 vertex of which 158 are kept as prefixes of interest. Removing 82 places using SCC suffix rule.3 ms
Discarding 82 places :
Also discarding 0 output transitions
Applied a total of 1 rules in 17 ms. Remains 158 /240 variables (removed 82) and now considering 625/625 (removed 0) transitions.
Finished structural reductions in SI_CTL mode , in 1 iterations and 18 ms. Remains : 158/240 places, 625/625 transitions.
[2024-05-25 18:01:55] [INFO ] Flatten gal took : 23 ms
[2024-05-25 18:01:55] [INFO ] Flatten gal took : 24 ms
[2024-05-25 18:01:55] [INFO ] Input system was already deterministic with 625 transitions.
Starting structural reductions in LTL mode, iteration 0 : 240/240 places, 625/625 transitions.
Reduce places removed 83 places and 0 transitions.
Iterating post reduction 0 with 83 rules applied. Total rules applied 83 place count 157 transition count 625
Applied a total of 83 rules in 4 ms. Remains 157 /240 variables (removed 83) and now considering 625/625 (removed 0) transitions.
Finished structural reductions in LTL mode , in 1 iterations and 4 ms. Remains : 157/240 places, 625/625 transitions.
[2024-05-25 18:01:55] [INFO ] Flatten gal took : 23 ms
[2024-05-25 18:01:55] [INFO ] Flatten gal took : 25 ms
[2024-05-25 18:01:55] [INFO ] Input system was already deterministic with 625 transitions.
Starting structural reductions in LTL mode, iteration 0 : 240/240 places, 625/625 transitions.
Reduce places removed 90 places and 0 transitions.
Iterating post reduction 0 with 90 rules applied. Total rules applied 90 place count 150 transition count 625
Applied a total of 90 rules in 2 ms. Remains 150 /240 variables (removed 90) and now considering 625/625 (removed 0) transitions.
Finished structural reductions in LTL mode , in 1 iterations and 4 ms. Remains : 150/240 places, 625/625 transitions.
[2024-05-25 18:01:55] [INFO ] Flatten gal took : 22 ms
[2024-05-25 18:01:55] [INFO ] Flatten gal took : 23 ms
[2024-05-25 18:01:55] [INFO ] Input system was already deterministic with 625 transitions.
Starting structural reductions in LTL mode, iteration 0 : 240/240 places, 625/625 transitions.
Reduce places removed 77 places and 0 transitions.
Iterating post reduction 0 with 77 rules applied. Total rules applied 77 place count 163 transition count 625
Applied a total of 77 rules in 3 ms. Remains 163 /240 variables (removed 77) and now considering 625/625 (removed 0) transitions.
Finished structural reductions in LTL mode , in 1 iterations and 3 ms. Remains : 163/240 places, 625/625 transitions.
[2024-05-25 18:01:55] [INFO ] Flatten gal took : 22 ms
[2024-05-25 18:01:55] [INFO ] Flatten gal took : 24 ms
[2024-05-25 18:01:55] [INFO ] Input system was already deterministic with 625 transitions.
Starting structural reductions in LTL mode, iteration 0 : 240/240 places, 625/625 transitions.
Reduce places removed 90 places and 0 transitions.
Iterating post reduction 0 with 90 rules applied. Total rules applied 90 place count 150 transition count 625
Applied a total of 90 rules in 3 ms. Remains 150 /240 variables (removed 90) and now considering 625/625 (removed 0) transitions.
Finished structural reductions in LTL mode , in 1 iterations and 3 ms. Remains : 150/240 places, 625/625 transitions.
[2024-05-25 18:01:55] [INFO ] Flatten gal took : 21 ms
[2024-05-25 18:01:55] [INFO ] Flatten gal took : 22 ms
[2024-05-25 18:01:55] [INFO ] Input system was already deterministic with 625 transitions.
Starting structural reductions in LTL mode, iteration 0 : 240/240 places, 625/625 transitions.
Reduce places removed 91 places and 0 transitions.
Iterating post reduction 0 with 91 rules applied. Total rules applied 91 place count 149 transition count 625
Applied a total of 91 rules in 4 ms. Remains 149 /240 variables (removed 91) and now considering 625/625 (removed 0) transitions.
Finished structural reductions in LTL mode , in 1 iterations and 4 ms. Remains : 149/240 places, 625/625 transitions.
[2024-05-25 18:01:55] [INFO ] Flatten gal took : 20 ms
[2024-05-25 18:01:55] [INFO ] Flatten gal took : 22 ms
[2024-05-25 18:01:55] [INFO ] Input system was already deterministic with 625 transitions.
Starting structural reductions in LTL mode, iteration 0 : 240/240 places, 625/625 transitions.
Reduce places removed 90 places and 0 transitions.
Iterating post reduction 0 with 90 rules applied. Total rules applied 90 place count 150 transition count 625
Applied a total of 90 rules in 3 ms. Remains 150 /240 variables (removed 90) and now considering 625/625 (removed 0) transitions.
Finished structural reductions in LTL mode , in 1 iterations and 3 ms. Remains : 150/240 places, 625/625 transitions.
[2024-05-25 18:01:55] [INFO ] Flatten gal took : 21 ms
[2024-05-25 18:01:55] [INFO ] Flatten gal took : 23 ms
[2024-05-25 18:01:55] [INFO ] Input system was already deterministic with 625 transitions.
[2024-05-25 18:01:55] [INFO ] Flatten gal took : 23 ms
[2024-05-25 18:01:56] [INFO ] Flatten gal took : 22 ms
[2024-05-25 18:01:56] [INFO ] Export to MCC of 14 properties in file /home/mcc/execution/CTLCardinality.sr.xml took 3 ms.
[2024-05-25 18:01:56] [INFO ] Export to PNML in file /home/mcc/execution/model.sr.pnml of net with 240 places, 625 transitions and 2592 arcs took 5 ms.
Total runtime 133755 ms.
There are residual formulas that ITS could not solve within timeout
----------------------------------------------------------------------
GreatSPN-meddly tool, MCC 2023
----------------------------------------------------------------------

Running NQueens-PT-25

IS_COLORED=
IS_NUPN=

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


SAVING FILE /home/mcc/execution/414/model (.net / .def) ...
EXPORT TIME: [User 0.001s, 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: 549
MODEL NAME: /home/mcc/execution/414/model
240 places, 625 transitions.

Creating all event NSFs..
Creating all event NSFs..
Creating all event NSFs..
Creating all event NSFs..
Split: SplitSubtract
Start RS construction.
Split: SplitSubtract
Start RS construction.
Split: SplitSubtract
Start RS construction.
Split: SplitSubtract
Start RS construction.

BK_TIME_CONFINEMENT_REACHED

--------------------
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 CTLCardinality -timeout 360 -rebuildPNML
MEDDLY ERROR: Insufficient memory

MEDDLY ERROR: Insufficient memory

MEDDLY ERROR: Insufficient memory

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="NQueens-PT-25"
export BK_EXAMINATION="CTLCardinality"
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 NQueens-PT-25, 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 r245-tall-171654349800385"
echo "====================================================================="
echo
echo "--------------------"
echo "preparation of the directory to be used:"

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