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

About the Execution of ITS-Tools for SquareGrid-PT-020102

Execution Summary
Max Memory
Used (MB)
Time wait (ms) CPU Usage (ms) I/O Wait (ms) Computed Result Execution
Status
374.180 3297.00 7351.00 83.50 T normal

Execution Chart

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

Trace from the execution

Formatting '/data/fko/mcc2019-input.r173-oct2-155297752900003.qcow2', fmt=qcow2 size=4294967296 backing_file=/data/fko/mcc2019-input.qcow2 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 itstools
Input is SquareGrid-PT-020102, examination is GlobalProperties
Time confinement is 3600 seconds
Memory confinement is 16384 MBytes
Number of cores is 4
Run identifier is r173-oct2-155297752900003
=====================================================================

--------------------
preparation of the directory to be used:
/home/mcc/execution
total 220K
-rw-r--r-- 1 mcc users 3.8K Feb 12 18:49 CTLCardinality.txt
-rw-r--r-- 1 mcc users 19K Feb 12 18:49 CTLCardinality.xml
-rw-r--r-- 1 mcc users 3.1K Feb 9 02:12 CTLFireability.txt
-rw-r--r-- 1 mcc users 21K Feb 9 02:12 CTLFireability.xml
-rw-r--r-- 1 mcc users 4.0K Mar 10 17:31 GenericPropertiesDefinition.xml
-rw-r--r-- 1 mcc users 107 Feb 24 15:05 GlobalProperties.txt
-rw-r--r-- 1 mcc users 345 Feb 24 15:05 GlobalProperties.xml
-rw-r--r-- 1 mcc users 2.7K Feb 5 01:38 LTLCardinality.txt
-rw-r--r-- 1 mcc users 13K Feb 5 01:38 LTLCardinality.xml
-rw-r--r-- 1 mcc users 1.9K Feb 4 22:48 LTLFireability.txt
-rw-r--r-- 1 mcc users 7.5K Feb 4 22:48 LTLFireability.xml
-rw-r--r-- 1 mcc users 4.0K Feb 4 20:42 ReachabilityCardinality.txt
-rw-r--r-- 1 mcc users 20K Feb 4 20:42 ReachabilityCardinality.xml
-rw-r--r-- 1 mcc users 3.4K Feb 1 21:03 ReachabilityFireability.txt
-rw-r--r-- 1 mcc users 20K Feb 1 21:03 ReachabilityFireability.xml
-rw-r--r-- 1 mcc users 1.7K Feb 4 22:30 UpperBounds.txt
-rw-r--r-- 1 mcc users 3.8K Feb 4 22:30 UpperBounds.xml
-rw-r--r-- 1 mcc users 6 Jan 29 09:35 equiv_col

-rw-r--r-- 1 mcc users 7 Jan 29 09:35 instance
-rw-r--r-- 1 mcc users 6 Jan 29 09:35 iscolored
-rwxr-xr-x 1 mcc users 55K 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 SquareGrid-PT-020102-GlobalProperties-0

=== Now, execution of the tool begins

BK_START 1553210793897

Working with output stream class java.io.PrintStream
Flatten gal took : 50 ms
Applied a total of 0 rules in 4 ms. Remains 68 /68 variables (removed 0) and now considering 72/72 (removed 0) transitions.
// Phase 1: matrix 72 rows 68 cols
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-ctl-linux64, --gc-threshold, 2000000, --quiet, -i, /home/mcc/execution/GlobalProperties.pnml.gal, -t, CGAL, -ctl, DEADLOCK], workingDir=/home/mcc/execution]

its-ctl command run as :

