fond
Model Checking Contest 2020
10th edition, Paris, France, June 23, 2020
Execution of r096-oct2-158940144800250
Last Updated
Jun 28, 2020

About the Execution of ITS-Tools for HypercubeGrid-PT-C3K4P4B12

Execution Summary
Max Memory
Used (MB)
Time wait (ms) CPU Usage (ms) I/O Wait (ms) Computed Result Execution
Status
15746.800 3600000.00 3474112.00 158130.10 ?????F?F???T???? normal

Execution Chart

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

Trace from the execution

Formatting '/data/fko/mcc2020-input.r096-oct2-158940144800250.qcow2', fmt=qcow2 size=4294967296 backing_file=/data/fko/mcc2020-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 HypercubeGrid-PT-C3K4P4B12, examination is LTLFireability
Time confinement is 3600 seconds
Memory confinement is 16384 MBytes
Number of cores is 4
Run identifier is r096-oct2-158940144800250
=====================================================================

--------------------
preparation of the directory to be used:
/home/mcc/execution
total 1.5M
-rw-r--r-- 1 mcc users 4.7K Apr 27 15:14 CTLCardinality.txt
-rw-r--r-- 1 mcc users 23K Apr 27 15:14 CTLCardinality.xml
-rw-r--r-- 1 mcc users 3.3K Apr 27 15:14 CTLFireability.txt
-rw-r--r-- 1 mcc users 17K Apr 27 15:14 CTLFireability.xml
-rw-r--r-- 1 mcc users 4.0K Apr 27 15:14 GenericPropertiesDefinition.xml
-rw-r--r-- 1 mcc users 5.9K Apr 27 15:14 GenericPropertiesVerdict.xml
-rw-r--r-- 1 mcc users 4.4K Apr 27 15:14 LTLCardinality.txt
-rw-r--r-- 1 mcc users 26K Apr 28 14:01 LTLCardinality.xml
-rw-r--r-- 1 mcc users 2.9K Apr 27 15:14 LTLFireability.txt
-rw-r--r-- 1 mcc users 18K Apr 28 14:01 LTLFireability.xml
-rw-r--r-- 1 mcc users 4.3K Apr 27 15:14 ReachabilityCardinality.txt
-rw-r--r-- 1 mcc users 18K Apr 27 15:14 ReachabilityCardinality.xml
-rw-r--r-- 1 mcc users 3.9K Apr 27 15:14 ReachabilityFireability.txt
-rw-r--r-- 1 mcc users 18K Apr 27 15:14 ReachabilityFireability.xml
-rw-r--r-- 1 mcc users 1.9K Apr 27 15:14 UpperBounds.txt
-rw-r--r-- 1 mcc users 4.0K Apr 27 15:14 UpperBounds.xml
-rw-r--r-- 1 mcc users 6 Apr 27 15:14 equiv_col
-rw-r--r-- 1 mcc users 10 Apr 27 15:14 instance
-rw-r--r-- 1 mcc users 6 Apr 27 15:14 iscolored
-rwxr-xr-x 1 mcc users 1.3M Apr 27 15:14 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 HypercubeGrid-PT-C3K4P4B12-00
FORMULA_NAME HypercubeGrid-PT-C3K4P4B12-01
FORMULA_NAME HypercubeGrid-PT-C3K4P4B12-02
FORMULA_NAME HypercubeGrid-PT-C3K4P4B12-03
FORMULA_NAME HypercubeGrid-PT-C3K4P4B12-04
FORMULA_NAME HypercubeGrid-PT-C3K4P4B12-05
FORMULA_NAME HypercubeGrid-PT-C3K4P4B12-06
FORMULA_NAME HypercubeGrid-PT-C3K4P4B12-07
FORMULA_NAME HypercubeGrid-PT-C3K4P4B12-08
FORMULA_NAME HypercubeGrid-PT-C3K4P4B12-09
FORMULA_NAME HypercubeGrid-PT-C3K4P4B12-10
FORMULA_NAME HypercubeGrid-PT-C3K4P4B12-11
FORMULA_NAME HypercubeGrid-PT-C3K4P4B12-12
FORMULA_NAME HypercubeGrid-PT-C3K4P4B12-13
FORMULA_NAME HypercubeGrid-PT-C3K4P4B12-14
FORMULA_NAME HypercubeGrid-PT-C3K4P4B12-15

