fond
Model Checking Contest @ Petri Nets 2017
7th edition, Zaragoza, Spain, June 27, 2017
Execution of r021-blw3-149440255100322
Last Updated
June 27, 2017

About the Execution of MARCIE for EnergyBus-PT-none

Execution Summary
Max Memory
Used (MB)
Time wait (ms) CPU Usage (ms) I/O Wait (ms) Computed Result Execution
Status
11310.440 3600000.00 3600000.00 30.00 TFF?TFFFFFTF?FFT normal

Execution Chart

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

Trace from the execution

Waiting for the VM to be ready (probing ssh)
........
=====================================================================
Generated by BenchKit 2-3254
Executing tool marcie
Input is EnergyBus-PT-none, examination is ReachabilityCardinality
Time confinement is 3600 seconds
Memory confinement is 16384 MBytes
Number of cores is 1
Run identifier is r021-blw3-149440255100322
=====================================================================


--------------------
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 EnergyBus-PT-none-ReachabilityCardinality-0
FORMULA_NAME EnergyBus-PT-none-ReachabilityCardinality-1
FORMULA_NAME EnergyBus-PT-none-ReachabilityCardinality-10
FORMULA_NAME EnergyBus-PT-none-ReachabilityCardinality-11
FORMULA_NAME EnergyBus-PT-none-ReachabilityCardinality-12
FORMULA_NAME EnergyBus-PT-none-ReachabilityCardinality-13
FORMULA_NAME EnergyBus-PT-none-ReachabilityCardinality-14
FORMULA_NAME EnergyBus-PT-none-ReachabilityCardinality-15
FORMULA_NAME EnergyBus-PT-none-ReachabilityCardinality-2
FORMULA_NAME EnergyBus-PT-none-ReachabilityCardinality-3
FORMULA_NAME EnergyBus-PT-none-ReachabilityCardinality-4
FORMULA_NAME EnergyBus-PT-none-ReachabilityCardinality-5
FORMULA_NAME EnergyBus-PT-none-ReachabilityCardinality-6
FORMULA_NAME EnergyBus-PT-none-ReachabilityCardinality-7
FORMULA_NAME EnergyBus-PT-none-ReachabilityCardinality-8
FORMULA_NAME EnergyBus-PT-none-ReachabilityCardinality-9

=== Now, execution of the tool begins

BK_START 1494459725416

timeout --kill-after=10s --signal=SIGINT 1m for testing only

Marcie rev. 8852M (built: crohr on 2017-05-03)
A model checker for Generalized Stochastic Petri nets

authors: Alex Tovchigrechko (IDD package and CTL model checking)

Martin Schwarick (Symbolic numerical analysis and CSL model checking)

Christian Rohr (Simulative and approximative numerical model checking)

marcie@informatik.tu-cottbus.de

called as: marcie --net-file=model.pnml --mcc-file=ReachabilityCardinality.xml --memory=6

parse successfull
net created successfully

Net: EnergyBus_PT_none
(NrP: 157 NrTr: 4430 NrArc: 63389)

parse formulas
formulas created successfully
place and transition orderings generation:0m 0.029sec

net check time: 0m 0.014sec

init dd package: 0m 1.232sec


RS generation: 0m22.785sec


-> reachability set: #nodes 9594 (9.6e+03) #states 2,131,836,945,601 (12)



starting MCC model checker
--------------------------

checking: EF [1<=p140]
normalized: E [true U 1<=p140]

abstracting: (1<=p140)
states: 100,295,784,000 (11)

after gc: zbdd nodes used:28374, unused:18721626
after gc: zbdd nodes used:27623, unused:37472377
after gc: zbdd nodes used:26313, unused:74973687-> the formula is TRUE

FORMULA EnergyBus-PT-none-ReachabilityCardinality-12 TRUE TECHNIQUES SEQUENTIAL_PROCESSING DECISION_DIAGRAMS UNFOLDING_TO_PT

MC time: 1m14.680sec

checking: AG [p94<=p107]
normalized: ~ [E [true U ~ [p94<=p107]]]

abstracting: (p94<=p107)
states: 2,037,178,153,921 (12)

after gc: zbdd nodes used:34530, unused:149965470MC time: 3m54.000sec

checking: AG [p83<=p87]
normalized: ~ [E [true U ~ [p83<=p87]]]

abstracting: (p83<=p87)
states: 2,033,927,990,401 (12)

