fond
Model Checking Contest 2020
10th edition, Paris, France, June 23, 2020
Execution of r066-tajo-158922814200363
Last Updated
Jun 28, 2020

About the Execution of ITS-Tools for Diffusion2D-PT-D05N050

Execution Summary
Max Memory
Used (MB)
Time wait (ms) CPU Usage (ms) I/O Wait (ms) Computed Result Execution
Status
15740.620 102837.00 109436.00 133.70 TTTTTTTTFTTTTTFF normal

Execution Chart

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

Trace from the execution

Formatting '/mnt/tpsp/fkordon/mcc2020-input.r066-tajo-158922814200363.qcow2', fmt=qcow2 size=4294967296 backing_file='/mnt/tpsp/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 Diffusion2D-PT-D05N050, examination is CTLCardinality
Time confinement is 3600 seconds
Memory confinement is 16384 MBytes
Number of cores is 4
Run identifier is r066-tajo-158922814200363
=====================================================================

--------------------
preparation of the directory to be used:
/home/mcc/execution
total 244K
-rw-r--r-- 1 mcc users 3.5K Mar 31 06:26 CTLCardinality.txt
-rw-r--r-- 1 mcc users 17K Mar 31 06:26 CTLCardinality.xml
-rw-r--r-- 1 mcc users 3.1K Mar 29 22:44 CTLFireability.txt
-rw-r--r-- 1 mcc users 18K Mar 29 22:44 CTLFireability.xml
-rw-r--r-- 1 mcc users 4.0K Mar 24 05:37 GenericPropertiesDefinition.xml
-rw-r--r-- 1 mcc users 5.8K Mar 24 05:37 GenericPropertiesVerdict.xml
-rw-r--r-- 1 mcc users 3.9K Apr 8 14:48 LTLCardinality.txt
-rw-r--r-- 1 mcc users 25K Apr 28 14:00 LTLCardinality.xml
-rw-r--r-- 1 mcc users 2.2K Apr 8 14:48 LTLFireability.txt
-rw-r--r-- 1 mcc users 15K Apr 28 14:00 LTLFireability.xml
-rw-r--r-- 1 mcc users 4.7K Mar 28 14:29 ReachabilityCardinality.txt
-rw-r--r-- 1 mcc users 23K Mar 28 14:29 ReachabilityCardinality.xml
-rw-r--r-- 1 mcc users 3.3K Mar 27 07:29 ReachabilityFireability.txt
-rw-r--r-- 1 mcc users 18K Mar 27 07:29 ReachabilityFireability.xml
-rw-r--r-- 1 mcc users 1.8K Mar 28 14:50 UpperBounds.txt
-rw-r--r-- 1 mcc users 3.8K Mar 28 14:50 UpperBounds.xml
-rw-r--r-- 1 mcc users 6 Mar 24 05:37 equiv_col
-rw-r--r-- 1 mcc users 8 Mar 24 05:37 instance
-rw-r--r-- 1 mcc users 6 Mar 24 05:37 iscolored
-rw-r--r-- 1 mcc users 55K 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 Diffusion2D-PT-D05N050-CTLCardinality-00
FORMULA_NAME Diffusion2D-PT-D05N050-CTLCardinality-01
FORMULA_NAME Diffusion2D-PT-D05N050-CTLCardinality-02
FORMULA_NAME Diffusion2D-PT-D05N050-CTLCardinality-03
FORMULA_NAME Diffusion2D-PT-D05N050-CTLCardinality-04
FORMULA_NAME Diffusion2D-PT-D05N050-CTLCardinality-05
FORMULA_NAME Diffusion2D-PT-D05N050-CTLCardinality-06
FORMULA_NAME Diffusion2D-PT-D05N050-CTLCardinality-07
FORMULA_NAME Diffusion2D-PT-D05N050-CTLCardinality-08
FORMULA_NAME Diffusion2D-PT-D05N050-CTLCardinality-09
FORMULA_NAME Diffusion2D-PT-D05N050-CTLCardinality-10
FORMULA_NAME Diffusion2D-PT-D05N050-CTLCardinality-11
FORMULA_NAME Diffusion2D-PT-D05N050-CTLCardinality-12
FORMULA_NAME Diffusion2D-PT-D05N050-CTLCardinality-13
FORMULA_NAME Diffusion2D-PT-D05N050-CTLCardinality-14
FORMULA_NAME Diffusion2D-PT-D05N050-CTLCardinality-15

