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

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

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

--------------------
preparation of the directory to be used:
/home/mcc/execution
total 488K
-rw-r--r-- 1 mcc users 17K May 5 16:58 CTLCardinality.txt
-rw-r--r-- 1 mcc users 120K May 10 09:43 CTLCardinality.xml
-rw-r--r-- 1 mcc users 14K May 5 16:58 CTLFireability.txt
-rw-r--r-- 1 mcc users 97K 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 4.1K Mar 28 16:28 LTLCardinality.txt
-rw-r--r-- 1 mcc users 27K Mar 28 16:28 LTLCardinality.xml
-rw-r--r-- 1 mcc users 2.2K Mar 28 16:28 LTLFireability.txt
-rw-r--r-- 1 mcc users 15K Mar 28 16:28 LTLFireability.xml
-rw-r--r-- 1 mcc users 4.6K Mar 27 09:44 ReachabilityCardinality.txt
-rw-r--r-- 1 mcc users 22K Mar 27 09:41 ReachabilityCardinality.xml
-rw-r--r-- 1 mcc users 2.7K Mar 25 12:38 ReachabilityFireability.txt
-rw-r--r-- 1 mcc users 14K Mar 25 12:35 ReachabilityFireability.xml
-rw-r--r-- 1 mcc users 1.8K Mar 22 08:13 UpperBounds.txt
-rw-r--r-- 1 mcc users 3.8K Mar 22 08:13 UpperBounds.xml
-rw-r--r-- 1 mcc users 5 May 5 16:51 equiv_pt
-rw-r--r-- 1 mcc users 7 May 5 16:51 instance
-rw-r--r-- 1 mcc users 5 May 5 16:51 iscolored
-rw-r--r-- 1 mcc users 93K 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 1621217124050

