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

About the Execution of ITS-Tools for RwMutex-PT-r0100w0010

Execution Summary
Max Memory
Used (MB)
Time wait (ms) CPU Usage (ms) I/O Wait (ms) Computed Result Execution
Status
16244.479 2439786.00 2307472.00 50311.30 FFTTTTTFTTFFTFTT 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.r197-smll-162089452000177.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 RwMutex-PT-r0100w0010, examination is CTLCardinality
Time confinement is 3600 seconds
Memory confinement is 16384 MBytes
Number of cores is 4
Run identifier is r197-smll-162089452000177
=====================================================================

--------------------
preparation of the directory to be used:
/home/mcc/execution
total 560K
-rw-r--r-- 1 mcc users 12K May 5 16:58 CTLCardinality.txt
-rw-r--r-- 1 mcc users 107K May 10 09:44 CTLCardinality.xml
-rw-r--r-- 1 mcc users 8.5K May 5 16:58 CTLFireability.txt
-rw-r--r-- 1 mcc users 76K 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.5K Mar 28 16:34 LTLCardinality.txt
-rw-r--r-- 1 mcc users 25K Mar 28 16:34 LTLCardinality.xml
-rw-r--r-- 1 mcc users 2.0K Mar 28 16:34 LTLFireability.txt
-rw-r--r-- 1 mcc users 16K Mar 28 16:34 LTLFireability.xml
-rw-r--r-- 1 mcc users 3.7K Mar 27 11:08 ReachabilityCardinality.txt
-rw-r--r-- 1 mcc users 19K Mar 27 11:08 ReachabilityCardinality.xml
-rw-r--r-- 1 mcc users 2.8K Mar 25 14:18 ReachabilityFireability.txt
-rw-r--r-- 1 mcc users 18K Mar 25 14:18 ReachabilityFireability.xml
-rw-r--r-- 1 mcc users 1.7K Mar 22 08:15 UpperBounds.txt
-rw-r--r-- 1 mcc users 3.7K Mar 22 08:15 UpperBounds.xml
-rw-r--r-- 1 mcc users 6 May 5 16:51 equiv_col
-rw-r--r-- 1 mcc users 11 May 5 16:51 instance
-rw-r--r-- 1 mcc users 6 May 5 16:51 iscolored
-rw-r--r-- 1 mcc users 215K 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 RwMutex-PT-r0100w0010-CTLCardinality-00
FORMULA_NAME RwMutex-PT-r0100w0010-CTLCardinality-01
FORMULA_NAME RwMutex-PT-r0100w0010-CTLCardinality-02
FORMULA_NAME RwMutex-PT-r0100w0010-CTLCardinality-03
FORMULA_NAME RwMutex-PT-r0100w0010-CTLCardinality-04
FORMULA_NAME RwMutex-PT-r0100w0010-CTLCardinality-05
FORMULA_NAME RwMutex-PT-r0100w0010-CTLCardinality-06
FORMULA_NAME RwMutex-PT-r0100w0010-CTLCardinality-07
FORMULA_NAME RwMutex-PT-r0100w0010-CTLCardinality-08
FORMULA_NAME RwMutex-PT-r0100w0010-CTLCardinality-09
FORMULA_NAME RwMutex-PT-r0100w0010-CTLCardinality-10
FORMULA_NAME RwMutex-PT-r0100w0010-CTLCardinality-11
FORMULA_NAME RwMutex-PT-r0100w0010-CTLCardinality-12
FORMULA_NAME RwMutex-PT-r0100w0010-CTLCardinality-13
FORMULA_NAME RwMutex-PT-r0100w0010-CTLCardinality-14
FORMULA_NAME RwMutex-PT-r0100w0010-CTLCardinality-15

=== Now, execution of the tool begins

BK_START 1621003556746

