fond
Model Checking Contest 2018
8th edition, Bratislava, Slovakia, June 26, 2018
Execution of r131-smll-152673534100135
Last Updated
June 26, 2018

About the Execution of M4M.struct for PolyORBLF-PT-S02J04T06

Execution Summary
Max Memory
Used (MB)
Time wait (ms) CPU Usage (ms) I/O Wait (ms) Computed Result Execution
Status
3080.740 198458.00 211363.00 1266.70 1 1 6 2 10 2 2 0 1 1 1 1 2 1 2 1 normal

Execution Chart

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

Trace from the execution

Waiting for the VM to be ready (probing ssh)
................
/home/mcc/execution
total 1.2M
-rw-r--r-- 1 mcc users 13K May 15 18:54 CTLCardinality.txt
-rw-r--r-- 1 mcc users 45K May 15 18:54 CTLCardinality.xml
-rw-r--r-- 1 mcc users 5.1K May 15 18:54 CTLFireability.txt
-rw-r--r-- 1 mcc users 25K May 15 18:54 CTLFireability.xml
-rw-r--r-- 1 mcc users 4.0K May 15 18:50 GenericPropertiesDefinition.xml
-rw-r--r-- 1 mcc users 5.9K May 15 18:50 GenericPropertiesVerdict.xml
-rw-r--r-- 1 mcc users 4.2K May 15 18:54 LTLCardinality.txt
-rw-r--r-- 1 mcc users 15K May 15 18:54 LTLCardinality.xml
-rw-r--r-- 1 mcc users 6.6K May 15 18:54 LTLFireability.txt
-rw-r--r-- 1 mcc users 26K May 15 18:54 LTLFireability.xml
-rw-r--r-- 1 mcc users 5.9K May 15 18:54 ReachabilityCardinality.txt
-rw-r--r-- 1 mcc users 21K May 15 18:54 ReachabilityCardinality.xml
-rw-r--r-- 1 mcc users 113 May 15 18:54 ReachabilityDeadlock.txt
-rw-r--r-- 1 mcc users 351 May 15 18:54 ReachabilityDeadlock.xml
-rw-r--r-- 1 mcc users 16K May 15 18:54 ReachabilityFireability.txt
-rw-r--r-- 1 mcc users 57K May 15 18:54 ReachabilityFireability.xml
-rw-r--r-- 1 mcc users 2.1K May 15 18:54 UpperBounds.txt
-rw-r--r-- 1 mcc users 4.6K May 15 18:54 UpperBounds.xml
-rw-r--r-- 1 mcc users 5 May 15 18:50 equiv_col
-rw-r--r-- 1 mcc users 10 May 15 18:50 instance
-rw-r--r-- 1 mcc users 6 May 15 18:50 iscolored
-rw-r--r-- 1 mcc users 862K May 15 18:50 model.pnml
=====================================================================
Generated by BenchKit 2-3637
Executing tool mcc4mcc-structural
Input is PolyORBLF-PT-S02J04T06, examination is UpperBounds
Time confinement is 3600 seconds
Memory confinement is 16384 MBytes
Number of cores is 4
Run identifier is r131-smll-152673534100135
=====================================================================


--------------------
content from stdout:

=== Data for post analysis generated by BenchKit (invocation template)

The expected result is a vector of positive values
NUM_VECTOR

here is the order used to build the result vector(from text file)
FORMULA_NAME PolyORBLF-PT-S02J04T06-UpperBounds-00
FORMULA_NAME PolyORBLF-PT-S02J04T06-UpperBounds-01
FORMULA_NAME PolyORBLF-PT-S02J04T06-UpperBounds-02
FORMULA_NAME PolyORBLF-PT-S02J04T06-UpperBounds-03
FORMULA_NAME PolyORBLF-PT-S02J04T06-UpperBounds-04
FORMULA_NAME PolyORBLF-PT-S02J04T06-UpperBounds-05
FORMULA_NAME PolyORBLF-PT-S02J04T06-UpperBounds-06
FORMULA_NAME PolyORBLF-PT-S02J04T06-UpperBounds-07
FORMULA_NAME PolyORBLF-PT-S02J04T06-UpperBounds-08
FORMULA_NAME PolyORBLF-PT-S02J04T06-UpperBounds-09
FORMULA_NAME PolyORBLF-PT-S02J04T06-UpperBounds-10
FORMULA_NAME PolyORBLF-PT-S02J04T06-UpperBounds-11
FORMULA_NAME PolyORBLF-PT-S02J04T06-UpperBounds-12
FORMULA_NAME PolyORBLF-PT-S02J04T06-UpperBounds-13
FORMULA_NAME PolyORBLF-PT-S02J04T06-UpperBounds-14
FORMULA_NAME PolyORBLF-PT-S02J04T06-UpperBounds-15