=== Now, execution of the tool begins

BK_START 1590112201844

[2020-05-22 01:50:03] [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-22 01:50:03] [INFO ] Parsing pnml file : /home/mcc/execution/model.pnml
[2020-05-22 01:50:03] [INFO ] Load time of PNML (sax parser for PT used): 37 ms
[2020-05-22 01:50:03] [INFO ] Transformed 25 places.
[2020-05-22 01:50:03] [INFO ] Transformed 144 transitions.
[2020-05-22 01:50:03] [INFO ] Parsed PT model containing 25 places and 144 transitions in 75 ms.
Parsed 16 properties from file /home/mcc/execution/CTLCardinality.xml in 37 ms.
Incomplete random walk after 100031 steps, including 0 resets, run finished after 38 ms. (steps per millisecond=2632 ) properties seen :[1, 0, 0, 1, 0, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]
// Phase 1: matrix 144 rows 25 cols
[2020-05-22 01:50:03] [INFO ] Computed 1 place invariants in 4 ms
[2020-05-22 01:50:03] [INFO ] [Real]Absence check using 1 positive place invariants in 8 ms returned unsat
[2020-05-22 01:50:03] [INFO ] [Real]Absence check using 1 positive place invariants in 6 ms returned sat
[2020-05-22 01:50:03] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2020-05-22 01:50:03] [INFO ] [Real]Absence check using state equation in 48 ms returned sat
[2020-05-22 01:50:03] [INFO ] Solution in real domain found non-integer solution.
[2020-05-22 01:50:03] [INFO ] [Nat]Absence check using 1 positive place invariants in 9 ms returned sat
[2020-05-22 01:50:03] [INFO ] [Nat]Adding state equation constraints to refine reachable states.
[2020-05-22 01:50:03] [INFO ] [Nat]Absence check using state equation in 33 ms returned sat
[2020-05-22 01:50:03] [INFO ] Computed and/alt/rep : 136/848/136 causal constraints in 24 ms.
[2020-05-22 01:50:04] [INFO ] Added : 128 causal constraints over 26 iterations in 357 ms. Result :sat
[2020-05-22 01:50:04] [INFO ] [Real]Absence check using 1 positive place invariants in 2 ms returned sat
[2020-05-22 01:50:04] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2020-05-22 01:50:04] [INFO ] [Real]Absence check using state equation in 25 ms returned sat
[2020-05-22 01:50:04] [INFO ] Computed and/alt/rep : 136/848/136 causal constraints in 15 ms.
[2020-05-22 01:50:04] [INFO ] Solution in real domain found non-integer solution.
[2020-05-22 01:50:04] [INFO ] [Nat]Absence check using 1 positive place invariants in 3 ms returned sat
[2020-05-22 01:50:04] [INFO ] [Nat]Adding state equation constraints to refine reachable states.
[2020-05-22 01:50:04] [INFO ] [Nat]Absence check using state equation in 24 ms returned sat
[2020-05-22 01:50:04] [INFO ] Computed and/alt/rep : 136/848/136 causal constraints in 10 ms.
[2020-05-22 01:50:04] [INFO ] Added : 128 causal constraints over 26 iterations in 317 ms. Result :sat
[2020-05-22 01:50:04] [INFO ] [Real]Absence check using 1 positive place invariants in 4 ms returned sat
[2020-05-22 01:50:04] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2020-05-22 01:50:04] [INFO ] [Real]Absence check using state equation in 44 ms returned sat
[2020-05-22 01:50:04] [INFO ] Computed and/alt/rep : 136/848/136 causal constraints in 13 ms.
[2020-05-22 01:50:04] [INFO ] Solution in real domain found non-integer solution.
[2020-05-22 01:50:04] [INFO ] [Nat]Absence check using 1 positive place invariants in 4 ms returned sat
[2020-05-22 01:50:04] [INFO ] [Nat]Adding state equation constraints to refine reachable states.
[2020-05-22 01:50:04] [INFO ] [Nat]Absence check using state equation in 28 ms returned sat
[2020-05-22 01:50:04] [INFO ] Computed and/alt/rep : 136/848/136 causal constraints in 10 ms.
[2020-05-22 01:50:05] [INFO ] Added : 128 causal constraints over 26 iterations in 354 ms. Result :sat
Successfully simplified 1 atomic propositions for a total of 1 simplifications.
[2020-05-22 01:50:05] [INFO ] Initial state reduction rules for CTL removed 3 formulas.
[2020-05-22 01:50:05] [INFO ] Flatten gal took : 36 ms
[2020-05-22 01:50:05] [INFO ] Initial state reduction rules for CTL removed 3 formulas.
[2020-05-22 01:50:05] [INFO ] Flatten gal took : 10 ms
FORMULA Diffusion2D-PT-D05N050-CTLCardinality-15 FALSE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA Diffusion2D-PT-D05N050-CTLCardinality-12 TRUE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA Diffusion2D-PT-D05N050-CTLCardinality-00 TRUE TECHNIQUES TOPOLOGICAL INITIAL_STATE
[2020-05-22 01:50:05] [INFO ] Applying decomposition
[2020-05-22 01:50:05] [INFO ] Flatten gal took : 8 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/graph18095438541002000361.txt, -o, /tmp/graph18095438541002000361.bin, -w, /tmp/graph18095438541002000361.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/graph18095438541002000361.bin, -l, -1, -v, -w, /tmp/graph18095438541002000361.weights, -q, 0, -e, 0.001], workingDir=null]
[2020-05-22 01:50:05] [INFO ] Decomposing Gal with order
[2020-05-22 01:50:05] [INFO ] Rewriting arrays to variables to allow decomposition.
[2020-05-22 01:50:05] [INFO ] Removed a total of 168 redundant transitions.
[2020-05-22 01:50:05] [INFO ] Flatten gal took : 48 ms
[2020-05-22 01:50:05] [INFO ] Fuse similar labels procedure discarded/fused a total of 0 labels/synchronizations in 2 ms.
[2020-05-22 01:50:05] [INFO ] Time to serialize gal into /home/mcc/execution/CTLCardinality.pnml.gal : 5 ms
[2020-05-22 01:50:05] [INFO ] Time to serialize properties into /home/mcc/execution/CTLCardinality.ctl : 1 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 13 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.75295e+19,0.956675,23536,2,1226,5,142550,6,0,247,138002,0


