fond
Model Checking Contest 2021
11th edition, Paris, France, June 23, 2021
Execution of r159-oct2-162089268500504
Last Updated
Jun 28, 2021

About the Execution of ITS-Tools for PolyORBNT-PT-S10J40

Execution Summary
Max Memory
Used (MB)
Time wait (ms) CPU Usage (ms) I/O Wait (ms) Computed Result Execution
Status
16246.987 3600000.00 3358292.00 294602.10 [undef] Time out reached

Execution Chart

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

Trace from the execution

Formatting '/data/fko/mcc2021-input.r159-oct2-162089268500504.qcow2', fmt=qcow2 size=4294967296 backing_file=/data/fko/mcc2021-input.qcow2 cluster_size=65536 lazy_refcounts=off refcount_bits=16
Waiting for the VM to be ready (probing ssh)
..........................................
=====================================================================
Generated by BenchKit 2-4028
Executing tool itstools
Input is PolyORBNT-PT-S10J40, examination is StateSpace
Time confinement is 3600 seconds
Memory confinement is 16384 MBytes
Number of cores is 4
Run identifier is r159-oct2-162089268500504
=====================================================================

--------------------
preparation of the directory to be used:
/home/mcc/execution
total 26M
-rw-r--r-- 1 mcc users 128K May 5 16:58 CTLCardinality.txt
-rw-r--r-- 1 mcc users 529K May 10 09:43 CTLCardinality.xml
-rw-r--r-- 1 mcc users 884K May 5 16:58 CTLFireability.txt
-rw-r--r-- 1 mcc users 3.3M May 10 09:43 CTLFireability.xml
-rw-r--r-- 1 mcc users 4.2K May 6 14:48 GenericPropertiesDefinition.xml
-rw-r--r-- 1 mcc users 13K Mar 28 16:28 LTLCardinality.txt
-rw-r--r-- 1 mcc users 43K Mar 28 16:28 LTLCardinality.xml
-rw-r--r-- 1 mcc users 262K Mar 28 16:28 LTLFireability.txt
-rw-r--r-- 1 mcc users 817K Mar 28 16:28 LTLFireability.xml
-rw-r--r-- 1 mcc users 23K Mar 27 09:50 ReachabilityCardinality.txt
-rw-r--r-- 1 mcc users 64K Mar 27 09:49 ReachabilityCardinality.xml
-rw-r--r-- 1 mcc users 559K Mar 25 12:51 ReachabilityFireability.txt
-rw-r--r-- 1 mcc users 1.6M Mar 25 12:51 ReachabilityFireability.xml
-rw-r--r-- 1 mcc users 3.6K Mar 22 08:13 UpperBounds.txt
-rw-r--r-- 1 mcc users 7.2K Mar 22 08:13 UpperBounds.xml
-rw-r--r-- 1 mcc users 5 May 5 16:51 equiv_col
-rw-r--r-- 1 mcc users 7 May 5 16:51 instance
-rw-r--r-- 1 mcc users 6 May 5 16:51 iscolored
-rw-r--r-- 1 mcc users 18M May 5 16:51 model.pnml

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

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

no data necessary for post analysis


=== Now, execution of the tool begins

BK_START 1621227905085

