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

About the Execution of Marcie+red for Referendum-PT-0200

Execution Summary
Max Memory
Used (MB)
Time wait (ms) CPU Usage (ms) I/O Wait (ms) Computed Result Execution
Status
10703.623 434647.00 445581.00 1289.10 F???T?T??T?TF??? 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.r330-tall-167889203300505.qcow2', fmt=qcow2 size=4294967296 backing_file=/data/fkordon/mcc2023-input.qcow2 cluster_size=65536 lazy_refcounts=off refcount_bits=16
Waiting for the VM to be ready (probing ssh)
.............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
=====================================================================
Generated by BenchKit 2-5348
Executing tool marciexred
Input is Referendum-PT-0200, examination is CTLCardinality
Time confinement is 3600 seconds
Memory confinement is 16384 MBytes
Number of cores is 4
Run identifier is r330-tall-167889203300505
=====================================================================

--------------------
preparation of the directory to be used:
/home/mcc/execution
total 7.8M
-rw-r--r-- 1 mcc users 200K Feb 26 17:48 CTLCardinality.txt
-rw-r--r-- 1 mcc users 966K Feb 26 17:48 CTLCardinality.xml
-rw-r--r-- 1 mcc users 67K Feb 26 17:36 CTLFireability.txt
-rw-r--r-- 1 mcc users 500K Feb 26 17:36 CTLFireability.xml
-rw-r--r-- 1 mcc users 4.2K Jan 29 11:41 GenericPropertiesDefinition.xml
-rw-r--r-- 1 mcc users 6.8K Jan 29 11:41 GenericPropertiesVerdict.xml
-rw-r--r-- 1 mcc users 96K Feb 25 16:42 LTLCardinality.txt
-rw-r--r-- 1 mcc users 331K Feb 25 16:42 LTLCardinality.xml
-rw-r--r-- 1 mcc users 44K Feb 25 16:42 LTLFireability.txt
-rw-r--r-- 1 mcc users 230K Feb 25 16:42 LTLFireability.xml
-rw-r--r-- 1 mcc users 529K Feb 26 18:17 ReachabilityCardinality.txt
-rw-r--r-- 1 mcc users 2.5M Feb 26 18:17 ReachabilityCardinality.xml
-rw-r--r-- 1 mcc users 253K Feb 26 17:58 ReachabilityFireability.txt
-rw-r--r-- 1 mcc users 1.9M Feb 26 17:58 ReachabilityFireability.xml
-rw-r--r-- 1 mcc users 24K Feb 25 16:42 UpperBounds.txt
-rw-r--r-- 1 mcc users 58K Feb 25 16:42 UpperBounds.xml
-rw-r--r-- 1 mcc users 5 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 228K 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 Referendum-PT-0200-CTLCardinality-00
FORMULA_NAME Referendum-PT-0200-CTLCardinality-01
FORMULA_NAME Referendum-PT-0200-CTLCardinality-02
FORMULA_NAME Referendum-PT-0200-CTLCardinality-03
FORMULA_NAME Referendum-PT-0200-CTLCardinality-04
FORMULA_NAME Referendum-PT-0200-CTLCardinality-05
FORMULA_NAME Referendum-PT-0200-CTLCardinality-06
FORMULA_NAME Referendum-PT-0200-CTLCardinality-07
FORMULA_NAME Referendum-PT-0200-CTLCardinality-08
FORMULA_NAME Referendum-PT-0200-CTLCardinality-09
FORMULA_NAME Referendum-PT-0200-CTLCardinality-10
FORMULA_NAME Referendum-PT-0200-CTLCardinality-11
FORMULA_NAME Referendum-PT-0200-CTLCardinality-12
FORMULA_NAME Referendum-PT-0200-CTLCardinality-13
FORMULA_NAME Referendum-PT-0200-CTLCardinality-14
FORMULA_NAME Referendum-PT-0200-CTLCardinality-15

=== Now, execution of the tool begins

