fond
Model Checking Contest 2021
11th edition, Paris, France, June 23, 2021
Execution of r007-tall-162037990200547
Last Updated
Jun 28, 2021

About the Execution of ITS-Tools for BART-COL-010

Execution Summary
Max Memory
Used (MB)
Time wait (ms) CPU Usage (ms) I/O Wait (ms) Computed Result Execution
Status
1368.632 10754.00 22196.00 183.30 FTFTFTFTTTFFTTTT normal

Execution Chart

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

Trace from the execution

Formatting '/data/fkordon/mcc2021-input.r007-tall-162037990200547.qcow2', fmt=qcow2 size=4294967296 backing_file='/data/fkordon/mcc2021-input.qcow2' encryption=off cluster_size=65536 lazy_refcounts=off
Waiting for the VM to be ready (probing ssh)
...................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
=====================================================================
Generated by BenchKit 2-4028
Executing tool itstools
Input is BART-COL-010, examination is CTLCardinality
Time confinement is 3600 seconds
Memory confinement is 16384 MBytes
Number of cores is 4
Run identifier is r007-tall-162037990200547
=====================================================================

--------------------
preparation of the directory to be used:
/home/mcc/execution
total 492K
-rw-r--r-- 1 mcc users 11K May 5 16:58 CTLCardinality.txt
-rw-r--r-- 1 mcc users 83K May 10 09:42 CTLCardinality.xml
-rw-r--r-- 1 mcc users 8.1K May 5 16:58 CTLFireability.txt
-rw-r--r-- 1 mcc users 57K May 10 09:42 CTLFireability.xml
-rw-r--r-- 1 mcc users 4.2K May 6 14:48 GenericPropertiesDefinition.xml
-rw-r--r-- 1 mcc users 6.4K May 6 14:48 GenericPropertiesVerdict.xml
-rw-r--r-- 1 mcc users 3.3K Mar 28 15:45 LTLCardinality.txt
-rw-r--r-- 1 mcc users 22K Mar 28 15:45 LTLCardinality.xml
-rw-r--r-- 1 mcc users 2.1K Mar 28 15:45 LTLFireability.txt
-rw-r--r-- 1 mcc users 17K Mar 28 15:45 LTLFireability.xml
-rw-r--r-- 1 mcc users 3.7K Mar 23 02:10 ReachabilityCardinality.txt
-rw-r--r-- 1 mcc users 17K Mar 23 02:10 ReachabilityCardinality.xml
-rw-r--r-- 1 mcc users 2.5K Mar 22 10:37 ReachabilityFireability.txt
-rw-r--r-- 1 mcc users 13K Mar 22 10:37 ReachabilityFireability.xml
-rw-r--r-- 1 mcc users 1.6K Mar 22 09:09 UpperBounds.txt
-rw-r--r-- 1 mcc users 3.7K Mar 22 09:09 UpperBounds.xml
-rw-r--r-- 1 mcc users 5 May 5 16:51 equiv_pt
-rw-r--r-- 1 mcc users 4 May 5 16:51 instance
-rw-r--r-- 1 mcc users 5 May 5 16:51 iscolored
-rw-r--r-- 1 mcc users 189K May 5 16:51 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 BART-COL-010-CTLCardinality-00
FORMULA_NAME BART-COL-010-CTLCardinality-01
FORMULA_NAME BART-COL-010-CTLCardinality-02
FORMULA_NAME BART-COL-010-CTLCardinality-03
FORMULA_NAME BART-COL-010-CTLCardinality-04
FORMULA_NAME BART-COL-010-CTLCardinality-05
FORMULA_NAME BART-COL-010-CTLCardinality-06
FORMULA_NAME BART-COL-010-CTLCardinality-07
FORMULA_NAME BART-COL-010-CTLCardinality-08
FORMULA_NAME BART-COL-010-CTLCardinality-09
FORMULA_NAME BART-COL-010-CTLCardinality-10
FORMULA_NAME BART-COL-010-CTLCardinality-11
FORMULA_NAME BART-COL-010-CTLCardinality-12
FORMULA_NAME BART-COL-010-CTLCardinality-13
FORMULA_NAME BART-COL-010-CTLCardinality-14
FORMULA_NAME BART-COL-010-CTLCardinality-15

=== Now, execution of the tool begins

BK_START 1620758789110