/home/mcc/BenchKit/itstools/plugins/fr.lip6.move.gal.itstools.binaries_1.0.0.201903111103/bin/its-ctl-linux64 --gc-threshold 2000000 --quiet -i /home/mcc/execution/GlobalProperties.pnml.gal -t CGAL -ctl DEADLOCK
No direction supplied, using forward translation only.
Presburger conditions satisfied. Using coverability to approximate state space in K-Induction.
// Phase 1: matrix 72 rows 68 cols
invariant :p1i_2_1 + p1il_2_1 = 1
invariant :pb1_1_1 + pb2_1_1 + pb3_1_1 + pb4_1_1 + pbl_1_1 = 6
invariant :p1i_2_2 + p1il_2_2 = 1
invariant :p1il_0 + p1il_1_2 + p1il_2_1 + p1il_2_2 + p1ol_1_1 + p1ol_1_2 + p1ol_2_1 + p1ol_2_2 + p2il_1_2 + p2il_2_2 + p2ol_1_2 + p2ol_2_2 + p3il_2_1 + p3il_2_2 + p3ol_2_1 + p3ol_2_2 + p4il_1_1 + p4il_1_2 + p4il_2_1 + p4il_2_2 + p4ol_1_1 + p4ol_1_2 + p4ol_2_1 + p4ol_2_2 + pbl_1_1 + pbl_1_2 + pbl_2_1 + pbl_2_2 = 32
invariant :p4o_2_1 + p4ol_2_1 = 1
invariant :p4i_1_2 + p4il_1_2 = 1
invariant :pb1_2_2 + pb2_2_2 + pb3_2_2 + pb4_2_2 + pbl_2_2 = 6
invariant :p4o_1_2 + p4ol_1_2 = 1
invariant :p1o_1_2 + p1ol_1_2 = 1
invariant :p4o_2_2 + p4ol_2_2 = 1
invariant :p4o_1_1 + p4ol_1_1 = 1
invariant :p3i_2_1 + p3il_2_1 = 1
invariant :p1i_0 + p1il_0 = 1
invariant :p4i_2_1 + p4il_2_1 = 1
invariant :p1o_2_2 + p1ol_2_2 = 1
invariant :pb1_2_1 + pb2_2_1 + pb3_2_1 + pb4_2_1 + pbl_2_1 = 6
invariant :pb1_1_2 + pb2_1_2 + pb3_1_2 + pb4_1_2 + pbl_1_2 = 6
invariant :p1o_2_1 + p1ol_2_1 = 1
invariant :p2i_2_2 + p2il_2_2 = 1
invariant :p1i_1_2 + -1'p1il_0 + -1'p1il_2_1 + -1'p1il_2_2 + -1'p1ol_1_1 + -1'p1ol_1_2 + -1'p1ol_2_1 + -1'p1ol_2_2 + -1'p2il_1_2 + -1'p2il_2_2 + -1'p2ol_1_2 + -1'p2ol_2_2 + -1'p3il_2_1 + -1'p3il_2_2 + -1'p3ol_2_1 + -1'p3ol_2_2 + -1'p4il_1_1 + -1'p4il_1_2 + -1'p4il_2_1 + -1'p4il_2_2 + -1'p4ol_1_1 + -1'p4ol_1_2 + -1'p4ol_2_1 + -1'p4ol_2_2 + -1'pbl_1_1 + -1'pbl_1_2 + -1'pbl_2_1 + -1'pbl_2_2 = -31
invariant :p2i_1_2 + p2il_1_2 = 1
invariant :p2o_1_2 + p2ol_1_2 = 1
invariant :p2o_2_2 + p2ol_2_2 = 1
invariant :p3i_2_2 + p3il_2_2 = 1
invariant :p1o_1_1 + p1ol_1_1 = 1
invariant :p3o_2_2 + p3ol_2_2 = 1
invariant :p4i_2_2 + p4il_2_2 = 1
invariant :p3o_2_1 + p3ol_2_1 = 1
invariant :p4i_1_1 + p4il_1_1 = 1
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,2.08542e+12,0.644887,23312,2,3270,5,111992,6,0,347,116522,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,568,1.08416,27848,2,2638,7,145637,9,1,1770,116522,2