Running Version 0
[2021-05-17 05:05:08] [INFO ] Running its-tools with arguments : [-pnfolder, /home/mcc/execution, -examination, StateSpace, -spotpath, /home/mcc/BenchKit/bin//..//ltlfilt, -z3path, /home/mcc/BenchKit/bin//..//z3/bin/z3, -yices2path, /home/mcc/BenchKit/bin//..//yices/bin/yices, -its, -ltsmin, -greatspnpath, /home/mcc/BenchKit/bin//..//greatspn/, -order, META, -manyOrder, -smt, -timeout, 3600]
[2021-05-17 05:05:08] [INFO ] Parsing pnml file : /home/mcc/execution/model.pnml
[2021-05-17 05:05:09] [INFO ] Load time of PNML (sax parser for PT used): 1138 ms
[2021-05-17 05:05:09] [INFO ] Transformed 854 places.
[2021-05-17 05:05:09] [INFO ] Transformed 12340 transitions.
[2021-05-17 05:05:09] [INFO ] Parsed PT model containing 854 places and 12340 transitions in 1319 ms.
Ensure Unique test removed 10110 transitions
Reduce redundant transitions removed 10110 transitions.
Starting structural reductions, iteration 0 : 854/854 places, 2230/2230 transitions.
[2021-05-17 05:05:09] [INFO ] Flow matrix only has 2221 transitions (discarded 9 similar events)
// Phase 1: matrix 2221 rows 854 cols
[2021-05-17 05:05:10] [INFO ] Computed 112 place invariants in 180 ms
[2021-05-17 05:05:12] [INFO ] Dead Transitions using invariants and state equation in 2135 ms returned []
[2021-05-17 05:05:12] [INFO ] Redundant transitions in 192 ms returned []
[2021-05-17 05:05:12] [INFO ] Flow matrix only has 2221 transitions (discarded 9 similar events)
// Phase 1: matrix 2221 rows 854 cols
[2021-05-17 05:05:12] [INFO ] Computed 112 place invariants in 237 ms
[2021-05-17 05:05:15] [INFO ] Dead Transitions using invariants and state equation in 2880 ms returned [30, 64, 110, 136, 151, 179, 240, 348, 356, 360, 365, 367, 369, 370, 389, 448, 453, 469, 473, 483, 500, 505, 512, 515, 517, 543, 560, 570, 579, 591, 597, 604, 630, 632, 639, 644, 654, 655, 657, 678, 679, 691, 694, 710, 712, 721, 730, 769, 770, 773, 774, 786, 790, 800, 833, 837, 844, 845, 847, 849, 851, 859, 867, 870, 873, 876, 877, 880, 881, 883, 891, 905, 913, 920, 927, 931, 932, 935, 939, 940, 942, 945, 947, 948, 952, 955, 957, 961, 965, 969, 970, 973, 981, 986, 987, 994, 1008, 1011, 1013, 1016, 1017, 1029, 1030, 1032, 1036, 1042, 1046, 1047, 1049, 1051, 1054, 1055, 1060, 1065, 1075, 1079, 1080, 1084, 1085, 1086, 1088, 1092, 1094, 1095, 1098, 1101, 1103, 1107, 1110, 1113, 1118, 1119, 1128, 1136, 1140, 1143, 1144, 1145, 1147, 1150, 1153, 1154, 1156, 1157, 1158, 1164, 1165, 1166, 1169, 1170, 1172, 1174, 1176, 1179, 1182, 1186, 1187, 1188, 1192, 1195, 1199, 1203, 1204, 1211, 1212, 1213, 1216, 1220, 1221, 1222, 1224, 1225, 1227, 1228, 1229, 1231, 1238, 1239, 1246, 1249, 1254, 1259, 1261, 1265, 1270, 1271, 1273, 1276, 1281, 1282, 1283, 1284, 1287, 1291, 1292, 1293, 1294, 1296, 1297, 1300, 1301, 1302, 1311, 1312, 1313, 1316, 1321, 1323, 1325, 1326, 1327, 1329, 1331, 1333, 1344, 1345, 1346, 1350, 1351, 1355, 1362, 1363, 1365, 1366, 1368, 1369, 1373, 1376, 1378, 1379, 1381, 1383, 1385, 1386, 1387, 1388, 1390, 1391, 1394, 1399, 1401, 1402, 1403, 1405, 1408, 1410, 1411, 1414, 1416, 1418, 1419, 1425, 1426, 1427, 1428, 1430, 1431, 1432, 1434, 1440, 1444, 1447, 1450, 1455, 1460, 1461, 1462, 1470, 1471, 1475, 1477, 1479, 1481, 1482, 1490, 1492, 1494, 1495, 1496, 1503, 1505, 1511, 1515, 1518, 1522, 1523, 1525, 1527, 1529, 1531, 1532, 1534, 1537, 1540, 1542, 1543, 1546, 1549, 1551, 1552, 1555, 1559, 1560, 1561, 1562, 1563, 1564, 1568, 1570, 1571, 1572, 1574, 1575, 1584, 1589, 1591, 1595, 1596, 1599, 1602, 1604, 1605, 1606, 1607, 1608, 1610, 1611, 1613, 1617, 1618, 1619, 1626, 1628, 1629, 1632, 1634, 1639, 1640, 1642, 1643, 1644, 1645, 1646, 1648, 1651, 1652, 1653, 1654, 1656, 1657, 1658, 1659, 1661, 1663, 1664, 1665, 1667, 1671, 1673, 1674, 1675, 1676, 1684, 1685, 1689, 1694, 1696, 1699, 1703, 1704, 1705, 1707, 1713, 1714, 1718, 1720, 1725, 1726, 1727, 1728, 1731, 1733, 1734, 1735, 1737, 1738, 1740, 1747, 1751, 1752, 1753, 1754, 1755, 1756, 1759, 1760, 1763, 1768, 1769, 1775, 1776, 1778, 1779, 1781, 1782, 1783, 1785, 1787, 1788, 1790, 1792, 1794, 1795, 1797, 1804, 1808, 1809, 1811, 1812, 1813, 1816, 1819, 1821, 1822, 1825, 1827, 1831, 1833, 1836, 1838, 1840, 1841, 1843, 1844, 1845, 1846, 1847, 1849, 1850, 1853, 1854, 1855, 1856, 1857, 1860, 1862, 1863, 1864, 1865, 1866, 1868, 1872, 1873, 1874, 1875, 1877, 1878, 1880, 1881, 1882, 1884, 1885, 1887, 1890, 1892, 1893, 1898, 1902, 1904, 1907, 1909, 1911, 1912, 1913, 1914, 1915, 1917, 1919, 1921, 1924, 1926, 1927, 1929, 1931, 1933, 1934, 1939, 1942, 1944, 1945, 1948, 1949, 1955, 1957, 1958, 1959, 1960, 1963, 1964, 1967, 1968, 1969, 1971, 1975, 1978, 1979, 1981, 1982, 1983, 1984, 1988, 1991, 1992, 1993, 1995, 1998, 1999, 2000, 2001, 2002, 2003, 2009, 2011, 2013, 2019, 2022, 2023, 2024, 2026, 2029, 2033, 2035, 2038, 2040, 2041, 2042, 2043, 2045, 2047, 2048, 2049, 2050, 2052, 2058, 2059, 2060, 2062, 2066, 2068, 2071, 2073, 2074, 2078, 2083, 2087, 2088, 2091, 2100, 2102, 2103, 2104, 2106, 2108, 2112, 2114, 2116, 2120, 2121, 2122, 2125, 2126, 2129, 2131, 2133, 2135, 2136, 2140, 2141, 2145, 2146, 2147, 2148, 2155, 2157, 2158, 2164, 2167, 2168, 2171, 2176, 2177, 2178, 2181, 2183, 2185, 2186, 2188, 2191, 2192, 2193, 2194, 2195, 2197, 2198, 2199, 2200, 2201, 2203, 2206, 2207, 2209, 2210, 2211, 2214, 2225]
Found 615 dead transitions using SMT.
Drop transitions removed 615 transitions
Dead transitions reduction (with SMT) removed 615 transitions :[2225, 2214, 2211, 2210, 2209, 2207, 2206, 2203, 2201, 2200, 2199, 2198, 2197, 2195, 2194, 2193, 2192, 2191, 2188, 2186, 2185, 2183, 2181, 2178, 2177, 2176, 2171, 2168, 2167, 2164, 2158, 2157, 2155, 2148, 2147, 2146, 2145, 2141, 2140, 2136, 2135, 2133, 2131, 2129, 2126, 2125, 2122, 2121, 2120, 2116, 2114, 2112, 2108, 2106, 2104, 2103, 2102, 2100, 2091, 2088, 2087, 2083, 2078, 2074, 2073, 2071, 2068, 2066, 2062, 2060, 2059, 2058, 2052, 2050, 2049, 2048, 2047, 2045, 2043, 2042, 2041, 2040, 2038, 2035, 2033, 2029, 2026, 2024, 2023, 2022, 2019, 2013, 2011, 2009, 2003, 2002, 2001, 2000, 1999, 1998, 1995, 1993, 1992, 1991, 1988, 1984, 1983, 1982, 1981, 1979, 1978, 1975, 1971, 1969, 1968, 1967, 1964, 1963, 1960, 1959, 1958, 1957, 1955, 1949, 1948, 1945, 1944, 1942, 1939, 1934, 1933, 1931, 1929, 1927, 1926, 1924, 1921, 1919, 1917, 1915, 1914, 1913, 1912, 1911, 1909, 1907, 1904, 1902, 1898, 1893, 1892, 1890, 1887, 1885, 1884, 1882, 1881, 1880, 1878, 1877, 1875, 1874, 1873, 1872, 1868, 1866, 1865, 1864, 1863, 1862, 1860, 1857, 1856, 1855, 1854, 1853, 1850, 1849, 1847, 1846, 1845, 1844, 1843, 1841, 1840, 1838, 1836, 1833, 1831, 1827, 1825, 1822, 1821, 1819, 1816, 1813, 1812, 1811, 1809, 1808, 1804, 1797, 1795, 1794, 1792, 1790, 1788, 1787, 1785, 1783, 1782, 1781, 1779, 1778, 1776, 1775, 1769, 1768, 1763, 1760, 1759, 1756, 1755, 1754, 1753, 1752, 1751, 1747, 1740, 1738, 1737, 1735, 1734, 1733, 1731, 1728, 1727, 1726, 1725, 1720, 1718, 1714, 1713, 1707, 1705, 1704, 1703, 1699, 1696, 1694, 1689, 1685, 1684, 1676, 1675, 1674, 1673, 1671, 1667, 1665, 1664, 1663, 1661, 1659, 1658, 1657, 1656, 1654, 1653, 1652, 1651, 1648, 1646, 1645, 1644, 1643, 1642, 1640, 1639, 1634, 1632, 1629, 1628, 1626, 1619, 1618, 1617, 1613, 1611, 1610, 1608, 1607, 1606, 1605, 1604, 1602, 1599, 1596, 1595, 1591, 1589, 1584, 1575, 1574, 1572, 1571, 1570, 1568, 1564, 1563, 1562, 1561, 1560, 1559, 1555, 1552, 1551, 1549, 1546, 1543, 1542, 1540, 1537, 1534, 1532, 1531, 1529, 1527, 1525, 1523, 1522, 1518, 1515, 1511, 1505, 1503, 1496, 1495, 1494, 1492, 1490, 1482, 1481, 1479, 1477, 1475, 1471, 1470, 1462, 1461, 1460, 1455, 1450, 1447, 1444, 1440, 1434, 1432, 1431, 1430, 1428, 1427, 1426, 1425, 1419, 1418, 1416, 1414, 1411, 1410, 1408, 1405, 1403, 1402, 1401, 1399, 1394, 1391, 1390, 1388, 1387, 1386, 1385, 1383, 1381, 1379, 1378, 1376, 1373, 1369, 1368, 1366, 1365, 1363, 1362, 1355, 1351, 1350, 1346, 1345, 1344, 1333, 1331, 1329, 1327, 1326, 1325, 1323, 1321, 1316, 1313, 1312, 1311, 1302, 1301, 1300, 1297, 1296, 1294, 1293, 1292, 1291, 1287, 1284, 1283, 1282, 1281, 1276, 1273, 1271, 1270, 1265, 1261, 1259, 1254, 1249, 1246, 1239, 1238, 1231, 1229, 1228, 1227, 1225, 1224, 1222, 1221, 1220, 1216, 1213, 1212, 1211, 1204, 1203, 1199, 1195, 1192, 1188, 1187, 1186, 1182, 1179, 1176, 1174, 1172, 1170, 1169, 1166, 1165, 1164, 1158, 1157, 1156, 1154, 1153, 1150, 1147, 1145, 1144, 1143, 1140, 1136, 1128, 1119, 1118, 1113, 1110, 1107, 1103, 1101, 1098, 1095, 1094, 1092, 1088, 1086, 1085, 1084, 1080, 1079, 1075, 1065, 1060, 1055, 1054, 1051, 1049, 1047, 1046, 1042, 1036, 1032, 1030, 1029, 1017, 1016, 1013, 1011, 1008, 994, 987, 986, 981, 973, 970, 969, 965, 961, 957, 955, 952, 948, 947, 945, 942, 940, 939, 935, 932, 931, 927, 920, 913, 905, 891, 883, 881, 880, 877, 876, 873, 870, 867, 859, 851, 849, 847, 845, 844, 837, 833, 800, 790, 786, 774, 773, 770, 769, 730, 721, 712, 710, 694, 691, 679, 678, 657, 655, 654, 644, 639, 632, 630, 604, 597, 591, 579, 570, 560, 543, 517, 515, 512, 505, 500, 483, 473, 469, 453, 448, 389, 370, 369, 367, 365, 360, 356, 348, 240, 179, 151, 136, 110, 64, 30]
Starting structural reductions, iteration 1 : 854/854 places, 1615/2230 transitions.
[2021-05-17 05:05:15] [INFO ] Redundant transitions in 75 ms returned []
[2021-05-17 05:05:15] [INFO ] Flow matrix only has 1606 transitions (discarded 9 similar events)
// Phase 1: matrix 1606 rows 854 cols
[2021-05-17 05:05:15] [INFO ] Computed 112 place invariants in 66 ms
[2021-05-17 05:05:17] [INFO ] Dead Transitions using invariants and state equation in 2081 ms returned []
Finished structural reductions, in 2 iterations. Remains : 854/854 places, 1615/2230 transitions.
Final net has 854 places and 1615 transitions.
[2021-05-17 05:05:17] [INFO ] Flatten gal took : 357 ms
[2021-05-17 05:05:18] [INFO ] Applying decomposition
[2021-05-17 05:05:18] [INFO ] Flatten gal took : 207 ms
Converted graph to binary with : CommandLine [args=[/home/mcc/BenchKit/itstools/plugins/fr.lip6.move.gal.louvain.binaries_1.0.0.202104292328/bin/convert-linux64, -i, /tmp/graph14368410246229314525.txt, -o, /tmp/graph14368410246229314525.bin, -w, /tmp/graph14368410246229314525.weights], workingDir=null]
Built communities with : CommandLine [args=[/home/mcc/BenchKit/itstools/plugins/fr.lip6.move.gal.louvain.binaries_1.0.0.202104292328/bin/louvain-linux64, /tmp/graph14368410246229314525.bin, -l, -1, -v, -w, /tmp/graph14368410246229314525.weights, -q, 0, -e, 0.001], workingDir=null]
[2021-05-17 05:05:18] [INFO ] Decomposing Gal with order
[2021-05-17 05:05:18] [INFO ] Rewriting arrays to variables to allow decomposition.
[2021-05-17 05:05:19] [INFO ] Removed a total of 1721 redundant transitions.
[2021-05-17 05:05:19] [INFO ] Flatten gal took : 762 ms
[2021-05-17 05:05:20] [INFO ] Fuse similar labels procedure discarded/fused a total of 410 labels/synchronizations in 99 ms.
[2021-05-17 05:05:20] [INFO ] Time to serialize gal into /tmp/StateSpace6895057782164088421.gal : 50 ms
Invoking ITS tools like this :CommandLine [args=[/home/mcc/BenchKit/itstools/plugins/fr.lip6.move.gal.itstools.binaries_1.0.0.202104292328/bin/its-reach-linux64, --gc-threshold, 2000000, --quiet, -i, /tmp/StateSpace6895057782164088421.gal, -t, CGAL, --stats], workingDir=/home/mcc/execution]

its-reach command run as :

/home/mcc/BenchKit/itstools/plugins/fr.lip6.move.gal.itstools.binaries_1.0.0.202104292328/bin/its-reach-linux64 --gc-threshold 2000000 --quiet -i /tmp/StateSpace6895057782164088421.gal -t CGAL --stats
Detected timeout of ITS tools.
[2021-05-17 05:25:25] [INFO ] Flatten gal took : 465 ms
[2021-05-17 05:25:25] [INFO ] Time to serialize gal into /tmp/StateSpace12607780763949628562.gal : 103 ms
Invoking ITS tools like this :CommandLine [args=[/home/mcc/BenchKit/itstools/plugins/fr.lip6.move.gal.itstools.binaries_1.0.0.202104292328/bin/its-reach-linux64, --gc-threshold, 2000000, --quiet, -i, /tmp/StateSpace12607780763949628562.gal, -t, CGAL, --stats, --gen-order, FOLLOW], workingDir=/home/mcc/execution]

its-reach command run as :

/home/mcc/BenchKit/itstools/plugins/fr.lip6.move.gal.itstools.binaries_1.0.0.202104292328/bin/its-reach-linux64 --gc-threshold 2000000 --quiet -i /tmp/StateSpace12607780763949628562.gal -t CGAL --stats --gen-order FOLLOW
Detected timeout of ITS tools.
[2021-05-17 05:45:33] [INFO ] Flatten gal took : 2878 ms
[2021-05-17 05:45:36] [INFO ] Input system was already deterministic with 1615 transitions.
[2021-05-17 05:45:36] [INFO ] Transformed 854 places.
[2021-05-17 05:45:36] [INFO ] Transformed 1615 transitions.
Running greatSPN : CommandLine [args=[/home/mcc/BenchKit/bin//..//greatspn//bin/pinvar, /home/mcc/execution/gspn], workingDir=/home/mcc/execution]
P-invariant computation with GreatSPN timed out. Skipping.
Running greatSPN : CommandLine [args=[/home/mcc/BenchKit/bin//..//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
[2021-05-17 05:46:06] [INFO ] Time to serialize gal into /tmp/StateSpace3312320357224093232.gal : 6 ms
Invoking ITS tools like this :CommandLine [args=[/home/mcc/BenchKit/itstools/plugins/fr.lip6.move.gal.itstools.binaries_1.0.0.202104292328/bin/its-reach-linux64, --gc-threshold, 2000000, --quiet, -i, /tmp/StateSpace3312320357224093232.gal, -t, CGAL, --stats, --load-order, /home/mcc/execution/model.ord, --gen-order, FOLLOW], workingDir=/home/mcc/execution]

its-reach command run as :

/home/mcc/BenchKit/itstools/plugins/fr.lip6.move.gal.itstools.binaries_1.0.0.202104292328/bin/its-reach-linux64 --gc-threshold 2000000 --quiet -i /tmp/StateSpace3312320357224093232.gal -t CGAL --stats --load-order /home/mcc/execution/model.ord --gen-order FOLLOW
Successfully loaded order from file /home/mcc/execution/model.ord

BK_TIME_CONFINEMENT_REACHED

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

+ export BINDIR=/home/mcc/BenchKit/bin//../
+ BINDIR=/home/mcc/BenchKit/bin//../
++ pwd
+ export MODEL=/home/mcc/execution
+ MODEL=/home/mcc/execution
+ [[ StateSpace = StateSpace ]]
+ [[ -f modelMain.xml ]]
+ /home/mcc/BenchKit/bin//..//runeclipse.sh /home/mcc/execution StateSpace -its -ltsmin -greatspnpath /home/mcc/BenchKit/bin//..//greatspn/ -order META -manyOrder -smt -timeout 3600
+ ulimit -s 65536
+ [[ -z '' ]]
+ export LTSMIN_MEM_SIZE=8589934592
+ LTSMIN_MEM_SIZE=8589934592
++ cut -d . -f 9
++ ls /home/mcc/BenchKit/bin//..//itstools/plugins/fr.lip6.move.gal.application.pnmcc_1.0.0.202104292328.jar
+ VERSION=0
+ echo 'Running Version 0'
+ /home/mcc/BenchKit/bin//..//itstools/its-tools -data /home/mcc/execution/workspace -pnfolder /home/mcc/execution -examination StateSpace -spotpath /home/mcc/BenchKit/bin//..//ltlfilt -z3path /home/mcc/BenchKit/bin//..//z3/bin/z3 -yices2path /home/mcc/BenchKit/bin//..//yices/bin/yices -its -ltsmin -greatspnpath /home/mcc/BenchKit/bin//..//greatspn/ -order META -manyOrder -smt -timeout 3600 -vmargs -Dosgi.locking=none -Declipse.stateSaveDelayInterval=-1 -Dosgi.configuration.area=/tmp/.eclipse -Xss128m -Xms40m -Xmx16000m

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="PolyORBNT-PT-S10J40"
export BK_EXAMINATION="StateSpace"
export BK_TOOL="itstools"
export BK_RESULT_DIR="/tmp/BK_RESULTS/OUTPUTS"
export BK_TIME_CONFINEMENT="3600"
export BK_MEMORY_CONFINEMENT="16384"
export BK_BIN_PATH="/home/mcc/BenchKit/bin/"

# 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-4028"
echo " Executing tool itstools"
echo " Input is PolyORBNT-PT-S10J40, examination is StateSpace"
echo " Time confinement is $BK_TIME_CONFINEMENT seconds"
echo " Memory confinement is 16384 MBytes"
echo " Number of cores is 4"
echo " Run identifier is r159-oct2-162089268500504"
echo "====================================================================="
echo
echo "--------------------"
echo "preparation of the directory to be used:"

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