=== Now, execution of the tool begins

BK_START 1526935258496


BK_STOP 1526935456954

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

Prefix is 75f5f979.
Reading known information in /usr/share/mcc4mcc/75f5f979-known.json.
Reading learned information in /usr/share/mcc4mcc/75f5f979-learned.json.
Reading value translations in /usr/share/mcc4mcc/75f5f979-values.json.
Using directory /home/mcc/execution for input, as it contains a model.pnml file.
Using PolyORBLF-PT-S02J04T06 as instance name.
Using PolyORBLF as model name.
Using algorithm or tool random-forest.
Model characteristics are: {'Examination': 'UpperBounds', 'Place/Transition': True, 'Colored': True, 'Relative-Time': 1, 'Relative-Memory': 1, 'Ordinary': False, 'Simple Free Choice': False, 'Extended Free Choice': False, 'State Machine': False, 'Marked Graph': False, 'Connected': True, 'Strongly Connected': True, 'Source Place': False, 'Sink Place': False, 'Source Transition': False, 'Sink Transition': False, 'Loop Free': False, 'Conservative': False, 'Sub-Conservative': False, 'Nested Units': False, 'Safe': False, 'Deadlock': True, 'Reversible': None, 'Quasi Live': None, 'Live': None}.
Known tools are: [{'Time': 211404, 'Memory': 2727.2, 'Tool': 'itstools'}, {'Time': 214368, 'Memory': 2701.51, 'Tool': 'itstools'}, {'Time': 1031273, 'Memory': 9080.14, 'Tool': 'marcie'}, {'Time': 1067511, 'Memory': 9080.28, 'Tool': 'marcie'}, {'Time': 1269576, 'Memory': 2694.29, 'Tool': 'gspn'}, {'Time': 1347217, 'Memory': 2656.45, 'Tool': 'gspn'}, {'Time': 3539219, 'Memory': 5655.66, 'Tool': 'lola'}, {'Time': 3540126, 'Memory': 5786.62, 'Tool': 'lola'}].
Learned tools are: [{'Tool': 'itstools'}].
Learned tool itstools is 1.0x far from the best tool itstools.
UpperBounds itstools PolyORBLF-PT-S02J04T06...
May 21, 2018 8:41:07 PM fr.lip6.move.gal.application.Application start
INFO: Running its-tools with arguments : [-z3path, /usr/bin/z3, -yices2path, /usr/bin/yices, -ltsminpath, /usr/bin, -smt, -its, -pnfolder, /mcc-data, -examination, UpperBounds]
May 21, 2018 8:41:07 PM fr.lip6.move.gal.application.MccTranslator transformPNML
INFO: Parsing pnml file : /mcc-data/model.pnml
May 21, 2018 8:41:07 PM fr.lip6.move.gal.nupn.PTNetReader loadFromXML
INFO: Load time of PNML (sax parser for PT used): 192 ms
May 21, 2018 8:41:07 PM fr.lip6.move.gal.pnml.togal.PTGALTransformer handlePage
INFO: Transformed 476 places.
May 21, 2018 8:41:08 PM fr.lip6.move.gal.pnml.togal.PTGALTransformer handlePage
INFO: Transformed 920 transitions.
May 21, 2018 8:41:08 PM fr.lip6.move.serialization.SerializationUtil systemToFile
INFO: Time to serialize gal into /mcc-data/model.pnml.img.gal : 51 ms
May 21, 2018 8:41:08 PM fr.lip6.move.gal.instantiate.GALRewriter flatten
INFO: Flatten gal took : 349 ms
May 21, 2018 8:41:08 PM fr.lip6.move.serialization.SerializationUtil systemToFile
INFO: Time to serialize gal into /mcc-data/UpperBounds.pnml.gal : 8 ms
May 21, 2018 8:41:08 PM fr.lip6.move.serialization.SerializationUtil serializePropertiesForITSTools
INFO: Time to serialize properties into /mcc-data/UpperBounds.prop : 1 ms
Invoking ITS tools like this :CommandLine [args=[/usr/share/itscl/plugins/fr.lip6.move.gal.itstools.binaries_1.0.0.201804131302/bin/its-reach-linux64, --gc-threshold, 2000000, --quiet, -i, /mcc-data/UpperBounds.pnml.gal, -t, CGAL, -reachable-file, UpperBounds.prop, --nowitness], workingDir=/mcc-data]

