fond
Model Checking Contest 2021
11th edition, Paris, France, June 23, 2021
Execution of r178-tajo-162089415300145
Last Updated
Jun 28, 2021

About the Execution of ITS-Tools for RERS17pb113-PT-4

Execution Summary
Max Memory
Used (MB)
Time wait (ms) CPU Usage (ms) I/O Wait (ms) Computed Result Execution
Status
16248.764 2902887.00 2995372.00 35538.80 T?F???????F??F?? 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/mcc2021-input.r178-tajo-162089415300145.qcow2', fmt=qcow2 size=4294967296 backing_file='/mnt/tpsp/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 RERS17pb113-PT-4, examination is CTLCardinality
Time confinement is 3600 seconds
Memory confinement is 16384 MBytes
Number of cores is 4
Run identifier is r178-tajo-162089415300145
=====================================================================

--------------------
preparation of the directory to be used:
/home/mcc/execution
total 15M
-rw-r--r-- 1 mcc users 13K May 5 16:58 CTLCardinality.txt
-rw-r--r-- 1 mcc users 115K May 10 09:43 CTLCardinality.xml
-rw-r--r-- 1 mcc users 17K May 5 16:58 CTLFireability.txt
-rw-r--r-- 1 mcc users 79K May 10 09:43 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.1K Mar 28 16:28 LTLCardinality.txt
-rw-r--r-- 1 mcc users 24K Mar 28 16:28 LTLCardinality.xml
-rw-r--r-- 1 mcc users 2.8K Mar 28 16:28 LTLFireability.txt
-rw-r--r-- 1 mcc users 19K Mar 28 16:28 LTLFireability.xml
-rw-r--r-- 1 mcc users 3.4K Mar 27 10:03 ReachabilityCardinality.txt
-rw-r--r-- 1 mcc users 17K Mar 27 10:03 ReachabilityCardinality.xml
-rw-r--r-- 1 mcc users 3.0K Mar 25 13:11 ReachabilityFireability.txt
-rw-r--r-- 1 mcc users 13K Mar 25 13:11 ReachabilityFireability.xml
-rw-r--r-- 1 mcc users 1.6K Mar 22 08:13 UpperBounds.txt
-rw-r--r-- 1 mcc users 3.6K Mar 22 08:13 UpperBounds.xml
-rw-r--r-- 1 mcc users 6 May 5 16:51 equiv_col
-rw-r--r-- 1 mcc users 2 May 5 16:51 instance
-rw-r--r-- 1 mcc users 6 May 5 16:51 iscolored
-rw-r--r-- 1 mcc users 15M 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 RERS17pb113-PT-4-CTLCardinality-00
FORMULA_NAME RERS17pb113-PT-4-CTLCardinality-01
FORMULA_NAME RERS17pb113-PT-4-CTLCardinality-02
FORMULA_NAME RERS17pb113-PT-4-CTLCardinality-03
FORMULA_NAME RERS17pb113-PT-4-CTLCardinality-04
FORMULA_NAME RERS17pb113-PT-4-CTLCardinality-05
FORMULA_NAME RERS17pb113-PT-4-CTLCardinality-06
FORMULA_NAME RERS17pb113-PT-4-CTLCardinality-07
FORMULA_NAME RERS17pb113-PT-4-CTLCardinality-08
FORMULA_NAME RERS17pb113-PT-4-CTLCardinality-09
FORMULA_NAME RERS17pb113-PT-4-CTLCardinality-10
FORMULA_NAME RERS17pb113-PT-4-CTLCardinality-11
FORMULA_NAME RERS17pb113-PT-4-CTLCardinality-12
FORMULA_NAME RERS17pb113-PT-4-CTLCardinality-13
FORMULA_NAME RERS17pb113-PT-4-CTLCardinality-14
FORMULA_NAME RERS17pb113-PT-4-CTLCardinality-15

=== Now, execution of the tool begins

BK_START 1621240245325

