fond
Model Checking Contest 2021
11th edition, Paris, France, June 23, 2021
Execution of r235-smll-162106564400033
Last Updated
Jun 28, 2021

About the Execution of ITS-Tools for ShieldRVs-PT-003A

Execution Summary
Max Memory
Used (MB)
Time wait (ms) CPU Usage (ms) I/O Wait (ms) Computed Result Execution
Status
1106.647 52839.00 62730.00 538.70 FTTFFTFFFFTFFTFT 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.r235-smll-162106564400033.qcow2', fmt=qcow2 size=4294967296 backing_file=/data/fkordon/mcc2021-input.qcow2 cluster_size=65536 lazy_refcounts=off refcount_bits=16
Waiting for the VM to be ready (probing ssh)
............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
=====================================================================
Generated by BenchKit 2-4028
Executing tool itstools
Input is ShieldRVs-PT-003A, examination is CTLCardinality
Time confinement is 3600 seconds
Memory confinement is 16384 MBytes
Number of cores is 4
Run identifier is r235-smll-162106564400033
=====================================================================

--------------------
preparation of the directory to be used:
/home/mcc/execution
total 380K
-rw-r--r-- 1 mcc users 13K May 5 16:58 CTLCardinality.txt
-rw-r--r-- 1 mcc users 125K May 10 09:44 CTLCardinality.xml
-rw-r--r-- 1 mcc users 7.9K May 5 16:58 CTLFireability.txt
-rw-r--r-- 1 mcc users 73K May 10 09:44 CTLFireability.xml
-rw-r--r-- 1 mcc users 4.2K May 6 14:48 GenericPropertiesDefinition.xml
-rw-r--r-- 1 mcc users 6.5K May 6 14:48 GenericPropertiesVerdict.xml
-rw-r--r-- 1 mcc users 3.0K Mar 28 16:40 LTLCardinality.txt
-rw-r--r-- 1 mcc users 21K Mar 28 16:40 LTLCardinality.xml
-rw-r--r-- 1 mcc users 1.8K Mar 28 16:40 LTLFireability.txt
-rw-r--r-- 1 mcc users 15K Mar 28 16:40 LTLFireability.xml
-rw-r--r-- 1 mcc users 3.7K Mar 27 12:36 ReachabilityCardinality.txt
-rw-r--r-- 1 mcc users 20K Mar 27 12:36 ReachabilityCardinality.xml
-rw-r--r-- 1 mcc users 2.8K Mar 25 18:41 ReachabilityFireability.txt
-rw-r--r-- 1 mcc users 18K Mar 25 18:41 ReachabilityFireability.xml
-rw-r--r-- 1 mcc users 1.6K Mar 22 08:16 UpperBounds.txt
-rw-r--r-- 1 mcc users 3.6K Mar 22 08:16 UpperBounds.xml
-rw-r--r-- 1 mcc users 6 May 5 16:52 equiv_col
-rw-r--r-- 1 mcc users 5 May 5 16:52 instance
-rw-r--r-- 1 mcc users 6 May 5 16:52 iscolored
-rw-r--r-- 1 mcc users 19K May 5 16:52 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 ShieldRVs-PT-003A-CTLCardinality-00
FORMULA_NAME ShieldRVs-PT-003A-CTLCardinality-01
FORMULA_NAME ShieldRVs-PT-003A-CTLCardinality-02
FORMULA_NAME ShieldRVs-PT-003A-CTLCardinality-03
FORMULA_NAME ShieldRVs-PT-003A-CTLCardinality-04
FORMULA_NAME ShieldRVs-PT-003A-CTLCardinality-05
FORMULA_NAME ShieldRVs-PT-003A-CTLCardinality-06
FORMULA_NAME ShieldRVs-PT-003A-CTLCardinality-07
FORMULA_NAME ShieldRVs-PT-003A-CTLCardinality-08
FORMULA_NAME ShieldRVs-PT-003A-CTLCardinality-09
FORMULA_NAME ShieldRVs-PT-003A-CTLCardinality-10
FORMULA_NAME ShieldRVs-PT-003A-CTLCardinality-11
FORMULA_NAME ShieldRVs-PT-003A-CTLCardinality-12
FORMULA_NAME ShieldRVs-PT-003A-CTLCardinality-13
FORMULA_NAME ShieldRVs-PT-003A-CTLCardinality-14
FORMULA_NAME ShieldRVs-PT-003A-CTLCardinality-15

