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

About the Execution of ITS-Tools for ShieldIIPs-PT-030A

Execution Summary
Max Memory
Used (MB)
Time wait (ms) CPU Usage (ms) I/O Wait (ms) Computed Result Execution
Status
15744.520 3600000.00 3353368.00 227721.40 [undef] Time out reached

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.r210-tajo-159033475300156.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 ShieldIIPs-PT-030A, examination is CTLFireability
Time confinement is 3600 seconds
Memory confinement is 16384 MBytes
Number of cores is 4
Run identifier is r210-tajo-159033475300156
=====================================================================

--------------------
preparation of the directory to be used:
/home/mcc/execution
total 424K
-rw-r--r-- 1 mcc users 3.1K May 14 00:38 CTLCardinality.txt
-rw-r--r-- 1 mcc users 17K May 14 00:38 CTLCardinality.xml
-rw-r--r-- 1 mcc users 2.4K May 13 17:51 CTLFireability.txt
-rw-r--r-- 1 mcc users 16K May 13 17:51 CTLFireability.xml
-rw-r--r-- 1 mcc users 3.4K May 14 10:01 LTLCardinality.txt
-rw-r--r-- 1 mcc users 25K May 14 10:01 LTLCardinality.xml
-rw-r--r-- 1 mcc users 1.9K May 14 10:01 LTLFireability.txt
-rw-r--r-- 1 mcc users 15K May 14 10:01 LTLFireability.xml
-rw-r--r-- 1 mcc users 1 May 12 20:42 NewModel
-rw-r--r-- 1 mcc users 3.3K May 13 13:14 ReachabilityCardinality.txt
-rw-r--r-- 1 mcc users 17K May 13 13:14 ReachabilityCardinality.xml
-rw-r--r-- 1 mcc users 2.8K May 13 07:43 ReachabilityFireability.txt
-rw-r--r-- 1 mcc users 18K May 13 07:43 ReachabilityFireability.xml
-rw-r--r-- 1 mcc users 1.6K May 13 16:53 UpperBounds.txt
-rw-r--r-- 1 mcc users 3.7K May 13 16:53 UpperBounds.xml
-rw-r--r-- 1 mcc users 6 May 12 20:42 equiv_col
-rw-r--r-- 1 mcc users 5 May 12 20:42 instance
-rw-r--r-- 1 mcc users 6 May 12 20:42 iscolored
-rw-r--r-- 1 mcc users 253K May 12 20:42 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 ShieldIIPs-PT-030A-CTLFireability-00
FORMULA_NAME ShieldIIPs-PT-030A-CTLFireability-01
FORMULA_NAME ShieldIIPs-PT-030A-CTLFireability-02
FORMULA_NAME ShieldIIPs-PT-030A-CTLFireability-03
FORMULA_NAME ShieldIIPs-PT-030A-CTLFireability-04
FORMULA_NAME ShieldIIPs-PT-030A-CTLFireability-05
FORMULA_NAME ShieldIIPs-PT-030A-CTLFireability-06
FORMULA_NAME ShieldIIPs-PT-030A-CTLFireability-07
FORMULA_NAME ShieldIIPs-PT-030A-CTLFireability-08
FORMULA_NAME ShieldIIPs-PT-030A-CTLFireability-09
FORMULA_NAME ShieldIIPs-PT-030A-CTLFireability-10
FORMULA_NAME ShieldIIPs-PT-030A-CTLFireability-11
FORMULA_NAME ShieldIIPs-PT-030A-CTLFireability-12
FORMULA_NAME ShieldIIPs-PT-030A-CTLFireability-13
FORMULA_NAME ShieldIIPs-PT-030A-CTLFireability-14
FORMULA_NAME ShieldIIPs-PT-030A-CTLFireability-15

=== Now, execution of the tool begins

BK_START 1590570849788