its-reach command run as :

/usr/share/itscl/plugins/fr.lip6.move.gal.itstools.binaries_1.0.0.201804131302/bin/its-reach-linux64 --gc-threshold 2000000 --quiet -i /mcc-data/UpperBounds.pnml.gal -t CGAL -reachable-file UpperBounds.prop --nowitness
Loading property file UpperBounds.prop.
Read [bounds] property : PolyORBLF-PT-S02J04T06-UpperBounds-00 with value :SigAbort
Read [bounds] property : PolyORBLF-PT-S02J04T06-UpperBounds-01 with value :CanInjectEvent
Read [bounds] property : PolyORBLF-PT-S02J04T06-UpperBounds-02 with value :RunB_1+RunB_6+RunB_3+RunB_2+RunB_5+RunB_4
Read [bounds] property : PolyORBLF-PT-S02J04T06-UpperBounds-03 with value :ModifiedSrc_2+ModifiedSrc_1
Read [bounds] property : PolyORBLF-PT-S02J04T06-UpperBounds-04 with value :cBlockedTasks
Read [bounds] property : PolyORBLF-PT-S02J04T06-UpperBounds-05 with value :NotifyEventJobQueuedE_1+NotifyEventJobQueuedE_2+NotifyEventJobQueuedE_3+NotifyEventJobQueuedE_6+NotifyEventJobQueuedE_4+NotifyEventJobQueuedE_5
Read [bounds] property : PolyORBLF-PT-S02J04T06-UpperBounds-06 with value :P_1113_2+P_1113_3+P_1113_4+P_1113_5+P_1113_6+P_1113_1
Read [bounds] property : PolyORBLF-PT-S02J04T06-UpperBounds-07 with value :P_1160_3+P_1160_4+P_1160_5+P_1160_6+P_1160_1+P_1160_2
Read [bounds] property : PolyORBLF-PT-S02J04T06-UpperBounds-08 with value :ProcessingEvt_6
Read [bounds] property : PolyORBLF-PT-S02J04T06-UpperBounds-09 with value :P_1617_5
Read [bounds] property : PolyORBLF-PT-S02J04T06-UpperBounds-10 with value :P_2321_1
Read [bounds] property : PolyORBLF-PT-S02J04T06-UpperBounds-11 with value :IdleTasks_5
Read [bounds] property : PolyORBLF-PT-S02J04T06-UpperBounds-12 with value :QueueJobE_3
Read [bounds] property : PolyORBLF-PT-S02J04T06-UpperBounds-13 with value :P_1727
Read [bounds] property : PolyORBLF-PT-S02J04T06-UpperBounds-14 with value :P_1113_4
Read [bounds] property : PolyORBLF-PT-S02J04T06-UpperBounds-15 with value :Try_Check_Sources_E_5
Model ,|S| ,Time ,Mem(kb) ,fin. SDD ,fin. DDD ,peak SDD ,peak DDD ,SDD Hom ,SDD cache peak ,DDD Hom ,DDD cachepeak ,SHom cache
PolyORBLF\_PT\_S02J04T06\_flat,1.40755e+08,180.026,2452348,2,302898,5,3.7669e+06,6,0,2801,4.51197e+06,0
Total reachable state count : 140754672

Verifying 16 reachability properties.
Min sum of variable value : 0
Maximum sum along a path : 1
Bounds property PolyORBLF-PT-S02J04T06-UpperBounds-00 :0 <= SigAbort <= 1
FORMULA PolyORBLF-PT-S02J04T06-UpperBounds-00 1 TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL

