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

About the Execution of ITS-Tools.M for GPPP-PT-C0100N0000000100

Execution Summary
Max Memory
Used (MB)
Time wait (ms) CPU Usage (ms) I/O Wait (ms) Computed Result Execution
Status
2549.730 237364.00 486595.00 201.60 T normal

Execution Chart

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

Trace from the execution

Formatting '/local/x2003239/mcc2019-input.r195-csrt-155246554400399.qcow2', fmt=qcow2 size=4294967296 backing_file=/local/x2003239/mcc2019-input.qcow2 encryption=off cluster_size=65536 lazy_refcounts=off refcount_bits=16
Waiting for the VM to be ready (probing ssh)
....................
=====================================================================
Generated by BenchKit 2-3954
Executing tool itstoolsm
Input is GPPP-PT-C0100N0000000100, examination is GlobalProperties
Time confinement is 3600 seconds
Memory confinement is 16384 MBytes
Number of cores is 4
Run identifier is r195-csrt-155246554400399
=====================================================================

--------------------
preparation of the directory to be used:
/home/mcc/execution
total 184K
-rw-r--r-- 1 mcc users 3.8K Feb 11 01:32 CTLCardinality.txt
-rw-r--r-- 1 mcc users 22K Feb 11 01:32 CTLCardinality.xml
-rw-r--r-- 1 mcc users 3.1K Feb 7 00:14 CTLFireability.txt
-rw-r--r-- 1 mcc users 16K Feb 7 00:14 CTLFireability.xml
-rw-r--r-- 1 mcc users 4.0K Mar 10 17:31 GenericPropertiesDefinition.xml
-rw-r--r-- 1 mcc users 111 Feb 24 15:05 GlobalProperties.txt
-rw-r--r-- 1 mcc users 349 Feb 24 15:05 GlobalProperties.xml
-rw-r--r-- 1 mcc users 2.3K Feb 4 23:53 LTLCardinality.txt
-rw-r--r-- 1 mcc users 9.5K Feb 4 23:53 LTLCardinality.xml
-rw-r--r-- 1 mcc users 2.2K Feb 4 22:35 LTLFireability.txt
-rw-r--r-- 1 mcc users 8.4K Feb 4 22:35 LTLFireability.xml
-rw-r--r-- 1 mcc users 3.6K Feb 3 08:45 ReachabilityCardinality.txt
-rw-r--r-- 1 mcc users 18K Feb 3 08:45 ReachabilityCardinality.xml
-rw-r--r-- 1 mcc users 3.2K Jan 31 01:40 ReachabilityFireability.txt
-rw-r--r-- 1 mcc users 15K Jan 31 01:40 ReachabilityFireability.xml
-rw-r--r-- 1 mcc users 1.7K Feb 4 22:20 UpperBounds.txt
-rw-r--r-- 1 mcc users 3.8K Feb 4 22:20 UpperBounds.xml
-rw-r--r-- 1 mcc users 6 Jan 29 09:34 equiv_col

-rw-r--r-- 1 mcc users 17 Jan 29 09:34 instance
-rw-r--r-- 1 mcc users 6 Jan 29 09:34 iscolored
-rw-r--r-- 1 mcc users 1 Mar 10 17:31 large_marking
-rw-r--r-- 1 mcc users 21K 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 GPPP-PT-C0100N0000000100-GlobalProperties-0

=== Now, execution of the tool begins

BK_START 1553730343691