=== Now, execution of the tool begins

BK_START 1621112439363

Running Version 0
[2021-05-15 21:00:42] [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-15 21:00:42] [INFO ] Parsing pnml file : /home/mcc/execution/model.pnml
[2021-05-15 21:00:42] [INFO ] Load time of PNML (sax parser for PT used): 52 ms
[2021-05-15 21:00:42] [INFO ] Transformed 45 places.
[2021-05-15 21:00:42] [INFO ] Transformed 60 transitions.
[2021-05-15 21:00:42] [INFO ] Found NUPN structural information;
[2021-05-15 21:00:42] [INFO ] Parsed PT model containing 45 places and 60 transitions in 115 ms.
Parsed 16 properties from file /home/mcc/execution/CTLCardinality.xml in 28 ms.
Support contains 45 out of 45 places. Attempting structural reductions.
Starting structural reductions, iteration 0 : 45/45 places, 60/60 transitions.
Applied a total of 0 rules in 11 ms. Remains 45 /45 variables (removed 0) and now considering 60/60 (removed 0) transitions.
// Phase 1: matrix 60 rows 45 cols
[2021-05-15 21:00:42] [INFO ] Computed 13 place invariants in 13 ms
[2021-05-15 21:00:42] [INFO ] Implicit Places using invariants in 172 ms returned []
// Phase 1: matrix 60 rows 45 cols
[2021-05-15 21:00:42] [INFO ] Computed 13 place invariants in 7 ms
[2021-05-15 21:00:42] [INFO ] Implicit Places using invariants and state equation in 105 ms returned []
Implicit Place search using SMT with State Equation took 316 ms to find 0 implicit places.
// Phase 1: matrix 60 rows 45 cols
[2021-05-15 21:00:42] [INFO ] Computed 13 place invariants in 3 ms
[2021-05-15 21:00:43] [INFO ] Dead Transitions using invariants and state equation in 87 ms returned []
Finished structural reductions, in 1 iterations. Remains : 45/45 places, 60/60 transitions.
[2021-05-15 21:00:43] [INFO ] Flatten gal took : 45 ms
[2021-05-15 21:00:43] [INFO ] Flatten gal took : 18 ms
[2021-05-15 21:00:43] [INFO ] Input system was already deterministic with 60 transitions.
Incomplete random walk after 100000 steps, including 1940 resets, run finished after 1841 ms. (steps per millisecond=54 ) properties (out of 92) seen :29
Running SMT prover for 63 properties.
// Phase 1: matrix 60 rows 45 cols
[2021-05-15 21:00:45] [INFO ] Computed 13 place invariants in 4 ms
[2021-05-15 21:00:45] [INFO ] SMT Verify possible in real domain returnedunsat :55 sat :0 real:8
[2021-05-15 21:00:45] [INFO ] [Nat]Absence check using 13 positive place invariants in 4 ms returned sat
[2021-05-15 21:00:45] [INFO ] SMT Verify possible in nat domain returned unsat :8 sat :55
Successfully simplified 63 atomic propositions for a total of 16 simplifications.
[2021-05-15 21:00:45] [INFO ] Initial state test concluded for 1 properties.
FORMULA ShieldRVs-PT-003A-CTLCardinality-06 FALSE TECHNIQUES TOPOLOGICAL INITIAL_STATE
Applied a total of 0 rules in 10 ms. Remains 45 /45 variables (removed 0) and now considering 60/60 (removed 0) transitions.
[2021-05-15 21:00:45] [INFO ] Flatten gal took : 13 ms
[2021-05-15 21:00:45] [INFO ] Initial state reduction rules for CTL removed 1 formulas.
FORMULA ShieldRVs-PT-003A-CTLCardinality-03 FALSE TECHNIQUES TOPOLOGICAL INITIAL_STATE
[2021-05-15 21:00:45] [INFO ] Flatten gal took : 10 ms
[2021-05-15 21:00:45] [INFO ] Input system was already deterministic with 60 transitions.
Reduce places removed 1 places and 1 transitions.
Performed 1 Post agglomeration using F-continuation condition.Transition count delta: 1
Deduced a syphon composed of 1 places in 1 ms
Reduce places removed 1 places and 0 transitions.
Iterating global reduction 0 with 2 rules applied. Total rules applied 2 place count 43 transition count 58
Applied a total of 2 rules in 24 ms. Remains 43 /45 variables (removed 2) and now considering 58/60 (removed 2) transitions.
[2021-05-15 21:00:45] [INFO ] Initial state reduction rules for CTL removed 1 formulas.
[2021-05-15 21:00:45] [INFO ] Flatten gal took : 13 ms
FORMULA ShieldRVs-PT-003A-CTLCardinality-10 TRUE TECHNIQUES TOPOLOGICAL INITIAL_STATE
[2021-05-15 21:00:45] [INFO ] Flatten gal took : 13 ms
[2021-05-15 21:00:45] [INFO ] Input system was already deterministic with 58 transitions.
Applied a total of 0 rules in 5 ms. Remains 45 /45 variables (removed 0) and now considering 60/60 (removed 0) transitions.
[2021-05-15 21:00:45] [INFO ] Flatten gal took : 12 ms
[2021-05-15 21:00:45] [INFO ] Initial state reduction rules for CTL removed 1 formulas.
FORMULA ShieldRVs-PT-003A-CTLCardinality-13 TRUE TECHNIQUES TOPOLOGICAL INITIAL_STATE
[2021-05-15 21:00:45] [INFO ] Flatten gal took : 14 ms
[2021-05-15 21:00:45] [INFO ] Input system was already deterministic with 60 transitions.
[2021-05-15 21:00:45] [INFO ] Initial state reduction rules for CTL removed 5 formulas.
[2021-05-15 21:00:45] [INFO ] Flatten gal took : 14 ms
FORMULA ShieldRVs-PT-003A-CTLCardinality-15 TRUE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA ShieldRVs-PT-003A-CTLCardinality-11 FALSE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA ShieldRVs-PT-003A-CTLCardinality-09 FALSE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA ShieldRVs-PT-003A-CTLCardinality-01 TRUE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA ShieldRVs-PT-003A-CTLCardinality-00 FALSE TECHNIQUES TOPOLOGICAL INITIAL_STATE
[2021-05-15 21:00:45] [INFO ] Flatten gal took : 12 ms
[2021-05-15 21:00:45] [INFO ] Applying decomposition
[2021-05-15 21:00:45] [INFO ] Flatten gal took : 12 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/graph11860027906253073683.txt, -o, /tmp/graph11860027906253073683.bin, -w, /tmp/graph11860027906253073683.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/graph11860027906253073683.bin, -l, -1, -v, -w, /tmp/graph11860027906253073683.weights, -q, 0, -e, 0.001], workingDir=null]
[2021-05-15 21:00:45] [INFO ] Decomposing Gal with order
[2021-05-15 21:00:46] [INFO ] Rewriting arrays to variables to allow decomposition.
[2021-05-15 21:00:46] [INFO ] Removed a total of 61 redundant transitions.
[2021-05-15 21:00:46] [INFO ] Flatten gal took : 156 ms
[2021-05-15 21:00:46] [INFO ] Fuse similar labels procedure discarded/fused a total of 2 labels/synchronizations in 10 ms.
[2021-05-15 21:00:46] [INFO ] Time to serialize gal into /tmp/CTLCardinality17835484909013858121.gal : 84 ms
[2021-05-15 21:00:46] [INFO ] Time to serialize properties into /tmp/CTLCardinality6405213356502569950.ctl : 2 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/CTLCardinality17835484909013858121.gal, -t, CGAL, -ctl, /tmp/CTLCardinality6405213356502569950.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.202104292328/bin/its-ctl-linux64 --gc-threshold 2000000 --quiet -i /tmp/CTLCardinality17835484909013858121.gal -t CGAL -ctl /tmp/CTLCardinality6405213356502569950.ctl --gen-order FOLLOW
No direction supplied, using forward translation only.
Parsed 7 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,1.5305e+06,0.21305,8024,2,1123,5,14148,6,0,242,22829,0