Model ,|S| ,Time ,Mem(kb) ,fin. SDD ,fin. DDD ,peak SDD ,peak DDD ,SDD Hom ,SDD cache peak ,DDD Hom ,DDD cachepeak ,SHom cache
PolyORBLF-PT-S02J04T06-UpperBounds-00,0,180.445,2452348,1,0,7,3.7669e+06,9,1,3586,4.51197e+06,4
Min sum of variable value : 0
Maximum sum along a path : 1
Bounds property PolyORBLF-PT-S02J04T06-UpperBounds-01 :0 <= CanInjectEvent <= 1
FORMULA PolyORBLF-PT-S02J04T06-UpperBounds-01 1 TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL

Model ,|S| ,Time ,Mem(kb) ,fin. SDD ,fin. DDD ,peak SDD ,peak DDD ,SDD Hom ,SDD cache peak ,DDD Hom ,DDD cachepeak ,SHom cache
PolyORBLF-PT-S02J04T06-UpperBounds-01,0,180.948,2452412,1,0,8,3.7669e+06,10,1,4177,4.51197e+06,5
Min sum of variable value : 0
Maximum sum along a path : 6
Bounds property PolyORBLF-PT-S02J04T06-UpperBounds-02 :0 <= RunB_1+RunB_6+RunB_3+RunB_2+RunB_5+RunB_4 <= 6
FORMULA PolyORBLF-PT-S02J04T06-UpperBounds-02 6 TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL

Model ,|S| ,Time ,Mem(kb) ,fin. SDD ,fin. DDD ,peak SDD ,peak DDD ,SDD Hom ,SDD cache peak ,DDD Hom ,DDD cachepeak ,SHom cache
PolyORBLF-PT-S02J04T06-UpperBounds-02,0,181.328,2452412,1,0,9,3.7669e+06,11,1,4601,4.51197e+06,6
Min sum of variable value : 0
Maximum sum along a path : 2
Bounds property PolyORBLF-PT-S02J04T06-UpperBounds-03 :0 <= ModifiedSrc_2+ModifiedSrc_1 <= 2
FORMULA PolyORBLF-PT-S02J04T06-UpperBounds-03 2 TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL

Model ,|S| ,Time ,Mem(kb) ,fin. SDD ,fin. DDD ,peak SDD ,peak DDD ,SDD Hom ,SDD cache peak ,DDD Hom ,DDD cachepeak ,SHom cache
PolyORBLF-PT-S02J04T06-UpperBounds-03,0,181.87,2452412,1,0,10,3.7669e+06,12,1,5423,4.51197e+06,7
Min sum of variable value : 0
Maximum sum along a path : 10
Bounds property PolyORBLF-PT-S02J04T06-UpperBounds-04 :0 <= cBlockedTasks <= 10
FORMULA PolyORBLF-PT-S02J04T06-UpperBounds-04 10 TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL

Model ,|S| ,Time ,Mem(kb) ,fin. SDD ,fin. DDD ,peak SDD ,peak DDD ,SDD Hom ,SDD cache peak ,DDD Hom ,DDD cachepeak ,SHom cache
PolyORBLF-PT-S02J04T06-UpperBounds-04,0,182.093,2452432,1,0,11,3.7669e+06,13,1,5666,4.51197e+06,8
Min sum of variable value : 0
Maximum sum along a path : 2
Bounds property PolyORBLF-PT-S02J04T06-UpperBounds-05 :0 <= NotifyEventJobQueuedE_1+NotifyEventJobQueuedE_2+NotifyEventJobQueuedE_3+NotifyEventJobQueuedE_6+NotifyEventJobQueuedE_4+NotifyEventJobQueuedE_5 <= 2
FORMULA PolyORBLF-PT-S02J04T06-UpperBounds-05 2 TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL

Model ,|S| ,Time ,Mem(kb) ,fin. SDD ,fin. DDD ,peak SDD ,peak DDD ,SDD Hom ,SDD cache peak ,DDD Hom ,DDD cachepeak ,SHom cache
PolyORBLF-PT-S02J04T06-UpperBounds-05,0,182.551,2452432,1,0,12,3.7669e+06,14,1,6114,4.51197e+06,9
Min sum of variable value : 0
Maximum sum along a path : 2
Bounds property PolyORBLF-PT-S02J04T06-UpperBounds-06 :0 <= P_1113_2+P_1113_3+P_1113_4+P_1113_5+P_1113_6+P_1113_1 <= 2
FORMULA PolyORBLF-PT-S02J04T06-UpperBounds-06 2 TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL

