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

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

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

--------------------
preparation of the directory to be used:
/home/mcc/execution
total 424K
-rw-r--r-- 1 mcc users 15K May 5 16:58 CTLCardinality.txt
-rw-r--r-- 1 mcc users 98K May 10 09:43 CTLCardinality.xml
-rw-r--r-- 1 mcc users 11K May 5 16:58 CTLFireability.txt
-rw-r--r-- 1 mcc users 70K 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 3.9K Mar 28 16:28 LTLCardinality.txt
-rw-r--r-- 1 mcc users 26K Mar 28 16:28 LTLCardinality.xml
-rw-r--r-- 1 mcc users 2.3K Mar 28 16:28 LTLFireability.txt
-rw-r--r-- 1 mcc users 18K Mar 28 16:28 LTLFireability.xml
-rw-r--r-- 1 mcc users 3.8K Mar 27 09:50 ReachabilityCardinality.txt
-rw-r--r-- 1 mcc users 18K Mar 27 09:47 ReachabilityCardinality.xml
-rw-r--r-- 1 mcc users 3.0K Mar 25 12:51 ReachabilityFireability.txt
-rw-r--r-- 1 mcc users 16K Mar 25 12:49 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 1621218214514

Running Version 0
[2021-05-17 02:23:36] [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:23:36] [INFO ] Parsing pnml file : /home/mcc/execution/model.pnml
[2021-05-17 02:23:36] [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:23:37] [WARNING] Using fallBack plugin, rng conformance not checked
[2021-05-17 02:23:37] [INFO ] Load time of PNML (colored model parsed with PNMLFW) : 731 ms
[2021-05-17 02:23:37] [INFO ] ms1 symmetric to ms4 in transition trans_489
[2021-05-17 02:23:37] [INFO ] ms4 symmetric to ms2 in transition trans_489
[2021-05-17 02:23:37] [INFO ] ms2 symmetric to ms3 in transition trans_489
[2021-05-17 02:23:37] [INFO ] ms1 symmetric to ms2 in transition trans_488
[2021-05-17 02:23:37] [INFO ] ms2 symmetric to ms3 in transition trans_488
[2021-05-17 02:23:37] [INFO ] ms1 symmetric to ms2 in transition trans_487
[2021-05-17 02:23:37] [INFO ] Imported 48 HL places and 38 HL transitions for a total of 894 PT places and 12462.0 transition bindings in 47 ms.
[2021-05-17 02:23:37] [INFO ] Unfolded HLPN to a Petri net with 894 places and 2270 transitions in 76 ms.
[2021-05-17 02:23:37] [INFO ] Unfolded HLPN properties in 0 ms.
Deduced a syphon composed of 40 places in 12 ms
Reduce places removed 40 places and 40 transitions.
Starting structural reductions, iteration 0 : 854/854 places, 2230/2230 transitions.
[2021-05-17 02:23:37] [INFO ] Flow matrix only has 2221 transitions (discarded 9 similar events)
// Phase 1: matrix 2221 rows 854 cols
[2021-05-17 02:23:37] [INFO ] Computed 112 place invariants in 175 ms
[2021-05-17 02:23:39] [INFO ] Dead Transitions using invariants and state equation in 1914 ms returned [297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 338, 339, 340, 341, 342, 344, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 373, 374, 375, 376, 377, 379, 382, 383, 384, 385, 386, 387, 389, 392, 396, 397, 398, 399, 400, 401, 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, 429, 430, 431, 432, 433, 435, 438, 439, 440, 441, 442, 443, 445, 448, 452, 453, 454, 455, 456, 457, 458, 460, 463, 467, 472, 473, 474, 475, 476, 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 513, 514, 515, 516, 517, 519, 522, 523, 524, 525, 526, 527, 529, 532, 536, 537, 538, 539, 540, 541, 542, 544, 547, 551, 556, 557, 558, 559, 560, 561, 562, 563, 565, 568, 572, 577, 583, 584, 585, 586, 587, 588, 589, 590, 591, 592, 593, 594, 595, 596, 597, 598, 599, 600, 601, 602, 603, 604, 605, 606, 607, 608, 609, 610, 611, 612, 613, 614, 615, 616, 617, 618, 619, 620, 621, 622, 623, 624, 625, 626, 627, 628, 629, 630, 631, 633, 634, 635, 636, 637, 639, 642, 643, 644, 645, 646, 647, 649, 652, 656, 657, 658, 659, 660, 661, 662, 664, 667, 671, 676, 677, 678, 679, 680, 681, 682, 683, 685, 688, 692, 697, 703, 704, 705, 706, 707, 708, 709, 710, 711, 713, 716, 720, 725, 731, 738, 739, 740, 741, 742, 743, 744, 745, 746, 747, 748, 749, 750, 751, 752, 753, 754, 755, 756, 757, 758, 759, 760, 761, 762, 763, 764, 765, 766, 767, 768, 769, 770, 771, 772, 773, 774, 775, 776, 777, 778, 779, 780, 781, 782, 783, 784, 785, 786, 787, 788, 789, 790, 791, 792, 793, 794, 795, 796, 798, 799, 800, 801, 802, 804, 807, 808, 809, 810, 811, 812, 814, 817, 821, 822, 823, 824, 825, 826, 827, 829, 832, 836, 841, 842, 843, 844, 845, 846, 847, 848, 850, 853, 857, 862, 868, 869, 870, 871, 872, 873, 874, 875, 876, 878, 881, 885, 890, 896, 903, 904, 905, 906, 907, 908, 909, 910, 911, 912, 914, 917, 921, 926, 932, 939, 947, 948, 949, 950, 951, 952, 953, 954, 955, 956, 957, 958, 959, 960, 961, 962, 963, 964, 965, 966, 967, 968, 969, 970, 971, 972, 973, 974, 975, 976, 977, 978, 979, 980, 981, 982, 983, 984, 985, 986, 987, 988, 989, 990, 991, 992, 993, 994, 995, 996, 997, 998, 999, 1000, 1001, 1002, 1003, 1004, 1005, 1006, 1007, 1008, 1009, 1010, 1011, 1012, 1013, 1014, 1015, 1016, 1018, 1019, 1020, 1021, 1022, 1024, 1027, 1028, 1029, 1030, 1031, 1032, 1034, 1037, 1041, 1042, 1043, 1044, 1045, 1046, 1047, 1049, 1052, 1056, 1061, 1062, 1063, 1064, 1065, 1066, 1067, 1068, 1070, 1073, 1077, 1082, 1088, 1089, 1090, 1091, 1092, 1093, 1094, 1095, 1096, 1098, 1101, 1105, 1110, 1116, 1123, 1124, 1125, 1126, 1127, 1128, 1129, 1130, 1131, 1132, 1134, 1137, 1141, 1146, 1152, 1159, 1167, 1168, 1169, 1170, 1171, 1172, 1173, 1174, 1175, 1176, 1177, 1179, 1182, 1186, 1191, 1197, 1204, 1212, 1221, 1222, 1223, 1224, 1225, 1226, 1227, 1228, 1229, 1230, 1231, 1232, 1234, 1237, 1241, 1246, 1252, 1259, 1267, 1276, 1286]
Found 615 dead transitions using SMT.
Drop transitions removed 615 transitions
Dead transitions reduction (with SMT) triggered by suspicious arc values removed 615 transitions :[1286, 1276, 1267, 1259, 1252, 1246, 1241, 1237, 1234, 1232, 1231, 1230, 1229, 1228, 1227, 1226, 1225, 1224, 1223, 1222, 1221, 1212, 1204, 1197, 1191, 1186, 1182, 1179, 1177, 1176, 1175, 1174, 1173, 1172, 1171, 1170, 1169, 1168, 1167, 1159, 1152, 1146, 1141, 1137, 1134, 1132, 1131, 1130, 1129, 1128, 1127, 1126, 1125, 1124, 1123, 1116, 1110, 1105, 1101, 1098, 1096, 1095, 1094, 1093, 1092, 1091, 1090, 1089, 1088, 1082, 1077, 1073, 1070, 1068, 1067, 1066, 1065, 1064, 1063, 1062, 1061, 1056, 1052, 1049, 1047, 1046, 1045, 1044, 1043, 1042, 1041, 1037, 1034, 1032, 1031, 1030, 1029, 1028, 1027, 1024, 1022, 1021, 1020, 1019, 1018, 1016, 1015, 1014, 1013, 1012, 1011, 1010, 1009, 1008, 1007, 1006, 1005, 1004, 1003, 1002, 1001, 1000, 999, 998, 997, 996, 995, 994, 993, 992, 991, 990, 989, 988, 987, 986, 985, 984, 983, 982, 981, 980, 979, 978, 977, 976, 975, 974, 973, 972, 971, 970, 969, 968, 967, 966, 965, 964, 963, 962, 961, 960, 959, 958, 957, 956, 955, 954, 953, 952, 951, 950, 949, 948, 947, 939, 932, 926, 921, 917, 914, 912, 911, 910, 909, 908, 907, 906, 905, 904, 903, 896, 890, 885, 881, 878, 876, 875, 874, 873, 872, 871, 870, 869, 868, 862, 857, 853, 850, 848, 847, 846, 845, 844, 843, 842, 841, 836, 832, 829, 827, 826, 825, 824, 823, 822, 821, 817, 814, 812, 811, 810, 809, 808, 807, 804, 802, 801, 800, 799, 798, 796, 795, 794, 793, 792, 791, 790, 789, 788, 787, 786, 785, 784, 783, 782, 781, 780, 779, 778, 777, 776, 775, 774, 773, 772, 771, 770, 769, 768, 767, 766, 765, 764, 763, 762, 761, 760, 759, 758, 757, 756, 755, 754, 753, 752, 751, 750, 749, 748, 747, 746, 745, 744, 743, 742, 741, 740, 739, 738, 731, 725, 720, 716, 713, 711, 710, 709, 708, 707, 706, 705, 704, 703, 697, 692, 688, 685, 683, 682, 681, 680, 679, 678, 677, 676, 671, 667, 664, 662, 661, 660, 659, 658, 657, 656, 652, 649, 647, 646, 645, 644, 643, 642, 639, 637, 636, 635, 634, 633, 631, 630, 629, 628, 627, 626, 625, 624, 623, 622, 621, 620, 619, 618, 617, 616, 615, 614, 613, 612, 611, 610, 609, 608, 607, 606, 605, 604, 603, 602, 601, 600, 599, 598, 597, 596, 595, 594, 593, 592, 591, 590, 589, 588, 587, 586, 585, 584, 583, 577, 572, 568, 565, 563, 562, 561, 560, 559, 558, 557, 556, 551, 547, 544, 542, 541, 540, 539, 538, 537, 536, 532, 529, 527, 526, 525, 524, 523, 522, 519, 517, 516, 515, 514, 513, 511, 510, 509, 508, 507, 506, 505, 504, 503, 502, 501, 500, 499, 498, 497, 496, 495, 494, 493, 492, 491, 490, 489, 488, 487, 486, 485, 484, 483, 482, 481, 480, 479, 478, 477, 476, 475, 474, 473, 472, 467, 463, 460, 458, 457, 456, 455, 454, 453, 452, 448, 445, 443, 442, 441, 440, 439, 438, 435, 433, 432, 431, 430, 429, 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, 401, 400, 399, 398, 397, 396, 392, 389, 387, 386, 385, 384, 383, 382, 379, 377, 376, 375, 374, 373, 371, 370, 369, 368, 367, 366, 365, 364, 363, 362, 361, 360, 359, 358, 357, 356, 355, 354, 353, 352, 351, 350, 349, 348, 347, 344, 342, 341, 340, 339, 338, 336, 335, 334, 333, 332, 331, 330, 329, 328, 327, 326, 325, 324, 323, 322, 321, 320, 319, 318, 316, 315, 314, 313, 312, 311, 310, 309, 308, 307, 306, 305, 304, 303, 302, 301, 300, 299, 298, 297]
[2021-05-17 02:23:39] [INFO ] Redundant transitions in 81 ms returned []
[2021-05-17 02:23:39] [INFO ] Flow matrix only has 1606 transitions (discarded 9 similar events)
// Phase 1: matrix 1606 rows 854 cols
[2021-05-17 02:23:39] [INFO ] Computed 112 place invariants in 90 ms
[2021-05-17 02:23:40] [INFO ] Dead Transitions using invariants and state equation in 1104 ms returned []
Starting structural reductions, iteration 1 : 854/854 places, 1615/2230 transitions.
[2021-05-17 02:23:41] [INFO ] Redundant transitions in 84 ms returned []
[2021-05-17 02:23:41] [INFO ] Flow matrix only has 1606 transitions (discarded 9 similar events)
// Phase 1: matrix 1606 rows 854 cols
[2021-05-17 02:23:41] [INFO ] Computed 112 place invariants in 25 ms
[2021-05-17 02:23:42] [INFO ] Dead Transitions using invariants and state equation in 1046 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 02:23:42] [INFO ] Flatten gal took : 303 ms
[2021-05-17 02:23:42] [INFO ] Applying decomposition
[2021-05-17 02:23:42] [INFO ] Flatten gal took : 175 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/graph6054882923732824876.txt, -o, /tmp/graph6054882923732824876.bin, -w, /tmp/graph6054882923732824876.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/graph6054882923732824876.bin, -l, -1, -v, -w, /tmp/graph6054882923732824876.weights, -q, 0, -e, 0.001], workingDir=null]
[2021-05-17 02:23:43] [INFO ] Decomposing Gal with order
[2021-05-17 02:23:43] [INFO ] Rewriting arrays to variables to allow decomposition.
[2021-05-17 02:23:43] [INFO ] Removed a total of 542 redundant transitions.
[2021-05-17 02:23:43] [INFO ] Flatten gal took : 543 ms
[2021-05-17 02:23:44] [INFO ] Fuse similar labels procedure discarded/fused a total of 203 labels/synchronizations in 22 ms.
[2021-05-17 02:23:44] [INFO ] Time to serialize gal into /tmp/StateSpace9598321571727365374.gal : 38 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/StateSpace9598321571727365374.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/StateSpace9598321571727365374.gal -t CGAL --stats
Detected timeout of ITS tools.
[2021-05-17 02:43:47] [INFO ] Applying decomposition
[2021-05-17 02:43:48] [INFO ] Flatten gal took : 781 ms
[2021-05-17 02:43:49] [INFO ] Decomposing Gal with order
[2021-05-17 02:43:49] [INFO ] Rewriting arrays to variables to allow decomposition.
[2021-05-17 02:43:50] [INFO ] Removed a total of 7676 redundant transitions.
[2021-05-17 02:43:50] [INFO ] Flatten gal took : 554 ms
[2021-05-17 02:43:50] [INFO ] Fuse similar labels procedure discarded/fused a total of 0 labels/synchronizations in 78 ms.
[2021-05-17 02:43:50] [INFO ] Time to serialize gal into /tmp/StateSpace446879383629758303.gal : 73 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/StateSpace446879383629758303.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/StateSpace446879383629758303.gal -t CGAL --stats
Detected timeout of ITS tools.
[2021-05-17 03:03:53] [INFO ] Flatten gal took : 492 ms
[2021-05-17 03:03:54] [INFO ] Input system was already deterministic with 1615 transitions.
[2021-05-17 03:03:54] [INFO ] Transformed 854 places.
[2021-05-17 03:03:54] [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 03:04:24] [INFO ] Time to serialize gal into /tmp/StateSpace3641958677914757291.gal : 17 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/StateSpace3641958677914757291.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/StateSpace3641958677914757291.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-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-COL-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-162089268300424"
echo "====================================================================="
echo
echo "--------------------"
echo "preparation of the directory to be used:"

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