fond
Model Checking Contest 2019
9th edition, Prague, Czech Republic, April 7, 2019 (TOOLympics)
Execution of r030-smll-155225127000349
Last Updated
Apr 15, 2019

About the Execution of ITS-Tools for ClientsAndServers-PT-N0050P0

Execution Summary
Max Memory
Used (MB)
Time wait (ms) CPU Usage (ms) I/O Wait (ms) Computed Result Execution
Status
9423.280 3600000.00 4218846.00 10663.90 TFFT???????????? normal

Execution Chart

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

Trace from the execution

Formatting '/data/fkordon/mcc2019-input.r030-smll-155225127000349.qcow2', fmt=qcow2 size=4294967296 backing_file='/data/fkordon/mcc2019-input.qcow2' encryption=off cluster_size=65536 lazy_refcounts=off
Waiting for the VM to be ready (probing ssh)
.....................
=====================================================================
Generated by BenchKit 2-3957
Executing tool itstools
Input is ClientsAndServers-PT-N0050P0, examination is LTLFireability
Time confinement is 3600 seconds
Memory confinement is 16384 MBytes
Number of cores is 4
Run identifier is r030-smll-155225127000349
=====================================================================

--------------------
preparation of the directory to be used:
/home/mcc/execution
total 176K
-rw-r--r-- 1 mcc users 3.6K Feb 9 08:37 CTLCardinality.txt
-rw-r--r-- 1 mcc users 20K Feb 9 08:37 CTLCardinality.xml
-rw-r--r-- 1 mcc users 2.3K Feb 5 07:22 CTLFireability.txt
-rw-r--r-- 1 mcc users 14K Feb 5 07:22 CTLFireability.xml
-rw-r--r-- 1 mcc users 4.0K Mar 10 17:31 GenericPropertiesDefinition.xml
-rw-r--r-- 1 mcc users 6.2K Mar 10 17:31 GenericPropertiesVerdict.xml
-rw-r--r-- 1 mcc users 115 Feb 24 15:05 GlobalProperties.txt
-rw-r--r-- 1 mcc users 353 Feb 24 15:05 GlobalProperties.xml
-rw-r--r-- 1 mcc users 2.5K Feb 4 23:09 LTLCardinality.txt
-rw-r--r-- 1 mcc users 11K Feb 4 23:09 LTLCardinality.xml
-rw-r--r-- 1 mcc users 2.0K Feb 4 22:33 LTLFireability.txt
-rw-r--r-- 1 mcc users 9.0K Feb 4 22:33 LTLFireability.xml
-rw-r--r-- 1 mcc users 3.7K Feb 2 01:47 ReachabilityCardinality.txt
-rw-r--r-- 1 mcc users 19K Feb 2 01:47 ReachabilityCardinality.xml
-rw-r--r-- 1 mcc users 3.0K Jan 29 15:27 ReachabilityFireability.txt
-rw-r--r-- 1 mcc users 19K Jan 29 15:27 ReachabilityFireability.xml
-rw-r--r-- 1 mcc users 1.8K Feb 4 22:18 UpperBounds.txt
-rw-r--r-- 1 mcc users 3.8K Feb 4 22:18 UpperBounds.xml

-rw-r--r-- 1 mcc users 6 Jan 29 09:34 equiv_col
-rw-r--r-- 1 mcc users 8 Jan 29 09:34 instance
-rw-r--r-- 1 mcc users 6 Jan 29 09:34 iscolored
-rw-r--r-- 1 mcc users 9.2K Mar 10 17:31 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 ClientsAndServers-PT-N0050P0-LTLFireability-00
FORMULA_NAME ClientsAndServers-PT-N0050P0-LTLFireability-01
FORMULA_NAME ClientsAndServers-PT-N0050P0-LTLFireability-02
FORMULA_NAME ClientsAndServers-PT-N0050P0-LTLFireability-03
FORMULA_NAME ClientsAndServers-PT-N0050P0-LTLFireability-04
FORMULA_NAME ClientsAndServers-PT-N0050P0-LTLFireability-05
FORMULA_NAME ClientsAndServers-PT-N0050P0-LTLFireability-06
FORMULA_NAME ClientsAndServers-PT-N0050P0-LTLFireability-07
FORMULA_NAME ClientsAndServers-PT-N0050P0-LTLFireability-08
FORMULA_NAME ClientsAndServers-PT-N0050P0-LTLFireability-09
FORMULA_NAME ClientsAndServers-PT-N0050P0-LTLFireability-10
FORMULA_NAME ClientsAndServers-PT-N0050P0-LTLFireability-11
FORMULA_NAME ClientsAndServers-PT-N0050P0-LTLFireability-12
FORMULA_NAME ClientsAndServers-PT-N0050P0-LTLFireability-13
FORMULA_NAME ClientsAndServers-PT-N0050P0-LTLFireability-14
FORMULA_NAME ClientsAndServers-PT-N0050P0-LTLFireability-15