Running Version 0
[2021-05-14 14:45:59] [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-14 14:45:59] [INFO ] Parsing pnml file : /home/mcc/execution/model.pnml
[2021-05-14 14:46:00] [INFO ] Load time of PNML (sax parser for PT used): 145 ms
[2021-05-14 14:46:00] [INFO ] Transformed 320 places.
[2021-05-14 14:46:00] [INFO ] Transformed 220 transitions.
[2021-05-14 14:46:00] [INFO ] Found NUPN structural information;
[2021-05-14 14:46:00] [INFO ] Parsed PT model containing 320 places and 220 transitions in 220 ms.
Parsed 16 properties from file /home/mcc/execution/CTLCardinality.xml in 25 ms.
Support contains 295 out of 320 places. Attempting structural reductions.
Starting structural reductions, iteration 0 : 320/320 places, 220/220 transitions.
Applied a total of 0 rules in 27 ms. Remains 320 /320 variables (removed 0) and now considering 220/220 (removed 0) transitions.
// Phase 1: matrix 220 rows 320 cols
[2021-05-14 14:46:00] [INFO ] Computed 210 place invariants in 38 ms
[2021-05-14 14:46:00] [INFO ] Implicit Places using invariants in 739 ms returned []
// Phase 1: matrix 220 rows 320 cols
[2021-05-14 14:46:00] [INFO ] Computed 210 place invariants in 22 ms
[2021-05-14 14:46:01] [INFO ] Implicit Places using invariants and state equation in 844 ms returned [211, 279, 297, 303]
Discarding 4 places :
Implicit Place search using SMT with State Equation took 1647 ms to find 4 implicit places.
// Phase 1: matrix 220 rows 316 cols
[2021-05-14 14:46:01] [INFO ] Computed 206 place invariants in 9 ms
[2021-05-14 14:46:02] [INFO ] Dead Transitions using invariants and state equation in 585 ms returned []
Starting structural reductions, iteration 1 : 316/320 places, 220/220 transitions.
Applied a total of 0 rules in 5 ms. Remains 316 /316 variables (removed 0) and now considering 220/220 (removed 0) transitions.
// Phase 1: matrix 220 rows 316 cols
[2021-05-14 14:46:02] [INFO ] Computed 206 place invariants in 5 ms
[2021-05-14 14:46:02] [INFO ] Dead Transitions using invariants and state equation in 377 ms returned []
Finished structural reductions, in 2 iterations. Remains : 316/320 places, 220/220 transitions.
[2021-05-14 14:46:03] [INFO ] Flatten gal took : 316 ms
[2021-05-14 14:46:03] [INFO ] Flatten gal took : 117 ms
[2021-05-14 14:46:03] [INFO ] Input system was already deterministic with 220 transitions.
Incomplete random walk after 100000 steps, including 2 resets, run finished after 4892 ms. (steps per millisecond=20 ) properties (out of 82) seen :23
Running SMT prover for 59 properties.
// Phase 1: matrix 220 rows 316 cols
[2021-05-14 14:46:08] [INFO ] Computed 206 place invariants in 5 ms
[2021-05-14 14:46:09] [INFO ] SMT Verify possible in real domain returnedunsat :52 sat :0 real:7
[2021-05-14 14:46:09] [INFO ] [Nat]Absence check using 206 positive place invariants in 99 ms returned sat
[2021-05-14 14:46:09] [INFO ] SMT Verify possible in nat domain returned unsat :7 sat :52
Successfully simplified 59 atomic propositions for a total of 16 simplifications.
[2021-05-14 14:46:09] [INFO ] Initial state test concluded for 6 properties.
FORMULA RwMutex-PT-r0100w0010-CTLCardinality-01 FALSE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA RwMutex-PT-r0100w0010-CTLCardinality-02 TRUE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA RwMutex-PT-r0100w0010-CTLCardinality-03 TRUE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA RwMutex-PT-r0100w0010-CTLCardinality-05 TRUE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA RwMutex-PT-r0100w0010-CTLCardinality-07 FALSE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA RwMutex-PT-r0100w0010-CTLCardinality-15 TRUE TECHNIQUES TOPOLOGICAL INITIAL_STATE
[2021-05-14 14:46:09] [INFO ] Initial state reduction rules for CTL removed 1 formulas.
[2021-05-14 14:46:09] [INFO ] Flatten gal took : 114 ms
[2021-05-14 14:46:09] [INFO ] Initial state reduction rules for CTL removed 3 formulas.
FORMULA RwMutex-PT-r0100w0010-CTLCardinality-13 FALSE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA RwMutex-PT-r0100w0010-CTLCardinality-11 FALSE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA RwMutex-PT-r0100w0010-CTLCardinality-10 FALSE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA RwMutex-PT-r0100w0010-CTLCardinality-04 TRUE TECHNIQUES TOPOLOGICAL INITIAL_STATE
[2021-05-14 14:46:09] [INFO ] Flatten gal took : 88 ms
[2021-05-14 14:46:09] [INFO ] Applying decomposition
[2021-05-14 14:46:09] [INFO ] Flatten gal took : 69 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/graph12767238711224273410.txt, -o, /tmp/graph12767238711224273410.bin, -w, /tmp/graph12767238711224273410.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/graph12767238711224273410.bin, -l, -1, -v, -w, /tmp/graph12767238711224273410.weights, -q, 0, -e, 0.001], workingDir=null]
[2021-05-14 14:46:10] [INFO ] Decomposing Gal with order
[2021-05-14 14:46:10] [INFO ] Rewriting arrays to variables to allow decomposition.
[2021-05-14 14:46:10] [INFO ] Removed a total of 1392 redundant transitions.
[2021-05-14 14:46:10] [INFO ] Flatten gal took : 269 ms
[2021-05-14 14:46:10] [INFO ] Fuse similar labels procedure discarded/fused a total of 24 labels/synchronizations in 188 ms.
[2021-05-14 14:46:11] [INFO ] Time to serialize gal into /tmp/CTLCardinality16681834692463113120.gal : 27 ms
[2021-05-14 14:46:11] [INFO ] Time to serialize properties into /tmp/CTLCardinality9703089060724036186.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/CTLCardinality16681834692463113120.gal, -t, CGAL, -ctl, /tmp/CTLCardinality9703089060724036186.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/CTLCardinality16681834692463113120.gal -t CGAL -ctl /tmp/CTLCardinality9703089060724036186.ctl --gen-order FOLLOW
No direction supplied, using forward translation only.
Parsed 6 CTL formulae.
Detected timeout of ITS tools.
[2021-05-14 15:06:17] [INFO ] Applying decomposition
[2021-05-14 15:06:18] [INFO ] Flatten gal took : 1047 ms
[2021-05-14 15:06:18] [INFO ] Decomposing Gal with order
[2021-05-14 15:06:19] [INFO ] Rewriting arrays to variables to allow decomposition.
[2021-05-14 15:06:20] [INFO ] Removed a total of 1948 redundant transitions.
[2021-05-14 15:06:20] [INFO ] Flatten gal took : 768 ms
[2021-05-14 15:06:20] [INFO ] Fuse similar labels procedure discarded/fused a total of 0 labels/synchronizations in 40 ms.
[2021-05-14 15:06:20] [INFO ] Time to serialize gal into /tmp/CTLCardinality5937754625201492966.gal : 21 ms
[2021-05-14 15:06:20] [INFO ] Time to serialize properties into /tmp/CTLCardinality2988912822742512778.ctl : 4 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/CTLCardinality5937754625201492966.gal, -t, CGAL, -ctl, /tmp/CTLCardinality2988912822742512778.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/CTLCardinality5937754625201492966.gal -t CGAL -ctl /tmp/CTLCardinality2988912822742512778.ctl --gen-order FOLLOW
No direction supplied, using forward translation only.
Parsed 6 CTL formulae.
Detected timeout of ITS tools.
[2021-05-14 15:26:25] [INFO ] Flatten gal took : 682 ms
[2021-05-14 15:26:27] [INFO ] Input system was already deterministic with 220 transitions.
[2021-05-14 15:26:27] [INFO ] Transformed 316 places.
[2021-05-14 15:26:27] [INFO ] Transformed 220 transitions.
Running greatSPN : CommandLine [args=[/home/mcc/BenchKit/bin//..//greatspn//bin/pinvar, /home/mcc/execution/gspn], workingDir=/home/mcc/execution]
Run of greatSPN captured in /home/mcc/execution/outPut.txt
Running greatSPN : CommandLine [args=[/home/mcc/BenchKit/bin//..//greatspn//bin/RGMEDD2, /home/mcc/execution/gspn, -META, -varord-only], workingDir=/home/mcc/execution]
Run of greatSPN captured in /home/mcc/execution/outPut.txt
Using order generated by GreatSPN with heuristic : META
[2021-05-14 15:26:28] [INFO ] Time to serialize gal into /tmp/CTLCardinality3256375239254085258.gal : 15 ms
[2021-05-14 15:26:28] [INFO ] Time to serialize properties into /tmp/CTLCardinality3364377972004771809.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/CTLCardinality3256375239254085258.gal, -t, CGAL, -ctl, /tmp/CTLCardinality3364377972004771809.ctl, --load-order, /home/mcc/execution/model.ord, --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/CTLCardinality3256375239254085258.gal -t CGAL -ctl /tmp/CTLCardinality3364377972004771809.ctl --load-order /home/mcc/execution/model.ord --gen-order FOLLOW
Successfully loaded order from file /home/mcc/execution/model.ord
No direction supplied, using forward translation only.
Parsed 6 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.26765e+30,0.652202,9708,2,851,5,6518,6,0,1487,3150,0


Converting to forward existential form...Done !
original formula: AX(AF(((((p274+p182)+p303)+p316)<=(((p315+p60)+p222)+p313))))
=> equivalent forward existential formula: [FwdG(EY(Init),!(((((p274+p182)+p303)+p316)<=(((p315+p60)+p222)+p313))))] = FALSE
Hit Full ! (commute/partial/dont) 190/0/30
(forward)formula 0,0,3.64816,25416,1,0,8,68567,20,1,12762,14866,9
FORMULA RwMutex-PT-r0100w0010-CTLCardinality-00 FALSE TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL USE_NUPN
Formula is FALSE !

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

original formula: AX(AF(AX(EX(TRUE))))
=> equivalent forward existential formula: [FwdG(EY(Init),!(!(EX(!(EX(TRUE))))))] = FALSE
Reverse transition relation is exact ! Faster fixpoint algorithm enabled.
(forward)formula 1,1,5.92033,25416,1,0,8,68567,23,1,12762,14866,9
FORMULA RwMutex-PT-r0100w0010-CTLCardinality-06 TRUE TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL USE_NUPN
Formula is TRUE !

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

original formula: (AX(EX(TRUE)) * (!(EF(((p141+p138)>(((((((((p317+p113)+p142)+p170)+p46)+p166)+p248)+p154)+p128)+p59)))) + !(AX(FALSE))))
=> equivalent forward existential formula: ([(EY(Init) * !(EX(TRUE)))] = FALSE * [(FwdU((Init * !(!(!(EX(!(FALSE)))))),TRUE) * ((p141+p138)>(((((((((p317+p113)+p142)+p170)+p46)+p166)+p248)+p154)+p128)+p59)))] = FALSE)
(forward)formula 2,1,5.95323,26208,1,0,10,69406,24,1,13098,14874,10
FORMULA RwMutex-PT-r0100w0010-CTLCardinality-08 TRUE TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL USE_NUPN
Formula is TRUE !

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

original formula: EX(EF(((((((((((p105+p65)+p272)+p316)+p17)+p113)+p100)+p44)+p304)+p296)<=((((((((p11+p281)+p162)+p307)+p144)+p131)+p296)+p157)+p43))))
=> equivalent forward existential formula: [(FwdU(EY(Init),TRUE) * ((((((((((p105+p65)+p272)+p316)+p17)+p113)+p100)+p44)+p304)+p296)<=((((((((p11+p281)+p162)+p307)+p144)+p131)+p296)+p157)+p43)))] != FALSE
(forward)formula 3,1,6.24265,30432,1,0,12,71649,26,2,16070,17230,13
FORMULA RwMutex-PT-r0100w0010-CTLCardinality-09 TRUE TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL USE_NUPN
Formula is TRUE !

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

original formula: EG(TRUE)
=> equivalent forward existential formula: [FwdG(Init,TRUE)] != FALSE
(forward)formula 4,1,6.24391,30432,1,0,12,71649,26,3,16070,17502,16
FORMULA RwMutex-PT-r0100w0010-CTLCardinality-12 TRUE TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL USE_NUPN
Formula is TRUE !

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

original formula: EG(E(EG(AX(FALSE)) U AG(EF(((((((((p299+p300)+p319)+p21)+p77)+p28)+p17)+p76)<=((((((((p270+p10)+p19)+p225)+p144)+p87)+p202)+p9)+p24))))))
=> equivalent forward existential formula: [FwdG(Init,E(EG(!(EX(!(FALSE)))) U !(E(TRUE U !(E(TRUE U ((((((((p299+p300)+p319)+p21)+p77)+p28)+p17)+p76)<=((((((((p270+p10)+p19)+p225)+p144)+p87)+p202)+p9)+p24))))))))] != FALSE
(forward)formula 5,1,6.43159,33072,1,0,13,74586,36,3,17534,18118,21
FORMULA RwMutex-PT-r0100w0010-CTLCardinality-14 TRUE TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL USE_NUPN
Formula is TRUE !

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


BK_STOP 1621005996532

--------------------
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="RwMutex-PT-r0100w0010"
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 RwMutex-PT-r0100w0010, 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 r197-smll-162089452000177"
echo "====================================================================="
echo
echo "--------------------"
echo "preparation of the directory to be used:"

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