About the Execution of M4M.struct for DrinkVendingMachine-PT-02
Execution Summary | |||||
Max Memory Used (MB) |
Time wait (ms) | CPU Usage (ms) | I/O Wait (ms) | Computed Result | Execution Status |
652.800 | 6727.00 | 12492.00 | 208.10 | TTFTFFTFFTFTFFTF | 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 312K
-rw-r--r-- 1 mcc users 6.1K May 15 18:54 CTLCardinality.txt
-rw-r--r-- 1 mcc users 29K May 15 18:54 CTLCardinality.xml
-rw-r--r-- 1 mcc users 8.0K May 15 18:54 CTLFireability.txt
-rw-r--r-- 1 mcc users 31K 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 6.1K May 15 18:50 GenericPropertiesVerdict.xml
-rw-r--r-- 1 mcc users 3.4K May 26 09:26 LTLCardinality.txt
-rw-r--r-- 1 mcc users 14K May 26 09:26 LTLCardinality.xml
-rw-r--r-- 1 mcc users 3.7K May 26 09:26 LTLFireability.txt
-rw-r--r-- 1 mcc users 15K May 26 09:26 LTLFireability.xml
-rw-r--r-- 1 mcc users 4.2K May 15 18:54 ReachabilityCardinality.txt
-rw-r--r-- 1 mcc users 17K May 15 18:54 ReachabilityCardinality.xml
-rw-r--r-- 1 mcc users 116 May 15 18:54 ReachabilityDeadlock.txt
-rw-r--r-- 1 mcc users 354 May 15 18:54 ReachabilityDeadlock.xml
-rw-r--r-- 1 mcc users 12K May 15 18:54 ReachabilityFireability.txt
-rw-r--r-- 1 mcc users 39K May 15 18:54 ReachabilityFireability.xml
-rw-r--r-- 1 mcc users 2.2K May 15 18:54 UpperBounds.txt
-rw-r--r-- 1 mcc users 5.0K 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 3 May 15 18:50 instance
-rw-r--r-- 1 mcc users 6 May 15 18:50 iscolored
-rw-r--r-- 1 mcc users 68K May 15 18:50 model.pnml
=====================================================================
Generated by BenchKit 2-3637
Executing tool mcc4mcc-structural
Input is DrinkVendingMachine-PT-02, examination is CTLCardinality
Time confinement is 3600 seconds
Memory confinement is 16384 MBytes
Number of cores is 4
Run identifier is r083-blw3-152649950700367
=====================================================================
--------------------
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 DrinkVendingMachine-PT-02-CTLCardinality-00
FORMULA_NAME DrinkVendingMachine-PT-02-CTLCardinality-01
FORMULA_NAME DrinkVendingMachine-PT-02-CTLCardinality-02
FORMULA_NAME DrinkVendingMachine-PT-02-CTLCardinality-03
FORMULA_NAME DrinkVendingMachine-PT-02-CTLCardinality-04
FORMULA_NAME DrinkVendingMachine-PT-02-CTLCardinality-05
FORMULA_NAME DrinkVendingMachine-PT-02-CTLCardinality-06
FORMULA_NAME DrinkVendingMachine-PT-02-CTLCardinality-07
FORMULA_NAME DrinkVendingMachine-PT-02-CTLCardinality-08
FORMULA_NAME DrinkVendingMachine-PT-02-CTLCardinality-09
FORMULA_NAME DrinkVendingMachine-PT-02-CTLCardinality-10
FORMULA_NAME DrinkVendingMachine-PT-02-CTLCardinality-11
FORMULA_NAME DrinkVendingMachine-PT-02-CTLCardinality-12
FORMULA_NAME DrinkVendingMachine-PT-02-CTLCardinality-13
FORMULA_NAME DrinkVendingMachine-PT-02-CTLCardinality-14
FORMULA_NAME DrinkVendingMachine-PT-02-CTLCardinality-15
=== Now, execution of the tool begins
BK_START 1527474566833
BK_STOP 1527474573560
--------------------
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 DrinkVendingMachine-PT-02 as instance name.
Using DrinkVendingMachine as model name.
Using algorithm or tool bmdt.
Model characteristics are: {'Examination': 'CTLCardinality', 'Place/Transition': True, 'Colored': True, 'Relative-Time': 1, 'Relative-Memory': 1, 'Ordinary': False, 'Simple Free Choice': False, 'State Machine': False, 'Marked Graph': False, 'Extended Free Choice': False, 'Connected': True, 'Strongly Connected': True, 'Source Place': False, 'Sink Place': False, 'Source Transition': False, 'Sink Transition': False, 'Loop Free': True, 'Conservative': True, 'Sub-Conservative': True, 'Nested Units': False, 'Safe': True, 'Deadlock': False, 'Reversible': True, 'Quasi Live': None, 'Live': None}.
Known tools are: [{'Time': 84, 'Memory': 103.18, 'Tool': 'gspn'}, {'Time': 157, 'Memory': 111.71, 'Tool': 'lola'}, {'Time': 263, 'Memory': 112, 'Tool': 'lola'}, {'Time': 2616, 'Memory': 155.31, 'Tool': 'gspn'}, {'Time': 8211, 'Memory': 7483.54, 'Tool': 'marcie'}, {'Time': 8239, 'Memory': 7483.47, 'Tool': 'marcie'}].
Learned tools are: [{'Tool': 'itstools'}].
CTLCardinality itstools DrinkVendingMachine-PT-02...
May 28, 2018 2:29:32 AM 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, CTLCardinality]
May 28, 2018 2:29:32 AM fr.lip6.move.gal.application.MccTranslator transformPNML
INFO: Parsing pnml file : /mcc-data/model.pnml
May 28, 2018 2:29:32 AM fr.lip6.move.gal.nupn.PTNetReader loadFromXML
INFO: Load time of PNML (sax parser for PT used): 78 ms
May 28, 2018 2:29:32 AM fr.lip6.move.gal.pnml.togal.PTGALTransformer handlePage
INFO: Transformed 24 places.
May 28, 2018 2:29:32 AM fr.lip6.move.gal.pnml.togal.PTGALTransformer handlePage
INFO: Transformed 72 transitions.
May 28, 2018 2:29:32 AM fr.lip6.move.serialization.SerializationUtil systemToFile
INFO: Time to serialize gal into /mcc-data/model.pnml.img.gal : 9 ms
May 28, 2018 2:29:32 AM fr.lip6.move.gal.instantiate.GALRewriter flatten
INFO: Flatten gal took : 79 ms
May 28, 2018 2:29:32 AM fr.lip6.move.serialization.SerializationUtil systemToFile
INFO: Time to serialize gal into /mcc-data/CTLCardinality.pnml.gal : 3 ms
May 28, 2018 2:29:32 AM fr.lip6.move.serialization.SerializationUtil serializePropertiesForITSCTLTools
INFO: Time to serialize properties into /mcc-data/CTLCardinality.ctl : 2 ms
Invoking ITS tools like this :CommandLine [args=[/usr/share/itscl/plugins/fr.lip6.move.gal.itstools.binaries_1.0.0.201804131302/bin/its-ctl-linux64, --gc-threshold, 2000000, --quiet, -i, /mcc-data/CTLCardinality.pnml.gal, -t, CGAL, -ctl, /mcc-data/CTLCardinality.ctl], workingDir=/mcc-data]
its-ctl command run as :
/usr/share/itscl/plugins/fr.lip6.move.gal.itstools.binaries_1.0.0.201804131302/bin/its-ctl-linux64 --gc-threshold 2000000 --quiet -i /mcc-data/CTLCardinality.pnml.gal -t CGAL -ctl /mcc-data/CTLCardinality.ctl
No direction supplied, using forward translation only.
Parsed 16 CTL formulae.
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,1024,0.017653,4980,2,35,5,577,6,0,174,440,0
Converting to forward existential form...Done !
original formula: ((((((((wait_1+wait_2)+wait_3)+wait_4)+wait_5)+wait_6)+wait_7)+wait_8)>=3)
=> equivalent forward existential formula: [(Init * ((((((((wait_1+wait_2)+wait_3)+wait_4)+wait_5)+wait_6)+wait_7)+wait_8)>=3))] != FALSE
(forward)formula 0,1,0.018824,5596,1,0,6,577,8,0,190,440,1
FORMULA DrinkVendingMachine-PT-02-CTLCardinality-00 TRUE TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL
Formula is TRUE !
***************************************
original formula: !(((AX(((theProducts_1+theProducts_2)<=(productSlots_1+productSlots_2))) + AG(((((((((ready_1+ready_3)+ready_2)+ready_5)+ready_4)+ready_7)+ready_6)+ready_8)>=1))) * (((!((optionSlots_1+optionSlots_2)>=3))||((optionSlots_1+optionSlots_2)>=1)) * EG(((optionSlots_1+optionSlots_2)>=2)))))
=> equivalent forward existential formula: ([(FwdU((Init * !(!(EX(!(((theProducts_1+theProducts_2)<=(productSlots_1+productSlots_2))))))),TRUE) * !(((((((((ready_1+ready_3)+ready_2)+ready_5)+ready_4)+ready_7)+ready_6)+ready_8)>=1)))] != FALSE + ([(Init * !(((!((optionSlots_1+optionSlots_2)>=3))||((optionSlots_1+optionSlots_2)>=1))))] != FALSE + [(Init * !(EG(((optionSlots_1+optionSlots_2)>=2))))] != FALSE))
Reverse transition relation is exact ! Faster fixpoint algorithm enabled.
(forward)formula 1,1,0.037884,5596,1,0,13,1304,25,4,1121,760,10
FORMULA DrinkVendingMachine-PT-02-CTLCardinality-01 TRUE TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL
Formula is TRUE !
***************************************
original formula: !(A(((theOptions_1+theOptions_2)<=(((((((ready_1+ready_3)+ready_2)+ready_5)+ready_4)+ready_7)+ready_6)+ready_8)) U !(((productSlots_1+productSlots_2)>=3))))
=> equivalent forward existential formula: ([(FwdU(Init,!(!(((productSlots_1+productSlots_2)>=3)))) * (!(((theOptions_1+theOptions_2)<=(((((((ready_1+ready_3)+ready_2)+ready_5)+ready_4)+ready_7)+ready_6)+ready_8))) * !(!(((productSlots_1+productSlots_2)>=3)))))] != FALSE + [FwdG(Init,!(!(((productSlots_1+productSlots_2)>=3))))] != FALSE)
(forward)formula 2,0,0.039885,5596,1,0,13,1314,36,4,1175,760,11
FORMULA DrinkVendingMachine-PT-02-CTLCardinality-02 FALSE TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL
Formula is FALSE !
***************************************
original formula: (EX(((!((productSlots_1+productSlots_2)>=1))&&(!((theOptions_1+theOptions_2)>=2)))) + ((!((((theProducts_1+theProducts_2)>=3)||((((((((ready_1+ready_3)+ready_2)+ready_5)+ready_4)+ready_7)+ready_6)+ready_8)>=1))&&(((theOptions_1+theOptions_2)<=(optionSlots_1+optionSlots_2))||((productSlots_1+productSlots_2)<=(((((((wait_1+wait_2)+wait_3)+wait_4)+wait_5)+wait_6)+wait_7)+wait_8)))))&&((((((((wait_1+wait_2)+wait_3)+wait_4)+wait_5)+wait_6)+wait_7)+wait_8)>=1)))
=> equivalent forward existential formula: ([(EY(Init) * ((!((productSlots_1+productSlots_2)>=1))&&(!((theOptions_1+theOptions_2)>=2))))] != FALSE + [(Init * ((!((((theProducts_1+theProducts_2)>=3)||((((((((ready_1+ready_3)+ready_2)+ready_5)+ready_4)+ready_7)+ready_6)+ready_8)>=1))&&(((theOptions_1+theOptions_2)<=(optionSlots_1+optionSlots_2))||((productSlots_1+productSlots_2)<=(((((((wait_1+wait_2)+wait_3)+wait_4)+wait_5)+wait_6)+wait_7)+wait_8)))))&&((((((((wait_1+wait_2)+wait_3)+wait_4)+wait_5)+wait_6)+wait_7)+wait_8)>=1)))] != FALSE)
(forward)formula 3,1,0.045693,5596,1,0,16,1632,38,5,1277,920,14
FORMULA DrinkVendingMachine-PT-02-CTLCardinality-03 TRUE TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL
Formula is TRUE !
***************************************
original formula: (EF(((!((theOptions_1+theOptions_2)<=(((((((wait_1+wait_2)+wait_3)+wait_4)+wait_5)+wait_6)+wait_7)+wait_8)))||((theProducts_1+theProducts_2)>=3))) + ((((optionSlots_1+optionSlots_2)<=(theProducts_1+theProducts_2))&&((!((((((((wait_1+wait_2)+wait_3)+wait_4)+wait_5)+wait_6)+wait_7)+wait_8)>=2))&&(((optionSlots_1+optionSlots_2)<=(theOptions_1+theOptions_2))||((productSlots_1+productSlots_2)>=3))))&&(((optionSlots_1+optionSlots_2)<=(productSlots_1+productSlots_2))&&((theOptions_1+theOptions_2)>=2))))
=> equivalent forward existential formula: ([(FwdU(Init,TRUE) * ((!((theOptions_1+theOptions_2)<=(((((((wait_1+wait_2)+wait_3)+wait_4)+wait_5)+wait_6)+wait_7)+wait_8)))||((theProducts_1+theProducts_2)>=3)))] != FALSE + [(Init * ((((optionSlots_1+optionSlots_2)<=(theProducts_1+theProducts_2))&&((!((((((((wait_1+wait_2)+wait_3)+wait_4)+wait_5)+wait_6)+wait_7)+wait_8)>=2))&&(((optionSlots_1+optionSlots_2)<=(theOptions_1+theOptions_2))||((productSlots_1+productSlots_2)>=3))))&&(((optionSlots_1+optionSlots_2)<=(productSlots_1+productSlots_2))&&((theOptions_1+theOptions_2)>=2))))] != FALSE)
(forward)formula 4,0,0.048806,5596,1,0,16,1632,40,5,1343,920,14
FORMULA DrinkVendingMachine-PT-02-CTLCardinality-04 FALSE TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL
Formula is FALSE !
***************************************
original formula: EX(FALSE)
=> equivalent forward existential formula: [(EY(Init) * FALSE)] != FALSE
(forward)formula 5,0,0.048855,5596,1,0,16,1632,40,5,1343,920,14
FORMULA DrinkVendingMachine-PT-02-CTLCardinality-05 FALSE TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL
Formula is FALSE !
***************************************
original formula: (EG((((theProducts_1+theProducts_2)>=3)||(((optionSlots_1+optionSlots_2)<=(productSlots_1+productSlots_2))||((theOptions_1+theOptions_2)<=(productSlots_1+productSlots_2))))) + AF(((!((((((((wait_1+wait_2)+wait_3)+wait_4)+wait_5)+wait_6)+wait_7)+wait_8)>=3))&&(((((((((wait_1+wait_2)+wait_3)+wait_4)+wait_5)+wait_6)+wait_7)+wait_8)<=(optionSlots_1+optionSlots_2))&&((productSlots_1+productSlots_2)<=(((((((ready_1+ready_3)+ready_2)+ready_5)+ready_4)+ready_7)+ready_6)+ready_8))))))
=> equivalent forward existential formula: [FwdG((Init * !(EG((((theProducts_1+theProducts_2)>=3)||(((optionSlots_1+optionSlots_2)<=(productSlots_1+productSlots_2))||((theOptions_1+theOptions_2)<=(productSlots_1+productSlots_2))))))),!(((!((((((((wait_1+wait_2)+wait_3)+wait_4)+wait_5)+wait_6)+wait_7)+wait_8)>=3))&&(((((((((wait_1+wait_2)+wait_3)+wait_4)+wait_5)+wait_6)+wait_7)+wait_8)<=(optionSlots_1+optionSlots_2))&&((productSlots_1+productSlots_2)<=(((((((ready_1+ready_3)+ready_2)+ready_5)+ready_4)+ready_7)+ready_6)+ready_8))))))] = FALSE
(forward)formula 6,1,0.056434,5596,1,0,19,1971,54,7,1517,1211,17
FORMULA DrinkVendingMachine-PT-02-CTLCardinality-06 TRUE TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL
Formula is TRUE !
***************************************
original formula: ((theOptions_1+theOptions_2)<=(optionSlots_1+optionSlots_2))
=> equivalent forward existential formula: [(Init * ((theOptions_1+theOptions_2)<=(optionSlots_1+optionSlots_2)))] != FALSE
(forward)formula 7,0,0.056818,5596,1,0,20,1971,55,7,1523,1211,18
FORMULA DrinkVendingMachine-PT-02-CTLCardinality-07 FALSE TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL
Formula is FALSE !
***************************************
original formula: EF(E((optionSlots_2>=1) U (wait_8<=ready_8)))
=> equivalent forward existential formula: [(FwdU(FwdU(Init,TRUE),(optionSlots_2>=1)) * (wait_8<=ready_8))] != FALSE
(forward)formula 8,0,0.056949,5596,1,0,20,1971,56,7,1525,1211,18
FORMULA DrinkVendingMachine-PT-02-CTLCardinality-08 FALSE TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL
Formula is FALSE !
***************************************
original formula: EG((((wait_7<=wait_1)&&(!(optionSlots_1<=ready_8)))||((!(ready_4>=2))&&((optionSlots_1>=1)||(optionSlots_1<=wait_5)))))
=> equivalent forward existential formula: [FwdG(Init,(((wait_7<=wait_1)&&(!(optionSlots_1<=ready_8)))||((!(ready_4>=2))&&((optionSlots_1>=1)||(optionSlots_1<=wait_5)))))] != FALSE
(forward)formula 9,1,0.059979,5596,1,0,20,2117,58,8,1561,1438,22
FORMULA DrinkVendingMachine-PT-02-CTLCardinality-09 TRUE TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL
Formula is TRUE !
***************************************
original formula: (ready_6>=1)
=> equivalent forward existential formula: [(Init * (ready_6>=1))] != FALSE
(forward)formula 10,0,0.060276,5596,1,0,21,2118,59,8,1561,1438,23
FORMULA DrinkVendingMachine-PT-02-CTLCardinality-10 FALSE TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL
Formula is FALSE !
***************************************
original formula: AX((ready_7<=wait_4))
=> equivalent forward existential formula: [(EY(Init) * !((ready_7<=wait_4)))] = FALSE
(forward)formula 11,1,0.060446,5596,1,0,21,2118,61,8,1564,1439,23
FORMULA DrinkVendingMachine-PT-02-CTLCardinality-11 TRUE TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL
Formula is TRUE !
***************************************
original formula: (((EX((theProducts_2>=1)) * ((ready_2>=2)||(!(wait_6<=ready_4)))) + !(((optionSlots_2>=1)&&((wait_2>=2)||(wait_7<=ready_6))))) * !(A((wait_1<=wait_4) U (wait_5<=wait_8))))
=> equivalent forward existential formula: ([(FwdU((Init * ((EX((theProducts_2>=1)) * ((ready_2>=2)||(!(wait_6<=ready_4)))) + !(((optionSlots_2>=1)&&((wait_2>=2)||(wait_7<=ready_6)))))),!((wait_5<=wait_8))) * (!((wait_1<=wait_4)) * !((wait_5<=wait_8))))] != FALSE + [FwdG((Init * ((EX((theProducts_2>=1)) * ((ready_2>=2)||(!(wait_6<=ready_4)))) + !(((optionSlots_2>=1)&&((wait_2>=2)||(wait_7<=ready_6)))))),!((wait_5<=wait_8)))] != FALSE)
(forward)formula 12,0,0.061952,5596,1,0,24,2139,76,11,1595,1517,28
FORMULA DrinkVendingMachine-PT-02-CTLCardinality-12 FALSE TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL
Formula is FALSE !
***************************************
original formula: AG((EG((ready_8>=3)) + EG((optionSlots_2>=1))))
=> equivalent forward existential formula: [((FwdU(Init,TRUE) * !(EG((optionSlots_2>=1)))) * !(EG((ready_8>=3))))] = FALSE
(forward)formula 13,0,0.063182,5596,1,0,26,2219,90,13,1603,1626,31
FORMULA DrinkVendingMachine-PT-02-CTLCardinality-13 FALSE TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL
Formula is FALSE !
***************************************
original formula: EG(((((wait_2>=3)&&(ready_8>=2))||((wait_4>=3)||(wait_7<=ready_6)))||((ready_3<=ready_1)&&(ready_7<=ready_8))))
=> equivalent forward existential formula: [FwdG(Init,((((wait_2>=3)&&(ready_8>=2))||((wait_4>=3)||(wait_7<=ready_6)))||((ready_3<=ready_1)&&(ready_7<=ready_8))))] != FALSE
Hit Full ! (commute/partial/dont) 13/0/46
(forward)formula 14,1,0.075769,5860,1,0,27,4469,97,14,1649,4329,35
FORMULA DrinkVendingMachine-PT-02-CTLCardinality-14 TRUE TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL
Formula is TRUE !
***************************************
original formula: (((ready_8>=1) * A((ready_6<=ready_3) U (ready_8<=wait_5))) * !(EF((ready_6<=theProducts_1))))
=> equivalent forward existential formula: (([(Init * !((ready_8>=1)))] = FALSE * ([(FwdU(Init,!((ready_8<=wait_5))) * (!((ready_6<=ready_3)) * !((ready_8<=wait_5))))] = FALSE * [FwdG(Init,!((ready_8<=wait_5)))] = FALSE)) * [(FwdU(Init,TRUE) * (ready_6<=theProducts_1))] = FALSE)
(forward)formula 15,0,0.07632,6124,1,0,29,4475,98,15,1652,4351,36
FORMULA DrinkVendingMachine-PT-02-CTLCardinality-15 FALSE TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL
Formula is FALSE !
***************************************
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="DrinkVendingMachine-PT-02"
export BK_EXAMINATION="CTLCardinality"
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/DrinkVendingMachine-PT-02.tgz
mv DrinkVendingMachine-PT-02 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 DrinkVendingMachine-PT-02, examination is CTLCardinality"
echo " Time confinement is $BK_TIME_CONFINEMENT seconds"
echo " Memory confinement is 16384 MBytes"
echo " Number of cores is 4"
echo " Run identifier is r083-blw3-152649950700367"
echo "====================================================================="
echo
echo "--------------------"
echo "content from stdout:"
echo
echo "=== Data for post analysis generated by BenchKit (invocation template)"
echo
if [ "CTLCardinality" = "UpperBounds" ] ; then
echo "The expected result is a vector of positive values"
echo NUM_VECTOR
elif [ "CTLCardinality" != "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 "CTLCardinality.txt" ] ; then
echo "here is the order used to build the result vector(from text file)"
for x in $(grep Property CTLCardinality.txt | cut -d ' ' -f 2 | sort -u) ; do
echo "FORMULA_NAME $x"
done
elif [ -f "CTLCardinality.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 '
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 ;