Converting to forward existential form...Done !
original formula: !(AG(((((gu2.cAMP__2_2_>=2)||(gi5.gu8.cAMP__2_4_<=gi5.gu3.cAMP__3_5_))||(gi5.gu3.cAMP__4_2_<=gi5.gu3.cAMP__3_5_))||(gi5.gu8.cAMP__5_5_<=gi5.gu8.cAMP__2_4_))))
=> equivalent forward existential formula: [(FwdU(Init,TRUE) * !(((((gu2.cAMP__2_2_>=2)||(gi5.gu8.cAMP__2_4_<=gi5.gu3.cAMP__3_5_))||(gi5.gu3.cAMP__4_2_<=gi5.gu3.cAMP__3_5_))||(gi5.gu8.cAMP__5_5_<=gi5.gu8.cAMP__2_4_))))] != FALSE
(forward)formula 0,1,1.43653,23920,1,0,8,142550,9,2,691,138002,1
FORMULA Diffusion2D-PT-D05N050-CTLCardinality-01 TRUE TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL USE_NUPN
Formula is TRUE !

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

original formula: AG(EF((gi2.gu4.cAMP__3_4_<2)))
=> equivalent forward existential formula: [(FwdU(Init,TRUE) * !(E(TRUE U (gi2.gu4.cAMP__3_4_<2))))] = FALSE
Reverse transition relation is exact ! Faster fixpoint algorithm enabled.
(forward)formula 1,1,2.63721,47680,1,0,9,212514,16,2,2441,236313,6
FORMULA Diffusion2D-PT-D05N050-CTLCardinality-02 TRUE TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL USE_NUPN
Formula is TRUE !

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