Converting to forward existential form...Done !
original formula: EX(TRUE)
=> equivalent forward existential formula: [(EY(Init) * TRUE)] != FALSE
(forward)formula 0,1,0.21492,8024,1,0,6,14148,7,1,356,22829,1
FORMULA ShieldRVs-PT-003A-CTLCardinality-02 TRUE TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL USE_NUPN
Formula is TRUE !

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

original formula: !(EX(EX(TRUE)))
=> equivalent forward existential formula: [(EY(EY(Init)) * TRUE)] = FALSE
(forward)formula 1,0,0.21561,8024,1,0,7,14148,7,2,379,22829,2
FORMULA ShieldRVs-PT-003A-CTLCardinality-04 FALSE TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL USE_NUPN
Formula is FALSE !

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

original formula: EF(EX(AG((((((gu3.p41+gu3.p38)+gu0.p24)+gu3.p30)+gu3.p15)<=(((((((((gu3.p20+gu3.p33)+gu0.p6)+gu0.p24)+gu3.p8)+gu3.p30)+gu3.p34)+gi3.gu1.p36)+gi3.gu1.p3)+gu3.p1)))))
=> equivalent forward existential formula: [(EY(FwdU(Init,TRUE)) * !(E(TRUE U !((((((gu3.p41+gu3.p38)+gu0.p24)+gu3.p30)+gu3.p15)<=(((((((((gu3.p20+gu3.p33)+gu0.p6)+gu0.p24)+gu3.p8)+gu3.p30)+gu3.p34)+gi3.gu1.p36)+gi3.gu1.p3)+gu3.p1))))))] != FALSE
Reverse transition relation is NOT exact ! Due to transitions gu2.t7, gu3.t14, gu3.t16, gu3.t17, gu3.t21, gi3.gu1.t0, gi3.t12, t1, t2, t4, t5, t6, t8, t9, t10, t11, t13, t15, t19, t20, t23, t24, t26, t27, t28, t30, t31, t32, t33, t35, t37, t38, t40, t41, t42, t44, t45, t46, t48, t50, t51, t53, t55, t56, t58, Intersection with reachable at each step enabled. (destroyed/reverse/intersect/total) :0/14/45/59
(forward)formula 2,1,8.80233,203832,1,0,231,906595,140,94,2391,1.49301e+06,199
FORMULA ShieldRVs-PT-003A-CTLCardinality-05 TRUE TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL USE_NUPN
Formula is TRUE !

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

