fond
Model Checking Contest 2020
10th edition, Paris, France, June 23, 2020
Execution of r036-smll-158901931000363
Last Updated
Jun 28, 2020

About the Execution of ITS-Tools for CloudOpsManagement-PT-00002by00001

Execution Summary
Max Memory
Used (MB)
Time wait (ms) CPU Usage (ms) I/O Wait (ms) Computed Result Execution
Status
15738.370 6073.00 13383.00 318.10 FFFFFFTFFTTFTFFT normal

Execution Chart

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

Trace from the execution

Formatting '/data/fkordon/mcc2020-input.r036-smll-158901931000363.qcow2', fmt=qcow2 size=4294967296 backing_file='/data/fkordon/mcc2020-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 CloudOpsManagement-PT-00002by00001, examination is CTLCardinality
Time confinement is 3600 seconds
Memory confinement is 16384 MBytes
Number of cores is 4
Run identifier is r036-smll-158901931000363
=====================================================================

--------------------
preparation of the directory to be used:
/home/mcc/execution
total 188K
-rw-r--r-- 1 mcc users 3.3K Mar 30 01:41 CTLCardinality.txt
-rw-r--r-- 1 mcc users 15K Mar 30 01:41 CTLCardinality.xml
-rw-r--r-- 1 mcc users 2.8K Mar 28 16:02 CTLFireability.txt
-rw-r--r-- 1 mcc users 15K Mar 28 16:02 CTLFireability.xml
-rw-r--r-- 1 mcc users 4.0K Mar 24 05:37 GenericPropertiesDefinition.xml
-rw-r--r-- 1 mcc users 6.1K Mar 24 05:37 GenericPropertiesVerdict.xml
-rw-r--r-- 1 mcc users 3.7K Apr 8 14:45 LTLCardinality.txt
-rw-r--r-- 1 mcc users 22K Apr 28 14:00 LTLCardinality.xml
-rw-r--r-- 1 mcc users 2.5K Apr 8 14:45 LTLFireability.txt
-rw-r--r-- 1 mcc users 18K Apr 28 14:00 LTLFireability.xml
-rw-r--r-- 1 mcc users 3.6K Mar 27 08:44 ReachabilityCardinality.txt
-rw-r--r-- 1 mcc users 16K Mar 27 08:44 ReachabilityCardinality.xml
-rw-r--r-- 1 mcc users 3.6K Mar 26 08:09 ReachabilityFireability.txt
-rw-r--r-- 1 mcc users 20K Mar 26 08:09 ReachabilityFireability.xml
-rw-r--r-- 1 mcc users 2.0K Mar 28 14:49 UpperBounds.txt
-rw-r--r-- 1 mcc users 4.0K Mar 28 14:49 UpperBounds.xml
-rw-r--r-- 1 mcc users 6 Mar 24 05:37 equiv_col
-rw-r--r-- 1 mcc users 13 Mar 24 05:37 instance
-rw-r--r-- 1 mcc users 6 Mar 24 05:37 iscolored
-rw-r--r-- 1 mcc users 17K Mar 24 05:37 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 CloudOpsManagement-PT-00002by00001-CTLCardinality-00
FORMULA_NAME CloudOpsManagement-PT-00002by00001-CTLCardinality-01
FORMULA_NAME CloudOpsManagement-PT-00002by00001-CTLCardinality-02
FORMULA_NAME CloudOpsManagement-PT-00002by00001-CTLCardinality-03
FORMULA_NAME CloudOpsManagement-PT-00002by00001-CTLCardinality-04
FORMULA_NAME CloudOpsManagement-PT-00002by00001-CTLCardinality-05
FORMULA_NAME CloudOpsManagement-PT-00002by00001-CTLCardinality-06
FORMULA_NAME CloudOpsManagement-PT-00002by00001-CTLCardinality-07
FORMULA_NAME CloudOpsManagement-PT-00002by00001-CTLCardinality-08
FORMULA_NAME CloudOpsManagement-PT-00002by00001-CTLCardinality-09
FORMULA_NAME CloudOpsManagement-PT-00002by00001-CTLCardinality-10
FORMULA_NAME CloudOpsManagement-PT-00002by00001-CTLCardinality-11
FORMULA_NAME CloudOpsManagement-PT-00002by00001-CTLCardinality-12
FORMULA_NAME CloudOpsManagement-PT-00002by00001-CTLCardinality-13
FORMULA_NAME CloudOpsManagement-PT-00002by00001-CTLCardinality-14
FORMULA_NAME CloudOpsManagement-PT-00002by00001-CTLCardinality-15