BK_START 1679168399742

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=marciexred
BK_EXAMINATION=CTLCardinality
BK_BIN_PATH=/home/mcc/BenchKit/bin/
BK_TIME_CONFINEMENT=3600
BK_INPUT=Referendum-PT-0200
Applying reductions before tool marcie
Invoking reducer
Running Version 202303021504
[2023-03-18 19:40:01] [INFO ] Running its-tools with arguments : [-pnfolder, /home/mcc/execution, -examination, CTLCardinality, -timeout, 360, -rebuildPNML]
[2023-03-18 19:40:01] [INFO ] Parsing pnml file : /home/mcc/execution/model.pnml
[2023-03-18 19:40:01] [INFO ] Load time of PNML (sax parser for PT used): 65 ms
[2023-03-18 19:40:01] [INFO ] Transformed 601 places.
[2023-03-18 19:40:01] [INFO ] Transformed 401 transitions.
[2023-03-18 19:40:01] [INFO ] Found NUPN structural information;
[2023-03-18 19:40:01] [INFO ] Parsed PT model containing 601 places and 401 transitions and 1001 arcs in 128 ms.
Parsed 16 properties from file /home/mcc/execution/CTLCardinality.xml in 50 ms.
FORMULA Referendum-PT-0200-CTLCardinality-09 TRUE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA Referendum-PT-0200-CTLCardinality-11 TRUE TECHNIQUES TOPOLOGICAL INITIAL_STATE
Support contains 601 out of 601 places. Attempting structural reductions.
Starting structural reductions in LTL mode, iteration 0 : 601/601 places, 401/401 transitions.
Applied a total of 0 rules in 9 ms. Remains 601 /601 variables (removed 0) and now considering 401/401 (removed 0) transitions.
// Phase 1: matrix 401 rows 601 cols
[2023-03-18 19:40:01] [INFO ] Computed 200 place invariants in 15 ms
[2023-03-18 19:40:02] [INFO ] Implicit Places using invariants in 357 ms returned []
[2023-03-18 19:40:02] [INFO ] Invariant cache hit.
[2023-03-18 19:40:02] [INFO ] Implicit Places using invariants and state equation in 286 ms returned []
Implicit Place search using SMT with State Equation took 881 ms to find 0 implicit places.
[2023-03-18 19:40:02] [INFO ] Invariant cache hit.
[2023-03-18 19:40:02] [INFO ] Dead Transitions using invariants and state equation in 262 ms found 0 transitions.
Finished structural reductions in LTL mode , in 1 iterations and 1154 ms. Remains : 601/601 places, 401/401 transitions.
Support contains 601 out of 601 places after structural reductions.
[2023-03-18 19:40:02] [INFO ] Initial state reduction rules for CTL removed 1 formulas.
[2023-03-18 19:40:02] [INFO ] Flatten gal took : 75 ms
[2023-03-18 19:40:02] [INFO ] Initial state reduction rules for CTL removed 1 formulas.
FORMULA Referendum-PT-0200-CTLCardinality-12 FALSE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA Referendum-PT-0200-CTLCardinality-00 FALSE TECHNIQUES TOPOLOGICAL INITIAL_STATE
[2023-03-18 19:40:03] [INFO ] Flatten gal took : 35 ms
[2023-03-18 19:40:03] [INFO ] Input system was already deterministic with 401 transitions.
Incomplete random walk after 10000 steps, including 49 resets, run finished after 745 ms. (steps per millisecond=13 ) properties (out of 36) seen :33
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 174 ms. (steps per millisecond=57 ) properties (out of 3) seen :0
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 134 ms. (steps per millisecond=74 ) properties (out of 3) seen :0
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 44 ms. (steps per millisecond=227 ) properties (out of 3) seen :1
Running SMT prover for 2 properties.
[2023-03-18 19:40:04] [INFO ] Invariant cache hit.
[2023-03-18 19:40:04] [INFO ] After 164ms SMT Verify possible using all constraints in real domain returned unsat :1 sat :0 real:1
[2023-03-18 19:40:04] [INFO ] [Nat]Absence check using 200 positive place invariants in 41 ms returned sat
[2023-03-18 19:40:04] [INFO ] After 236ms SMT Verify possible using all constraints in natural domain returned unsat :2 sat :0
Fused 2 Parikh solutions to 0 different solutions.
Parikh walk visited 0 properties in 1 ms.
Successfully simplified 2 atomic propositions for a total of 12 simplifications.
Initial state reduction rules removed 1 formulas.
FORMULA Referendum-PT-0200-CTLCardinality-04 TRUE TECHNIQUES TOPOLOGICAL INITIAL_STATE
[2023-03-18 19:40:04] [INFO ] Flatten gal took : 34 ms
[2023-03-18 19:40:05] [INFO ] Flatten gal took : 67 ms
[2023-03-18 19:40:05] [INFO ] Input system was already deterministic with 401 transitions.
Computed a total of 601 stabilizing places and 401 stable transitions
Complete graph has no SCC; deadlocks are unavoidable. place count 601 transition count 401
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.
FORMULA Referendum-PT-0200-CTLCardinality-06 TRUE TECHNIQUES TOPOLOGICAL INITIAL_STATE
Starting structural reductions in LTL mode, iteration 0 : 601/601 places, 401/401 transitions.
Reduce places removed 200 places and 0 transitions.
Iterating post reduction 0 with 200 rules applied. Total rules applied 200 place count 401 transition count 401
Applied a total of 200 rules in 20 ms. Remains 401 /601 variables (removed 200) and now considering 401/401 (removed 0) transitions.
Finished structural reductions in LTL mode , in 1 iterations and 23 ms. Remains : 401/601 places, 401/401 transitions.
[2023-03-18 19:40:05] [INFO ] Flatten gal took : 32 ms
[2023-03-18 19:40:05] [INFO ] Flatten gal took : 17 ms
[2023-03-18 19:40:05] [INFO ] Input system was already deterministic with 401 transitions.
Starting structural reductions in LTL mode, iteration 0 : 601/601 places, 401/401 transitions.
Applied a total of 0 rules in 5 ms. Remains 601 /601 variables (removed 0) and now considering 401/401 (removed 0) transitions.
Finished structural reductions in LTL mode , in 1 iterations and 5 ms. Remains : 601/601 places, 401/401 transitions.
[2023-03-18 19:40:05] [INFO ] Flatten gal took : 19 ms
[2023-03-18 19:40:05] [INFO ] Flatten gal took : 20 ms
[2023-03-18 19:40:05] [INFO ] Input system was already deterministic with 401 transitions.
Starting structural reductions in SI_CTL mode, iteration 0 : 601/601 places, 401/401 transitions.
Applied a total of 0 rules in 14 ms. Remains 601 /601 variables (removed 0) and now considering 401/401 (removed 0) transitions.
Finished structural reductions in SI_CTL mode , in 1 iterations and 14 ms. Remains : 601/601 places, 401/401 transitions.
[2023-03-18 19:40:05] [INFO ] Flatten gal took : 16 ms
[2023-03-18 19:40:05] [INFO ] Flatten gal took : 16 ms
[2023-03-18 19:40:05] [INFO ] Input system was already deterministic with 401 transitions.
Starting structural reductions in LTL mode, iteration 0 : 601/601 places, 401/401 transitions.
Reduce places removed 200 places and 0 transitions.
Iterating post reduction 0 with 200 rules applied. Total rules applied 200 place count 401 transition count 401
Applied a total of 200 rules in 24 ms. Remains 401 /601 variables (removed 200) and now considering 401/401 (removed 0) transitions.
Finished structural reductions in LTL mode , in 1 iterations and 24 ms. Remains : 401/601 places, 401/401 transitions.
[2023-03-18 19:40:05] [INFO ] Flatten gal took : 13 ms
[2023-03-18 19:40:05] [INFO ] Flatten gal took : 12 ms
[2023-03-18 19:40:05] [INFO ] Input system was already deterministic with 401 transitions.
Starting structural reductions in SI_CTL mode, iteration 0 : 601/601 places, 401/401 transitions.
Graph (complete) has 600 edges and 601 vertex of which 401 are kept as prefixes of interest. Removing 200 places using SCC suffix rule.3 ms
Discarding 200 places :
Also discarding 0 output transitions
Applied a total of 1 rules in 10 ms. Remains 401 /601 variables (removed 200) and now considering 401/401 (removed 0) transitions.
Finished structural reductions in SI_CTL mode , in 1 iterations and 10 ms. Remains : 401/601 places, 401/401 transitions.
[2023-03-18 19:40:05] [INFO ] Flatten gal took : 13 ms
[2023-03-18 19:40:05] [INFO ] Flatten gal took : 12 ms
[2023-03-18 19:40:05] [INFO ] Input system was already deterministic with 401 transitions.
Starting structural reductions in LTL mode, iteration 0 : 601/601 places, 401/401 transitions.
Reduce places removed 395 places and 0 transitions.
Ensure Unique test removed 195 transitions
Reduce isomorphic transitions removed 195 transitions.
Iterating post reduction 0 with 590 rules applied. Total rules applied 590 place count 206 transition count 206
Discarding 192 places :
Symmetric choice reduction at 1 with 192 rule applications. Total rules 782 place count 14 transition count 14
Iterating global reduction 1 with 192 rules applied. Total rules applied 974 place count 14 transition count 14
Applied a total of 974 rules in 9 ms. Remains 14 /601 variables (removed 587) and now considering 14/401 (removed 387) transitions.
Finished structural reductions in LTL mode , in 1 iterations and 9 ms. Remains : 14/601 places, 14/401 transitions.
[2023-03-18 19:40:05] [INFO ] Flatten gal took : 1 ms
[2023-03-18 19:40:05] [INFO ] Flatten gal took : 1 ms
[2023-03-18 19:40:05] [INFO ] Input system was already deterministic with 14 transitions.
Starting structural reductions in SI_CTL mode, iteration 0 : 601/601 places, 401/401 transitions.
Graph (complete) has 600 edges and 601 vertex of which 4 are kept as prefixes of interest. Removing 597 places using SCC suffix rule.1 ms
Discarding 597 places :
Also discarding 396 output transitions
Drop transitions removed 396 transitions
Ensure Unique test removed 1 transitions
Reduce isomorphic transitions removed 1 transitions.
Iterating post reduction 0 with 1 rules applied. Total rules applied 2 place count 4 transition count 4
Partial Post-agglomeration rule applied 1 times.
Drop transitions removed 1 transitions
Iterating global reduction 1 with 1 rules applied. Total rules applied 3 place count 4 transition count 4
Applied a total of 3 rules in 6 ms. Remains 4 /601 variables (removed 597) and now considering 4/401 (removed 397) transitions.
Finished structural reductions in SI_CTL mode , in 1 iterations and 6 ms. Remains : 4/601 places, 4/401 transitions.
[2023-03-18 19:40:05] [INFO ] Flatten gal took : 0 ms
[2023-03-18 19:40:05] [INFO ] Flatten gal took : 0 ms
[2023-03-18 19:40:05] [INFO ] Input system was already deterministic with 4 transitions.
Starting structural reductions in SI_CTL mode, iteration 0 : 601/601 places, 401/401 transitions.
Graph (complete) has 600 edges and 601 vertex of which 3 are kept as prefixes of interest. Removing 598 places using SCC suffix rule.1 ms
Discarding 598 places :
Also discarding 398 output transitions
Drop transitions removed 398 transitions
Reduce places removed 1 places and 1 transitions.
Applied a total of 1 rules in 4 ms. Remains 2 /601 variables (removed 599) and now considering 2/401 (removed 399) transitions.
Finished structural reductions in SI_CTL mode , in 1 iterations and 4 ms. Remains : 2/601 places, 2/401 transitions.
[2023-03-18 19:40:05] [INFO ] Flatten gal took : 0 ms
[2023-03-18 19:40:05] [INFO ] Flatten gal took : 1 ms
[2023-03-18 19:40:05] [INFO ] Input system was already deterministic with 2 transitions.
Starting structural reductions in SI_CTL mode, iteration 0 : 601/601 places, 401/401 transitions.
Graph (complete) has 600 edges and 601 vertex of which 26 are kept as prefixes of interest. Removing 575 places using SCC suffix rule.1 ms
Discarding 575 places :
Also discarding 372 output transitions
Drop transitions removed 372 transitions
Ensure Unique test removed 3 transitions
Reduce isomorphic transitions removed 3 transitions.
Iterating post reduction 0 with 3 rules applied. Total rules applied 4 place count 26 transition count 26
Partial Post-agglomeration rule applied 1 times.
Drop transitions removed 1 transitions
Iterating global reduction 1 with 1 rules applied. Total rules applied 5 place count 26 transition count 26
Applied a total of 5 rules in 5 ms. Remains 26 /601 variables (removed 575) and now considering 26/401 (removed 375) transitions.
Finished structural reductions in SI_CTL mode , in 1 iterations and 8 ms. Remains : 26/601 places, 26/401 transitions.
[2023-03-18 19:40:05] [INFO ] Flatten gal took : 1 ms
[2023-03-18 19:40:05] [INFO ] Flatten gal took : 2 ms
[2023-03-18 19:40:05] [INFO ] Input system was already deterministic with 26 transitions.
Starting structural reductions in LTL mode, iteration 0 : 601/601 places, 401/401 transitions.
Reduce places removed 399 places and 0 transitions.
Ensure Unique test removed 199 transitions
Reduce isomorphic transitions removed 199 transitions.
Iterating post reduction 0 with 598 rules applied. Total rules applied 598 place count 202 transition count 202
Discarding 197 places :
Symmetric choice reduction at 1 with 197 rule applications. Total rules 795 place count 5 transition count 5
Iterating global reduction 1 with 197 rules applied. Total rules applied 992 place count 5 transition count 5
Applied a total of 992 rules in 4 ms. Remains 5 /601 variables (removed 596) and now considering 5/401 (removed 396) transitions.
Finished structural reductions in LTL mode , in 1 iterations and 4 ms. Remains : 5/601 places, 5/401 transitions.
[2023-03-18 19:40:05] [INFO ] Flatten gal took : 0 ms
[2023-03-18 19:40:05] [INFO ] Flatten gal took : 1 ms
[2023-03-18 19:40:05] [INFO ] Input system was already deterministic with 5 transitions.
[2023-03-18 19:40:05] [INFO ] Flatten gal took : 16 ms
[2023-03-18 19:40:05] [INFO ] Flatten gal took : 16 ms
[2023-03-18 19:40:05] [INFO ] Export to MCC of 10 properties in file /home/mcc/execution/CTLCardinality.sr.xml took 3 ms.
[2023-03-18 19:40:05] [INFO ] Export to PNML in file /home/mcc/execution/model.sr.pnml of net with 601 places, 401 transitions and 1001 arcs took 3 ms.
Total runtime 4569 ms.
There are residual formulas that ITS could not solve within timeout
timeout --kill-after=10s --signal=SIGINT 1m for testing only