Running Version 0
[2021-05-17 02:05:26] [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 02:05:26] [INFO ] Parsing pnml file : /home/mcc/execution/model.pnml
[2021-05-17 02:05:27] [INFO ] Detected file is not PT type :http://www.pnml.org/version-2009/grammar/symmetricnet
log4j:WARN No appenders could be found for logger (org.apache.axiom.locator.DefaultOMMetaFactoryLocator).
log4j:WARN Please initialize the log4j system properly.
[2021-05-17 02:05:27] [WARNING] Using fallBack plugin, rng conformance not checked
[2021-05-17 02:05:27] [INFO ] Load time of PNML (colored model parsed with PNMLFW) : 663 ms
[2021-05-17 02:05:27] [INFO ] ms3 symmetric to ms2 in transition trans_489
[2021-05-17 02:05:27] [INFO ] ms2 symmetric to ms4 in transition trans_489
[2021-05-17 02:05:27] [INFO ] ms4 symmetric to ms1 in transition trans_489
[2021-05-17 02:05:27] [INFO ] ms3 symmetric to ms2 in transition trans_488
[2021-05-17 02:05:27] [INFO ] ms2 symmetric to ms1 in transition trans_488
[2021-05-17 02:05:27] [INFO ] ms2 symmetric to ms1 in transition trans_487
[2021-05-17 02:05:27] [INFO ] Imported 48 HL places and 38 HL transitions for a total of 694 PT places and 12142.0 transition bindings in 27 ms.
[2021-05-17 02:05:27] [INFO ] Unfolded HLPN to a Petri net with 694 places and 1970 transitions in 66 ms.
[2021-05-17 02:05:27] [INFO ] Unfolded HLPN properties in 0 ms.
Deduced a syphon composed of 30 places in 16 ms
Reduce places removed 30 places and 30 transitions.
Starting structural reductions, iteration 0 : 664/664 places, 1940/1940 transitions.
[2021-05-17 02:05:28] [INFO ] Flow matrix only has 1931 transitions (discarded 9 similar events)
// Phase 1: matrix 1931 rows 664 cols
[2021-05-17 02:05:28] [INFO ] Computed 92 place invariants in 98 ms
[2021-05-17 02:05:29] [INFO ] Dead Transitions using invariants and state equation in 1714 ms returned [227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 268, 269, 270, 271, 272, 274, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 303, 304, 305, 306, 307, 309, 312, 313, 314, 315, 316, 317, 319, 322, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 359, 360, 361, 362, 363, 365, 368, 369, 370, 371, 372, 373, 375, 378, 382, 383, 384, 385, 386, 387, 388, 390, 393, 397, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 443, 444, 445, 446, 447, 449, 452, 453, 454, 455, 456, 457, 459, 462, 466, 467, 468, 469, 470, 471, 472, 474, 477, 481, 486, 487, 488, 489, 490, 491, 492, 493, 495, 498, 502, 507, 513, 514, 515, 516, 517, 518, 519, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 552, 553, 554, 555, 556, 557, 558, 559, 560, 561, 563, 564, 565, 566, 567, 569, 572, 573, 574, 575, 576, 577, 579, 582, 586, 587, 588, 589, 590, 591, 592, 594, 597, 601, 606, 607, 608, 609, 610, 611, 612, 613, 615, 618, 622, 627, 633, 634, 635, 636, 637, 638, 639, 640, 641, 643, 646, 650, 655, 661, 668, 669, 670, 671, 672, 673, 674, 675, 676, 677, 678, 679, 680, 681, 682, 683, 684, 685, 686, 687, 688, 689, 690, 691, 692, 693, 694, 695, 696, 697, 698, 699, 700, 701, 702, 703, 704, 705, 706, 707, 708, 709, 710, 711, 712, 713, 714, 715, 716, 717, 718, 719, 720, 721, 722, 723, 724, 725, 726, 728, 729, 730, 731, 732, 734, 737, 738, 739, 740, 741, 742, 744, 747, 751, 752, 753, 754, 755, 756, 757, 759, 762, 766, 771, 772, 773, 774, 775, 776, 777, 778, 780, 783, 787, 792, 798, 799, 800, 801, 802, 803, 804, 805, 806, 808, 811, 815, 820, 826, 833, 834, 835, 836, 837, 838, 839, 840, 841, 842, 844, 847, 851, 856, 862, 869, 877, 878, 879, 880, 881, 882, 883, 884, 885, 886, 887, 888, 889, 890, 891, 892, 893, 894, 895, 896, 897, 898, 899, 900, 901, 902, 903, 904, 905, 906, 907, 908, 909, 910, 911, 912, 913, 914, 915, 916, 917, 918, 919, 920, 921, 922, 923, 924, 925, 926, 927, 928, 929, 930, 931, 932, 933, 934, 935, 936, 937, 938, 939, 940, 941, 942, 943, 944, 945, 946, 948, 949, 950, 951, 952, 954, 957, 958, 959, 960, 961, 962, 964, 967, 971, 972, 973, 974, 975, 976, 977, 979, 982, 986, 991, 992, 993, 994, 995, 996, 997, 998, 1000, 1003, 1007, 1012, 1018, 1019, 1020, 1021, 1022, 1023, 1024, 1025, 1026, 1028, 1031, 1035, 1040, 1046, 1053, 1054, 1055, 1056, 1057, 1058, 1059, 1060, 1061, 1062, 1064, 1067, 1071, 1076, 1082, 1089, 1097, 1098, 1099, 1100, 1101, 1102, 1103, 1104, 1105, 1106, 1107, 1109, 1112, 1116, 1121, 1127, 1134, 1142, 1151, 1152, 1153, 1154, 1155, 1156, 1157, 1158, 1159, 1160, 1161, 1162, 1164, 1167, 1171, 1176, 1182, 1189, 1197, 1206, 1216]
Found 615 dead transitions using SMT.
Drop transitions removed 615 transitions
Dead transitions reduction (with SMT) triggered by suspicious arc values removed 615 transitions :[1216, 1206, 1197, 1189, 1182, 1176, 1171, 1167, 1164, 1162, 1161, 1160, 1159, 1158, 1157, 1156, 1155, 1154, 1153, 1152, 1151, 1142, 1134, 1127, 1121, 1116, 1112, 1109, 1107, 1106, 1105, 1104, 1103, 1102, 1101, 1100, 1099, 1098, 1097, 1089, 1082, 1076, 1071, 1067, 1064, 1062, 1061, 1060, 1059, 1058, 1057, 1056, 1055, 1054, 1053, 1046, 1040, 1035, 1031, 1028, 1026, 1025, 1024, 1023, 1022, 1021, 1020, 1019, 1018, 1012, 1007, 1003, 1000, 998, 997, 996, 995, 994, 993, 992, 991, 986, 982, 979, 977, 976, 975, 974, 973, 972, 971, 967, 964, 962, 961, 960, 959, 958, 957, 954, 952, 951, 950, 949, 948, 946, 945, 944, 943, 942, 941, 940, 939, 938, 937, 936, 935, 934, 933, 932, 931, 930, 929, 928, 927, 926, 925, 924, 923, 922, 921, 920, 919, 918, 917, 916, 915, 914, 913, 912, 911, 910, 909, 908, 907, 906, 905, 904, 903, 902, 901, 900, 899, 898, 897, 896, 895, 894, 893, 892, 891, 890, 889, 888, 887, 886, 885, 884, 883, 882, 881, 880, 879, 878, 877, 869, 862, 856, 851, 847, 844, 842, 841, 840, 839, 838, 837, 836, 835, 834, 833, 826, 820, 815, 811, 808, 806, 805, 804, 803, 802, 801, 800, 799, 798, 792, 787, 783, 780, 778, 777, 776, 775, 774, 773, 772, 771, 766, 762, 759, 757, 756, 755, 754, 753, 752, 751, 747, 744, 742, 741, 740, 739, 738, 737, 734, 732, 731, 730, 729, 728, 726, 725, 724, 723, 722, 721, 720, 719, 718, 717, 716, 715, 714, 713, 712, 711, 710, 709, 708, 707, 706, 705, 704, 703, 702, 701, 700, 699, 698, 697, 696, 695, 694, 693, 692, 691, 690, 689, 688, 687, 686, 685, 684, 683, 682, 681, 680, 679, 678, 677, 676, 675, 674, 673, 672, 671, 670, 669, 668, 661, 655, 650, 646, 643, 641, 640, 639, 638, 637, 636, 635, 634, 633, 627, 622, 618, 615, 613, 612, 611, 610, 609, 608, 607, 606, 601, 597, 594, 592, 591, 590, 589, 588, 587, 586, 582, 579, 577, 576, 575, 574, 573, 572, 569, 567, 566, 565, 564, 563, 561, 560, 559, 558, 557, 556, 555, 554, 553, 552, 551, 550, 549, 548, 547, 546, 545, 544, 543, 542, 541, 540, 539, 538, 537, 536, 535, 534, 533, 532, 531, 530, 529, 528, 527, 526, 525, 524, 523, 522, 521, 520, 519, 518, 517, 516, 515, 514, 513, 507, 502, 498, 495, 493, 492, 491, 490, 489, 488, 487, 486, 481, 477, 474, 472, 471, 470, 469, 468, 467, 466, 462, 459, 457, 456, 455, 454, 453, 452, 449, 447, 446, 445, 444, 443, 441, 440, 439, 438, 437, 436, 435, 434, 433, 432, 431, 430, 429, 428, 427, 426, 425, 424, 423, 422, 421, 420, 419, 418, 417, 416, 415, 414, 413, 412, 411, 410, 409, 408, 407, 406, 405, 404, 403, 402, 397, 393, 390, 388, 387, 386, 385, 384, 383, 382, 378, 375, 373, 372, 371, 370, 369, 368, 365, 363, 362, 361, 360, 359, 357, 356, 355, 354, 353, 352, 351, 350, 349, 348, 347, 346, 345, 344, 343, 342, 341, 340, 339, 338, 337, 336, 335, 334, 333, 332, 331, 330, 329, 328, 327, 326, 322, 319, 317, 316, 315, 314, 313, 312, 309, 307, 306, 305, 304, 303, 301, 300, 299, 298, 297, 296, 295, 294, 293, 292, 291, 290, 289, 288, 287, 286, 285, 284, 283, 282, 281, 280, 279, 278, 277, 274, 272, 271, 270, 269, 268, 266, 265, 264, 263, 262, 261, 260, 259, 258, 257, 256, 255, 254, 253, 252, 251, 250, 249, 248, 246, 245, 244, 243, 242, 241, 240, 239, 238, 237, 236, 235, 234, 233, 232, 231, 230, 229, 228, 227]
[2021-05-17 02:05:29] [INFO ] Redundant transitions in 57 ms returned []
[2021-05-17 02:05:29] [INFO ] Flow matrix only has 1316 transitions (discarded 9 similar events)
// Phase 1: matrix 1316 rows 664 cols
[2021-05-17 02:05:29] [INFO ] Computed 92 place invariants in 87 ms
[2021-05-17 02:05:30] [INFO ] Dead Transitions using invariants and state equation in 903 ms returned []
Starting structural reductions, iteration 1 : 664/664 places, 1325/1940 transitions.
[2021-05-17 02:05:30] [INFO ] Redundant transitions in 9 ms returned []
[2021-05-17 02:05:30] [INFO ] Flow matrix only has 1316 transitions (discarded 9 similar events)
// Phase 1: matrix 1316 rows 664 cols
[2021-05-17 02:05:30] [INFO ] Computed 92 place invariants in 21 ms
[2021-05-17 02:05:31] [INFO ] Dead Transitions using invariants and state equation in 1120 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 02:05:32] [INFO ] Flatten gal took : 795 ms
[2021-05-17 02:05:32] [INFO ] Applying decomposition
[2021-05-17 02:05:33] [INFO ] Flatten gal took : 129 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/graph1345051512347814655.txt, -o, /tmp/graph1345051512347814655.bin, -w, /tmp/graph1345051512347814655.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/graph1345051512347814655.bin, -l, -1, -v, -w, /tmp/graph1345051512347814655.weights, -q, 0, -e, 0.001], workingDir=null]
[2021-05-17 02:05:33] [INFO ] Decomposing Gal with order
[2021-05-17 02:05:33] [INFO ] Rewriting arrays to variables to allow decomposition.
[2021-05-17 02:05:33] [INFO ] Removed a total of 1291 redundant transitions.
[2021-05-17 02:05:33] [INFO ] Flatten gal took : 257 ms
[2021-05-17 02:05:33] [INFO ] Fuse similar labels procedure discarded/fused a total of 354 labels/synchronizations in 63 ms.
[2021-05-17 02:05:33] [INFO ] Time to serialize gal into /tmp/StateSpace16475373236317450012.gal : 25 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/StateSpace16475373236317450012.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/StateSpace16475373236317450012.gal -t CGAL --stats
Detected timeout of ITS tools.
[2021-05-17 02:25:38] [INFO ] Applying decomposition
[2021-05-17 02:25:42] [INFO ] Flatten gal took : 3751 ms
[2021-05-17 02:25:42] [INFO ] Decomposing Gal with order
[2021-05-17 02:25:42] [INFO ] Rewriting arrays to variables to allow decomposition.
[2021-05-17 02:25:44] [INFO ] Removed a total of 6716 redundant transitions.
[2021-05-17 02:25:44] [INFO ] Flatten gal took : 421 ms
[2021-05-17 02:25:44] [INFO ] Fuse similar labels procedure discarded/fused a total of 0 labels/synchronizations in 27 ms.
[2021-05-17 02:25:44] [INFO ] Time to serialize gal into /tmp/StateSpace1145901601521388783.gal : 11 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/StateSpace1145901601521388783.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/StateSpace1145901601521388783.gal -t CGAL --stats
Detected timeout of ITS tools.
[2021-05-17 02:45:48] [INFO ] Flatten gal took : 904 ms
[2021-05-17 02:45:49] [INFO ] Input system was already deterministic with 1325 transitions.
[2021-05-17 02:45:49] [INFO ] Transformed 664 places.
[2021-05-17 02:45:49] [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 02:46:19] [INFO ] Time to serialize gal into /tmp/StateSpace8894144369836828657.gal : 9 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/StateSpace8894144369836828657.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/StateSpace8894144369836828657.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-COL-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-COL-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-162089268300416"
echo "====================================================================="
echo
echo "--------------------"
echo "preparation of the directory to be used:"

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