=== Now, execution of the tool begins

BK_START 1589564074470

[2020-05-15 17:34:35] [INFO ] Running its-tools with arguments : [-pnfolder, /home/mcc/execution, -examination, LTLFireability, -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-15 17:34:35] [INFO ] Parsing pnml file : /home/mcc/execution/model.pnml
[2020-05-15 17:34:35] [INFO ] Load time of PNML (sax parser for PT used): 129 ms
[2020-05-15 17:34:35] [INFO ] Transformed 1408 places.
[2020-05-15 17:34:36] [INFO ] Transformed 2400 transitions.
[2020-05-15 17:34:36] [INFO ] Parsed PT model containing 1408 places and 2400 transitions in 174 ms.
Parsed 16 properties from file /home/mcc/execution/LTLFireability.xml in 21 ms.
Working with output stream class java.io.PrintStream
Incomplete random walk after 100000 steps, including 1 resets, run finished after 5157 ms. (steps per millisecond=19 ) properties seen :[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, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]
// Phase 1: matrix 2400 rows 1408 cols
[2020-05-15 17:34:41] [INFO ] Computed 545 place invariants in 100 ms
[2020-05-15 17:34:41] [INFO ] [Real]Absence check using 544 positive place invariants in 304 ms returned sat
[2020-05-15 17:34:41] [INFO ] [Real]Absence check using 544 positive and 1 generalized place invariants in 24 ms returned sat
[2020-05-15 17:34:41] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2020-05-15 17:34:48] [INFO ] [Real]Absence check using state equation in 6950 ms returned sat
[2020-05-15 17:34:48] [INFO ] Solution in real domain found non-integer solution.
[2020-05-15 17:34:49] [INFO ] [Nat]Absence check using 544 positive place invariants in 284 ms returned sat
[2020-05-15 17:34:49] [INFO ] [Nat]Absence check using 544 positive and 1 generalized place invariants in 27 ms returned sat
[2020-05-15 17:34:49] [INFO ] [Nat]Adding state equation constraints to refine reachable states.
[2020-05-15 17:34:56] [INFO ] [Nat]Absence check using state equation in 7384 ms returned sat
[2020-05-15 17:34:56] [INFO ] Computed and/alt/rep : 2016/2016/2016 causal constraints in 196 ms.
[2020-05-15 17:35:05] [INFO ] Added : 464 causal constraints over 93 iterations in 9010 ms. Result :sat
[2020-05-15 17:35:06] [INFO ] [Real]Absence check using 544 positive place invariants in 315 ms returned sat
[2020-05-15 17:35:06] [INFO ] [Real]Absence check using 544 positive and 1 generalized place invariants in 21 ms returned sat
[2020-05-15 17:35:06] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2020-05-15 17:35:14] [INFO ] [Real]Absence check using state equation in 8240 ms returned sat
[2020-05-15 17:35:14] [INFO ] Solution in real domain found non-integer solution.
[2020-05-15 17:35:14] [INFO ] [Nat]Absence check using 544 positive place invariants in 330 ms returned sat
[2020-05-15 17:35:14] [INFO ] [Nat]Absence check using 544 positive and 1 generalized place invariants in 24 ms returned sat
[2020-05-15 17:35:14] [INFO ] [Nat]Adding state equation constraints to refine reachable states.
[2020-05-15 17:35:22] [INFO ] [Nat]Absence check using state equation in 7735 ms returned sat
[2020-05-15 17:35:22] [INFO ] Computed and/alt/rep : 2016/2016/2016 causal constraints in 85 ms.
[2020-05-15 17:35:33] [INFO ] Added : 455 causal constraints over 91 iterations in 10344 ms. Result :sat
[2020-05-15 17:35:33] [INFO ] [Real]Absence check using 544 positive place invariants in 7 ms returned unsat
Successfully simplified 1 atomic propositions for a total of 1 simplifications.
[2020-05-15 17:35:33] [INFO ] Initial state reduction rules for CTL removed 3 formulas.
[2020-05-15 17:35:33] [INFO ] Flatten gal took : 397 ms
FORMULA HypercubeGrid-PT-C3K4P4B12-11 TRUE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA HypercubeGrid-PT-C3K4P4B12-07 FALSE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA HypercubeGrid-PT-C3K4P4B12-05 FALSE TECHNIQUES TOPOLOGICAL INITIAL_STATE
[2020-05-15 17:35:34] [INFO ] Flatten gal took : 252 ms
Using solver Z3 to compute partial order matrices.
Built C files in :
/home/mcc/execution
[2020-05-15 17:35:34] [INFO ] Applying decomposition
[2020-05-15 17:35:34] [INFO ] Flatten gal took : 216 ms
[2020-05-15 17:35:34] [INFO ] Input system was already deterministic with 2400 transitions.
[2020-05-15 17:35:34] [INFO ] Too many transitions (2400) to apply POR reductions. Disabling POR matrices.
[2020-05-15 17:35:35] [INFO ] Built C files in 608ms conformant to PINS in folder :/home/mcc/execution
Running compilation step : CommandLine [args=[gcc, -c, -I/home/mcc/BenchKit//lts_install_dir//include, -I., -std=c99, -fPIC, -O2, model.c], workingDir=/home/mcc/execution]
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/graph11104280146720343317.txt, -o, /tmp/graph11104280146720343317.bin, -w, /tmp/graph11104280146720343317.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/graph11104280146720343317.bin, -l, -1, -v, -w, /tmp/graph11104280146720343317.weights, -q, 0, -e, 0.001], workingDir=null]
[2020-05-15 17:35:35] [INFO ] Decomposing Gal with order
[2020-05-15 17:35:35] [INFO ] Rewriting arrays to variables to allow decomposition.
[2020-05-15 17:35:36] [INFO ] Removed a total of 3072 redundant transitions.
[2020-05-15 17:35:36] [INFO ] Flatten gal took : 342 ms
[2020-05-15 17:35:36] [INFO ] Fuse similar labels procedure discarded/fused a total of 0 labels/synchronizations in 16 ms.
[2020-05-15 17:35:36] [INFO ] Time to serialize gal into /home/mcc/execution/LTLFireability.pnml.gal : 40 ms
[2020-05-15 17:35:36] [INFO ] Time to serialize properties into /home/mcc/execution/LTLFireability.ltl : 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-ltl-linux64, --gc-threshold, 2000000, -i, /home/mcc/execution/LTLFireability.pnml.gal, -t, CGAL, -LTL, /home/mcc/execution/LTLFireability.ltl, -c, -stutter-deadlock], workingDir=/home/mcc/execution]

