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

About the Execution of ITS-Tools for ShieldPPPs-PT-002A

Execution Summary
Max Memory
Used (MB)
Time wait (ms) CPU Usage (ms) I/O Wait (ms) Computed Result Execution
Status
15744.210 226587.00 238606.00 311.20 FFFTTFFFTFTFFFFT normal

Execution Chart

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

Trace from the execution

Formatting '/mnt/tpsp/fkordon/mcc2020-input.r210-tajo-159033475700409.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 ShieldPPPs-PT-002A, examination is LTLCardinality
Time confinement is 3600 seconds
Memory confinement is 16384 MBytes
Number of cores is 4
Run identifier is r210-tajo-159033475700409
=====================================================================

--------------------
preparation of the directory to be used:
/home/mcc/execution
total 184K
-rw-r--r-- 1 mcc users 3.4K May 14 01:34 CTLCardinality.txt
-rw-r--r-- 1 mcc users 19K May 14 01:34 CTLCardinality.xml
-rw-r--r-- 1 mcc users 2.5K May 13 18:56 CTLFireability.txt
-rw-r--r-- 1 mcc users 18K May 13 18:56 CTLFireability.xml
-rw-r--r-- 1 mcc users 3.2K May 14 10:02 LTLCardinality.txt
-rw-r--r-- 1 mcc users 24K May 14 10:02 LTLCardinality.xml
-rw-r--r-- 1 mcc users 1.9K May 14 10:02 LTLFireability.txt
-rw-r--r-- 1 mcc users 16K May 14 10:02 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:53 ReachabilityCardinality.txt
-rw-r--r-- 1 mcc users 18K May 13 13:53 ReachabilityCardinality.xml
-rw-r--r-- 1 mcc users 2.6K May 13 08:37 ReachabilityFireability.txt
-rw-r--r-- 1 mcc users 16K May 13 08:37 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 18K 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 ShieldPPPs-PT-002A-00
FORMULA_NAME ShieldPPPs-PT-002A-01
FORMULA_NAME ShieldPPPs-PT-002A-02
FORMULA_NAME ShieldPPPs-PT-002A-03
FORMULA_NAME ShieldPPPs-PT-002A-04
FORMULA_NAME ShieldPPPs-PT-002A-05
FORMULA_NAME ShieldPPPs-PT-002A-06
FORMULA_NAME ShieldPPPs-PT-002A-07
FORMULA_NAME ShieldPPPs-PT-002A-08
FORMULA_NAME ShieldPPPs-PT-002A-09
FORMULA_NAME ShieldPPPs-PT-002A-10
FORMULA_NAME ShieldPPPs-PT-002A-11
FORMULA_NAME ShieldPPPs-PT-002A-12
FORMULA_NAME ShieldPPPs-PT-002A-13
FORMULA_NAME ShieldPPPs-PT-002A-14
FORMULA_NAME ShieldPPPs-PT-002A-15

=== Now, execution of the tool begins

BK_START 1590589250287