original formula: EF((AG(AF(EX(TRUE))) * AX((!(AG(((gu3.p34+gu0.p28)<=gu0.p9))) + AX(FALSE)))))
=> equivalent forward existential formula: [((FwdU(Init,TRUE) * !(E(TRUE U !(!(EG(!(EX(TRUE)))))))) * !(EX(!((!(!(E(TRUE U !(((gu3.p34+gu0.p28)<=gu0.p9))))) + !(EX(!(FALSE))))))))] != FALSE
Using saturation style SCC detection
(forward)formula 3,0,14.4593,338492,1,0,388,1.51575e+06,150,159,2436,2.50464e+06,391
FORMULA ShieldRVs-PT-003A-CTLCardinality-07 FALSE TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL USE_NUPN
Formula is FALSE !

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

original formula: EG(((((((((gi3.gu1.p36+gi3.gu4.p13)+gu3.p8)+gi3.gu1.p31)+gi3.gu4.p32)+gu0.p5)+gi3.gu4.p39)<=((gi3.gu1.p0+gi3.gu1.p4)+gi3.gu4.p18)) + AX((((((((((((gu2.p27+gu2.p10)+gi3.gu4.p13)+gu0.p28)+gu2.p11)+gu2.p14)+gu3.p41)+gu3.p34)+gu2.p7)+gu2.p44)<=gu3.p1) + AF(((((((((gu0.p24+gu0.p5)+gu0.p28)+gu0.p6)+gu0.p29)+gu0.p21)+gu0.p12)+gu0.p2)>=5))))))
=> equivalent forward existential formula: [FwdG(Init,((((((((gi3.gu1.p36+gi3.gu4.p13)+gu3.p8)+gi3.gu1.p31)+gi3.gu4.p32)+gu0.p5)+gi3.gu4.p39)<=((gi3.gu1.p0+gi3.gu1.p4)+gi3.gu4.p18)) + !(EX(!((((((((((((gu2.p27+gu2.p10)+gi3.gu4.p13)+gu0.p28)+gu2.p11)+gu2.p14)+gu3.p41)+gu3.p34)+gu2.p7)+gu2.p44)<=gu3.p1) + !(EG(!(((((((((gu0.p24+gu0.p5)+gu0.p28)+gu0.p6)+gu0.p29)+gu0.p21)+gu0.p12)+gu0.p2)>=5))))))))))] != FALSE
(forward)formula 4,0,28.8729,645008,1,0,744,2.99246e+06,162,328,2693,5.08768e+06,795
FORMULA ShieldRVs-PT-003A-CTLCardinality-08 FALSE TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL USE_NUPN
Formula is FALSE !

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