Running Version 0
[2021-05-11 18:46:31] [INFO ] Running its-tools with arguments : [-pnfolder, /home/mcc/execution, -examination, CTLCardinality, -spotpath, /home/mcc/BenchKit/bin//..//ltlfilt, -z3path, /home/mcc/BenchKit/bin//..//z3/bin/z3, -yices2path, /home/mcc/BenchKit/bin//..//yices/bin/yices, -its, -ltsmin, -greatspnpath, /home/mcc/BenchKit/bin//..//greatspn/, -order, META, -manyOrder, -smt, -timeout, 3600]
[2021-05-11 18:46:31] [INFO ] Parsing pnml file : /home/mcc/execution/model.pnml
[2021-05-11 18:46:31] [INFO ] Detected file is not PT type :http://www.pnml.org/version-2009/grammar/symmetricnet
log4j:WARN No appenders could be found for logger (org.apache.axiom.locator.DefaultOMMetaFactoryLocator).
log4j:WARN Please initialize the log4j system properly.
[2021-05-11 18:46:31] [WARNING] Using fallBack plugin, rng conformance not checked
[2021-05-11 18:46:31] [INFO ] Load time of PNML (colored model parsed with PNMLFW) : 645 ms
[2021-05-11 18:46:31] [INFO ] Detected 3 constant HL places corresponding to 10373 PT places.
[2021-05-11 18:46:31] [INFO ] Imported 4 HL places and 7 HL transitions for a total of 12833 PT places and 1.407229512E10 transition bindings in 103 ms.
Parsed 16 properties from file /home/mcc/execution/CTLCardinality.xml in 15 ms.
[2021-05-11 18:46:31] [INFO ] Built PT skeleton of HLPN with 4 places and 7 transitions in 4 ms.
[2021-05-11 18:46:31] [INFO ] Skeletonized HLPN properties in 16 ms.
Successfully produced net in file /tmp/petri1000_10658465242092775812.dot
[2021-05-11 18:46:31] [INFO ] Initial state test concluded for 1 properties.
Reduce places removed 3 places and 0 transitions.
Ensure Unique test removed 5 transitions
Reduce redundant transitions removed 5 transitions.
FORMULA BART-COL-010-CTLCardinality-06 FALSE TECHNIQUES TOPOLOGICAL INITIAL_STATE
Incomplete random walk after 100007 steps, including 8333 resets, run finished after 198 ms. (steps per millisecond=505 ) properties (out of 43) seen :2
Running SMT prover for 41 properties.
// Phase 1: matrix 2 rows 1 cols
[2021-05-11 18:46:32] [INFO ] Computed 0 place invariants in 4 ms
[2021-05-11 18:46:32] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2021-05-11 18:46:32] [INFO ] SMT Verify possible in real domain returnedunsat :41 sat :0 real:0
Successfully simplified 41 atomic propositions for a total of 14 simplifications.
FORMULA BART-COL-010-CTLCardinality-04 FALSE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA BART-COL-010-CTLCardinality-05 TRUE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA BART-COL-010-CTLCardinality-09 TRUE TECHNIQUES TOPOLOGICAL INITIAL_STATE
[2021-05-11 18:46:32] [INFO ] Initial state reduction rules for CTL removed 6 formulas.
[2021-05-11 18:46:32] [INFO ] Flatten gal took : 24 ms
[2021-05-11 18:46:32] [INFO ] Initial state reduction rules for CTL removed 2 formulas.
FORMULA BART-COL-010-CTLCardinality-14 TRUE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA BART-COL-010-CTLCardinality-13 TRUE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA BART-COL-010-CTLCardinality-12 TRUE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA BART-COL-010-CTLCardinality-11 FALSE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA BART-COL-010-CTLCardinality-10 FALSE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA BART-COL-010-CTLCardinality-07 TRUE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA BART-COL-010-CTLCardinality-01 TRUE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA BART-COL-010-CTLCardinality-00 FALSE TECHNIQUES TOPOLOGICAL INITIAL_STATE
[2021-05-11 18:46:32] [INFO ] Flatten gal took : 1 ms
[2021-05-11 18:46:36] [INFO ] Unfolded HLPN to a Petri net with 12833 places and 3230 transitions in 4087 ms.
[2021-05-11 18:46:36] [INFO ] Unfolded HLPN properties in 9 ms.
Successfully produced net in file /tmp/petri1001_17278385709717871218.dot
Deduced a syphon composed of 11241 places in 9 ms
Reduce places removed 11513 places and 1210 transitions.
Support contains 0 out of 1320 places. Attempting structural reductions.
Starting structural reductions, iteration 0 : 1320/1320 places, 2020/2020 transitions.
Discarding 320 places :
Symmetric choice reduction at 0 with 320 rule applications. Total rules 320 place count 1000 transition count 1700
Iterating global reduction 0 with 320 rules applied. Total rules applied 640 place count 1000 transition count 1700
Discarding 270 places :
Symmetric choice reduction at 0 with 270 rule applications. Total rules 910 place count 730 transition count 1430
Iterating global reduction 0 with 270 rules applied. Total rules applied 1180 place count 730 transition count 1430
Discarding 40 places :
Symmetric choice reduction at 0 with 40 rule applications. Total rules 1220 place count 690 transition count 1390
Iterating global reduction 0 with 40 rules applied. Total rules applied 1260 place count 690 transition count 1390
Discarding 30 places :
Symmetric choice reduction at 0 with 30 rule applications. Total rules 1290 place count 660 transition count 1360
Iterating global reduction 0 with 30 rules applied. Total rules applied 1320 place count 660 transition count 1360
Discarding 30 places :
Symmetric choice reduction at 0 with 30 rule applications. Total rules 1350 place count 630 transition count 1330
Iterating global reduction 0 with 30 rules applied. Total rules applied 1380 place count 630 transition count 1330
Discarding 30 places :
Symmetric choice reduction at 0 with 30 rule applications. Total rules 1410 place count 600 transition count 1300
Iterating global reduction 0 with 30 rules applied. Total rules applied 1440 place count 600 transition count 1300
Discarding 30 places :
Symmetric choice reduction at 0 with 30 rule applications. Total rules 1470 place count 570 transition count 1270
Iterating global reduction 0 with 30 rules applied. Total rules applied 1500 place count 570 transition count 1270
Discarding 30 places :
Symmetric choice reduction at 0 with 30 rule applications. Total rules 1530 place count 540 transition count 1240
Iterating global reduction 0 with 30 rules applied. Total rules applied 1560 place count 540 transition count 1240
Discarding 20 places :
Symmetric choice reduction at 0 with 20 rule applications. Total rules 1580 place count 520 transition count 1220
Iterating global reduction 0 with 20 rules applied. Total rules applied 1600 place count 520 transition count 1220
Discarding 20 places :
Symmetric choice reduction at 0 with 20 rule applications. Total rules 1620 place count 500 transition count 1200
Iterating global reduction 0 with 20 rules applied. Total rules applied 1640 place count 500 transition count 1200
Discarding 10 places :
Symmetric choice reduction at 0 with 10 rule applications. Total rules 1650 place count 490 transition count 1190
Iterating global reduction 0 with 10 rules applied. Total rules applied 1660 place count 490 transition count 1190
Applied a total of 1660 rules in 372 ms. Remains 490 /1320 variables (removed 830) and now considering 1190/2020 (removed 830) transitions.
// Phase 1: matrix 1190 rows 490 cols
[2021-05-11 18:46:36] [INFO ] Computed 10 place invariants in 17 ms
[2021-05-11 18:46:37] [INFO ] Implicit Places using invariants in 118 ms returned []
// Phase 1: matrix 1190 rows 490 cols
[2021-05-11 18:46:37] [INFO ] Computed 10 place invariants in 9 ms
[2021-05-11 18:46:37] [INFO ] Implicit Places using invariants and state equation in 329 ms returned []
Implicit Place search using SMT with State Equation took 452 ms to find 0 implicit places.
// Phase 1: matrix 1190 rows 490 cols
[2021-05-11 18:46:37] [INFO ] Computed 10 place invariants in 5 ms
[2021-05-11 18:46:37] [INFO ] Dead Transitions using invariants and state equation in 500 ms returned []
Finished structural reductions, in 1 iterations. Remains : 490/1320 places, 1190/2020 transitions.
[2021-05-11 18:46:37] [INFO ] Flatten gal took : 72 ms
[2021-05-11 18:46:38] [INFO ] Flatten gal took : 62 ms
[2021-05-11 18:46:38] [INFO ] Input system was already deterministic with 1190 transitions.
Finished random walk after 0 steps, including 0 resets, run visited all 0 properties in 2 ms. (steps per millisecond=0 )
[2021-05-11 18:46:38] [INFO ] Flatten gal took : 53 ms
[2021-05-11 18:46:38] [INFO ] Flatten gal took : 52 ms
[2021-05-11 18:46:38] [INFO ] Applying decomposition
[2021-05-11 18:46:38] [INFO ] Flatten gal took : 51 ms
Converted graph to binary with : CommandLine [args=[/home/mcc/BenchKit/itstools/plugins/fr.lip6.move.gal.louvain.binaries_1.0.0.202104292328/bin/convert-linux64, -i, /tmp/graph904188150703260320.txt, -o, /tmp/graph904188150703260320.bin, -w, /tmp/graph904188150703260320.weights], workingDir=null]
Built communities with : CommandLine [args=[/home/mcc/BenchKit/itstools/plugins/fr.lip6.move.gal.louvain.binaries_1.0.0.202104292328/bin/louvain-linux64, /tmp/graph904188150703260320.bin, -l, -1, -v, -w, /tmp/graph904188150703260320.weights, -q, 0, -e, 0.001], workingDir=null]
[2021-05-11 18:46:38] [INFO ] Decomposing Gal with order
[2021-05-11 18:46:38] [INFO ] Rewriting arrays to variables to allow decomposition.
[2021-05-11 18:46:38] [INFO ] Removed a total of 377 redundant transitions.
[2021-05-11 18:46:38] [INFO ] Flatten gal took : 90 ms
[2021-05-11 18:46:38] [INFO ] Fuse similar labels procedure discarded/fused a total of 226 labels/synchronizations in 9 ms.
[2021-05-11 18:46:38] [INFO ] Time to serialize gal into /tmp/CTLCardinality13205406565670169943.gal : 12 ms
[2021-05-11 18:46:38] [INFO ] Time to serialize properties into /tmp/CTLCardinality5175136764716222286.ctl : 1 ms
Invoking ITS tools like this :CommandLine [args=[/home/mcc/BenchKit/itstools/plugins/fr.lip6.move.gal.itstools.binaries_1.0.0.202104292328/bin/its-ctl-linux64, --gc-threshold, 2000000, --quiet, -i, /tmp/CTLCardinality13205406565670169943.gal, -t, CGAL, -ctl, /tmp/CTLCardinality5175136764716222286.ctl], workingDir=/home/mcc/execution]