=== Now, execution of the tool begins

BK_START 1589926381998

[2020-05-19 22:13:04] [INFO ] Running its-tools with arguments : [-pnfolder, /home/mcc/execution, -examination, CTLCardinality, -z3path, /home/mcc/BenchKit//z3/bin/z3, -yices2path, /home/mcc/BenchKit//yices/bin/yices, -its, -ltsminpath, /home/mcc/BenchKit//lts_install_dir/, -greatspnpath, /home/mcc/BenchKit//greatspn/, -order, META, -manyOrder, -smt, -timeout, 3600]
[2020-05-19 22:13:04] [INFO ] Parsing pnml file : /home/mcc/execution/model.pnml
[2020-05-19 22:13:04] [INFO ] Load time of PNML (sax parser for PT used): 55 ms
[2020-05-19 22:13:04] [INFO ] Transformed 27 places.
[2020-05-19 22:13:04] [INFO ] Transformed 29 transitions.
[2020-05-19 22:13:04] [INFO ] Parsed PT model containing 27 places and 29 transitions in 133 ms.
Parsed 16 properties from file /home/mcc/execution/CTLCardinality.xml in 28 ms.
Incomplete random walk after 100000 steps, including 0 resets, run finished after 483 ms. (steps per millisecond=207 ) properties seen :[1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0]
// Phase 1: matrix 29 rows 27 cols
[2020-05-19 22:13:05] [INFO ] Computed 11 place invariants in 4 ms
[2020-05-19 22:13:05] [INFO ] [Real]Absence check using 11 positive place invariants in 17 ms returned unsat
[2020-05-19 22:13:05] [INFO ] [Real]Absence check using 11 positive place invariants in 5 ms returned unsat
[2020-05-19 22:13:05] [INFO ] [Real]Absence check using 11 positive place invariants in 5 ms returned unsat
[2020-05-19 22:13:05] [INFO ] [Real]Absence check using 11 positive place invariants in 5 ms returned unsat
[2020-05-19 22:13:05] [INFO ] [Real]Absence check using 11 positive place invariants in 4 ms returned unsat
[2020-05-19 22:13:05] [INFO ] [Real]Absence check using 11 positive place invariants in 7 ms returned unsat
[2020-05-19 22:13:05] [INFO ] [Real]Absence check using 11 positive place invariants in 4 ms returned unsat
[2020-05-19 22:13:05] [INFO ] [Real]Absence check using 11 positive place invariants in 4 ms returned unsat
[2020-05-19 22:13:05] [INFO ] [Real]Absence check using 11 positive place invariants in 6 ms returned sat
[2020-05-19 22:13:05] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2020-05-19 22:13:05] [INFO ] [Real]Absence check using state equation in 19 ms returned sat
[2020-05-19 22:13:05] [INFO ] Solution in real domain found non-integer solution.
[2020-05-19 22:13:05] [INFO ] [Nat]Absence check using 11 positive place invariants in 15 ms returned sat
[2020-05-19 22:13:05] [INFO ] [Nat]Adding state equation constraints to refine reachable states.
[2020-05-19 22:13:05] [INFO ] [Nat]Absence check using state equation in 19 ms returned sat
[2020-05-19 22:13:05] [INFO ] State equation strengthened by 3 read => feed constraints.
[2020-05-19 22:13:05] [INFO ] [Nat]Added 3 Read/Feed constraints in 1 ms returned sat
[2020-05-19 22:13:05] [INFO ] Computed and/alt/rep : 26/69/26 causal constraints in 7 ms.
[2020-05-19 22:13:05] [INFO ] Added : 25 causal constraints over 5 iterations in 59 ms. Result :sat
[2020-05-19 22:13:05] [INFO ] [Real]Absence check using 11 positive place invariants in 4 ms returned unsat
[2020-05-19 22:13:05] [INFO ] [Real]Absence check using 11 positive place invariants in 4 ms returned unsat
[2020-05-19 22:13:05] [INFO ] [Real]Absence check using 11 positive place invariants in 5 ms returned sat
[2020-05-19 22:13:05] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2020-05-19 22:13:05] [INFO ] [Real]Absence check using state equation in 15 ms returned sat
[2020-05-19 22:13:05] [INFO ] Solution in real domain found non-integer solution.
[2020-05-19 22:13:05] [INFO ] [Nat]Absence check using 11 positive place invariants in 9 ms returned sat
[2020-05-19 22:13:05] [INFO ] [Nat]Adding state equation constraints to refine reachable states.
[2020-05-19 22:13:05] [INFO ] [Nat]Absence check using state equation in 23 ms returned sat
[2020-05-19 22:13:05] [INFO ] [Nat]Added 3 Read/Feed constraints in 2 ms returned sat
[2020-05-19 22:13:05] [INFO ] Computed and/alt/rep : 26/69/26 causal constraints in 10 ms.
[2020-05-19 22:13:05] [INFO ] Added : 17 causal constraints over 5 iterations in 49 ms. Result :sat
[2020-05-19 22:13:05] [INFO ] [Real]Absence check using 11 positive place invariants in 3 ms returned unsat
[2020-05-19 22:13:05] [INFO ] [Real]Absence check using 11 positive place invariants in 4 ms returned unsat
[2020-05-19 22:13:05] [INFO ] [Real]Absence check using 11 positive place invariants in 5 ms returned unsat
[2020-05-19 22:13:05] [INFO ] [Real]Absence check using 11 positive place invariants in 5 ms returned unsat
[2020-05-19 22:13:05] [INFO ] [Real]Absence check using 11 positive place invariants in 5 ms returned sat
[2020-05-19 22:13:05] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2020-05-19 22:13:05] [INFO ] [Real]Absence check using state equation in 15 ms returned sat
[2020-05-19 22:13:05] [INFO ] [Real]Added 3 Read/Feed constraints in 1 ms returned sat
[2020-05-19 22:13:06] [INFO ] Computed and/alt/rep : 26/69/26 causal constraints in 3 ms.
[2020-05-19 22:13:06] [INFO ] Solution in real domain found non-integer solution.
[2020-05-19 22:13:06] [INFO ] [Nat]Absence check using 11 positive place invariants in 6 ms returned sat
[2020-05-19 22:13:06] [INFO ] [Nat]Adding state equation constraints to refine reachable states.
[2020-05-19 22:13:06] [INFO ] [Nat]Absence check using state equation in 15 ms returned sat
[2020-05-19 22:13:06] [INFO ] [Nat]Added 3 Read/Feed constraints in 1 ms returned sat
[2020-05-19 22:13:06] [INFO ] Computed and/alt/rep : 26/69/26 causal constraints in 3 ms.
[2020-05-19 22:13:06] [INFO ] Added : 25 causal constraints over 6 iterations in 46 ms. Result :sat
[2020-05-19 22:13:06] [INFO ] [Real]Absence check using 11 positive place invariants in 3 ms returned unsat
[2020-05-19 22:13:06] [INFO ] [Real]Absence check using 11 positive place invariants in 7 ms returned sat
[2020-05-19 22:13:06] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2020-05-19 22:13:06] [INFO ] [Real]Absence check using state equation in 23 ms returned sat
[2020-05-19 22:13:06] [INFO ] Solution in real domain found non-integer solution.
[2020-05-19 22:13:06] [INFO ] [Nat]Absence check using 11 positive place invariants in 10 ms returned sat
[2020-05-19 22:13:06] [INFO ] [Nat]Adding state equation constraints to refine reachable states.
[2020-05-19 22:13:06] [INFO ] [Nat]Absence check using state equation in 22 ms returned sat
[2020-05-19 22:13:06] [INFO ] [Nat]Added 3 Read/Feed constraints in 2 ms returned sat
[2020-05-19 22:13:06] [INFO ] Computed and/alt/rep : 26/69/26 causal constraints in 6 ms.
[2020-05-19 22:13:06] [INFO ] Added : 25 causal constraints over 5 iterations in 46 ms. Result :sat
[2020-05-19 22:13:06] [INFO ] [Real]Absence check using 11 positive place invariants in 19 ms returned sat
[2020-05-19 22:13:06] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2020-05-19 22:13:06] [INFO ] [Real]Absence check using state equation in 22 ms returned sat
[2020-05-19 22:13:06] [INFO ] Solution in real domain found non-integer solution.
[2020-05-19 22:13:06] [INFO ] [Nat]Absence check using 11 positive place invariants in 11 ms returned sat
[2020-05-19 22:13:06] [INFO ] [Nat]Adding state equation constraints to refine reachable states.
[2020-05-19 22:13:06] [INFO ] [Nat]Absence check using state equation in 28 ms returned sat
[2020-05-19 22:13:06] [INFO ] [Nat]Added 3 Read/Feed constraints in 1 ms returned sat
[2020-05-19 22:13:06] [INFO ] Computed and/alt/rep : 26/69/26 causal constraints in 6 ms.
[2020-05-19 22:13:06] [INFO ] Added : 22 causal constraints over 5 iterations in 43 ms. Result :sat
[2020-05-19 22:13:06] [INFO ] [Real]Absence check using 11 positive place invariants in 5 ms returned unsat
[2020-05-19 22:13:06] [INFO ] [Real]Absence check using 11 positive place invariants in 4 ms returned unsat
[2020-05-19 22:13:06] [INFO ] [Real]Absence check using 11 positive place invariants in 5 ms returned unsat
Successfully simplified 18 atomic propositions for a total of 19 simplifications.
[2020-05-19 22:13:06] [INFO ] Initial state reduction rules for CTL removed 12 formulas.
[2020-05-19 22:13:06] [INFO ] Flatten gal took : 41 ms
[2020-05-19 22:13:06] [INFO ] Initial state reduction rules for CTL removed 12 formulas.
[2020-05-19 22:13:06] [INFO ] Flatten gal took : 11 ms
FORMULA CloudOpsManagement-PT-00002by00001-CTLCardinality-15 TRUE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA CloudOpsManagement-PT-00002by00001-CTLCardinality-13 FALSE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA CloudOpsManagement-PT-00002by00001-CTLCardinality-12 TRUE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA CloudOpsManagement-PT-00002by00001-CTLCardinality-11 FALSE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA CloudOpsManagement-PT-00002by00001-CTLCardinality-09 TRUE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA CloudOpsManagement-PT-00002by00001-CTLCardinality-08 FALSE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA CloudOpsManagement-PT-00002by00001-CTLCardinality-07 FALSE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA CloudOpsManagement-PT-00002by00001-CTLCardinality-05 FALSE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA CloudOpsManagement-PT-00002by00001-CTLCardinality-04 FALSE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA CloudOpsManagement-PT-00002by00001-CTLCardinality-03 FALSE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA CloudOpsManagement-PT-00002by00001-CTLCardinality-02 FALSE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA CloudOpsManagement-PT-00002by00001-CTLCardinality-00 FALSE TECHNIQUES TOPOLOGICAL INITIAL_STATE
[2020-05-19 22:13:06] [INFO ] Applying decomposition
[2020-05-19 22:13:06] [INFO ] Flatten gal took : 10 ms
Converted graph to binary with : CommandLine [args=[/home/mcc/BenchKit/itstools/plugins/fr.lip6.move.gal.louvain.binaries_1.0.0.202005100927/bin/convert-linux64, -i, /tmp/graph7146118056502396853.txt, -o, /tmp/graph7146118056502396853.bin, -w, /tmp/graph7146118056502396853.weights], workingDir=null]
Built communities with : CommandLine [args=[/home/mcc/BenchKit/itstools/plugins/fr.lip6.move.gal.louvain.binaries_1.0.0.202005100927/bin/louvain-linux64, /tmp/graph7146118056502396853.bin, -l, -1, -v, -w, /tmp/graph7146118056502396853.weights, -q, 0, -e, 0.001], workingDir=null]
[2020-05-19 22:13:06] [INFO ] Decomposing Gal with order
[2020-05-19 22:13:06] [INFO ] Rewriting arrays to variables to allow decomposition.
[2020-05-19 22:13:06] [INFO ] Removed a total of 2 redundant transitions.
[2020-05-19 22:13:06] [INFO ] Flatten gal took : 40 ms
[2020-05-19 22:13:06] [INFO ] Fuse similar labels procedure discarded/fused a total of 0 labels/synchronizations in 1 ms.
[2020-05-19 22:13:06] [INFO ] Time to serialize gal into /home/mcc/execution/CTLCardinality.pnml.gal : 4 ms
[2020-05-19 22:13:06] [INFO ] Time to serialize properties into /home/mcc/execution/CTLCardinality.ctl : 0 ms
Invoking ITS tools like this :CommandLine [args=[/home/mcc/BenchKit/itstools/plugins/fr.lip6.move.gal.itstools.binaries_1.0.0.202005100927/bin/its-ctl-linux64, --gc-threshold, 2000000, --quiet, -i, /home/mcc/execution/CTLCardinality.pnml.gal, -t, CGAL, -ctl, /home/mcc/execution/CTLCardinality.ctl, --gen-order, FOLLOW], workingDir=/home/mcc/execution]