Marcie built on Linux at 2019-11-18.
A model checker for Generalized Stochastic Petri nets

authors: Alex Tovchigrechko (IDD package and CTL model checking)

Martin Schwarick (Symbolic numerical analysis and CSL model checking)

Christian Rohr (Simulative and approximative numerical model checking)

marcie@informatik.tu-cottbus.de

called as: /home/mcc/BenchKit/bin//../reducer/bin//../../marcie/bin/marcie --net-file=model.pnml --mcc-file=CTLCardinality.xml --memory=6 --mcc-mode

parse successfull
net created successfully

Net: Petri
(NrP: 601 NrTr: 401 NrArc: 1001)

parse formulas
formulas created successfully
place and transition orderings generation:0m 0.016sec

net check time: 0m 0.000sec

init dd package: 0m 2.698sec


before gc: list nodes free: 940419

after gc: idd nodes used:38798622, unused:25201378; list nodes free:127392132

RS generation: 6m41.306sec


-> last computed set: #nodes 38798441 (3.9e+07) #states 15,955,408,832,013,028,339,939,799,597,858,250,047,769,410,046,073,005,146,113 (58)


CANNOT_COMPUTE


BK_STOP 1679168834389

--------------------
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
check for maximal unmarked siphon
ok
check for constant places
ok
check if there are places and transitions
ok
check if there are transitions without pre-places
ok
check if at least one transition is enabled in m0
ok
check if there are transitions that can never fire
ok


initing FirstDep: 0m 0.002sec

idd.cc:820: DD Exception: No free nodes

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="Referendum-PT-0200"
export BK_EXAMINATION="CTLCardinality"
export BK_TOOL="marciexred"
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 marciexred"
echo " Input is Referendum-PT-0200, 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 r330-tall-167889203300505"
echo "====================================================================="
echo
echo "--------------------"
echo "preparation of the directory to be used:"

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