its-ctl command run as :

/home/mcc/BenchKit/itstools/plugins/fr.lip6.move.gal.itstools.binaries_1.0.0.202104292328/bin/its-ctl-linux64 --gc-threshold 2000000 --quiet -i /tmp/CTLCardinality13205406565670169943.gal -t CGAL -ctl /tmp/CTLCardinality5175136764716222286.ctl
No direction supplied, using forward translation only.
Parsed 4 CTL formulae.
Model ,|S| ,Time ,Mem(kb) ,fin. SDD ,fin. DDD ,peak SDD ,peak DDD ,SDD Hom ,SDD cache peak ,DDD Hom ,DDD cachepeak ,SHom cache
reachable,7.97923e+16,0.100028,9480,94,21,635,410,372,427,104,607,0


Converting to forward existential form...Done !
original formula: AG((EX(TRUE) * AX(FALSE)))
=> equivalent forward existential formula: ([(FwdU(Init,TRUE) * !(EX(TRUE)))] = FALSE * [(EY(FwdU(Init,TRUE)) * !(FALSE))] = FALSE)
(forward)formula 0,0,0.104283,9480,1,0,635,410,581,427,155,607,1133
FORMULA BART-COL-010-CTLCardinality-02 FALSE TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL USE_NUPN
Formula is FALSE !