original formula: AG(AF((AG(((((((((gu2.p14+gu2.p26)+gu3.p20)+gu2.p44)+gu2.p25)+gu0.p2)+gi3.gu1.p0)+gu2.p27)<=(gu2.p17+gu3.p15))) + EF((((((((gi3.gu1.p16+gu2.p14)+gi3.gu1.p23)+gi3.gu1.p0)+gi3.gu1.p22)+gi3.gu1.p4)+gi3.gu1.p36)<=(gi3.gu1.p3+gi3.gu1.p31))))))
=> equivalent forward existential formula: [FwdG(FwdU(Init,TRUE),!((!(E(TRUE U !(((((((((gu2.p14+gu2.p26)+gu3.p20)+gu2.p44)+gu2.p25)+gu0.p2)+gi3.gu1.p0)+gu2.p27)<=(gu2.p17+gu3.p15))))) + E(TRUE U (((((((gi3.gu1.p16+gu2.p14)+gi3.gu1.p23)+gi3.gu1.p0)+gi3.gu1.p22)+gi3.gu1.p4)+gi3.gu1.p36)<=(gi3.gu1.p3+gi3.gu1.p31))))))] = FALSE
(forward)formula 5,0,31.1862,690612,1,0,804,3.20518e+06,168,363,2888,5.42001e+06,871
FORMULA ShieldRVs-PT-003A-CTLCardinality-12 FALSE TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL USE_NUPN
Formula is FALSE !

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

original formula: AF(AG(AX((AX(FALSE) * EF((((((gu2.p10+gi3.gu1.p16)+gu2.p44)+gu3.p15)+gi3.gu1.p4)>=3))))))
=> equivalent forward existential formula: [FwdG(Init,!(!(E(TRUE U !(!(EX(!((!(EX(!(FALSE))) * E(TRUE U (((((gu2.p10+gi3.gu1.p16)+gu2.p44)+gu3.p15)+gi3.gu1.p4)>=3)))))))))))] = FALSE
(forward)formula 6,0,44.275,894472,1,0,975,3.99986e+06,172,488,2902,7.01711e+06,1045
FORMULA ShieldRVs-PT-003A-CTLCardinality-14 FALSE TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL USE_NUPN
Formula is FALSE !

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


BK_STOP 1621112492202

--------------------
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
++ cut -d . -f 9
++ ls /home/mcc/BenchKit/bin//..//itstools/plugins/fr.lip6.move.gal.application.pnmcc_1.0.0.202104292328.jar
+ 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="ShieldRVs-PT-003A"
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 ShieldRVs-PT-003A, 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 r235-smll-162106564400033"
echo "====================================================================="
echo
echo "--------------------"
echo "preparation of the directory to be used:"

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