System contains 568 deadlocks (shown below if less than --print-limit option) !
FORMULA SquareGrid-PT-020102-GlobalProperties-0 TRUE TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL
[ 568 states ] showing 10 first states
[ p3o_2_2=1 p3i_2_2=1 p2il_2_2=1 pb4_2_2=6 p4i_2_2=1 p1il_2_2=1 p2ol_2_2=1 p1ol_2_2=1 p4il_1_2=1 pbl_1_2=6 p2il_1_2=1 p2ol_1_2=1 p1il_1_2=1 p1ol_1_2=1 p4o_2_2=1 p4ol_1_2=1 pb2_2_1=6 p4il_2_1=1 p4ol_2_1=1 p1ol_2_1=1 pbl_1_1=6 p1il_2_1=1 p3il_2_1=1 p4il_1_1=1 p4ol_1_1=1 p3ol_2_1=1 p1il_0=1 p1ol_1_1=1 ]
[ p3o_2_2=1 p3i_2_2=1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l_1_1=6 p1il_2_1=1 p3il_2_1=1 p4il_1_1=1 p4ol_1_1=1 p3ol_2_1=1 p1il_0=1 p1ol_1_1=1 ]
[ p3o_2_2=1 p3i_2_2=1 pb3_2_2=1 p2il_2_2=1 pb4_2_2=5 p4i_2_2=1 p1il_2_2=1 p2ol_2_2=1 p1ol_2_2=1 p4il_1_2=1 pbl_1_2=6 p2il_1_2=1 p2ol_1_2=1 p1il_1_2=1 p1ol_1_2=1 p4o_2_2=1 p4ol_1_2=1 pb2_2_1=6 p4il_2_1=1 p4ol_2_1=1 p1ol_2_1=1 pbl_1_1=6 p1il_2_1=1 p3il_2_1=1 p4il_1_1=1 p4ol_1_1=1 p3ol_2_1=1 p1il_0=1 p1ol_1_1=1 ]
[ p3o_2_2=1 p3i_2_2=1 pb3_2_2=1 pb2_2_2=5 p2i_2_2=1 p4i_2_2=1 p1il_2_2=1 p2o_2_2=1 p1ol_2_2=1 p4il_1_2=1 pbl_1_2=6 p2il_1_2=1 p2ol_1_2=1 p1il_1_2=1 p1ol_1_2=1 p4ol_2_2=1 p4ol_1_2=1 pb2_2_1=5 p4il_2_1=1 pbl_2_1=1 p4ol_2_1=1 p1ol_2_1=1 pbl_1_1=6 p1il_2_1=1 p3il_2_1=1 p4il_1_1=1 p4ol_1_1=1 p3ol_2_1=1 p1il_0=1 p1ol_1_1=1 ]
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]
WARNING : LTS min runner thread was asked to interrupt. Dying gracefully.

BK_STOP 1553210797194