***************************************

original formula: AX((EX(EX(TRUE)) + EX(TRUE)))
=> equivalent forward existential formula: [((EY(Init) * !(EX(TRUE))) * !(EX(EX(TRUE))))] = FALSE
Reverse transition relation is exact ! Faster fixpoint algorithm enabled.
(forward)formula 1,1,0.118858,9480,1,0,1060,472,1201,644,366,729,2797
FORMULA BART-COL-010-CTLCardinality-03 TRUE TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL USE_NUPN
Formula is TRUE !

***************************************

original formula: EG(AG(EX(TRUE)))
=> equivalent forward existential formula: [FwdG(Init,!(E(TRUE U !(EX(TRUE)))))] != FALSE
Fast SCC detection found an SCC at level 1
Fast SCC detection found an SCC at level 2
Fast SCC detection found an SCC at level 3
Fast SCC detection found an SCC at level 4
Fast SCC detection found an SCC at level 5
Fast SCC detection found an SCC at level 6
Fast SCC detection found an SCC at level 7
Fast SCC detection found an SCC at level 8
Fast SCC detection found an SCC at level 9
(forward)formula 2,1,0.137051,9480,1,0,1295,629,1782,997,423,1081,4233
FORMULA BART-COL-010-CTLCardinality-08 TRUE TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL USE_NUPN
Formula is TRUE !