its-ctl command run as :

/home/mcc/BenchKit/itstools/plugins/fr.lip6.move.gal.itstools.binaries_1.0.0.202005100927/bin/its-ctl-linux64 --gc-threshold 2000000 --quiet -i /home/mcc/execution/CTLCardinality.pnml.gal -t CGAL -ctl /home/mcc/execution/CTLCardinality.ctl --gen-order FOLLOW
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,3857,0.015517,4596,2,171,5,789,6,0,139,713,0


Converting to forward existential form...Done !
original formula: EF(AX(FALSE))
=> equivalent forward existential formula: [(FwdU(Init,TRUE) * !(EX(!(FALSE))))] != FALSE
Reverse transition relation is NOT exact ! Due to transitions gi0.gi0.UninstallOs, gi0.gi0.InstallOs, gi0.gi1.UninstallSc, Intersection with reachable at each step enabled. (destroyed/reverse/intersect/total) :0/26/3/29
(forward)formula 0,0,0.036421,5244,1,0,41,4167,72,29,845,3655,63
FORMULA CloudOpsManagement-PT-00002by00001-CTLCardinality-01 FALSE TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL USE_NUPN
Formula is FALSE !

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

original formula: EF(AG((gu7.Wsr1Started<=gu7.Wsr2Started)))
=> equivalent forward existential formula: [(FwdU(Init,TRUE) * !(E(TRUE U !((gu7.Wsr1Started<=gu7.Wsr2Started)))))] != FALSE
(forward)formula 1,1,0.045262,5508,1,0,50,6261,79,35,876,5449,75
FORMULA CloudOpsManagement-PT-00002by00001-CTLCardinality-06 TRUE TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL USE_NUPN
Formula is TRUE !

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