--------------------
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/ -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/ -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 21, 2019 11:26:35 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/, -smt]
Mar 21, 2019 11:26:35 PM fr.lip6.move.gal.application.MccTranslator transformPNML
INFO: Parsing pnml file : /home/mcc/execution/model.pnml
Mar 21, 2019 11:26:35 PM fr.lip6.move.gal.nupn.PTNetReader loadFromXML
INFO: Load time of PNML (sax parser for PT used): 40 ms
Mar 21, 2019 11:26:35 PM fr.lip6.move.gal.pnml.togal.PTGALTransformer handlePage
INFO: Transformed 68 places.
Mar 21, 2019 11:26:35 PM fr.lip6.move.gal.pnml.togal.PTGALTransformer handlePage
INFO: Transformed 72 transitions.
Mar 21, 2019 11:26:35 PM fr.lip6.move.serialization.SerializationUtil systemToFile
INFO: Time to serialize gal into /home/mcc/execution/model.pnml.img.gal : 7 ms
Mar 21, 2019 11:26:35 PM fr.lip6.move.gal.instantiate.PropertySimplifier evalInInitialState
WARNING: Unexpected boolean logic operator in evalInInitialState fr.lip6.move.gal.impl.EXImpl
Mar 21, 2019 11:26:35 PM fr.lip6.move.gal.instantiate.PropertySimplifier rewriteWithInitialState
INFO: Reachable property SquareGrid-PT-020102-GlobalProperties-0 is trivially true : it is verified in initial state.
Mar 21, 2019 11:26:35 PM fr.lip6.move.gal.instantiate.GALRewriter flatten
INFO: Flatten gal took : 47 ms
Mar 21, 2019 11:26:35 PM fr.lip6.move.serialization.SerializationUtil systemToFile
INFO: Time to serialize gal into /home/mcc/execution/model.pnml.simple.gal : 2 ms
Mar 21, 2019 11:26:35 PM fr.lip6.move.gal.semantics.DeterministicNextBuilder getDeterministicNext
INFO: Input system was already deterministic with 72 transitions.
Mar 21, 2019 11:26:35 PM fr.lip6.move.gal.instantiate.PropertySimplifier rewriteWithInitialState
INFO: Reachable property SquareGrid-PT-020102-GlobalProperties-0 is trivially true : it is verified in initial state.
Mar 21, 2019 11:26:35 PM fr.lip6.move.gal.instantiate.GALRewriter flatten
INFO: Flatten gal took : 18 ms
Mar 21, 2019 11:26:35 PM fr.lip6.move.serialization.SerializationUtil systemToFile
INFO: Time to serialize gal into /home/mcc/execution/GlobalProperties.pnml.gal : 1 ms
Mar 21, 2019 11:26:35 PM fr.lip6.move.gal.semantics.DeterministicNextBuilder getDeterministicNext
INFO: Input system was already deterministic with 72 transitions.
Mar 21, 2019 11:26:35 PM fr.lip6.move.gal.gal2smt.bmc.KInductionSolver computeAndDeclareInvariants
INFO: Computed 29 place invariants in 10 ms
Mar 21, 2019 11:26:36 PM fr.lip6.move.gal.gal2smt.bmc.KInductionSolver init
INFO: Proved 68 variables to be positive in 94 ms
Mar 21, 2019 11:26:36 PM fr.lip6.move.gal.gal2smt.bmc.NecessaryEnablingsolver computeAblingMatrix
INFO: Computing symmetric may disable matrix : 72 transitions.
Mar 21, 2019 11:26:36 PM fr.lip6.move.gal.gal2smt.bmc.NecessaryEnablingsolver printStats
INFO: Computation of disable matrix completed :0/72 took 0 ms. Total solver calls (SAT/UNSAT): 0(0/0)
Mar 21, 2019 11:26:36 PM fr.lip6.move.gal.gal2smt.bmc.NecessaryEnablingsolver printStats
INFO: Computation of Complete disable matrix. took 2 ms. Total solver calls (SAT/UNSAT): 0(0/0)
Mar 21, 2019 11:26:36 PM fr.lip6.move.gal.gal2smt.bmc.NecessaryEnablingsolver computeAblingMatrix
INFO: Computing symmetric may enable matrix : 72 transitions.
Mar 21, 2019 11:26:36 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 21, 2019 11:26:36 PM fr.lip6.move.gal.gal2smt.bmc.NecessaryEnablingsolver computeCoEnablingMatrix
INFO: Computing symmetric co enabling matrix : 72 transitions.
Skipping mayMatrices nes/nds SMT solver raised an exception or timeout.
java.lang.RuntimeException: SMT solver raised an exception or timeout.
at fr.lip6.move.gal.gal2smt.bmc.NecessaryEnablingsolver.computeCoEnablingMatrix(NecessaryEnablingsolver.java:480)
at fr.lip6.move.gal.gal2pins.Gal2PinsTransformerNext.printLabels(Gal2PinsTransformerNext.java:530)
at fr.lip6.move.gal.gal2pins.Gal2PinsTransformerNext.printDependencyMatrix(Gal2PinsTransformerNext.java:209)
at fr.lip6.move.gal.gal2pins.Gal2PinsTransformerNext.buildBodyFile(Gal2PinsTransformerNext.java:85)
at fr.lip6.move.gal.gal2pins.Gal2PinsTransformerNext.transform(Gal2PinsTransformerNext.java:830)
at fr.lip6.move.gal.application.LTSminRunner$1.run(LTSminRunner.java:71)
at java.lang.Thread.run(Thread.java:748)
Mar 21, 2019 11:26:37 PM fr.lip6.move.gal.gal2pins.Gal2PinsTransformerNext transform
INFO: Built C files in 1162ms conformant to PINS in folder :/home/mcc/execution

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="SquareGrid-PT-020102"
export BK_EXAMINATION="GlobalProperties"
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-3954"
echo " Executing tool itstools"
echo " Input is SquareGrid-PT-020102, 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 r173-oct2-155297752900003"
echo "====================================================================="
echo
echo "--------------------"
echo "preparation of the directory to be used:"

tar xzf /home/mcc/BenchKit/INPUTS/SquareGrid-PT-020102.tgz
mv SquareGrid-PT-020102 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 ;