after gc: zbdd nodes used:48785, unused:299951215MC time: 3m38.001sec

checking: EF [~ [p121<=p107]]
normalized: E [true U ~ [p121<=p107]]

abstracting: (p121<=p107)
states: 1,565,254,009,921 (12)
-> the formula is TRUE

FORMULA EnergyBus-PT-none-ReachabilityCardinality-9 TRUE TECHNIQUES SEQUENTIAL_PROCESSING DECISION_DIAGRAMS UNFOLDING_TO_PT

MC time: 0m 5.812sec

checking: AG [p83<=p98]
normalized: ~ [E [true U ~ [p83<=p98]]]

abstracting: (p83<=p98)
states: 2,033,927,990,401 (12)
MC time: 3m38.000sec

checking: AG [p145<=p51]
normalized: ~ [E [true U ~ [p145<=p51]]]

abstracting: (p145<=p51)
states: 2,045,400,880,321 (12)
-> the formula is FALSE

FORMULA EnergyBus-PT-none-ReachabilityCardinality-13 FALSE TECHNIQUES SEQUENTIAL_PROCESSING DECISION_DIAGRAMS UNFOLDING_TO_PT

MC time: 2m37.746sec

checking: EF [~ [~ [[p32<=p78 & 3<=p11]]]]
normalized: E [true U [p32<=p78 & 3<=p11]]

abstracting: (3<=p11)
states: 0
abstracting: (p32<=p78)
states: 1,706,925,225,601 (12)
-> the formula is FALSE

FORMULA EnergyBus-PT-none-ReachabilityCardinality-5 FALSE TECHNIQUES SEQUENTIAL_PROCESSING DECISION_DIAGRAMS UNFOLDING_TO_PT

MC time: 0m 0.027sec

checking: EF [[~ [p44<=p119] & [~ [1<=p61] | p19<=p150]]]
normalized: E [true U [[~ [1<=p61] | p19<=p150] & ~ [p44<=p119]]]

abstracting: (p44<=p119)
states: 2,061,425,145,601 (12)
abstracting: (p19<=p150)
states: 1,202,469,590,401 (12)
abstracting: (1<=p61)
states: 176,178,160,000 (11)
-> the formula is TRUE

FORMULA EnergyBus-PT-none-ReachabilityCardinality-0 TRUE TECHNIQUES SEQUENTIAL_PROCESSING DECISION_DIAGRAMS UNFOLDING_TO_PT

MC time: 0m11.100sec

checking: AG [[[p68<=p48 | 2<=p24] | p112<=p39]]
normalized: ~ [E [true U ~ [[[p68<=p48 | 2<=p24] | p112<=p39]]]]

abstracting: (p112<=p39)
states: 1,923,843,747,601 (12)
abstracting: (2<=p24)
states: 0
abstracting: (p68<=p48)
states: 1,935,223,849,601 (12)

after gc: zbdd nodes used:80507, unused:599919493MC time: 4m 2.000sec

checking: EF [[[1<=p149 | ~ [p142<=p23]] & [3<=p15 & ~ [2<=p28]]]]
normalized: E [true U [[~ [2<=p28] & 3<=p15] & [~ [p142<=p23] | 1<=p149]]]

abstracting: (1<=p149)
states: 29,536,512,000 (10)
abstracting: (p142<=p23)
states: 2,056,511,229,601 (12)
abstracting: (3<=p15)
states: 0
abstracting: (2<=p28)
states: 0
-> the formula is FALSE

FORMULA EnergyBus-PT-none-ReachabilityCardinality-10 FALSE TECHNIQUES SEQUENTIAL_PROCESSING DECISION_DIAGRAMS UNFOLDING_TO_PT

MC time: 0m 0.048sec

checking: AG [[~ [2<=p53] | [p38<=p135 & [3<=p118 | p82<=p28]]]]
normalized: ~ [E [true U ~ [[[[3<=p118 | p82<=p28] & p38<=p135] | ~ [2<=p53]]]]]

abstracting: (2<=p53)
states: 0
abstracting: (p38<=p135)
states: 2,128,125,574,401 (12)
abstracting: (p82<=p28)
states: 2,027,127,921,601 (12)
abstracting: (3<=p118)
states: 0
-> the formula is TRUE

FORMULA EnergyBus-PT-none-ReachabilityCardinality-4 TRUE TECHNIQUES SEQUENTIAL_PROCESSING DECISION_DIAGRAMS UNFOLDING_TO_PT

