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

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

Execution Summary
Max Memory
Used (MB)
Time wait (ms) CPU Usage (ms) I/O Wait (ms) Computed Result Execution
Status
16241.063 3600000.00 3485314.00 147426.20 [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-162089268500496.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-S10J30, examination is StateSpace
Time confinement is 3600 seconds
Memory confinement is 16384 MBytes
Number of cores is 4
Run identifier is r159-oct2-162089268500496
=====================================================================

--------------------
preparation of the directory to be used:
/home/mcc/execution
total 27M
-rw-r--r-- 1 mcc users 87K May 5 16:58 CTLCardinality.txt
-rw-r--r-- 1 mcc users 383K May 10 09:43 CTLCardinality.xml
-rw-r--r-- 1 mcc users 1.5M May 5 16:58 CTLFireability.txt
-rw-r--r-- 1 mcc users 5.8M 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 12K Mar 28 16:28 LTLCardinality.txt
-rw-r--r-- 1 mcc users 41K Mar 28 16:28 LTLCardinality.xml
-rw-r--r-- 1 mcc users 267K Mar 28 16:28 LTLFireability.txt
-rw-r--r-- 1 mcc users 747K Mar 28 16:28 LTLFireability.xml
-rw-r--r-- 1 mcc users 7.1K Mar 27 09:44 ReachabilityCardinality.txt
-rw-r--r-- 1 mcc users 30K Mar 27 09:44 ReachabilityCardinality.xml
-rw-r--r-- 1 mcc users 32K Mar 25 12:38 ReachabilityFireability.txt
-rw-r--r-- 1 mcc users 109K Mar 25 12:38 ReachabilityFireability.xml
-rw-r--r-- 1 mcc users 3.1K Mar 22 08:13 UpperBounds.txt
-rw-r--r-- 1 mcc users 5.9K 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 1621227181225

Running Version 0
[2021-05-17 04:53:05] [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 04:53:05] [INFO ] Parsing pnml file : /home/mcc/execution/model.pnml
[2021-05-17 04:53:06] [INFO ] Load time of PNML (sax parser for PT used): 1028 ms
[2021-05-17 04:53:06] [INFO ] Transformed 664 places.
[2021-05-17 04:53:06] [INFO ] Transformed 12050 transitions.
[2021-05-17 04:53:06] [INFO ] Parsed PT model containing 664 places and 12050 transitions in 1300 ms.
Ensure Unique test removed 10110 transitions
Reduce redundant transitions removed 10110 transitions.
Starting structural reductions, iteration 0 : 664/664 places, 1940/1940 transitions.
[2021-05-17 04:53:07] [INFO ] Flow matrix only has 1931 transitions (discarded 9 similar events)
// Phase 1: matrix 1931 rows 664 cols
[2021-05-17 04:53:07] [INFO ] Computed 92 place invariants in 209 ms
[2021-05-17 04:53:10] [INFO ] Dead Transitions using invariants and state equation in 3248 ms returned [26, 71, 80, 98, 109, 122, 170, 177, 184, 202, 218, 276, 294, 295, 303, 310, 313, 314, 338, 347, 350, 358, 366, 373, 387, 389, 407, 410, 411, 421, 440, 476, 484, 485, 489, 499, 508, 511, 512, 514, 536, 537, 539, 550, 555, 557, 573, 575, 576, 587, 589, 601, 607, 610, 623, 624, 633, 634, 635, 636, 642, 652, 655, 662, 666, 667, 668, 679, 683, 688, 695, 699, 703, 709, 715, 717, 725, 727, 729, 733, 738, 741, 742, 743, 747, 749, 750, 757, 761, 767, 772, 773, 774, 775, 780, 783, 786, 789, 793, 798, 799, 801, 802, 804, 807, 809, 810, 812, 822, 833, 840, 846, 847, 849, 850, 851, 853, 855, 857, 860, 861, 866, 871, 873, 875, 880, 887, 890, 891, 907, 908, 911, 912, 914, 915, 917, 918, 919, 921, 924, 927, 928, 930, 931, 932, 937, 938, 939, 940, 949, 950, 951, 952, 953, 957, 960, 962, 963, 968, 969, 971, 972, 980, 983, 986, 987, 988, 989, 990, 991, 992, 994, 996, 998, 1001, 1004, 1006, 1009, 1011, 1012, 1019, 1023, 1025, 1029, 1032, 1033, 1041, 1042, 1045, 1048, 1049, 1053, 1058, 1059, 1062, 1063, 1065, 1066, 1067, 1071, 1075, 1077, 1080, 1082, 1083, 1084, 1085, 1090, 1091, 1094, 1095, 1097, 1099, 1100, 1103, 1104, 1107, 1108, 1111, 1114, 1116, 1120, 1122, 1123, 1125, 1126, 1128, 1131, 1132, 1134, 1136, 1137, 1138, 1139, 1140, 1141, 1142, 1143, 1145, 1150, 1157, 1160, 1165, 1166, 1167, 1169, 1172, 1174, 1178, 1180, 1184, 1185, 1187, 1188, 1190, 1199, 1203, 1206, 1208, 1213, 1214, 1215, 1216, 1218, 1220, 1224, 1225, 1227, 1229, 1232, 1236, 1237, 1238, 1239, 1243, 1246, 1251, 1252, 1254, 1255, 1257, 1259, 1260, 1261, 1264, 1266, 1267, 1268, 1269, 1271, 1272, 1273, 1276, 1280, 1284, 1285, 1287, 1290, 1293, 1295, 1297, 1299, 1300, 1301, 1305, 1309, 1310, 1313, 1314, 1316, 1317, 1318, 1320, 1321, 1322, 1326, 1328, 1329, 1330, 1331, 1333, 1334, 1339, 1341, 1342, 1344, 1345, 1347, 1348, 1349, 1350, 1351, 1352, 1354, 1356, 1358, 1359, 1362, 1364, 1365, 1366, 1369, 1372, 1374, 1377, 1378, 1379, 1380, 1381, 1383, 1386, 1388, 1389, 1390, 1395, 1397, 1398, 1400, 1401, 1402, 1403, 1404, 1406, 1407, 1408, 1409, 1411, 1412, 1415, 1417, 1419, 1420, 1421, 1426, 1427, 1429, 1431, 1432, 1434, 1435, 1445, 1446, 1449, 1451, 1452, 1454, 1455, 1458, 1459, 1461, 1462, 1463, 1465, 1467, 1469, 1470, 1471, 1472, 1473, 1475, 1479, 1481, 1482, 1485, 1486, 1489, 1492, 1493, 1498, 1500, 1502, 1503, 1505, 1507, 1508, 1509, 1510, 1511, 1514, 1515, 1516, 1518, 1520, 1521, 1522, 1523, 1524, 1527, 1533, 1534, 1537, 1538, 1540, 1543, 1545, 1546, 1547, 1548, 1549, 1550, 1551, 1552, 1553, 1556, 1557, 1561, 1564, 1565, 1566, 1567, 1568, 1570, 1571, 1572, 1573, 1576, 1577, 1578, 1579, 1583, 1584, 1586, 1595, 1598, 1600, 1601, 1607, 1611, 1612, 1617, 1618, 1619, 1620, 1622, 1623, 1624, 1625, 1626, 1627, 1629, 1631, 1632, 1634, 1635, 1638, 1641, 1642, 1645, 1647, 1652, 1655, 1658, 1660, 1662, 1664, 1666, 1667, 1669, 1670, 1673, 1675, 1676, 1679, 1680, 1681, 1682, 1683, 1685, 1688, 1690, 1692, 1694, 1700, 1702, 1703, 1706, 1708, 1709, 1710, 1711, 1713, 1714, 1715, 1718, 1719, 1724, 1728, 1729, 1732, 1734, 1735, 1736, 1737, 1744, 1747, 1752, 1754, 1757, 1764, 1766, 1768, 1770, 1771, 1772, 1774, 1775, 1779, 1783, 1784, 1785, 1788, 1790, 1794, 1795, 1797, 1798, 1799, 1801, 1806, 1807, 1808, 1809, 1812, 1813, 1817, 1818, 1819, 1821, 1822, 1825, 1830, 1831, 1836, 1838, 1839, 1840, 1841, 1843, 1845, 1847, 1849, 1853, 1854, 1861, 1863, 1865, 1866, 1873, 1880, 1881, 1883, 1888, 1890, 1893, 1896, 1898, 1899, 1900, 1906, 1908, 1909, 1910, 1912, 1913, 1916, 1918, 1920, 1923, 1925, 1926, 1928, 1933, 1934, 1935, 1939]
Found 615 dead transitions using SMT.
Drop transitions removed 615 transitions
Dead transitions reduction (with SMT) triggered by suspicious arc values removed 615 transitions :[1939, 1935, 1934, 1933, 1928, 1926, 1925, 1923, 1920, 1918, 1916, 1913, 1912, 1910, 1909, 1908, 1906, 1900, 1899, 1898, 1896, 1893, 1890, 1888, 1883, 1881, 1880, 1873, 1866, 1865, 1863, 1861, 1854, 1853, 1849, 1847, 1845, 1843, 1841, 1840, 1839, 1838, 1836, 1831, 1830, 1825, 1822, 1821, 1819, 1818, 1817, 1813, 1812, 1809, 1808, 1807, 1806, 1801, 1799, 1798, 1797, 1795, 1794, 1790, 1788, 1785, 1784, 1783, 1779, 1775, 1774, 1772, 1771, 1770, 1768, 1766, 1764, 1757, 1754, 1752, 1747, 1744, 1737, 1736, 1735, 1734, 1732, 1729, 1728, 1724, 1719, 1718, 1715, 1714, 1713, 1711, 1710, 1709, 1708, 1706, 1703, 1702, 1700, 1694, 1692, 1690, 1688, 1685, 1683, 1682, 1681, 1680, 1679, 1676, 1675, 1673, 1670, 1669, 1667, 1666, 1664, 1662, 1660, 1658, 1655, 1652, 1647, 1645, 1642, 1641, 1638, 1635, 1634, 1632, 1631, 1629, 1627, 1626, 1625, 1624, 1623, 1622, 1620, 1619, 1618, 1617, 1612, 1611, 1607, 1601, 1600, 1598, 1595, 1586, 1584, 1583, 1579, 1578, 1577, 1576, 1573, 1572, 1571, 1570, 1568, 1567, 1566, 1565, 1564, 1561, 1557, 1556, 1553, 1552, 1551, 1550, 1549, 1548, 1547, 1546, 1545, 1543, 1540, 1538, 1537, 1534, 1533, 1527, 1524, 1523, 1522, 1521, 1520, 1518, 1516, 1515, 1514, 1511, 1510, 1509, 1508, 1507, 1505, 1503, 1502, 1500, 1498, 1493, 1492, 1489, 1486, 1485, 1482, 1481, 1479, 1475, 1473, 1472, 1471, 1470, 1469, 1467, 1465, 1463, 1462, 1461, 1459, 1458, 1455, 1454, 1452, 1451, 1449, 1446, 1445, 1435, 1434, 1432, 1431, 1429, 1427, 1426, 1421, 1420, 1419, 1417, 1415, 1412, 1411, 1409, 1408, 1407, 1406, 1404, 1403, 1402, 1401, 1400, 1398, 1397, 1395, 1390, 1389, 1388, 1386, 1383, 1381, 1380, 1379, 1378, 1377, 1374, 1372, 1369, 1366, 1365, 1364, 1362, 1359, 1358, 1356, 1354, 1352, 1351, 1350, 1349, 1348, 1347, 1345, 1344, 1342, 1341, 1339, 1334, 1333, 1331, 1330, 1329, 1328, 1326, 1322, 1321, 1320, 1318, 1317, 1316, 1314, 1313, 1310, 1309, 1305, 1301, 1300, 1299, 1297, 1295, 1293, 1290, 1287, 1285, 1284, 1280, 1276, 1273, 1272, 1271, 1269, 1268, 1267, 1266, 1264, 1261, 1260, 1259, 1257, 1255, 1254, 1252, 1251, 1246, 1243, 1239, 1238, 1237, 1236, 1232, 1229, 1227, 1225, 1224, 1220, 1218, 1216, 1215, 1214, 1213, 1208, 1206, 1203, 1199, 1190, 1188, 1187, 1185, 1184, 1180, 1178, 1174, 1172, 1169, 1167, 1166, 1165, 1160, 1157, 1150, 1145, 1143, 1142, 1141, 1140, 1139, 1138, 1137, 1136, 1134, 1132, 1131, 1128, 1126, 1125, 1123, 1122, 1120, 1116, 1114, 1111, 1108, 1107, 1104, 1103, 1100, 1099, 1097, 1095, 1094, 1091, 1090, 1085, 1084, 1083, 1082, 1080, 1077, 1075, 1071, 1067, 1066, 1065, 1063, 1062, 1059, 1058, 1053, 1049, 1048, 1045, 1042, 1041, 1033, 1032, 1029, 1025, 1023, 1019, 1012, 1011, 1009, 1006, 1004, 1001, 998, 996, 994, 992, 991, 990, 989, 988, 987, 986, 983, 980, 972, 971, 969, 968, 963, 962, 960, 957, 953, 952, 951, 950, 949, 940, 939, 938, 937, 932, 931, 930, 928, 927, 924, 921, 919, 918, 917, 915, 914, 912, 911, 908, 907, 891, 890, 887, 880, 875, 873, 871, 866, 861, 860, 857, 855, 853, 851, 850, 849, 847, 846, 840, 833, 822, 812, 810, 809, 807, 804, 802, 801, 799, 798, 793, 789, 786, 783, 780, 775, 774, 773, 772, 767, 761, 757, 750, 749, 747, 743, 742, 741, 738, 733, 729, 727, 725, 717, 715, 709, 703, 699, 695, 688, 683, 679, 668, 667, 666, 662, 655, 652, 642, 636, 635, 634, 633, 624, 623, 610, 607, 601, 589, 587, 576, 575, 573, 557, 555, 550, 539, 537, 536, 514, 512, 511, 508, 499, 489, 485, 484, 476, 440, 421, 411, 410, 407, 389, 387, 373, 366, 358, 350, 347, 338, 314, 313, 310, 303, 295, 294, 276, 218, 202, 184, 177, 170, 122, 109, 98, 80, 71, 26]
[2021-05-17 04:53:10] [INFO ] Redundant transitions in 119 ms returned []
[2021-05-17 04:53:10] [INFO ] Flow matrix only has 1316 transitions (discarded 9 similar events)
// Phase 1: matrix 1316 rows 664 cols
[2021-05-17 04:53:10] [INFO ] Computed 92 place invariants in 56 ms
[2021-05-17 04:53:12] [INFO ] Dead Transitions using invariants and state equation in 1588 ms returned []
Starting structural reductions, iteration 1 : 664/664 places, 1325/1940 transitions.
[2021-05-17 04:53:12] [INFO ] Redundant transitions in 51 ms returned []
[2021-05-17 04:53:12] [INFO ] Flow matrix only has 1316 transitions (discarded 9 similar events)
// Phase 1: matrix 1316 rows 664 cols
[2021-05-17 04:53:12] [INFO ] Computed 92 place invariants in 32 ms
[2021-05-17 04:53:13] [INFO ] Dead Transitions using invariants and state equation in 1099 ms returned []
Finished structural reductions, in 2 iterations. Remains : 664/664 places, 1325/1940 transitions.
Final net has 664 places and 1325 transitions.
[2021-05-17 04:53:14] [INFO ] Flatten gal took : 282 ms
[2021-05-17 04:53:14] [INFO ] Applying decomposition
[2021-05-17 04:53:14] [INFO ] Flatten gal took : 269 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/graph1563109079151945580.txt, -o, /tmp/graph1563109079151945580.bin, -w, /tmp/graph1563109079151945580.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/graph1563109079151945580.bin, -l, -1, -v, -w, /tmp/graph1563109079151945580.weights, -q, 0, -e, 0.001], workingDir=null]
[2021-05-17 04:53:15] [INFO ] Decomposing Gal with order
[2021-05-17 04:53:15] [INFO ] Rewriting arrays to variables to allow decomposition.
[2021-05-17 04:53:15] [INFO ] Removed a total of 1291 redundant transitions.
[2021-05-17 04:53:16] [INFO ] Flatten gal took : 458 ms
[2021-05-17 04:53:16] [INFO ] Fuse similar labels procedure discarded/fused a total of 552 labels/synchronizations in 91 ms.
[2021-05-17 04:53:16] [INFO ] Time to serialize gal into /tmp/StateSpace2470936611928833395.gal : 46 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/StateSpace2470936611928833395.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/StateSpace2470936611928833395.gal -t CGAL --stats
Detected timeout of ITS tools.
[2021-05-17 05:13:22] [INFO ] Flatten gal took : 1231 ms
[2021-05-17 05:13:22] [INFO ] Time to serialize gal into /tmp/StateSpace2575345617494900176.gal : 200 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/StateSpace2575345617494900176.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/StateSpace2575345617494900176.gal -t CGAL --stats --gen-order FOLLOW
Detected timeout of ITS tools.
[2021-05-17 05:33:28] [INFO ] Flatten gal took : 1825 ms
[2021-05-17 05:33:29] [INFO ] Input system was already deterministic with 1325 transitions.
[2021-05-17 05:33:29] [INFO ] Transformed 664 places.
[2021-05-17 05:33:29] [INFO ] Transformed 1325 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:33:59] [INFO ] Time to serialize gal into /tmp/StateSpace10021620683170488656.gal : 23 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/StateSpace10021620683170488656.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/StateSpace10021620683170488656.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-S10J30"
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-S10J30, 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-162089268500496"
echo "====================================================================="
echo
echo "--------------------"
echo "preparation of the directory to be used:"

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