its-ltl command run as :

/home/mcc/BenchKit/itstools/plugins/fr.lip6.move.gal.itstools.binaries_1.0.0.202005100927/bin/its-ltl-linux64 --gc-threshold 2000000 -i /home/mcc/execution/LTLFireability.pnml.gal -t CGAL -LTL /home/mcc/execution/LTLFireability.ltl -c -stutter-deadlock
Read 13 LTL properties
Checking formula 0 : !(((X("((i44.u212.pi_d1_n1_5_3_1>=1)&&(i44.u457.pol_d1_n1_5_3_1>=1))"))&&(!(F(X("((i18.u29.pbl_2_3_2>=1)&&(i18.u402.po_d3_n1_2_3_3>=1))"))))))
Formula 0 simplified : !(X"((i44.u212.pi_d1_n1_5_3_1>=1)&&(i44.u457.pol_d1_n1_5_3_1>=1))" & !FX"((i18.u29.pbl_2_3_2>=1)&&(i18.u402.po_d3_n1_2_3_3>=1))")
built 144 ordering constraints for composite.
built 18 ordering constraints for composite.
built 18 ordering constraints for composite.
built 18 ordering constraints for composite.
built 18 ordering constraints for composite.
built 18 ordering constraints for composite.
built 18 ordering constraints for composite.
built 18 ordering constraints for composite.
built 18 ordering constraints for composite.
built 18 ordering constraints for composite.
built 18 ordering constraints for composite.
built 18 ordering constraints for composite.
built 18 ordering constraints for composite.
built 18 ordering constraints for composite.
built 18 ordering constraints for composite.
built 18 ordering constraints for composite.
built 18 ordering constraints for composite.
built 18 ordering constraints for composite.
built 18 ordering constraints for composite.
built 18 ordering constraints for composite.
built 18 ordering constraints for composite.
built 18 ordering constraints for composite.
built 18 ordering constraints for composite.
built 18 ordering constraints for composite.
built 18 ordering constraints for composite.
built 18 ordering constraints for composite.
built 18 ordering constraints for composite.
built 18 ordering constraints for composite.
built 18 ordering constraints for composite.
built 18 ordering constraints for composite.
built 18 ordering constraints for composite.
built 18 ordering constraints for composite.
built 18 ordering constraints for composite.
built 18 ordering constraints for composite.
built 18 ordering constraints for composite.
built 18 ordering constraints for composite.
built 18 ordering constraints for composite.
built 18 ordering constraints for composite.
built 18 ordering constraints for composite.
built 18 ordering constraints for composite.
built 18 ordering constraints for composite.
built 18 ordering constraints for composite.
built 18 ordering constraints for composite.
built 18 ordering constraints for composite.
built 18 ordering constraints for composite.
built 18 ordering constraints for composite.
built 18 ordering constraints for composite.
built 18 ordering constraints for composite.
built 18 ordering constraints for composite.
built 18 ordering constraints for composite.
built 18 ordering constraints for composite.
built 18 ordering constraints for composite.
built 18 ordering constraints for composite.
built 18 ordering constraints for composite.
built 18 ordering constraints for composite.
built 18 ordering constraints for composite.
built 18 ordering constraints for composite.
built 18 ordering constraints for composite.
built 18 ordering constraints for composite.
built 18 ordering constraints for composite.
built 18 ordering constraints for composite.
built 18 ordering constraints for composite.
built 18 ordering constraints for composite.
built 18 ordering constraints for composite.
built 18 ordering constraints for composite.
Compilation finished in 22516 ms.
Running link step : CommandLine [args=[gcc, -shared, -o, gal.so, model.o], workingDir=/home/mcc/execution]
Link finished in 60 ms.
Running LTSmin : CommandLine [args=[/home/mcc/BenchKit//lts_install_dir//bin/pins2lts-mc, ./gal.so, --threads=8, --when, --ltl, ( X((LTLAP0==true)) ) && ( !( <>(X((LTLAP1==true)))) ), --buchi-type=spotba], workingDir=/home/mcc/execution]
/home/mcc/BenchKit//lts_install_dir//bin/pins2lts-mc: error while loading shared libraries: libltdl.so.7: cannot open shared object file: No such file or directory
WARNING : LTS min runner thread failed on error :java.lang.RuntimeException: Unexpected exception when executing ltsmin :CommandLine [args=[/home/mcc/BenchKit//lts_install_dir//bin/pins2lts-mc, ./gal.so, --threads=8, --when, --ltl, ( X((LTLAP0==true)) ) && ( !( <>(X((LTLAP1==true)))) ), --buchi-type=spotba], workingDir=/home/mcc/execution]
127
java.lang.RuntimeException: Unexpected exception when executing ltsmin :CommandLine [args=[/home/mcc/BenchKit//lts_install_dir//bin/pins2lts-mc, ./gal.so, --threads=8, --when, --ltl, ( X((LTLAP0==true)) ) && ( !( <>(X((LTLAP1==true)))) ), --buchi-type=spotba], workingDir=/home/mcc/execution]
127
at fr.lip6.move.gal.application.LTSminRunner.checkProperty(LTSminRunner.java:170)
at fr.lip6.move.gal.application.LTSminRunner.access$10(LTSminRunner.java:124)
at fr.lip6.move.gal.application.LTSminRunner$1.run(LTSminRunner.java:93)
at java.base/java.lang.Thread.run(Thread.java:834)
Detected timeout of ITS tools.
[2020-05-15 17:55:55] [INFO ] Flatten gal took : 109 ms
[2020-05-15 17:55:55] [INFO ] Time to serialize gal into /home/mcc/execution/LTLFireability.pnml.gal : 14 ms
[2020-05-15 17:55:55] [INFO ] Time to serialize properties into /home/mcc/execution/LTLFireability.ltl : 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-ltl-linux64, --gc-threshold, 2000000, -i, /home/mcc/execution/LTLFireability.pnml.gal, -t, CGAL, -LTL, /home/mcc/execution/LTLFireability.ltl, -c, -stutter-deadlock, --gen-order, FOLLOW], workingDir=/home/mcc/execution]

its-ltl command run as :

/home/mcc/BenchKit/itstools/plugins/fr.lip6.move.gal.itstools.binaries_1.0.0.202005100927/bin/its-ltl-linux64 --gc-threshold 2000000 -i /home/mcc/execution/LTLFireability.pnml.gal -t CGAL -LTL /home/mcc/execution/LTLFireability.ltl -c -stutter-deadlock --gen-order FOLLOW
Read 13 LTL properties
Checking formula 0 : !(((X("((pi_d1_n1_5_3_1>=1)&&(pol_d1_n1_5_3_1>=1))"))&&(!(F(X("((pbl_2_3_2>=1)&&(po_d3_n1_2_3_3>=1))"))))))
Formula 0 simplified : !(X"((pi_d1_n1_5_3_1>=1)&&(pol_d1_n1_5_3_1>=1))" & !FX"((pbl_2_3_2>=1)&&(po_d3_n1_2_3_3>=1))")
Detected timeout of ITS tools.
[2020-05-15 18:16:17] [INFO ] Flatten gal took : 1959 ms
[2020-05-15 18:16:18] [INFO ] Input system was already deterministic with 2400 transitions.
[2020-05-15 18:16:18] [INFO ] Transformed 1408 places.
[2020-05-15 18:16:18] [INFO ] Transformed 2400 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-15 18:16:18] [INFO ] Time to serialize gal into /home/mcc/execution/LTLFireability.pnml.gal : 12 ms
[2020-05-15 18:16:18] [INFO ] Time to serialize properties into /home/mcc/execution/LTLFireability.ltl : 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-ltl-linux64, --gc-threshold, 2000000, -i, /home/mcc/execution/LTLFireability.pnml.gal, -t, CGAL, -LTL, /home/mcc/execution/LTLFireability.ltl, -c, -stutter-deadlock, --load-order, /home/mcc/execution/model.ord, --gen-order, FOLLOW], workingDir=/home/mcc/execution]

its-ltl command run as :

/home/mcc/BenchKit/itstools/plugins/fr.lip6.move.gal.itstools.binaries_1.0.0.202005100927/bin/its-ltl-linux64 --gc-threshold 2000000 -i /home/mcc/execution/LTLFireability.pnml.gal -t CGAL -LTL /home/mcc/execution/LTLFireability.ltl -c -stutter-deadlock --load-order /home/mcc/execution/model.ord --gen-order FOLLOW
Read 13 LTL properties
Successfully loaded order from file /home/mcc/execution/model.ord
Checking formula 0 : !(((X("((pi_d1_n1_5_3_1>=1)&&(pol_d1_n1_5_3_1>=1))"))&&(!(F(X("((pbl_2_3_2>=1)&&(po_d3_n1_2_3_3>=1))"))))))
Formula 0 simplified : !(X"((pi_d1_n1_5_3_1>=1)&&(pol_d1_n1_5_3_1>=1))" & !FX"((pbl_2_3_2>=1)&&(po_d3_n1_2_3_3>=1))")

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
+ [[ LTLFireability = StateSpace ]]
+ /home/mcc/BenchKit//runeclipse.sh /home/mcc/execution LTLFireability -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 LTLFireability -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="HypercubeGrid-PT-C3K4P4B12"
export BK_EXAMINATION="LTLFireability"
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 HypercubeGrid-PT-C3K4P4B12, examination is LTLFireability"
echo " Time confinement is $BK_TIME_CONFINEMENT seconds"
echo " Memory confinement is 16384 MBytes"
echo " Number of cores is 4"
echo " Run identifier is r096-oct2-158940144800250"
echo "====================================================================="
echo
echo "--------------------"
echo "preparation of the directory to be used:"

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