Model ,|S| ,Time ,Mem(kb) ,fin. SDD ,fin. DDD ,peak SDD ,peak DDD ,SDD Hom ,SDD cache peak ,DDD Hom ,DDD cachepeak ,SHom cache
PolyORBLF-PT-S02J04T06-UpperBounds-06,0,183.116,2452432,1,0,13,3.7669e+06,15,1,6804,4.51197e+06,10
Min sum of variable value : 0
Maximum sum along a path : 0
Bounds property PolyORBLF-PT-S02J04T06-UpperBounds-07 :0 <= P_1160_3+P_1160_4+P_1160_5+P_1160_6+P_1160_1+P_1160_2 <= 0
FORMULA PolyORBLF-PT-S02J04T06-UpperBounds-07 0 TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL

Model ,|S| ,Time ,Mem(kb) ,fin. SDD ,fin. DDD ,peak SDD ,peak DDD ,SDD Hom ,SDD cache peak ,DDD Hom ,DDD cachepeak ,SHom cache
PolyORBLF-PT-S02J04T06-UpperBounds-07,0,183.586,2452432,1,0,13,3.7669e+06,16,1,7538,4.51197e+06,11
Min sum of variable value : 0
Maximum sum along a path : 1
Bounds property PolyORBLF-PT-S02J04T06-UpperBounds-08 :0 <= ProcessingEvt_6 <= 1
FORMULA PolyORBLF-PT-S02J04T06-UpperBounds-08 1 TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL

Model ,|S| ,Time ,Mem(kb) ,fin. SDD ,fin. DDD ,peak SDD ,peak DDD ,SDD Hom ,SDD cache peak ,DDD Hom ,DDD cachepeak ,SHom cache
PolyORBLF-PT-S02J04T06-UpperBounds-08,0,184.091,2452432,1,0,14,3.7669e+06,17,1,8347,4.51197e+06,12
Min sum of variable value : 0
Maximum sum along a path : 1
Bounds property PolyORBLF-PT-S02J04T06-UpperBounds-09 :0 <= P_1617_5 <= 1
FORMULA PolyORBLF-PT-S02J04T06-UpperBounds-09 1 TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL

Model ,|S| ,Time ,Mem(kb) ,fin. SDD ,fin. DDD ,peak SDD ,peak DDD ,SDD Hom ,SDD cache peak ,DDD Hom ,DDD cachepeak ,SHom cache
PolyORBLF-PT-S02J04T06-UpperBounds-09,0,184.41,2452432,1,0,15,3.7669e+06,18,1,8682,4.51197e+06,13
Min sum of variable value : 0
Maximum sum along a path : 1
Bounds property PolyORBLF-PT-S02J04T06-UpperBounds-10 :0 <= P_2321_1 <= 1
FORMULA PolyORBLF-PT-S02J04T06-UpperBounds-10 1 TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL

Model ,|S| ,Time ,Mem(kb) ,fin. SDD ,fin. DDD ,peak SDD ,peak DDD ,SDD Hom ,SDD cache peak ,DDD Hom ,DDD cachepeak ,SHom cache
PolyORBLF-PT-S02J04T06-UpperBounds-10,0,184.514,2452432,1,0,16,3.7669e+06,19,1,8847,4.51197e+06,14
Min sum of variable value : 0
Maximum sum along a path : 1
Bounds property PolyORBLF-PT-S02J04T06-UpperBounds-11 :0 <= IdleTasks_5 <= 1
FORMULA PolyORBLF-PT-S02J04T06-UpperBounds-11 1 TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL

Model ,|S| ,Time ,Mem(kb) ,fin. SDD ,fin. DDD ,peak SDD ,peak DDD ,SDD Hom ,SDD cache peak ,DDD Hom ,DDD cachepeak ,SHom cache
PolyORBLF-PT-S02J04T06-UpperBounds-11,0,184.518,2452432,1,0,17,3.7669e+06,20,1,8912,4.51197e+06,15
Min sum of variable value : 0
Maximum sum along a path : 2
Bounds property PolyORBLF-PT-S02J04T06-UpperBounds-12 :0 <= QueueJobE_3 <= 2
FORMULA PolyORBLF-PT-S02J04T06-UpperBounds-12 2 TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL

Model ,|S| ,Time ,Mem(kb) ,fin. SDD ,fin. DDD ,peak SDD ,peak DDD ,SDD Hom ,SDD cache peak ,DDD Hom ,DDD cachepeak ,SHom cache
PolyORBLF-PT-S02J04T06-UpperBounds-12,0,184.894,2452432,1,0,18,3.7669e+06,21,1,9364,4.51197e+06,16
Min sum of variable value : 0
Maximum sum along a path : 1
Bounds property PolyORBLF-PT-S02J04T06-UpperBounds-13 :0 <= P_1727 <= 1
FORMULA PolyORBLF-PT-S02J04T06-UpperBounds-13 1 TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL

Model ,|S| ,Time ,Mem(kb) ,fin. SDD ,fin. DDD ,peak SDD ,peak DDD ,SDD Hom ,SDD cache peak ,DDD Hom ,DDD cachepeak ,SHom cache
PolyORBLF-PT-S02J04T06-UpperBounds-13,0,185.276,2452432,1,0,19,3.7669e+06,22,1,9835,4.51197e+06,17
Min sum of variable value : 0
Maximum sum along a path : 2
Bounds property PolyORBLF-PT-S02J04T06-UpperBounds-14 :0 <= P_1113_4 <= 2
FORMULA PolyORBLF-PT-S02J04T06-UpperBounds-14 2 TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL

Model ,|S| ,Time ,Mem(kb) ,fin. SDD ,fin. DDD ,peak SDD ,peak DDD ,SDD Hom ,SDD cache peak ,DDD Hom ,DDD cachepeak ,SHom cache
PolyORBLF-PT-S02J04T06-UpperBounds-14,0,185.926,2452432,1,0,20,3.7669e+06,23,1,10501,4.51197e+06,18
Min sum of variable value : 0
Maximum sum along a path : 1
Bounds property PolyORBLF-PT-S02J04T06-UpperBounds-15 :0 <= Try_Check_Sources_E_5 <= 1
FORMULA PolyORBLF-PT-S02J04T06-UpperBounds-15 1 TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL

Model ,|S| ,Time ,Mem(kb) ,fin. SDD ,fin. DDD ,peak SDD ,peak DDD ,SDD Hom ,SDD cache peak ,DDD Hom ,DDD cachepeak ,SHom cache
PolyORBLF-PT-S02J04T06-UpperBounds-15,0,185.976,2452432,1,0,21,3.7669e+06,24,1,10598,4.51197e+06,19

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="PolyORBLF-PT-S02J04T06"
export BK_EXAMINATION="UpperBounds"
export BK_TOOL="mcc4mcc-structural"
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

tar xzf /home/mcc/BenchKit/INPUTS/PolyORBLF-PT-S02J04T06.tgz
mv PolyORBLF-PT-S02J04T06 execution
cd execution
pwd
ls -lh

# this is for BenchKit: explicit launching of the test
echo "====================================================================="
echo " Generated by BenchKit 2-3637"
echo " Executing tool mcc4mcc-structural"
echo " Input is PolyORBLF-PT-S02J04T06, examination is UpperBounds"
echo " Time confinement is $BK_TIME_CONFINEMENT seconds"
echo " Memory confinement is 16384 MBytes"
echo " Number of cores is 4"
echo " Run identifier is r131-smll-152673534100135"
echo "====================================================================="
echo
echo "--------------------"
echo "content from stdout:"
echo
echo "=== Data for post analysis generated by BenchKit (invocation template)"
echo
if [ "UpperBounds" = "UpperBounds" ] ; then
echo "The expected result is a vector of positive values"
echo NUM_VECTOR
elif [ "UpperBounds" != "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 "UpperBounds.txt" ] ; then
echo "here is the order used to build the result vector(from text file)"
for x in $(grep Property UpperBounds.txt | cut -d ' ' -f 2 | sort -u) ; do
echo "FORMULA_NAME $x"
done
elif [ -f "UpperBounds.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 '' UpperBounds.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 ;