MC time: 0m 0.019sec

checking: EF [[2<=p41 | [[1<=p83 & 2<=p73] & [p72<=p60 | p139<=p108]]]]
normalized: E [true U [[[1<=p83 & 2<=p73] & [p72<=p60 | p139<=p108]] | 2<=p41]]

abstracting: (2<=p41)
states: 0
abstracting: (p139<=p108)
states: 2,037,267,436,801 (12)
abstracting: (p72<=p60)
states: 1,935,223,849,601 (12)
abstracting: (2<=p73)
states: 0
abstracting: (1<=p83)
states: 97,908,955,200 (10)
-> the formula is FALSE

FORMULA EnergyBus-PT-none-ReachabilityCardinality-8 FALSE TECHNIQUES SEQUENTIAL_PROCESSING DECISION_DIAGRAMS UNFOLDING_TO_PT

MC time: 0m 0.036sec

checking: AG [[[[p143<=p45 | 3<=p107] & [p16<=p50 & 2<=p48]] | p39<=p20]]
normalized: ~ [E [true U ~ [[[[p143<=p45 | 3<=p107] & [p16<=p50 & 2<=p48]] | p39<=p20]]]]

abstracting: (p39<=p20)
states: 2,126,557,473,601 (12)
abstracting: (2<=p48)
states: 0
abstracting: (p16<=p50)
states: 873,771,401,601 (11)
abstracting: (3<=p107)
states: 0
abstracting: (p143<=p45)
states: 2,044,417,967,041 (12)
-> the formula is FALSE

FORMULA EnergyBus-PT-none-ReachabilityCardinality-1 FALSE TECHNIQUES SEQUENTIAL_PROCESSING DECISION_DIAGRAMS UNFOLDING_TO_PT

MC time: 0m47.000sec

checking: AG [[2<=p117 | [[p48<=p134 & p71<=p82] | [p49<=p11 | p58<=p41]]]]
normalized: ~ [E [true U ~ [[[[p49<=p11 | p58<=p41] | [p48<=p134 & p71<=p82]] | 2<=p117]]]]

abstracting: (2<=p117)
states: 0
abstracting: (p71<=p82)
states: 1,948,085,929,601 (12)
abstracting: (p48<=p134)
states: 1,955,658,785,601 (12)
abstracting: (p58<=p41)
states: 1,928,176,723,201 (12)
abstracting: (p49<=p11)
states: 1,984,377,123,601 (12)
-> the formula is FALSE

FORMULA EnergyBus-PT-none-ReachabilityCardinality-2 FALSE TECHNIQUES SEQUENTIAL_PROCESSING DECISION_DIAGRAMS UNFOLDING_TO_PT

MC time: 0m 2.780sec

checking: EF [[[[p50<=p136 | 1<=p10] & p122<=p140] & [[2<=p82 & p104<=p11] & ~ [3<=p3]]]]
normalized: E [true U [[~ [3<=p3] & [2<=p82 & p104<=p11]] & [[p50<=p136 | 1<=p10] & p122<=p140]]]

abstracting: (p122<=p140)
states: 1,296,746,625,601 (12)
abstracting: (1<=p10)
states: 532,959,236,400 (11)
abstracting: (p50<=p136)
states: 1,935,223,849,601 (12)
abstracting: (p104<=p11)
states: 2,047,637,821,441 (12)
abstracting: (2<=p82)
states: 0
abstracting: (3<=p3)
states: 0
-> the formula is FALSE

FORMULA EnergyBus-PT-none-ReachabilityCardinality-14 FALSE TECHNIQUES SEQUENTIAL_PROCESSING DECISION_DIAGRAMS UNFOLDING_TO_PT

MC time: 0m 0.050sec

checking: AG [[~ [~ [p15<=p134]] | [[p8<=p26 & p105<=p120] & [p30<=p41 & p75<=p126]]]]
normalized: ~ [E [true U ~ [[[[p30<=p41 & p75<=p126] & [p8<=p26 & p105<=p120]] | p15<=p134]]]]

abstracting: (p15<=p134)
states: 1,387,963,536,001 (12)
abstracting: (p105<=p120)
states: 1,791,887,184,193 (12)
abstracting: (p8<=p26)
states: 1,866,233,842,801 (12)
abstracting: (p75<=p126)
states: 1,991,640,699,201 (12)
abstracting: (p30<=p41)
states: 1,086,983,622,401 (12)
-> the formula is FALSE