=== Now, execution of the tool begins

BK_START 1552678628143

Working with output stream class java.io.PrintStream
Using solver Z3 to compute partial order matrices.
Built C files in :
/home/mcc/execution
Invoking ITS tools like this :CommandLine [args=[/home/mcc/BenchKit/itstools/plugins/fr.lip6.move.gal.itstools.binaries_1.0.0.201903111103/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.201903111103/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 16 LTL properties
Checking formula 0 : !((X(F(X(X(F("(StR>=1)")))))))
Formula 0 simplified : !XFXXF"(StR>=1)"
Presburger conditions satisfied. Using coverability to approximate state space in K-Induction.
// Phase 1: matrix 18 rows 25 cols
invariant :Uf + SF + CF + -1'CR + MtF + SG + MpG + -1'Si + -2'StR + -2'SwG + -1'SpG + -1'SwA + -1'SpA + Cb + CwG = 100
invariant :SA + SF + -1'MpG + -1'MwU + -1'Mi + -1'SwA = -150
invariant :CG + CR + StR + SwG + SpG + -1'CwG = 0
invariant :CwA + Cb + CwG + Ci = 400
invariant :StF + Si + StR + SwG + SpG + SwA + SpA = 100
invariant :SR + SG + MpG + MwU + -1'SwG = 0
invariant :CA + CF + -1'Si + -1'StR + -1'SwG + -1'SpG + Cb + CwG + Ci = 300
invariant :MpA + MtF + MpG + MwU + Mi = 150
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 752 ms.
Running link step : CommandLine [args=[gcc, -shared, -o, gal.so, model.o], workingDir=/home/mcc/execution]
Link finished in 55 ms.
Running LTSmin : CommandLine [args=[/home/mcc/BenchKit//lts_install_dir//bin/pins2lts-mc, ./gal.so, --threads=8, --when, --ltl, X(<>(X(X(<>((LTLAP0==true)))))), --buchi-type=spotba], workingDir=/home/mcc/execution]
LTSmin run took 1447 ms.
FORMULA ClientsAndServers-PT-N0050P0-LTLFireability-00 TRUE TECHNIQUES PARTIAL_ORDER EXPLICIT LTSMIN SAT_SMT
Running LTSmin : CommandLine [args=[/home/mcc/BenchKit//lts_install_dir//bin/pins2lts-mc, ./gal.so, --threads=8, -p, --pins-guards, --when, --ltl, (LTLAP1==true), --buchi-type=spotba], workingDir=/home/mcc/execution]
LTSmin run took 226 ms.
FORMULA ClientsAndServers-PT-N0050P0-LTLFireability-01 FALSE TECHNIQUES PARTIAL_ORDER EXPLICIT LTSMIN SAT_SMT
Running LTSmin : CommandLine [args=[/home/mcc/BenchKit//lts_install_dir//bin/pins2lts-mc, ./gal.so, --threads=8, -p, --pins-guards, --when, --ltl, (LTLAP2==true), --buchi-type=spotba], workingDir=/home/mcc/execution]
LTSmin run took 306 ms.
FORMULA ClientsAndServers-PT-N0050P0-LTLFireability-02 FALSE TECHNIQUES PARTIAL_ORDER EXPLICIT LTSMIN SAT_SMT
Running LTSmin : CommandLine [args=[/home/mcc/BenchKit//lts_install_dir//bin/pins2lts-mc, ./gal.so, --threads=8, --when, --ltl, X(<>((LTLAP3==true))), --buchi-type=spotba], workingDir=/home/mcc/execution]
LTSmin run took 146 ms.
FORMULA ClientsAndServers-PT-N0050P0-LTLFireability-03 TRUE TECHNIQUES PARTIAL_ORDER EXPLICIT LTSMIN SAT_SMT
Running LTSmin : CommandLine [args=[/home/mcc/BenchKit//lts_install_dir//bin/pins2lts-mc, ./gal.so, --threads=8, --when, --ltl, <>((<>(<>((LTLAP4==true))))U(<>(X((LTLAP2==true))))), --buchi-type=spotba], workingDir=/home/mcc/execution]
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, <>((<>(<>((LTLAP4==true))))U(<>(X((LTLAP2==true))))), --buchi-type=spotba], workingDir=/home/mcc/execution]
255

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/ -smt
+ 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/ -smt -vmargs -Dosgi.locking=none -Declipse.stateSaveDelayInterval=-1 -Dosgi.configuration.area=/tmp/.eclipse -Xss8m -Xms40m -Xmx8192m -Dfile.encoding=UTF-8 -Dosgi.requiredJavaVersion=1.6
Mar 15, 2019 7:37:10 PM fr.lip6.move.gal.application.Application start
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/, -smt]
Mar 15, 2019 7:37:10 PM fr.lip6.move.gal.application.MccTranslator transformPNML
INFO: Parsing pnml file : /home/mcc/execution/model.pnml
Mar 15, 2019 7:37:10 PM fr.lip6.move.gal.nupn.PTNetReader loadFromXML
INFO: Load time of PNML (sax parser for PT used): 32 ms
Mar 15, 2019 7:37:10 PM fr.lip6.move.gal.pnml.togal.PTGALTransformer handlePage
INFO: Transformed 25 places.
Mar 15, 2019 7:37:10 PM fr.lip6.move.gal.pnml.togal.PTGALTransformer handlePage
INFO: Transformed 18 transitions.
Mar 15, 2019 7:37:10 PM fr.lip6.move.serialization.SerializationUtil systemToFile
INFO: Time to serialize gal into /home/mcc/execution/model.pnml.img.gal : 8 ms
Mar 15, 2019 7:37:11 PM fr.lip6.move.gal.instantiate.GALRewriter flatten
INFO: Flatten gal took : 27 ms
Mar 15, 2019 7:37:11 PM fr.lip6.move.serialization.SerializationUtil systemToFile
INFO: Time to serialize gal into /home/mcc/execution/LTLFireability.pnml.gal : 2 ms
Mar 15, 2019 7:37:11 PM fr.lip6.move.serialization.SerializationUtil serializePropertiesForITSLTLTools
INFO: Time to serialize properties into /home/mcc/execution/LTLFireability.ltl : 1 ms
Mar 15, 2019 7:37:11 PM fr.lip6.move.gal.semantics.DeterministicNextBuilder getDeterministicNext
INFO: Input system was already deterministic with 18 transitions.
Mar 15, 2019 7:37:11 PM fr.lip6.move.gal.gal2smt.bmc.KInductionSolver computeAndDeclareInvariants
INFO: Computed 8 place invariants in 11 ms
Mar 15, 2019 7:37:11 PM fr.lip6.move.gal.gal2smt.bmc.KInductionSolver init
INFO: Proved 25 variables to be positive in 103 ms
Mar 15, 2019 7:37:11 PM fr.lip6.move.gal.gal2smt.bmc.NecessaryEnablingsolver computeAblingMatrix
INFO: Computing symmetric may disable matrix : 18 transitions.
Mar 15, 2019 7:37:11 PM fr.lip6.move.gal.gal2smt.bmc.NecessaryEnablingsolver printStats
INFO: Computation of disable matrix completed :0/18 took 0 ms. Total solver calls (SAT/UNSAT): 0(0/0)
Mar 15, 2019 7:37:11 PM fr.lip6.move.gal.gal2smt.bmc.NecessaryEnablingsolver printStats
INFO: Computation of Complete disable matrix. took 1 ms. Total solver calls (SAT/UNSAT): 0(0/0)
Mar 15, 2019 7:37:11 PM fr.lip6.move.gal.gal2smt.bmc.NecessaryEnablingsolver computeAblingMatrix
INFO: Computing symmetric may enable matrix : 18 transitions.
Mar 15, 2019 7:37:11 PM fr.lip6.move.gal.gal2smt.bmc.NecessaryEnablingsolver printStats
INFO: Computation of Complete enable matrix. took 0 ms. Total solver calls (SAT/UNSAT): 0(0/0)
Mar 15, 2019 7:37:11 PM fr.lip6.move.gal.gal2smt.bmc.NecessaryEnablingsolver computeCoEnablingMatrix
INFO: Computing symmetric co enabling matrix : 18 transitions.
Mar 15, 2019 7:37:12 PM fr.lip6.move.gal.gal2smt.bmc.NecessaryEnablingsolver printStats
INFO: Computation of Finished co-enabling matrix. took 505 ms. Total solver calls (SAT/UNSAT): 111(111/0)
Mar 15, 2019 7:37:12 PM fr.lip6.move.gal.gal2smt.bmc.NecessaryEnablingsolver computeDoNotAccord
INFO: Computing Do-Not-Accords matrix : 18 transitions.
Mar 15, 2019 7:37:12 PM fr.lip6.move.gal.gal2smt.bmc.NecessaryEnablingsolver printStats
INFO: Computation of Completed DNA matrix. took 297 ms. Total solver calls (SAT/UNSAT): 33(0/33)
Mar 15, 2019 7:37:12 PM fr.lip6.move.gal.gal2pins.Gal2PinsTransformerNext transform
INFO: Built C files in 1562ms conformant to PINS in folder :/home/mcc/execution
pins2lts-mc, 0.000: Registering PINS so language module
pins2lts-mc( 2/ 8), 0.001: library has no initializer
pins2lts-mc( 2/ 8), 0.001: loading model GAL
pins2lts-mc( 2/ 8), 0.002: completed loading model GAL
pins2lts-mc( 2/ 8), 0.002: LTL layer: formula: <>((<>(<>((LTLAP4==true))))U(<>(X((LTLAP2==true)))))
pins2lts-mc( 2/ 8), 0.002: "<>((<>(<>((LTLAP4==true))))U(<>(X((LTLAP2==true)))))" is not a file, parsing as formula...
pins2lts-mc( 2/ 8), 0.002: Using Spin LTL semantics
pins2lts-mc( 3/ 8), 0.005: library has no initializer
pins2lts-mc( 3/ 8), 0.005: loading model GAL
pins2lts-mc( 4/ 8), 0.005: library has no initializer
pins2lts-mc( 4/ 8), 0.005: loading model GAL
pins2lts-mc( 3/ 8), 0.005: completed loading model GAL
pins2lts-mc( 4/ 8), 0.005: completed loading model GAL
pins2lts-mc( 1/ 8), 0.005: library has no initializer
pins2lts-mc( 0/ 8), 0.005: Loading model from ./gal.so
pins2lts-mc( 1/ 8), 0.005: loading model GAL
pins2lts-mc( 0/ 8), 0.005: library has no initializer
pins2lts-mc( 0/ 8), 0.005: loading model GAL
pins2lts-mc( 1/ 8), 0.006: completed loading model GAL
pins2lts-mc( 0/ 8), 0.006: completed loading model GAL
pins2lts-mc( 7/ 8), 0.005: library has no initializer
pins2lts-mc( 7/ 8), 0.005: loading model GAL
pins2lts-mc( 5/ 8), 0.005: library has no initializer
pins2lts-mc( 5/ 8), 0.005: loading model GAL
pins2lts-mc( 7/ 8), 0.005: completed loading model GAL
pins2lts-mc( 6/ 8), 0.004: library has no initializer
pins2lts-mc( 6/ 8), 0.004: loading model GAL
pins2lts-mc( 6/ 8), 0.005: completed loading model GAL
pins2lts-mc( 5/ 8), 0.005: completed loading model GAL
pins2lts-mc( 0/ 8), 0.012: Weak Buchi automaton detected, adding non-accepting as progress label.
pins2lts-mc( 0/ 8), 0.149: DFS-FIFO for weak LTL, using special progress label 32
pins2lts-mc( 0/ 8), 0.149: There are 33 state labels and 1 edge labels
pins2lts-mc( 0/ 8), 0.149: State length is 26, there are 20 groups
pins2lts-mc( 0/ 8), 0.149: Running dfsfifo using 8 cores
pins2lts-mc( 0/ 8), 0.149: Using a tree table with 2^27 elements
pins2lts-mc( 0/ 8), 0.149: Successor permutation: rr
pins2lts-mc( 0/ 8), 0.149: Global bits: 2, count bits: 0, local bits: 0
pins2lts-mc( 2/ 8), 0.254: ~119 levels ~960 states ~7288 transitions
pins2lts-mc( 2/ 8), 0.376: ~229 levels ~1920 states ~15928 transitions
pins2lts-mc( 2/ 8), 0.622: ~454 levels ~3840 states ~36832 transitions
pins2lts-mc( 1/ 8), 0.949: ~881 levels ~7680 states ~68360 transitions
pins2lts-mc( 1/ 8), 1.255: ~1753 levels ~15360 states ~135552 transitions
pins2lts-mc( 4/ 8), 1.332: ~1971 levels ~30720 states ~164400 transitions
pins2lts-mc( 6/ 8), 1.483: ~1917 levels ~61440 states ~214648 transitions
pins2lts-mc( 7/ 8), 1.719: ~2285 levels ~122880 states ~328224 transitions
pins2lts-mc( 7/ 8), 2.073: ~2496 levels ~245760 states ~621280 transitions
pins2lts-mc( 7/ 8), 2.723: ~2500 levels ~491520 states ~1261960 transitions
pins2lts-mc( 7/ 8), 3.548: ~2500 levels ~983040 states ~2461704 transitions
pins2lts-mc( 7/ 8), 4.638: ~2500 levels ~1966080 states ~4831136 transitions
pins2lts-mc( 3/ 8), 6.563: ~2501 levels ~3932160 states ~9253728 transitions
pins2lts-mc( 7/ 8), 10.722: ~2500 levels ~7864320 states ~19096616 transitions
pins2lts-mc( 3/ 8), 19.827: ~2501 levels ~15728640 states ~37324192 transitions
pins2lts-mc( 3/ 8), 38.360: ~2501 levels ~31457280 states ~75441616 transitions
pins2lts-mc( 3/ 8), 78.604: ~2501 levels ~62914560 states ~152933960 transitions
pins2lts-mc( 3/ 8), 179.479: ~2501 levels ~125829120 states ~308785552 transitions
pins2lts-mc( 3/ 8), 198.814: Error: tree leafs table full! Change -s/--ratio.
pins2lts-mc( 0/ 8), 198.869:
pins2lts-mc( 0/ 8), 198.869: mean standard work distribution: 2.7% (states) 1.5% (transitions)
pins2lts-mc( 0/ 8), 198.869:
pins2lts-mc( 0/ 8), 198.869: Explored 119751578 states 316280730 transitions, fanout: 2.641
pins2lts-mc( 0/ 8), 198.869: Total exploration time 198.710 sec (198.660 sec minimum, 198.681 sec on average)
pins2lts-mc( 0/ 8), 198.869: States per second: 602645, Transitions per second: 1591670
pins2lts-mc( 0/ 8), 198.869:
pins2lts-mc( 0/ 8), 198.869: Progress states detected: 0
pins2lts-mc( 0/ 8), 198.869: Redundant explorations: 11.4151
pins2lts-mc( 0/ 8), 198.869:
pins2lts-mc( 0/ 8), 198.869: Queue width: 8B, total height: 19951, memory: 0.15MB
pins2lts-mc( 0/ 8), 198.869: Tree memory: 1076.0MB, 10.5 B/state, compr.: 9.9%
pins2lts-mc( 0/ 8), 198.869: Tree fill ratio (roots/leafs): 80.0%/99.0%
pins2lts-mc( 0/ 8), 198.869: Stored 18 string chucks using 0MB
pins2lts-mc( 0/ 8), 198.869: Total memory used for chunk indexing: 0MB
pins2lts-mc( 0/ 8), 198.869: Est. total memory use: 1076.2MB (~1024.2MB paged-in)
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, <>((<>(<>((LTLAP4==true))))U(<>(X((LTLAP2==true))))), --buchi-type=spotba], workingDir=/home/mcc/execution]
255
at fr.lip6.move.gal.application.LTSminRunner.checkProperty(LTSminRunner.java:167)
at fr.lip6.move.gal.application.LTSminRunner.access$9(LTSminRunner.java:122)
at fr.lip6.move.gal.application.LTSminRunner$1.run(LTSminRunner.java:91)
at java.lang.Thread.run(Thread.java:748)

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="ClientsAndServers-PT-N0050P0"
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-3957"
echo " Executing tool itstools"
echo " Input is ClientsAndServers-PT-N0050P0, 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 r030-smll-155225127000349"
echo "====================================================================="
echo
echo "--------------------"
echo "preparation of the directory to be used:"

tar xzf /home/mcc/BenchKit/INPUTS/ClientsAndServers-PT-N0050P0.tgz
mv ClientsAndServers-PT-N0050P0 execution
cd execution
if [ "LTLFireability" = "GlobalProperties" ] ; then
rm -f GenericPropertiesVerdict.xml
fi
if [ "LTLFireability" = "UpperBounds" ] ; 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
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 ;