[2020-05-27 14:20:51] [INFO ] Running its-tools with arguments : [-pnfolder, /home/mcc/execution, -examination, LTLCardinality, -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 14:20:51] [INFO ] Parsing pnml file : /home/mcc/execution/model.pnml
[2020-05-27 14:20:51] [INFO ] Load time of PNML (sax parser for PT used): 38 ms
[2020-05-27 14:20:51] [INFO ] Transformed 65 places.
[2020-05-27 14:20:51] [INFO ] Transformed 55 transitions.
[2020-05-27 14:20:51] [INFO ] Found NUPN structural information;
[2020-05-27 14:20:51] [INFO ] Parsed PT model containing 65 places and 55 transitions in 76 ms.
Parsed 16 properties from file /home/mcc/execution/LTLCardinality.xml in 15 ms.
Working with output stream class java.io.PrintStream
Incomplete random walk after 100000 steps, including 563 resets, run finished after 167 ms. (steps per millisecond=598 ) properties seen :[1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1]
// Phase 1: matrix 55 rows 65 cols
[2020-05-27 14:20:52] [INFO ] Computed 23 place invariants in 4 ms
[2020-05-27 14:20:52] [INFO ] [Real]Absence check using 23 positive place invariants in 19 ms returned sat
[2020-05-27 14:20:52] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2020-05-27 14:20:52] [INFO ] [Real]Absence check using state equation in 33 ms returned sat
[2020-05-27 14:20:52] [INFO ] Solution in real domain found non-integer solution.
[2020-05-27 14:20:52] [INFO ] [Nat]Absence check using 23 positive place invariants in 7 ms returned unsat
Successfully simplified 1 atomic propositions for a total of 1 simplifications.
[2020-05-27 14:20:52] [INFO ] Initial state reduction rules for CTL removed 11 formulas.
[2020-05-27 14:20:52] [INFO ] Flatten gal took : 31 ms
FORMULA ShieldPPPs-PT-002A-15 TRUE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA ShieldPPPs-PT-002A-14 FALSE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA ShieldPPPs-PT-002A-13 FALSE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA ShieldPPPs-PT-002A-12 FALSE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA ShieldPPPs-PT-002A-10 TRUE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA ShieldPPPs-PT-002A-08 TRUE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA ShieldPPPs-PT-002A-07 FALSE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA ShieldPPPs-PT-002A-06 FALSE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA ShieldPPPs-PT-002A-03 TRUE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA ShieldPPPs-PT-002A-01 FALSE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA ShieldPPPs-PT-002A-00 FALSE TECHNIQUES TOPOLOGICAL INITIAL_STATE
[2020-05-27 14:20:52] [INFO ] Initial state reduction rules for CTL removed 1 formulas.
[2020-05-27 14:20:52] [INFO ] Flatten gal took : 9 ms
[2020-05-27 14:20:52] [INFO ] Initial state reduction rules for CTL removed 1 formulas.
FORMULA ShieldPPPs-PT-002A-02 FALSE TECHNIQUES TOPOLOGICAL INITIAL_STATE
Using solver Z3 to compute partial order matrices.
Built C files in :
/home/mcc/execution
[2020-05-27 14:20:52] [INFO ] Applying decomposition
[2020-05-27 14:20:52] [INFO ] Flatten gal took : 8 ms
[2020-05-27 14:20:52] [INFO ] Input system was already deterministic with 55 transitions.
Presburger conditions satisfied. Using coverability to approximate state space in K-Induction.
// Phase 1: matrix 55 rows 65 cols
[2020-05-27 14:20:52] [INFO ] Computed 23 place invariants in 1 ms
inv : p0 + p46 + p49 + p50 = 1
inv : p0 + p30 + p31 + p32 + p33 = 1
inv : p0 + p36 + p37 + p38 = 1
inv : p0 + p10 + p13 + p14 = 1
inv : p0 + p57 + p58 + p59 + p60 = 1
inv : p0 + p20 + p21 + p22 + p23 = 1
inv : p0 + p61 + p62 + p63 + p64 = 1
inv : p0 + p55 + p56 = 1
inv : p0 + p34 + p35 = 1
inv : p0 + p5 + p8 + p9 = 1
inv : p0 + p41 + p44 + p45 = 1
inv : p0 + p15 + p18 + p19 = 1
inv : p0 + p24 + p25 = 1
inv : p0 + p1 + p2 = 1
inv : p0 + p26 + p27 + p28 + p29 = 1
inv : p0 + p10 + p11 + p12 = 1
inv : p0 + p3 + p4 = 1
inv : p0 + p15 + p16 + p17 = 1
inv : p0 + p36 + p39 + p40 = 1
inv : p0 + p46 + p47 + p48 = 1
inv : p0 + p5 + p6 + p7 = 1
inv : p0 + p41 + p42 + p43 = 1
inv : p0 + p51 + p52 + p53 + p54 = 1
Total of 23 invariants.
[2020-05-27 14:20:52] [INFO ] Computed 23 place invariants in 3 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/graph10811792732604632182.txt, -o, /tmp/graph10811792732604632182.bin, -w, /tmp/graph10811792732604632182.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/graph10811792732604632182.bin, -l, -1, -v, -w, /tmp/graph10811792732604632182.weights, -q, 0, -e, 0.001], workingDir=null]
[2020-05-27 14:20:52] [INFO ] Decomposing Gal with order
[2020-05-27 14:20:52] [INFO ] Rewriting arrays to variables to allow decomposition.
[2020-05-27 14:20:52] [INFO ] Removed a total of 12 redundant transitions.
[2020-05-27 14:20:52] [INFO ] Proved 65 variables to be positive in 120 ms
[2020-05-27 14:20:52] [INFO ] Computing symmetric may disable matrix : 55 transitions.
[2020-05-27 14:20:52] [INFO ] Computation of disable matrix completed :0/55 took 0 ms. Total solver calls (SAT/UNSAT): 0(0/0)
[2020-05-27 14:20:52] [INFO ] Flatten gal took : 43 ms
[2020-05-27 14:20:52] [INFO ] Computation of Complete disable matrix. took 1 ms. Total solver calls (SAT/UNSAT): 0(0/0)
[2020-05-27 14:20:52] [INFO ] Computing symmetric may enable matrix : 55 transitions.
[2020-05-27 14:20:52] [INFO ] Computation of Complete enable matrix. took 1 ms. Total solver calls (SAT/UNSAT): 0(0/0)
[2020-05-27 14:20:52] [INFO ] Fuse similar labels procedure discarded/fused a total of 30 labels/synchronizations in 6 ms.
[2020-05-27 14:20:52] [INFO ] Time to serialize gal into /home/mcc/execution/LTLCardinality.pnml.gal : 2 ms
[2020-05-27 14:20:52] [INFO ] Time to serialize properties into /home/mcc/execution/LTLCardinality.ltl : 0 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/LTLCardinality.pnml.gal, -t, CGAL, -LTL, /home/mcc/execution/LTLCardinality.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/LTLCardinality.pnml.gal -t CGAL -LTL /home/mcc/execution/LTLCardinality.ltl -c -stutter-deadlock
Read 4 LTL properties
Checking formula 0 : !((G(F(!(F(G((!(F("(i5.i1.u22.p61==1)")))U("((i3.u0.p0!=0)&&(i0.u1.p4!=1))"))))))))
Formula 0 simplified : !GF!FG(!F"(i5.i1.u22.p61==1)" U "((i3.u0.p0!=0)&&(i0.u1.p4!=1))")
built 13 ordering constraints for composite.
built 5 ordering constraints for composite.
built 9 ordering constraints for composite.
built 10 ordering constraints for composite.
built 10 ordering constraints for composite.
built 9 ordering constraints for composite.
built 8 ordering constraints for composite.
built 5 ordering constraints for composite.
built 6 ordering constraints for composite.
built 7 ordering constraints for composite.
built 4 ordering constraints for composite.
built 6 ordering constraints for composite.
[2020-05-27 14:20:53] [INFO ] Computing symmetric co enabling matrix : 55 transitions.
Reverse transition relation is NOT exact ! Due to transitions t0, t1, t2, t9, t10, t39, i1.t54, i1.t53, i1.u11.t7, i1.u11.t8, i2.t45, i2.t44, i2.u8.t3, i2.u8.t4, i3.t41, i3.t40, i3.u10.t5, i3.u10.t6, i4.t30, i4.u19.t12, i4.u19.t13, i4.u19.t20, i5.i1.t38, i5.i1.u22.t16, i5.i1.u22.t17, i6.t25, i6.i0.t11, i6.i1.t26, i6.i1.u21.t14, i6.i1.u21.t15, Intersection with reachable at each step enabled. (destroyed/reverse/intersect/total) :0/13/30/43
Computing Next relation with stutter on 162 deadlock states
[2020-05-27 14:20:54] [INFO ] Computation of Finished co-enabling matrix. took 1226 ms. Total solver calls (SAT/UNSAT): 239(18/221)
[2020-05-27 14:20:54] [INFO ] Computing Do-Not-Accords matrix : 55 transitions.
[2020-05-27 14:20:54] [INFO ] Computation of Completed DNA matrix. took 3 ms. Total solver calls (SAT/UNSAT): 0(0/0)
[2020-05-27 14:20:54] [INFO ] Built C files in 1783ms 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]
Compilation finished in 1140 ms.
Running link step : CommandLine [args=[gcc, -shared, -o, gal.so, model.o], workingDir=/home/mcc/execution]
Link finished in 69 ms.
Running LTSmin : CommandLine [args=[/home/mcc/BenchKit//lts_install_dir//bin/pins2lts-mc, ./gal.so, --threads=8, -p, --pins-guards, --when, --ltl, [](<>(!( <>([]((!( <>((LTLAP0==true))) )U((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, -p, --pins-guards, --when, --ltl, [](<>(!( <>([]((!( <>((LTLAP0==true))) )U((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, -p, --pins-guards, --when, --ltl, [](<>(!( <>([]((!( <>((LTLAP0==true))) )U((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)
58 unique states visited
0 strongly connected components in search stack
58 transitions explored
56 items max in DFS search stack
421 ticks for the emptiness check
Model ,|S| ,Time ,Mem(kb) ,fin. SDD ,fin. DDD ,peak SDD ,peak DDD ,SDD Hom ,SDD cache peak ,DDD Hom ,DDD cachepeak ,SHom cache
STATS,0,4.23582,98244,1,0,142923,294,829,352178,124,1536,160604
no accepting run found
Formula 0 is TRUE no accepting run found.
FORMULA ShieldPPPs-PT-002A-04 TRUE TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL USE_NUPN
Checking formula 1 : !((G(("((i1.u11.p33==0)||(i2.u8.p23==1))")U(G("((i3.u10.p29==0)||(i3.u10.p28==1))")))))
Formula 1 simplified : !G("((i1.u11.p33==0)||(i2.u8.p23==1))" U G"((i3.u10.p29==0)||(i3.u10.p28==1))")
Computing Next relation with stutter on 162 deadlock states
41 unique states visited
41 strongly connected components in search stack
41 transitions explored
41 items max in DFS search stack
2361 ticks for the emptiness check
Model ,|S| ,Time ,Mem(kb) ,fin. SDD ,fin. DDD ,peak SDD ,peak DDD ,SDD Hom ,SDD cache peak ,DDD Hom ,DDD cachepeak ,SHom cache
STATS,0,27.8463,691276,1,0,1.04907e+06,294,895,1.35484e+06,131,1567,1133011
an accepting run exists (use option '-e' to print it)
Formula 1 is FALSE accepting run found.
FORMULA ShieldPPPs-PT-002A-05 FALSE TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL USE_NUPN
Checking formula 2 : !((((X(("((i1.u11.p32==0)||(i5.i1.u22.p63==1))")U("((i1.u11.p32!=0)&&(i5.i1.u22.p63!=1))")))&&("((i1.u6.p16==0)||(i2.u4.p11==1))"))U((F("((i1.u11.p32!=0)&&(i5.i1.u22.p63!=1))"))&&("(i4.u15.p41==1)"))))
Formula 2 simplified : !(("((i1.u6.p16==0)||(i2.u4.p11==1))" & X("((i1.u11.p32==0)||(i5.i1.u22.p63==1))" U "((i1.u11.p32!=0)&&(i5.i1.u22.p63!=1))")) U ("(i4.u15.p41==1)" & F"((i1.u11.p32!=0)&&(i5.i1.u22.p63!=1))"))
Computing Next relation with stutter on 162 deadlock states
4 unique states visited
4 strongly connected components in search stack
4 transitions explored
4 items max in DFS search stack
12677 ticks for the emptiness check
Model ,|S| ,Time ,Mem(kb) ,fin. SDD ,fin. DDD ,peak SDD ,peak DDD ,SDD Hom ,SDD cache peak ,DDD Hom ,DDD cachepeak ,SHom cache
STATS,0,154.621,2641948,1,0,3.35856e+06,294,371,5.54472e+06,81,1572,20708
an accepting run exists (use option '-e' to print it)
Formula 2 is FALSE accepting run found.
FORMULA ShieldPPPs-PT-002A-09 FALSE TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL USE_NUPN
Checking formula 3 : !((!(X(F(X(F("((i5.i1.u16.p45!=0)&&(i3.u3.p8!=1))")))))))
Formula 3 simplified : XFXF"((i5.i1.u16.p45!=0)&&(i3.u3.p8!=1))"
Computing Next relation with stutter on 162 deadlock states
5 unique states visited
5 strongly connected components in search stack
5 transitions explored
5 items max in DFS search stack
6433 ticks for the emptiness check
Model ,|S| ,Time ,Mem(kb) ,fin. SDD ,fin. DDD ,peak SDD ,peak DDD ,SDD Hom ,SDD cache peak ,DDD Hom ,DDD cachepeak ,SHom cache
STATS,0,218.942,2641948,1,0,3.35856e+06,294,614,5.54472e+06,94,1572,1282899
an accepting run exists (use option '-e' to print it)
Formula 3 is FALSE accepting run found.
FORMULA ShieldPPPs-PT-002A-11 FALSE TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL USE_NUPN
ITS tools runner thread asked to quit. Dying gracefully.

BK_STOP 1590589476874

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

+ export BINDIR=/home/mcc/BenchKit/
+ BINDIR=/home/mcc/BenchKit/
++ pwd
+ export MODEL=/home/mcc/execution
+ MODEL=/home/mcc/execution
+ [[ LTLCardinality = StateSpace ]]
+ /home/mcc/BenchKit//runeclipse.sh /home/mcc/execution LTLCardinality -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 LTLCardinality -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="ShieldPPPs-PT-002A"
export BK_EXAMINATION="LTLCardinality"
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 ShieldPPPs-PT-002A, examination is LTLCardinality"
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-159033475700409"
echo "====================================================================="
echo
echo "--------------------"
echo "preparation of the directory to be used:"

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