FORMULA EnergyBus-PT-none-ReachabilityCardinality-15 FALSE TECHNIQUES SEQUENTIAL_PROCESSING DECISION_DIAGRAMS UNFOLDING_TO_PT

MC time: 4m58.755sec

checking: AG [p94<=p107]
normalized: ~ [E [true U ~ [p94<=p107]]]

abstracting: (p94<=p107)
states: 2,037,178,153,921 (12)

after gc: zbdd nodes used:178965, unused:599821035-> the formula is FALSE

FORMULA EnergyBus-PT-none-ReachabilityCardinality-3 FALSE TECHNIQUES SEQUENTIAL_PROCESSING DECISION_DIAGRAMS UNFOLDING_TO_PT

MC time: 14m25.985sec

checking: AG [p83<=p87]
normalized: ~ [E [true U ~ [p83<=p87]]]

abstracting: (p83<=p87)
states: 2,033,927,990,401 (12)
-> the formula is FALSE

FORMULA EnergyBus-PT-none-ReachabilityCardinality-7 FALSE TECHNIQUES SEQUENTIAL_PROCESSING DECISION_DIAGRAMS UNFOLDING_TO_PT

MC time: 8m57.008sec

checking: AG [p83<=p98]
normalized: ~ [E [true U ~ [p83<=p98]]]

abstracting: (p83<=p98)
states: 2,033,927,990,401 (12)

BK_TIME_CONFINEMENT_REACHED

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

check for maximal unmarked siphon
found
The net has a maximal unmarked siphon:
p133
p134
p135
p136