original formula: EG(EF(((gi3.gu5.cAMP__5_1_>=2)&&(gi2.gu0.cAMP__1_4_>=1))))
=> equivalent forward existential formula: [FwdG(Init,E(TRUE U ((gi3.gu5.cAMP__5_1_>=2)&&(gi2.gu0.cAMP__1_4_>=1))))] != FALSE
(forward)formula 2,1,3.6569,64576,1,0,10,261142,21,3,2512,269715,14
FORMULA Diffusion2D-PT-D05N050-CTLCardinality-03 TRUE TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL USE_NUPN
Formula is TRUE !

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

original formula: E(((gu2.cAMP__2_1_<3)||(gi3.gu5.cAMP__5_1_>gi3.gu5.cAMP__3_3_)) U EG((gu2.cAMP__2_1_>=3)))
=> equivalent forward existential formula: [FwdG(FwdU(Init,((gu2.cAMP__2_1_<3)||(gi3.gu5.cAMP__5_1_>gi3.gu5.cAMP__3_3_))),(gu2.cAMP__2_1_>=3))] != FALSE
Hit Full ! (commute/partial/dont) 112/0/32
Hit Full ! (commute/partial/dont) 134/0/10
(forward)formula 3,1,95.9288,1495712,1,0,14,8.42044e+06,35,4,2742,9.00092e+06,21
FORMULA Diffusion2D-PT-D05N050-CTLCardinality-04 TRUE TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL USE_NUPN
Formula is TRUE !

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

original formula: AX(EF(((gi5.gu3.cAMP__3_5_>=3)&&(gu2.cAMP__2_2_>=3))))
=> equivalent forward existential formula: [(EY(Init) * !(E(TRUE U ((gi5.gu3.cAMP__3_5_>=3)&&(gu2.cAMP__2_2_>=3)))))] = FALSE
(forward)formula 4,1,96.1956,1499932,1,0,15,8.43266e+06,36,4,2745,9.00822e+06,24
FORMULA Diffusion2D-PT-D05N050-CTLCardinality-05 TRUE TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL USE_NUPN
Formula is TRUE !

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

original formula: EF((gu2.cAMP__1_2_>=3))
=> equivalent forward existential formula: [(FwdU(Init,TRUE) * (gu2.cAMP__1_2_>=3))] != FALSE
(forward)formula 5,1,96.2166,1500460,1,0,17,8.43349e+06,37,5,2746,9.00909e+06,25
FORMULA Diffusion2D-PT-D05N050-CTLCardinality-06 TRUE TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL USE_NUPN
Formula is TRUE !

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

original formula: EF((gi2.gu4.cAMP__4_5_>=3))
=> equivalent forward existential formula: [(FwdU(Init,TRUE) * (gi2.gu4.cAMP__4_5_>=3))] != FALSE
(forward)formula 6,1,96.2234,1500460,1,0,19,8.43364e+06,38,6,2747,9.00928e+06,26
FORMULA Diffusion2D-PT-D05N050-CTLCardinality-07 TRUE TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL USE_NUPN
Formula is TRUE !

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