Working with output stream class java.io.PrintStream
Flatten gal took : 77 ms
Performed 4 Post agglomeration using F-continuation condition.
Iterating post reduction 0 with 4 rules applied. Total rules applied 4 place count 33 transition count 18
Constant places removed 5 places and 0 transitions.
Performed 1 Post agglomeration using F-continuation condition.
Iterating post reduction 1 with 6 rules applied. Total rules applied 10 place count 28 transition count 17
Constant places removed 2 places and 0 transitions.
Iterating post reduction 2 with 2 rules applied. Total rules applied 12 place count 26 transition count 17
Performed 1 Post agglomeration using F-continuation condition.
Constant places removed 1 places and 0 transitions.
Iterating post reduction 3 with 1 rules applied. Total rules applied 13 place count 25 transition count 16
Performed 1 Post agglomeration using F-continuation condition.
Constant places removed 1 places and 0 transitions.
Iterating post reduction 4 with 1 rules applied. Total rules applied 14 place count 24 transition count 15
Applied a total of 14 rules in 28 ms. Remains 24 /33 variables (removed 9) and now considering 15/22 (removed 7) transitions.
Random walk for 250 k steps run took 974 ms.
// Phase 1: matrix 15 rows 24 cols
Random walk for 4 * 500 k steps run took 6691 ms.
Using solver Z3 to compute partial order matrices.
Built C files in :
/home/mcc/execution
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
Presburger conditions satisfied. Using coverability to approximate state space in K-Induction.
// Phase 1: matrix 15 rows 24 cols
invariant :ATP + Ru5P + Xu5P + R5P + S7P + GAP + E4P + F6P + G6P + _1_3_BPG + -1'Pyr + -1'Lac = 400
invariant :28'Ru5P + 21'Xu5P + 1428'R5P + 1435'S7P + 14'GAP + 21'E4P + 28'F6P + 28'G6P + 16'_1_3_BPG + 16'PEP + 16'Pyr + 16'Lac + 28'Gluc + -7'a2 + 2'c2 = 11200
invariant :NADplus + _1_3_BPG + PEP + Pyr = 200
invariant :NADH + -1'_1_3_BPG + -1'PEP + -1'Pyr = 0
invariant :Pi + _1_3_BPG + PEP + Pyr + Lac = 700
invariant :2'Ru5P + -1051'Xu5P + 210602'R5P + 209851'S7P + -300'GAP + 151'E4P + -600'F6P + 2'b2 + -1053'a2 + 300'c2 = 0
invariant :-1'Ru5P + -1'Xu5P + -1'R5P + -1'S7P + -1'GAP + -1'E4P + -1'F6P + -1'G6P + -1'_1_3_BPG + ADP + Pyr + Lac = 700
invariant :a1 + a2 = 200
invariant :c1 + c2 = 700
invariant :-2'Ru5P + 1051'Xu5P + -210602'R5P + -209851'S7P + 300'GAP + -151'E4P + 600'F6P + 2'b1 + 1053'a2 + -300'c2 = 600
Invoking ITS tools like this :CommandLine [args=[/home/mcc/BenchKit/itstools/plugins/fr.lip6.move.gal.itstools.binaries_1.0.0.201903251645/bin/its-ctl-linux64, --gc-threshold, 2000000, --quiet, -i, /home/mcc/execution/GlobalProperties.pnml.gal, -t, CGAL, -ctl, DEADLOCK, --load-order, /home/mcc/execution/model.ord], workingDir=/home/mcc/execution]

its-ctl command run as :