The net has transition(s) that can never fire:
t2349
t2604
t2623
t2624
t2489
t2490
t2491
t2492
t2493
t2494
t2495
t2496
t2497
t2498
t2499
t2500
t2501
t2502
t2503
t2504
t2505
t2506
t2507
t2508
t2509
t2510
t2511
t2512
t2513
t2514
t2515
t2516
t2517
t2518
t2519
t2520
t2521
t2522
t2884
t2359
t2363
t2375
t2379
t2391
t2399
t2402
t2338
t2339
t2340
t2341
t2342
t2343
t2344
t2345
t2346
t2350
t2351
t2352
t2353
t2354
t2355
t2356
t2357
t2358
t2360
t2361
t2362
t2364
t2365
t2366
t2367
t2368
t2369
t2370
t2371
t2372
t2403
t2404
t2373
t2374
t2376
t2377
t2378
t2380
t2381
t2382
t2383
t2384
t2385
t2386
t2387
t2388
t2389
t2390
t2392
t2393
t2394
t2395
t2396
t2397
t2398
t2400
t2401
t2405
t2406
t2407
t2408
t2409
t2410
t2411
t2412
t2413
t2414
t2415
t2416
t2417
t2418
t2419
t2420
t2421
t2422
t2423
t2424
t2425
t2426
t2427
t2428
t2429
t2430
t2431
t2432
t2433
t2434
t2435
t2436
t2437
t2438
t2439
t2440
t2441
t2442
t2443
t2444
t2445
t2446
t2447
t2448
t2449
t2450
t2451
t2452
t2453
t2454
t2455
t2456
t2457
t2458
t2459
t2460
t2461
t2462
t2463
t2464
t2465
t2466
t2467
t2468
t2469
t2470
t2471
t2472
t2473
t2474
t2475
t2476
t2477
t2478
t2479
t2480
t2481
t2482
t2483
t2484
t2485
t2486
t2487
t2488
t2523
t2524
t2525
t2526
t2527
t2528
t2529
t2530
t2531
t2532
t2533
t2534
t2535
t2536
t2537
t2538
t2539
t2540
t2541
t2542
t2543
t2544
t2545
t2546
t2547
t2548
t2549
t2550
t2551
t2552
t2553
t2554
t2555
t2556
t2557
t2558
t2559
t2560
t2561
t2562
t2563
t2564
t2565
t2566
t2567
t2568
t2569
t2570
t2571
t2572
t2573
t2574
t2575
t2576
t2577
t2578
t2579
t2580
t2581
t2582
t2583
t2584
t2585
t2586
t2587
t2588
t2589
t2590
t2591
t2592
t2593
t2594
t2851
t2852
t2595
t2596
t2853
t2597
t2598
t2599
t2600
t2601
t2602
t2603
t2605
t2606
t2607
t2608
t2609
t2610
t2611
t2612
t2613
t2614
t2615
t2616
t2617
t2618
t2619
t2620
t2621
t2622
t2625
t2626
t2627
t2628
t2629
t2630
t2631
t2632
t2633
t2634
t2635
t2636
t2637
t2638
t2639
t2640
t2641
t2642
t2643
t2644
t2645
t2646
t2647
t2648
t2649
t2650
t2651
t2652
t2653
t2654
t2655
t2656
t2657
t2658
t2659
t2660
t2661
t2662
t2663
t2664
t2665
t2666
t2667
t2668
t2669
t2670
t2671
t2672
t2673
t2674
t2675
t2676
t2677
t2678
t2679
t2680
t2681
t2682
t2683
t2684
t2685
t2686
t2687
t2688
t2689
t2690
t2691
t2692
t2693
t2694
t2695
t2696
t2697
t2698
t2699
t2700
t2701
t2702
t2703
t2704
t2705
t2706
t2707
t2708
t2709
t2710
t2711
t2712
t2713
t2714
t2715
t2716
t2717
t2718
t2719
t2720
t2721
t2722
t2723
t2724
t2725
t2726
t2727
t2728
t2729
t2730
t2731
t2732
t2733
t2734
t2735
t2736
t2737
t2738
t2739
t2740
t2741
t2742
t2743
t2744
t2745
t2746
t2747
t2748
t2749
t2750
t2751
t2752
t2753
t2754
t2755
t2756
t2757
t2758
t2759
t2760
t2761
t2762
t2763
t2764
t2765
t2766
t2767
t2768
t2769
t2770
t2771
t2772
t2773
t2774
t2775
t2776
t2777
t2778
t2779
t2780
t2781
t2782
t2783
t2784
t2785
t2786
t2787
t2788
t2789
t2790
t2791
t2792
t2793
t2794
t2795
t2796
t2797
t2798
t2799
t2800
t2801
t2802
t2803
t2804
t2805
t2806
t2807
t2808
t2809
t2810
t2811
t2812
t2813
t2814
t2815
t2816
t2817
t2818
t2819
t2820
t2821
t2822
t2823
t2824
t2825
t2826
t2827
t2828
t2829
t2830
t2831
t2832
t2833
t2834
t2835
t2836
t2837
t2838
t2839
t2840
t2841
t2842
t2843
t2844
t2845
t2846
t2847
t2848
t2849
t2850
t2854
t2855
t2856
t2857
t2858
t2859
t2860
t2861
t2862
t2863
t2864
t2865
t2866
t2867
t2868
t2869
t2870
t2871
t2872
t2873
t2874
t2875
t2876
t2877
t2878
t2879
t2880
t2881
t2882
t2883
t2885
t2886
t2887
t2888
t2889
t2890
t2891
t2892
t2893
t2894
t2895
t2896
t2897
t2898
t2899
t2900
t2901
t2902
t2903
t2904
t2905
t2906
t2907
t2908
t2909
t2910
t2911
t2912
t2913
t2914
t2915
t2916
t2917
t2918
t2919
t2920
t2921
t2922
t2923
t2924
t2925
t2926
t2927
t2928
t2929
t2930
t2931
t2932
t2964
t2933
t2934
t2935
t2936
t2937
t2938
t2939
t2940
t2941
t2942
t2943
t2944
t2945
t2946
t2947
t2948
t2949
t2950
t2951
t2952
t2953
t2954
t2955
t2956
t2957
t2958
t2959
t2960
t2961
t2962
t2963
t2965
t2966
t2967
t2968
t2969
t2970
t2971
t2972
t2973
t2974
t2975
t2976
t2977
t2978
t2979
t2980
t2981
t2982
t2983
t2984
t2985
t2986
t2987
t2988
t2989
t2990
t2991
t2992
t2993
t2994
t2995
t2996
t2997
t2998
t2999
t3000
t3001
t3002
t3003
t3004
t3005
t3006
t3007
t3008
t3009
t3010
t3011
t3012
t3013
t3014
t3015
t3016
t3017
t3018
t3019
t3020
t3021
t3022
t3023
t3024
t3025
t3026
t3027
t3028
t3029
t3030
t3031
t3032
t3033
t3034
t3035
t3036
t3037
t3038
t3039
t3040
t3041
t3042
t3043
t3044
t3045
t3046
t3047
t3048
t3049
t3050
t3051
t3052
t3053
t3054
t3055
t3056
t3057
t3058
t3059
t3060
t3061
t3062
t3063
t3064
t3065
t3066
t3067
t3068
t3069
t3070
t3071
t3072
t3073
t3074
t3075
t3076
t3077
t3078
t3079
t3080
t3081
t3082
t3083
t3084
t3085
t3086
t3087
t3088
t3089
t3090
t3091
t3092
t3093
t3094
t3095
t3096
t3097
t3098
t3099
t3100
t3101
t3102
t3103
t3104
t3105
t3106
t3107
t3108
t3109
t3110
t3111
t3112
t3113
t3114
t3115
t3116
t3117
t3118
t3119
t3120
t3121
t3122
t3123
t3124
t3125
t3126
t3127
t3128
t3129
t3130
t3131
t3132
t3133
t3134
t3135
t3136
t3137
t3138
t3139
t3140
t3141
t3142
t3143
t3144
t3145
t3146
t3147
t3148
t3149
t3150
t3151
t3152
t3153
t4381
t4382
t4383
t4384
t2347
t2348
t20
t21
t22
t23
t24