original formula: EX(TRUE)
=> equivalent forward existential formula: [(EY(Init) * TRUE)] != FALSE
(forward)formula 2,1,0.045789,5508,1,0,51,6301,79,36,889,5510,76
FORMULA CloudOpsManagement-PT-00002by00001-CTLCardinality-10 TRUE TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL USE_NUPN
Formula is TRUE !

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

original formula: AX(FALSE)
=> equivalent forward existential formula: [(EY(Init) * !(FALSE))] = FALSE
(forward)formula 3,0,0.045873,5508,1,0,51,6301,79,36,889,5510,76
FORMULA CloudOpsManagement-PT-00002by00001-CTLCardinality-14 FALSE TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL USE_NUPN
Formula is FALSE !

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


BK_STOP 1589926388071

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

+ export BINDIR=/home/mcc/BenchKit/
+ BINDIR=/home/mcc/BenchKit/
++ pwd
+ export MODEL=/home/mcc/execution
+ MODEL=/home/mcc/execution
+ [[ CTLCardinality = StateSpace ]]
+ /home/mcc/BenchKit//runeclipse.sh /home/mcc/execution CTLCardinality -its -ltsminpath /home/mcc/BenchKit//lts_install_dir/ -greatspnpath /home/mcc/BenchKit//greatspn/ -order META -manyOrder -smt -timeout 3600
+ ulimit -s 65536
+ [[ -z '' ]]
+ export LTSMIN_MEM_SIZE=8589934592
+ LTSMIN_MEM_SIZE=8589934592
+ /home/mcc/BenchKit//itstools/its-tools -data /home/mcc/execution/workspace -pnfolder /home/mcc/execution -examination CTLCardinality -z3path /home/mcc/BenchKit//z3/bin/z3 -yices2path /home/mcc/BenchKit//yices/bin/yices -its -ltsminpath /home/mcc/BenchKit//lts_install_dir/ -greatspnpath /home/mcc/BenchKit//greatspn/ -order META -manyOrder -smt -timeout 3600 -vmargs -Dosgi.locking=none -Declipse.stateSaveDelayInterval=-1 -Dosgi.configuration.area=/tmp/.eclipse -Xss128m -Xms40m -Xmx16000m -Dfile.encoding=UTF-8 -Dosgi.requiredJavaVersion=1.6

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="CloudOpsManagement-PT-00002by00001"
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"

# 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 CloudOpsManagement-PT-00002by00001, 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 r036-smll-158901931000363"
echo "====================================================================="
echo
echo "--------------------"
echo "preparation of the directory to be used:"

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