/home/mcc/BenchKit/itstools/plugins/fr.lip6.move.gal.itstools.binaries_1.0.0.201903251645/bin/its-ctl-linux64 --gc-threshold 2000000 --quiet -i /home/mcc/execution/GlobalProperties.pnml.gal -t CGAL -ctl DEADLOCK --load-order /home/mcc/execution/model.ord
Successfully loaded order from file /home/mcc/execution/model.ord
No direction supplied, using forward translation only.
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 785 ms.
Running link step : CommandLine [args=[gcc, -shared, -o, gal.so, model.o], workingDir=/home/mcc/execution]
Link finished in 68 ms.
Running LTSmin : CommandLine [args=[/home/mcc/BenchKit//lts_install_dir//bin/pins2lts-mc, ./gal.so, --threads=8, -p, --pins-guards, --when, -d], 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, -p, --pins-guards, --when, -d], workingDir=/home/mcc/execution]
255
Model ,|S| ,Time ,Mem(kb) ,fin. SDD ,fin. DDD ,peak SDD ,peak DDD ,SDD Hom ,SDD cache peak ,DDD Hom ,DDD cachepeak ,SHom cache
reachable,9.78212e+09,80.3154,811944,2,499038,5,5.37241e+06,6,0,118,5.05846e+06,0


Model ,|S| ,Time ,Mem(kb) ,fin. SDD ,fin. DDD ,peak SDD ,peak DDD ,SDD Hom ,SDD cache peak ,DDD Hom ,DDD cachepeak ,SHom cache
dead,1,176.574,1458272,2,25,7,6.58534e+06,9,1,4526,5.05846e+06,2

System contains 1 deadlocks (shown below if less than --print-limit option) !
FORMULA GPPP-PT-C0100N0000000100-GlobalProperties-0 TRUE TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL
[ ADP=1084 NADplus=200 Lac=10 ATP=16 c1=10 Pi=690 c2=690 S7P=1 b1=98 b2=202 Xu5P=393 a2=4 a1=196 ]

BK_STOP 1553730581055

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

+ export BINDIR=/home/mcc/BenchKit/
+ BINDIR=/home/mcc/BenchKit/
++ pwd
+ export MODEL=/home/mcc/execution
+ MODEL=/home/mcc/execution
+ [[ GlobalProperties = StateSpace ]]
+ /home/mcc/BenchKit//runeclipse.sh /home/mcc/execution GlobalProperties -its -ltsminpath /home/mcc/BenchKit//lts_install_dir/ -greatspnpath /home/mcc/BenchKit//greatspn/ -order META -manyOrder -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 GlobalProperties -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 -vmargs -Dosgi.locking=none -Declipse.stateSaveDelayInterval=-1 -Dosgi.configuration.area=/tmp/.eclipse -Xss8m -Xms40m -Xmx8192m -Dfile.encoding=UTF-8 -Dosgi.requiredJavaVersion=1.6
Mar 27, 2019 11:45:47 PM fr.lip6.move.gal.application.Application start
INFO: Running its-tools with arguments : [-pnfolder, /home/mcc/execution, -examination, GlobalProperties, -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]
Mar 27, 2019 11:45:47 PM fr.lip6.move.gal.application.MccTranslator transformPNML
INFO: Parsing pnml file : /home/mcc/execution/model.pnml
Mar 27, 2019 11:45:47 PM fr.lip6.move.gal.nupn.PTNetReader loadFromXML
INFO: Load time of PNML (sax parser for PT used): 31 ms
Mar 27, 2019 11:45:47 PM fr.lip6.move.gal.pnml.togal.PTGALTransformer handlePage
INFO: Transformed 33 places.
Mar 27, 2019 11:45:47 PM fr.lip6.move.gal.pnml.togal.PTGALTransformer handlePage
INFO: Transformed 22 transitions.
Mar 27, 2019 11:45:47 PM fr.lip6.move.serialization.SerializationUtil systemToFile
INFO: Time to serialize gal into /home/mcc/execution/model.pnml.img.gal : 6 ms
Mar 27, 2019 11:45:47 PM fr.lip6.move.gal.instantiate.PropertySimplifier evalInInitialState
WARNING: Unexpected boolean logic operator in evalInInitialState fr.lip6.move.gal.impl.EXImpl
Mar 27, 2019 11:45:47 PM fr.lip6.move.gal.instantiate.PropertySimplifier rewriteWithInitialState
INFO: Reachable property GPPP-PT-C0100N0000000100-GlobalProperties-0 is trivially true : it is verified in initial state.
Mar 27, 2019 11:45:47 PM fr.lip6.move.gal.instantiate.GALRewriter flatten
INFO: Flatten gal took : 74 ms
Mar 27, 2019 11:45:47 PM fr.lip6.move.serialization.SerializationUtil systemToFile
INFO: Time to serialize gal into /home/mcc/execution/model.pnml.simple.gal : 2 ms
Mar 27, 2019 11:45:47 PM fr.lip6.move.gal.semantics.DeterministicNextBuilder getDeterministicNext
INFO: Input system was already deterministic with 22 transitions.
Mar 27, 2019 11:45:59 PM fr.lip6.move.gal.instantiate.PropertySimplifier rewriteWithInitialState
INFO: Reachable property GPPP-PT-C0100N0000000100-GlobalProperties-0 is trivially true : it is verified in initial state.
Mar 27, 2019 11:45:59 PM fr.lip6.move.gal.instantiate.GALRewriter flatten
INFO: Flatten gal took : 7 ms
Mar 27, 2019 11:45:59 PM fr.lip6.move.gal.semantics.DeterministicNextBuilder getDeterministicNext
INFO: Input system was already deterministic with 15 transitions.
Mar 27, 2019 11:45:59 PM fr.lip6.move.gal.application.StructuralToGreatSPN handlePage
INFO: Transformed 24 places.
Mar 27, 2019 11:45:59 PM fr.lip6.move.gal.application.StructuralToGreatSPN handlePage
INFO: Transformed 15 transitions.
Mar 27, 2019 11:45:59 PM fr.lip6.move.gal.semantics.DeterministicNextBuilder getDeterministicNext
INFO: Input system was already deterministic with 15 transitions.
Mar 27, 2019 11:45:59 PM fr.lip6.move.serialization.SerializationUtil systemToFile
INFO: Time to serialize gal into /home/mcc/execution/GlobalProperties.pnml.gal : 1 ms
Mar 27, 2019 11:45:59 PM fr.lip6.move.gal.gal2smt.bmc.KInductionSolver computeAndDeclareInvariants
INFO: Computed 10 place invariants in 39 ms
Mar 27, 2019 11:45:59 PM fr.lip6.move.gal.gal2smt.bmc.KInductionSolver init
INFO: Proved 24 variables to be positive in 412 ms
Mar 27, 2019 11:45:59 PM fr.lip6.move.gal.gal2smt.bmc.NecessaryEnablingsolver computeAblingMatrix
INFO: Computing symmetric may disable matrix : 15 transitions.
Mar 27, 2019 11:45:59 PM fr.lip6.move.gal.gal2smt.bmc.NecessaryEnablingsolver printStats
INFO: Computation of disable matrix completed :0/15 took 0 ms. Total solver calls (SAT/UNSAT): 0(0/0)
Mar 27, 2019 11:45:59 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 27, 2019 11:45:59 PM fr.lip6.move.gal.gal2smt.bmc.NecessaryEnablingsolver computeAblingMatrix
INFO: Computing symmetric may enable matrix : 15 transitions.
Mar 27, 2019 11:45:59 PM fr.lip6.move.gal.gal2smt.bmc.NecessaryEnablingsolver printStats
INFO: Computation of Complete enable matrix. took 1 ms. Total solver calls (SAT/UNSAT): 0(0/0)
Mar 27, 2019 11:45:59 PM fr.lip6.move.gal.gal2smt.bmc.NecessaryEnablingsolver computeCoEnablingMatrix
INFO: Computing symmetric co enabling matrix : 15 transitions.
Mar 27, 2019 11:46:02 PM fr.lip6.move.gal.gal2smt.bmc.NecessaryEnablingsolver printStats
INFO: Computation of Finished co-enabling matrix. took 2592 ms. Total solver calls (SAT/UNSAT): 105(91/14)
Mar 27, 2019 11:46:02 PM fr.lip6.move.gal.gal2smt.bmc.NecessaryEnablingsolver computeDoNotAccord
INFO: Computing Do-Not-Accords matrix : 15 transitions.
Mar 27, 2019 11:46:04 PM fr.lip6.move.gal.gal2smt.bmc.NecessaryEnablingsolver printStats
INFO: Computation of Completed DNA matrix. took 1611 ms. Total solver calls (SAT/UNSAT): 28(0/28)
Mar 27, 2019 11:46:04 PM fr.lip6.move.gal.gal2pins.Gal2PinsTransformerNext transform
INFO: Built C files in 4936ms conformant to PINS in folder :/home/mcc/execution
pins2lts-mc, 0.001: Registering PINS so language module
pins2lts-mc( 0/ 8), 0.016: Loading model from ./gal.so
pins2lts-mc( 1/ 8), 0.013: library has no initializer
pins2lts-mc( 1/ 8), 0.013: loading model GAL
pins2lts-mc( 3/ 8), 0.013: library has no initializer
pins2lts-mc( 3/ 8), 0.013: loading model GAL
pins2lts-mc( 3/ 8), 0.014: completed loading model GAL
pins2lts-mc( 2/ 8), 0.014: library has no initializer
pins2lts-mc( 2/ 8), 0.014: loading model GAL
pins2lts-mc( 2/ 8), 0.015: completed loading model GAL
pins2lts-mc( 0/ 8), 0.023: library has no initializer
pins2lts-mc( 0/ 8), 0.023: loading model GAL
pins2lts-mc( 0/ 8), 0.023: completed loading model GAL
pins2lts-mc( 0/ 8), 0.023: Initializing POR dependencies: labels 16, guards 15
pins2lts-mc( 4/ 8), 0.020: library has no initializer
pins2lts-mc( 4/ 8), 0.020: loading model GAL
pins2lts-mc( 4/ 8), 0.020: completed loading model GAL
pins2lts-mc( 5/ 8), 0.020: library has no initializer
pins2lts-mc( 5/ 8), 0.020: loading model GAL
pins2lts-mc( 5/ 8), 0.020: completed loading model GAL
pins2lts-mc( 6/ 8), 0.020: library has no initializer
pins2lts-mc( 6/ 8), 0.020: loading model GAL
pins2lts-mc( 6/ 8), 0.020: completed loading model GAL
pins2lts-mc( 1/ 8), 0.021: completed loading model GAL
pins2lts-mc( 7/ 8), 0.021: library has no initializer
pins2lts-mc( 7/ 8), 0.021: loading model GAL
pins2lts-mc( 7/ 8), 0.021: completed loading model GAL
pins2lts-mc( 0/ 8), 0.096: There are 16 state labels and 1 edge labels
pins2lts-mc( 0/ 8), 0.096: State length is 24, there are 15 groups
pins2lts-mc( 0/ 8), 0.096: Running bfs using 8 cores
pins2lts-mc( 0/ 8), 0.096: Using a non-indexing tree table with 2^27 elements
pins2lts-mc( 0/ 8), 0.096: Successor permutation: none
pins2lts-mc( 0/ 8), 0.096: Visible groups: 0 / 15, labels: 0 / 16
pins2lts-mc( 0/ 8), 0.096: POR cycle proviso: none
pins2lts-mc( 0/ 8), 0.096: Global bits: 0, count bits: 0, local bits: 0
pins2lts-mc( 0/ 8), 0.106: ~17 levels ~960 states ~1760 transitions
pins2lts-mc( 0/ 8), 1.364: ~21 levels ~1920 states ~3608 transitions
pins2lts-mc( 1/ 8), 1.486: ~14 levels ~3840 states ~7528 transitions
pins2lts-mc( 1/ 8), 1.677: ~20 levels ~7680 states ~14872 transitions
pins2lts-mc( 1/ 8), 2.159: ~26 levels ~15360 states ~30040 transitions
pins2lts-mc( 3/ 8), 2.871: ~36 levels ~30720 states ~50320 transitions
pins2lts-mc( 3/ 8), 3.764: ~48 levels ~61440 states ~99568 transitions
pins2lts-mc( 3/ 8), 5.037: ~71 levels ~122880 states ~197280 transitions
pins2lts-mc( 3/ 8), 6.883: ~103 levels ~245760 states ~396976 transitions
pins2lts-mc( 1/ 8), 9.403: ~141 levels ~491520 states ~909928 transitions
pins2lts-mc( 1/ 8), 12.259: ~195 levels ~983040 states ~1808272 transitions
pins2lts-mc( 5/ 8), 15.667: ~280 levels ~1966080 states ~3383584 transitions
pins2lts-mc( 5/ 8), 20.190: ~400 levels ~3932160 states ~6802704 transitions
pins2lts-mc( 0/ 8), 27.958: ~575 levels ~7864320 states ~14464072 transitions
pins2lts-mc( 2/ 8), 76.739: Error: tree leafs table full! Change -s/--ratio.
pins2lts-mc( 0/ 8), 76.961:
pins2lts-mc( 0/ 8), 76.961: mean standard work distribution: 3.9% (states) 3.5% (transitions)
pins2lts-mc( 0/ 8), 76.962:
pins2lts-mc( 0/ 8), 76.962: Explored 14487552 states 26115950 transitions, fanout: 1.803
pins2lts-mc( 0/ 8), 76.962: Total exploration time 76.820 sec (76.670 sec minimum, 76.754 sec on average)
pins2lts-mc( 0/ 8), 76.962: States per second: 188591, Transitions per second: 339963
pins2lts-mc( 0/ 8), 76.962:
pins2lts-mc( 0/ 8), 76.962: Queue width: 8B, total height: 33258, memory: 0.25MB
pins2lts-mc( 0/ 8), 76.962: Tree memory: 366.6MB, 26.5 B/state, compr.: 27.0%
pins2lts-mc( 0/ 8), 76.962: Tree fill ratio (roots/leafs): 10.0%/99.0%
pins2lts-mc( 0/ 8), 76.962: Stored 15 string chucks using 0MB
pins2lts-mc( 0/ 8), 76.962: Total memory used for chunk indexing: 0MB
pins2lts-mc( 0/ 8), 76.962: Est. total memory use: 366.9MB (~1024.3MB 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, -p, --pins-guards, --when, -d], workingDir=/home/mcc/execution]
255
at fr.lip6.move.gal.application.LTSminRunner.checkProperty(LTSminRunner.java:168)
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="GPPP-PT-C0100N0000000100"
export BK_EXAMINATION="GlobalProperties"
export BK_TOOL="itstoolsm"
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-3954"
echo " Executing tool itstoolsm"
echo " Input is GPPP-PT-C0100N0000000100, examination is GlobalProperties"
echo " Time confinement is $BK_TIME_CONFINEMENT seconds"
echo " Memory confinement is 16384 MBytes"
echo " Number of cores is 4"
echo " Run identifier is r195-csrt-155246554400399"
echo "====================================================================="
echo
echo "--------------------"
echo "preparation of the directory to be used:"

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