check for constant places
ok
check if there are places and transitions
ok
check if there are transitions without pre-places
ok
check if at least one transition is enabled in m0
ok
check if there are transitions that can never fire
ok


initing FirstDep: 0m 0.018sec

1000 1188 1339 1426 1232 2698 2712 3075 3214 3482 6071 6145 6244 6303 6137
iterations count:1571979 (354), effective:13860 (3)

initing FirstDep: 0m 0.022sec

9679 10036 9764 10175
iterations count:422049 (95), effective:6128 (1)
6126 6125 9116 8977 8912 9382 9772
sat_reach.icc:155: Timeout: after 233 sec

8624 9617 9320 9849 10367
sat_reach.icc:155: Timeout: after 217 sec


iterations count:18714 (4), effective:16 (0)
8624 9617 9320 9849 10367
sat_reach.icc:155: Timeout: after 217 sec

10481 9678 10297 11455
iterations count:401065 (90), effective:6118 (1)

iterations count:15656 (3), effective:58 (0)
6457 6443 8807 9690 9066
sat_reach.icc:155: Timeout: after 241 sec

14150
iterations count:184548 (41), effective:2005 (0)

iterations count:8511 (1), effective:49 (0)
9638 9990 10384 10252 9928
iterations count:542165 (122), effective:11463 (2)
6126 6125 9116 8977 8912 9382 9772 8912 9809 9102 9184
iterations count:1197192 (270), effective:21159 (4)
8624 9617 9320 9849 10367 10025 10302 10118 10608 10046 9177
iterations count:1124407 (253), effective:19788 (4)
8624 9617 9320 9849 10367 10025 10302 10118 10608 10046 9177
iterations count:1124407 (253), effective:19788 (4)

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="EnergyBus-PT-none"
export BK_EXAMINATION="ReachabilityCardinality"
export BK_TOOL="marcie"
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

tar xzf /home/mcc/BenchKit/INPUTS/EnergyBus-PT-none.tgz
mv EnergyBus-PT-none execution

# this is for BenchKit: explicit launching of the test

cd execution
echo "====================================================================="
echo " Generated by BenchKit 2-3254"
echo " Executing tool marcie"
echo " Input is EnergyBus-PT-none, examination is ReachabilityCardinality"
echo " Time confinement is $BK_TIME_CONFINEMENT seconds"
echo " Memory confinement is 16384 MBytes"
echo " Number of cores is 1"
echo " Run identifier is r021-blw3-149440255100322"
echo "====================================================================="
echo
echo "--------------------"
echo "content from stdout:"
echo
echo "=== Data for post analysis generated by BenchKit (invocation template)"
echo
if [ "ReachabilityCardinality" = "UpperBounds" ] ; then
echo "The expected result is a vector of positive values"
echo NUM_VECTOR
elif [ "ReachabilityCardinality" != "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 "ReachabilityCardinality.txt" ] ; then
echo "here is the order used to build the result vector(from text file)"
for x in $(grep Property ReachabilityCardinality.txt | cut -d ' ' -f 2 | sort -u) ; do
echo "FORMULA_NAME $x"
done
elif [ -f "ReachabilityCardinality.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 '' ReachabilityCardinality.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 ;