[2020-05-27 09:14:11] [INFO ] Running its-tools with arguments : [-pnfolder, /home/mcc/execution, -examination, CTLFireability, -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-27 09:14:11] [INFO ] Parsing pnml file : /home/mcc/execution/model.pnml
[2020-05-27 09:14:11] [INFO ] Load time of PNML (sax parser for PT used): 76 ms
[2020-05-27 09:14:11] [INFO ] Transformed 753 places.
[2020-05-27 09:14:11] [INFO ] Transformed 723 transitions.
[2020-05-27 09:14:11] [INFO ] Found NUPN structural information;
[2020-05-27 09:14:11] [INFO ] Parsed PT model containing 753 places and 723 transitions in 118 ms.
Parsed 16 properties from file /home/mcc/execution/CTLFireability.xml in 31 ms.
Incomplete random walk after 100000 steps, including 64 resets, run finished after 617 ms. (steps per millisecond=162 ) properties seen :[1, 1, 1, 1, 1, 1, 1, 1, 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, 0, 1, 0, 1]
// Phase 1: matrix 723 rows 753 cols
[2020-05-27 09:14:12] [INFO ] Computed 271 place invariants in 40 ms
[2020-05-27 09:14:12] [INFO ] [Real]Absence check using 271 positive place invariants in 168 ms returned sat
[2020-05-27 09:14:12] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2020-05-27 09:14:13] [INFO ] [Real]Absence check using state equation in 1194 ms returned sat
[2020-05-27 09:14:14] [INFO ] Solution in real domain found non-integer solution.
[2020-05-27 09:14:14] [INFO ] [Nat]Absence check using 271 positive place invariants in 165 ms returned sat
[2020-05-27 09:14:14] [INFO ] [Nat]Adding state equation constraints to refine reachable states.
[2020-05-27 09:14:15] [INFO ] [Nat]Absence check using state equation in 1202 ms returned sat
[2020-05-27 09:14:15] [INFO ] Deduced a trap composed of 11 places in 112 ms
[2020-05-27 09:14:15] [INFO ] Deduced a trap composed of 15 places in 76 ms
[2020-05-27 09:14:15] [INFO ] Deduced a trap composed of 21 places in 46 ms
[2020-05-27 09:14:15] [INFO ] Deduced a trap composed of 25 places in 28 ms
[2020-05-27 09:14:15] [INFO ] Deduced a trap composed of 19 places in 22 ms
[2020-05-27 09:14:16] [INFO ] Deduced a trap composed of 15 places in 31 ms
[2020-05-27 09:14:16] [INFO ] Trap strengthening (SAT) tested/added 7/6 trap constraints in 536 ms
[2020-05-27 09:14:16] [INFO ] Computed and/alt/rep : 722/2883/722 causal constraints in 63 ms.
[2020-05-27 09:14:33] [INFO ] Added : 706 causal constraints over 142 iterations in 17891 ms. Result :sat
[2020-05-27 09:14:34] [INFO ] [Real]Absence check using 271 positive place invariants in 161 ms returned sat
[2020-05-27 09:14:34] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2020-05-27 09:14:35] [INFO ] [Real]Absence check using state equation in 1223 ms returned sat
[2020-05-27 09:14:35] [INFO ] Solution in real domain found non-integer solution.
[2020-05-27 09:14:35] [INFO ] [Nat]Absence check using 271 positive place invariants in 119 ms returned sat
[2020-05-27 09:14:35] [INFO ] [Nat]Adding state equation constraints to refine reachable states.
[2020-05-27 09:14:37] [INFO ] [Nat]Absence check using state equation in 1331 ms returned sat
[2020-05-27 09:14:37] [INFO ] Computed and/alt/rep : 722/2883/722 causal constraints in 73 ms.
[2020-05-27 09:14:55] [WARNING] SMT solver failed with error :java.lang.RuntimeException: SMT solver raised an error when submitting script. Raised (error "Failed to assert expression: java.io.IOException: Stream closed (=> (> t693 0) (and (and (> t698 0) (< o698 o693)) (or (and (> t700 0) (< o700 o693)) (and (> t706 0) (< o706 o693)))))") while checking expression at index 1
[2020-05-27 09:14:55] [INFO ] [Real]Absence check using 271 positive place invariants in 105 ms returned sat
[2020-05-27 09:14:55] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2020-05-27 09:14:56] [INFO ] [Real]Absence check using state equation in 928 ms returned sat
[2020-05-27 09:14:56] [INFO ] Solution in real domain found non-integer solution.
[2020-05-27 09:14:57] [INFO ] [Nat]Absence check using 271 positive place invariants in 143 ms returned sat
[2020-05-27 09:14:57] [INFO ] [Nat]Adding state equation constraints to refine reachable states.
[2020-05-27 09:14:58] [INFO ] [Nat]Absence check using state equation in 1167 ms returned sat
[2020-05-27 09:14:58] [INFO ] Computed and/alt/rep : 722/2883/722 causal constraints in 75 ms.
[2020-05-27 09:15:12] [INFO ] Added : 699 causal constraints over 143 iterations in 14306 ms. Result :sat
[2020-05-27 09:15:12] [INFO ] Deduced a trap composed of 9 places in 46 ms
[2020-05-27 09:15:12] [INFO ] Deduced a trap composed of 9 places in 47 ms
[2020-05-27 09:15:13] [INFO ] Trap strengthening (SAT) tested/added 3/2 trap constraints in 427 ms
[2020-05-27 09:15:13] [INFO ] Flatten gal took : 284 ms
[2020-05-27 09:15:13] [INFO ] Flatten gal took : 132 ms
[2020-05-27 09:15:13] [INFO ] Applying decomposition
[2020-05-27 09:15:13] [INFO ] Flatten gal took : 83 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/graph8466811245741572781.txt, -o, /tmp/graph8466811245741572781.bin, -w, /tmp/graph8466811245741572781.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/graph8466811245741572781.bin, -l, -1, -v, -w, /tmp/graph8466811245741572781.weights, -q, 0, -e, 0.001], workingDir=null]
[2020-05-27 09:15:14] [INFO ] Decomposing Gal with order
[2020-05-27 09:15:14] [INFO ] Rewriting arrays to variables to allow decomposition.
[2020-05-27 09:15:14] [INFO ] Removed a total of 480 redundant transitions.
[2020-05-27 09:15:14] [INFO ] Flatten gal took : 145 ms
[2020-05-27 09:15:14] [INFO ] Fuse similar labels procedure discarded/fused a total of 468 labels/synchronizations in 73 ms.
[2020-05-27 09:15:14] [INFO ] Time to serialize gal into /home/mcc/execution/CTLFireability.pnml.gal : 15 ms
[2020-05-27 09:15:14] [INFO ] Time to serialize properties into /home/mcc/execution/CTLFireability.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/CTLFireability.pnml.gal, -t, CGAL, -ctl, /home/mcc/execution/CTLFireability.ctl], 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/CTLFireability.pnml.gal -t CGAL -ctl /home/mcc/execution/CTLFireability.ctl
No direction supplied, using forward translation only.
Parsed 16 CTL formulae.
built 30 ordering constraints for composite.
built 14 ordering constraints for composite.
built 12 ordering constraints for composite.
built 5 ordering constraints for composite.
built 11 ordering constraints for composite.
built 15 ordering constraints for composite.
built 5 ordering constraints for composite.
built 11 ordering constraints for composite.
built 10 ordering constraints for composite.
built 15 ordering constraints for composite.
built 10 ordering constraints for composite.
built 5 ordering constraints for composite.
built 11 ordering constraints for composite.
built 15 ordering constraints for composite.
built 11 ordering constraints for composite.
built 5 ordering constraints for composite.
built 10 ordering constraints for composite.
built 15 ordering constraints for composite.
built 10 ordering constraints for composite.
built 5 ordering constraints for composite.
built 11 ordering constraints for composite.
built 15 ordering constraints for composite.
built 11 ordering constraints for composite.
built 10 ordering constraints for composite.
built 5 ordering constraints for composite.
built 15 ordering constraints for composite.
built 10 ordering constraints for composite.
built 5 ordering constraints for composite.
built 11 ordering constraints for composite.
built 15 ordering constraints for composite.
built 10 ordering constraints for composite.
built 5 ordering constraints for composite.
built 11 ordering constraints for composite.
built 15 ordering constraints for composite.
built 10 ordering constraints for composite.
built 5 ordering constraints for composite.
built 11 ordering constraints for composite.
built 15 ordering constraints for composite.
built 5 ordering constraints for composite.
built 10 ordering constraints for composite.
built 11 ordering constraints for composite.
built 15 ordering constraints for composite.
built 5 ordering constraints for composite.
built 11 ordering constraints for composite.
built 10 ordering constraints for composite.
built 15 ordering constraints for composite.
built 5 ordering constraints for composite.
built 11 ordering constraints for composite.
built 10 ordering constraints for composite.
built 15 ordering constraints for composite.
built 11 ordering constraints for composite.
built 5 ordering constraints for composite.
built 10 ordering constraints for composite.
built 15 ordering constraints for composite.
built 5 ordering constraints for composite.
built 10 ordering constraints for composite.
built 11 ordering constraints for composite.
built 15 ordering constraints for composite.
built 5 ordering constraints for composite.
built 11 ordering constraints for composite.
built 10 ordering constraints for composite.
built 13 ordering constraints for composite.
built 5 ordering constraints for composite.
built 18 ordering constraints for composite.
built 13 ordering constraints for composite.
built 5 ordering constraints for composite.
built 18 ordering constraints for composite.
built 15 ordering constraints for composite.
built 10 ordering constraints for composite.
built 5 ordering constraints for composite.
built 11 ordering constraints for composite.
built 15 ordering constraints for composite.
built 11 ordering constraints for composite.
built 10 ordering constraints for composite.
built 5 ordering constraints for composite.
built 15 ordering constraints for composite.
built 5 ordering constraints for composite.
built 10 ordering constraints for composite.
built 11 ordering constraints for composite.
built 15 ordering constraints for composite.
built 10 ordering constraints for composite.
built 5 ordering constraints for composite.
built 11 ordering constraints for composite.
built 15 ordering constraints for composite.
built 10 ordering constraints for composite.
built 11 ordering constraints for composite.
built 5 ordering constraints for composite.
built 15 ordering constraints for composite.
built 10 ordering constraints for composite.
built 5 ordering constraints for composite.
built 11 ordering constraints for composite.
built 15 ordering constraints for composite.
built 11 ordering constraints for composite.
built 5 ordering constraints for composite.
built 10 ordering constraints for composite.
built 15 ordering constraints for composite.
built 10 ordering constraints for composite.
built 5 ordering constraints for composite.
built 11 ordering constraints for composite.
built 15 ordering constraints for composite.
built 10 ordering constraints for composite.
built 11 ordering constraints for composite.
built 5 ordering constraints for composite.
built 15 ordering constraints for composite.
built 11 ordering constraints for composite.
built 10 ordering constraints for composite.
built 5 ordering constraints for composite.
built 13 ordering constraints for composite.
built 5 ordering constraints for composite.
built 18 ordering constraints for composite.
built 15 ordering constraints for composite.
built 5 ordering constraints for composite.
built 11 ordering constraints for composite.
built 10 ordering constraints for composite.
built 13 ordering constraints for composite.
built 10 ordering constraints for composite.
built 9 ordering constraints for composite.
built 5 ordering constraints for composite.
Detected timeout of ITS tools.
[2020-05-27 09:35:35] [INFO ] Applying decomposition
[2020-05-27 09:35:36] [INFO ] Flatten gal took : 938 ms
[2020-05-27 09:35:36] [INFO ] Decomposing Gal with order
[2020-05-27 09:35:36] [INFO ] Rewriting arrays to variables to allow decomposition.
[2020-05-27 09:35:37] [INFO ] Removed a total of 510 redundant transitions.
[2020-05-27 09:35:37] [INFO ] Flatten gal took : 160 ms
[2020-05-27 09:35:37] [INFO ] Fuse similar labels procedure discarded/fused a total of 360 labels/synchronizations in 160 ms.
[2020-05-27 09:35:37] [INFO ] Time to serialize gal into /home/mcc/execution/CTLFireability.pnml.gal : 44 ms
[2020-05-27 09:35:37] [INFO ] Time to serialize properties into /home/mcc/execution/CTLFireability.ctl : 16 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/CTLFireability.pnml.gal, -t, CGAL, -ctl, /home/mcc/execution/CTLFireability.ctl], 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/CTLFireability.pnml.gal -t CGAL -ctl /home/mcc/execution/CTLFireability.ctl
No direction supplied, using forward translation only.
Parsed 16 CTL formulae.
built 271 ordering constraints for composite.
built 7 ordering constraints for composite.
built 7 ordering constraints for composite.
built 7 ordering constraints for composite.
built 7 ordering constraints for composite.
built 7 ordering constraints for composite.
built 7 ordering constraints for composite.
built 7 ordering constraints for composite.
built 7 ordering constraints for composite.
built 7 ordering constraints for composite.
built 7 ordering constraints for composite.
built 7 ordering constraints for composite.
built 7 ordering constraints for composite.
built 7 ordering constraints for composite.
built 7 ordering constraints for composite.
built 7 ordering constraints for composite.
built 7 ordering constraints for composite.
built 7 ordering constraints for composite.
built 7 ordering constraints for composite.
built 7 ordering constraints for composite.
built 7 ordering constraints for composite.
built 7 ordering constraints for composite.
built 7 ordering constraints for composite.
built 7 ordering constraints for composite.
built 7 ordering constraints for composite.
built 7 ordering constraints for composite.
built 7 ordering constraints for composite.
built 7 ordering constraints for composite.
built 7 ordering constraints for composite.
built 7 ordering constraints for composite.
built 7 ordering constraints for composite.
Detected timeout of ITS tools.
[2020-05-27 09:55:59] [INFO ] Flatten gal took : 363 ms
[2020-05-27 09:56:01] [INFO ] Input system was already deterministic with 723 transitions.
[2020-05-27 09:56:01] [INFO ] Transformed 753 places.
[2020-05-27 09:56:01] [INFO ] Transformed 723 transitions.
Running greatSPN : CommandLine [args=[/home/mcc/BenchKit//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//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
[2020-05-27 09:56:01] [INFO ] Time to serialize gal into /home/mcc/execution/CTLFireability.pnml.gal : 5 ms
[2020-05-27 09:56:01] [INFO ] Time to serialize properties into /home/mcc/execution/CTLFireability.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/CTLFireability.pnml.gal, -t, CGAL, -ctl, /home/mcc/execution/CTLFireability.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.202005100927/bin/its-ctl-linux64 --gc-threshold 2000000 --quiet -i /home/mcc/execution/CTLFireability.pnml.gal -t CGAL -ctl /home/mcc/execution/CTLFireability.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 16 CTL formulae.

BK_TIME_CONFINEMENT_REACHED

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

+ export BINDIR=/home/mcc/BenchKit/
+ BINDIR=/home/mcc/BenchKit/
++ pwd
+ export MODEL=/home/mcc/execution
+ MODEL=/home/mcc/execution
+ [[ CTLFireability = StateSpace ]]
+ /home/mcc/BenchKit//runeclipse.sh /home/mcc/execution CTLFireability -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 CTLFireability -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="ShieldIIPs-PT-030A"
export BK_EXAMINATION="CTLFireability"
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 ShieldIIPs-PT-030A, examination is CTLFireability"
echo " Time confinement is $BK_TIME_CONFINEMENT seconds"
echo " Memory confinement is 16384 MBytes"
echo " Number of cores is 4"
echo " Run identifier is r210-tajo-159033475300156"
echo "====================================================================="
echo
echo "--------------------"
echo "preparation of the directory to be used:"

tar xzf /home/mcc/BenchKit/INPUTS/ShieldIIPs-PT-030A.tgz
mv ShieldIIPs-PT-030A execution
cd execution
if [ "CTLFireability" = "ReachabilityDeadlock" ] || [ "CTLFireability" = "UpperBounds" ] || [ "CTLFireability" = "QuasiLiveness" ] || [ "CTLFireability" = "StableMarking" ] || [ "CTLFireability" = "Liveness" ] || [ "CTLFireability" = "OneSafe" ] || [ "CTLFireability" = "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 [ "CTLFireability" = "UpperBounds" ] ; then
echo "The expected result is a vector of positive values"
echo NUM_VECTOR
elif [ "CTLFireability" != "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 "CTLFireability.txt" ] ; then
echo "here is the order used to build the result vector(from text file)"
for x in $(grep Property CTLFireability.txt | cut -d ' ' -f 2 | sort -u) ; do
echo "FORMULA_NAME $x"
done
elif [ -f "CTLFireability.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 '' CTLFireability.xml | cut -d '>' -f 2 | cut -d '<' -f 1 | sort -u) ; do
echo "FORMULA_NAME $x"
done
elif [ "CTLFireability" = "ReachabilityDeadlock" ] || [ "CTLFireability" = "QuasiLiveness" ] || [ "CTLFireability" = "StableMarking" ] || [ "CTLFireability" = "Liveness" ] || [ "CTLFireability" = "OneSafe" ] ; then
echo "FORMULA_NAME CTLFireability"
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 ;