original formula: AG(AX(((gi3.gu6.cAMP__4_1_>=2)||(gi3.gu5.cAMP__3_3_>=2))))
=> equivalent forward existential formula: [(EY(FwdU(Init,TRUE)) * !(((gi3.gu6.cAMP__4_1_>=2)||(gi3.gu5.cAMP__3_3_>=2))))] = FALSE
(forward)formula 7,0,96.2763,1500988,1,0,22,8.43589e+06,40,8,2753,9.01307e+06,28
FORMULA Diffusion2D-PT-D05N050-CTLCardinality-08 FALSE TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL USE_NUPN
Formula is FALSE !

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

original formula: (!(AG((gu1.cAMP__4_3_<=gu1.cAMP__1_5_))) + !(EX((gu7.cAMP__5_3_>gu7.cAMP__1_3_))))
=> equivalent forward existential formula: [(EY((Init * !(!(!(E(TRUE U !((gu1.cAMP__4_3_<=gu1.cAMP__1_5_)))))))) * (gu7.cAMP__5_3_>gu7.cAMP__1_3_))] = FALSE
(forward)formula 8,1,98.3092,1526860,1,0,25,8.52182e+06,43,8,2959,9.07145e+06,32
FORMULA Diffusion2D-PT-D05N050-CTLCardinality-09 TRUE TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL USE_NUPN
Formula is TRUE !

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

original formula: EX(((gu1.cAMP__4_3_>gu1.cAMP__3_1_)&&((gu2.cAMP__2_1_<1)||(gi3.gu6.cAMP__5_2_<2))))
=> equivalent forward existential formula: [(EY(Init) * ((gu1.cAMP__4_3_>gu1.cAMP__3_1_)&&((gu2.cAMP__2_1_<1)||(gi3.gu6.cAMP__5_2_<2))))] != FALSE
(forward)formula 9,1,98.3582,1530752,1,0,29,8.53009e+06,44,9,3066,9.07334e+06,34
FORMULA Diffusion2D-PT-D05N050-CTLCardinality-10 TRUE TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL USE_NUPN
Formula is TRUE !

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

original formula: EF(((gu2.cAMP__1_1_>=1)||(gu2.cAMP__3_2_>=2)))
=> equivalent forward existential formula: [(FwdU(Init,TRUE) * ((gu2.cAMP__1_1_>=1)||(gu2.cAMP__3_2_>=2)))] != FALSE
(forward)formula 10,1,98.3846,1531016,1,0,31,8.53089e+06,45,10,3068,9.07472e+06,35
FORMULA Diffusion2D-PT-D05N050-CTLCardinality-11 TRUE TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL USE_NUPN
Formula is TRUE !

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

original formula: EF((gi2.gu0.cAMP__1_4_>=1))
=> equivalent forward existential formula: [(FwdU(Init,TRUE) * (gi2.gu0.cAMP__1_4_>=1))] != FALSE
(forward)formula 11,1,98.3867,1531280,1,0,33,8.5309e+06,46,11,3068,9.07517e+06,36
FORMULA Diffusion2D-PT-D05N050-CTLCardinality-13 TRUE TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL USE_NUPN
Formula is TRUE !

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

original formula: !(AX((gu2.cAMP__2_1_<=gu2.cAMP__2_3_)))
=> equivalent forward existential formula: [(EY(Init) * !((gu2.cAMP__2_1_<=gu2.cAMP__2_3_)))] != FALSE
(forward)formula 12,0,98.4645,1533656,1,0,36,8.54105e+06,48,13,3171,9.08803e+06,37
FORMULA Diffusion2D-PT-D05N050-CTLCardinality-14 FALSE TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL USE_NUPN
Formula is FALSE !

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


BK_STOP 1590112304681

--------------------
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="Diffusion2D-PT-D05N050"
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 Diffusion2D-PT-D05N050, 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 r066-tajo-158922814200363"
echo "====================================================================="
echo
echo "--------------------"
echo "preparation of the directory to be used:"

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