***************************************

original formula: EF(EX(TRUE))
=> equivalent forward existential formula: [(EY(FwdU(Init,TRUE)) * TRUE)] != FALSE
(forward)formula 3,1,0.137094,9480,1,0,1295,629,1782,997,423,1081,4233
FORMULA BART-COL-010-CTLCardinality-15 TRUE TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL USE_NUPN
Formula is TRUE !

***************************************


BK_STOP 1620758799864

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

+ export BINDIR=/home/mcc/BenchKit/bin//../
+ BINDIR=/home/mcc/BenchKit/bin//../
++ pwd
+ export MODEL=/home/mcc/execution
+ MODEL=/home/mcc/execution
+ [[ CTLCardinality = StateSpace ]]
+ /home/mcc/BenchKit/bin//..//runeclipse.sh /home/mcc/execution CTLCardinality -its -ltsmin -greatspnpath /home/mcc/BenchKit/bin//..//greatspn/ -order META -manyOrder -smt -timeout 3600
+ ulimit -s 65536
+ [[ -z '' ]]
+ export LTSMIN_MEM_SIZE=8589934592
+ LTSMIN_MEM_SIZE=8589934592
++ ls /home/mcc/BenchKit/bin//..//itstools/plugins/fr.lip6.move.gal.application.pnmcc_1.0.0.202104292328.jar
++ cut -d . -f 9
+ VERSION=0
+ echo 'Running Version 0'
+ /home/mcc/BenchKit/bin//..//itstools/its-tools -data /home/mcc/execution/workspace -pnfolder /home/mcc/execution -examination CTLCardinality -spotpath /home/mcc/BenchKit/bin//..//ltlfilt -z3path /home/mcc/BenchKit/bin//..//z3/bin/z3 -yices2path /home/mcc/BenchKit/bin//..//yices/bin/yices -its -ltsmin -greatspnpath /home/mcc/BenchKit/bin//..//greatspn/ -order META -manyOrder -smt -timeout 3600 -vmargs -Dosgi.locking=none -Declipse.stateSaveDelayInterval=-1 -Dosgi.configuration.area=/tmp/.eclipse -Xss128m -Xms40m -Xmx16000m

Sequence of Actions to be Executed by the VM

This is useful if one wants to reexecute the tool in the VM from the submitted image disk.

set -x
# this is for BenchKit: configuration of major elements for the test
export BK_INPUT="BART-COL-010"
export BK_EXAMINATION="CTLCardinality"
export BK_TOOL="itstools"
export BK_RESULT_DIR="/tmp/BK_RESULTS/OUTPUTS"
export BK_TIME_CONFINEMENT="3600"
export BK_MEMORY_CONFINEMENT="16384"
export BK_BIN_PATH="/home/mcc/BenchKit/bin/"

# this is specific to your benchmark or test

export BIN_DIR="$HOME/BenchKit/bin"

# remove the execution directoty if it exists (to avoid increse of .vmdk images)
if [ -d execution ] ; then
rm -rf execution
fi

# this is for BenchKit: explicit launching of the test
echo "====================================================================="
echo " Generated by BenchKit 2-4028"
echo " Executing tool itstools"
echo " Input is BART-COL-010, 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 r007-tall-162037990200547"
echo "====================================================================="
echo
echo "--------------------"
echo "preparation of the directory to be used:"

tar xzf /home/mcc/BenchKit/INPUTS/BART-COL-010.tgz
mv BART-COL-010 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 ;