Running Version 0
[2021-05-17 08:30:47] [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-17 08:30:47] [INFO ] Parsing pnml file : /home/mcc/execution/model.pnml
[2021-05-17 08:30:47] [INFO ] Load time of PNML (sax parser for PT used): 658 ms
[2021-05-17 08:30:47] [INFO ] Transformed 639 places.
[2021-05-17 08:30:48] [INFO ] Transformed 31353 transitions.
[2021-05-17 08:30:48] [INFO ] Parsed PT model containing 639 places and 31353 transitions in 843 ms.
Parsed 16 properties from file /home/mcc/execution/CTLCardinality.xml in 23 ms.
Support contains 497 out of 639 places. Attempting structural reductions.
Starting structural reductions, iteration 0 : 639/639 places, 31353/31353 transitions.
Ensure Unique test removed 5 places
Iterating post reduction 0 with 5 rules applied. Total rules applied 5 place count 634 transition count 31353
Applied a total of 5 rules in 160 ms. Remains 634 /639 variables (removed 5) and now considering 31353/31353 (removed 0) transitions.
[2021-05-17 08:30:48] [INFO ] Flow matrix only has 18326 transitions (discarded 13027 similar events)
// Phase 1: matrix 18326 rows 634 cols
[2021-05-17 08:30:48] [INFO ] Computed 20 place invariants in 127 ms
[2021-05-17 08:30:49] [INFO ] Implicit Places using invariants in 802 ms returned []
Implicit Place search using SMT only with invariants took 827 ms to find 0 implicit places.
[2021-05-17 08:30:49] [INFO ] Flow matrix only has 18326 transitions (discarded 13027 similar events)
// Phase 1: matrix 18326 rows 634 cols
[2021-05-17 08:30:49] [INFO ] Computed 20 place invariants in 136 ms
[2021-05-17 08:30:57] [INFO ] Dead Transitions using invariants and state equation in 8486 ms returned []
Finished structural reductions, in 1 iterations. Remains : 634/639 places, 31353/31353 transitions.
[2021-05-17 08:30:59] [INFO ] Flatten gal took : 1032 ms
[2021-05-17 08:31:00] [INFO ] Flatten gal took : 818 ms
[2021-05-17 08:31:02] [INFO ] Input system was already deterministic with 31353 transitions.
Incomplete random walk after 100000 steps, including 2 resets, run finished after 6259 ms. (steps per millisecond=15 ) properties (out of 82) seen :38
Running SMT prover for 44 properties.
[2021-05-17 08:31:08] [INFO ] Flow matrix only has 18326 transitions (discarded 13027 similar events)
// Phase 1: matrix 18326 rows 634 cols
[2021-05-17 08:31:08] [INFO ] Computed 20 place invariants in 46 ms
[2021-05-17 08:31:09] [INFO ] [Real]Absence check using 13 positive place invariants in 6 ms returned sat
[2021-05-17 08:31:09] [INFO ] [Real]Absence check using 13 positive and 7 generalized place invariants in 1 ms returned sat
[2021-05-17 08:31:09] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2021-05-17 08:31:37] [INFO ] [Real]Absence check using state equation in 28591 ms returned unsat :5 sat :1 real:38
[2021-05-17 08:31:38] [INFO ] State equation strengthened by 829 read => feed constraints.
[2021-05-17 08:31:41] [INFO ] [Real]Added 829 Read/Feed constraints in 2990 ms returned sat
[2021-05-17 08:31:45] [INFO ] SMT Verify possible in real domain returnedunsat :5 sat :0 real:39
[2021-05-17 08:31:46] [INFO ] [Nat]Absence check using 13 positive place invariants in 6 ms returned sat
[2021-05-17 08:31:46] [INFO ] [Nat]Absence check using 13 positive and 7 generalized place invariants in 1 ms returned sat
[2021-05-17 08:31:46] [INFO ] [Nat]Adding state equation constraints to refine reachable states.
[2021-05-17 08:32:07] [INFO ] [Nat]Absence check using state equation in 21661 ms returned unsat :34 sat :10
[2021-05-17 08:32:10] [INFO ] [Nat]Added 829 Read/Feed constraints in 2699 ms returned sat
Attempting to minimize the solution found.
Minimization took 3765 ms.
[2021-05-17 08:32:31] [INFO ] SMT Verify possible in nat domain returned unsat :34 sat :9
Successfully simplified 39 atomic propositions for a total of 16 simplifications.
[2021-05-17 08:32:31] [INFO ] Initial state test concluded for 3 properties.
FORMULA RERS17pb113-PT-4-CTLCardinality-00 TRUE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA RERS17pb113-PT-4-CTLCardinality-02 FALSE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA RERS17pb113-PT-4-CTLCardinality-13 FALSE TECHNIQUES TOPOLOGICAL INITIAL_STATE
Ensure Unique test removed 7 places
Reduce places removed 1 places and 1 transitions.
Iterating global reduction 0 with 1 rules applied. Total rules applied 1 place count 626 transition count 31352
Applied a total of 1 rules in 810 ms. Remains 626 /634 variables (removed 8) and now considering 31352/31353 (removed 1) transitions.
[2021-05-17 08:32:33] [INFO ] Initial state reduction rules for CTL removed 1 formulas.
[2021-05-17 08:32:33] [INFO ] Flatten gal took : 638 ms
FORMULA RERS17pb113-PT-4-CTLCardinality-10 FALSE TECHNIQUES TOPOLOGICAL INITIAL_STATE
[2021-05-17 08:32:34] [INFO ] Flatten gal took : 736 ms
[2021-05-17 08:32:36] [INFO ] Input system was already deterministic with 31352 transitions.
Ensure Unique test removed 7 places
Reduce places removed 1 places and 1 transitions.
Iterating global reduction 0 with 1 rules applied. Total rules applied 1 place count 626 transition count 31352
Applied a total of 1 rules in 778 ms. Remains 626 /634 variables (removed 8) and now considering 31352/31353 (removed 1) transitions.
[2021-05-17 08:32:38] [INFO ] Flatten gal took : 709 ms
[2021-05-17 08:32:39] [INFO ] Flatten gal took : 885 ms
[2021-05-17 08:32:41] [INFO ] Input system was already deterministic with 31352 transitions.
[2021-05-17 08:32:42] [INFO ] Flatten gal took : 680 ms
[2021-05-17 08:32:42] [INFO ] Flatten gal took : 760 ms
[2021-05-17 08:32:43] [INFO ] Time to serialize gal into /tmp/CTLCardinality13112739581105366199.gal : 377 ms
[2021-05-17 08:32:43] [INFO ] Time to serialize properties into /tmp/CTLCardinality4483719972538272884.ctl : 3 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/CTLCardinality13112739581105366199.gal, -t, CGAL, -ctl, /tmp/CTLCardinality4483719972538272884.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/CTLCardinality13112739581105366199.gal -t CGAL -ctl /tmp/CTLCardinality4483719972538272884.ctl --gen-order FOLLOW
No direction supplied, using forward translation only.
Parsed 1 CTL formulae.
Detected timeout of ITS tools.
[2021-05-17 08:33:14] [INFO ] Flatten gal took : 846 ms
[2021-05-17 08:33:14] [INFO ] Applying decomposition
[2021-05-17 08:33:15] [INFO ] Flatten gal took : 840 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/graph3982724001273037176.txt, -o, /tmp/graph3982724001273037176.bin, -w, /tmp/graph3982724001273037176.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/graph3982724001273037176.bin, -l, -1, -v, -w, /tmp/graph3982724001273037176.weights, -q, 0, -e, 0.001], workingDir=null]
[2021-05-17 08:33:17] [INFO ] Decomposing Gal with order
[2021-05-17 08:33:17] [INFO ] Rewriting arrays to variables to allow decomposition.
[2021-05-17 08:33:21] [INFO ] Removed a total of 92017 redundant transitions.
[2021-05-17 08:33:21] [INFO ] Flatten gal took : 2504 ms
[2021-05-17 08:33:24] [INFO ] Fuse similar labels procedure discarded/fused a total of 1452 labels/synchronizations in 1754 ms.
[2021-05-17 08:33:25] [INFO ] Time to serialize gal into /tmp/CTLCardinality5212544494944992643.gal : 99 ms
[2021-05-17 08:33:25] [INFO ] Time to serialize properties into /tmp/CTLCardinality13099434900874287556.ctl : 0 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/CTLCardinality5212544494944992643.gal, -t, CGAL, -ctl, /tmp/CTLCardinality13099434900874287556.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/CTLCardinality5212544494944992643.gal -t CGAL -ctl /tmp/CTLCardinality13099434900874287556.ctl --gen-order FOLLOW
No direction supplied, using forward translation only.
Parsed 1 CTL formulae.
Detected timeout of ITS tools.
[2021-05-17 08:33:56] [INFO ] Flatten gal took : 896 ms
[2021-05-17 08:33:57] [INFO ] Flatten gal took : 771 ms
[2021-05-17 08:33:57] [INFO ] Applying decomposition
[2021-05-17 08:33:58] [INFO ] Flatten gal took : 923 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/graph8313702334939136381.txt, -o, /tmp/graph8313702334939136381.bin, -w, /tmp/graph8313702334939136381.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/graph8313702334939136381.bin, -l, -1, -v, -w, /tmp/graph8313702334939136381.weights, -q, 0, -e, 0.001], workingDir=null]
[2021-05-17 08:34:00] [INFO ] Decomposing Gal with order
[2021-05-17 08:34:00] [INFO ] Rewriting arrays to variables to allow decomposition.
[2021-05-17 08:34:04] [INFO ] Removed a total of 93856 redundant transitions.
[2021-05-17 08:34:05] [INFO ] Flatten gal took : 3747 ms
[2021-05-17 08:34:06] [INFO ] Fuse similar labels procedure discarded/fused a total of 1593 labels/synchronizations in 1072 ms.
[2021-05-17 08:34:06] [INFO ] Time to serialize gal into /tmp/CTLCardinality17584594291421169135.gal : 55 ms
[2021-05-17 08:34:06] [INFO ] Time to serialize properties into /tmp/CTLCardinality10775517106769645996.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/CTLCardinality17584594291421169135.gal, -t, CGAL, -ctl, /tmp/CTLCardinality10775517106769645996.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/CTLCardinality17584594291421169135.gal -t CGAL -ctl /tmp/CTLCardinality10775517106769645996.ctl --gen-order FOLLOW
No direction supplied, using forward translation only.
Parsed 12 CTL formulae.
ITS-tools command line returned an error code 137
[2021-05-17 08:48:45] [INFO ] Flatten gal took : 5827 ms
[2021-05-17 08:48:46] [INFO ] Time to serialize gal into /tmp/CTLCardinality10359789586629781837.gal : 145 ms
[2021-05-17 08:48:46] [INFO ] Time to serialize properties into /tmp/CTLCardinality9753032656654605987.ctl : 24 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/CTLCardinality10359789586629781837.gal, -t, CGAL, -ctl, /tmp/CTLCardinality9753032656654605987.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/CTLCardinality10359789586629781837.gal -t CGAL -ctl /tmp/CTLCardinality9753032656654605987.ctl --gen-order FOLLOW
No direction supplied, using forward translation only.
Parsed 12 CTL formulae.
ITS-tools command line returned an error code 137
[2021-05-17 09:03:36] [INFO ] Flatten gal took : 2821 ms
[2021-05-17 09:03:39] [INFO ] Input system was already deterministic with 31353 transitions.
[2021-05-17 09:03:40] [INFO ] Transformed 634 places.
[2021-05-17 09:03:40] [INFO ] Transformed 31353 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-17 09:03:43] [INFO ] Time to serialize gal into /tmp/CTLCardinality9221385285947553068.gal : 108 ms
[2021-05-17 09:03:43] [INFO ] Time to serialize properties into /tmp/CTLCardinality5659658699537608320.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/CTLCardinality9221385285947553068.gal, -t, CGAL, -ctl, /tmp/CTLCardinality5659658699537608320.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/CTLCardinality9221385285947553068.gal -t CGAL -ctl /tmp/CTLCardinality5659658699537608320.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 12 CTL formulae.
ITS-tools command line returned an error code 137

BK_STOP 1621243148212

--------------------
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="RERS17pb113-PT-4"
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 RERS17pb113-PT-4, 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 r178-tajo-162089415300145"
echo "====================================================================="
echo
echo "--------------------"
echo "preparation of the directory to be used:"

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