~tapaal-ltl/verifypn/scc-optimise

« back to all changes in this revision

Viewing changes to test_models/discrete-test010/model.pnml

  • Committer: srba.jiri at gmail
  • Date: 2020-09-11 14:23:39 UTC
  • mfrom: (213.1.151 interval_tar)
  • Revision ID: srba.jiri@gmail.com-20200911142339-bq9328s1gppw24uj
merged in lp:~verifypn-maintainers/verifypn/interval_tar doing 
- Implements TAR w/o z3, but using a simple integer inference engine for Hoare logic.
 - Replaces LP-Solve with GLPK, reduces computation-time and memory overhead
 - Implements new global properties, translated into CTL formulae.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
 
2
<pnml xmlns="http://www.pnml.org/version-2009/grammar/pnml">
 
3
    <net id="ComposedModel" type="http://www.pnml.org/version-2009/grammar/ptnet">
 
4
        <page id="page0">
 
5
            <place id="Train_close">
 
6
                <graphics>
 
7
                    <position x="105" y="225"/>
 
8
                </graphics>
 
9
                <name>
 
10
                    <graphics>
 
11
                        <offset x="-5" y="35"/>
 
12
                    </graphics>
 
13
                    <text>Train_close</text>
 
14
                </name>
 
15
                <initialMarking>
 
16
                    <text>0</text>
 
17
                </initialMarking>
 
18
            </place>
 
19
            <place id="Train_on">
 
20
                <graphics>
 
21
                    <position x="330" y="120"/>
 
22
                </graphics>
 
23
                <name>
 
24
                    <graphics>
 
25
                        <offset x="-5" y="35"/>
 
26
                    </graphics>
 
27
                    <text>Train_on</text>
 
28
                </name>
 
29
                <initialMarking>
 
30
                    <text>0</text>
 
31
                </initialMarking>
 
32
            </place>
 
33
            <place id="Train_far">
 
34
                <graphics>
 
35
                    <position x="345" y="390"/>
 
36
                </graphics>
 
37
                <name>
 
38
                    <graphics>
 
39
                        <offset x="-5" y="35"/>
 
40
                    </graphics>
 
41
                    <text>Train_far</text>
 
42
                </name>
 
43
                <initialMarking>
 
44
                    <text>3</text>
 
45
                </initialMarking>
 
46
            </place>
 
47
            <place id="Train_left">
 
48
                <graphics>
 
49
                    <position x="555" y="240"/>
 
50
                </graphics>
 
51
                <name>
 
52
                    <graphics>
 
53
                        <offset x="-23" y="5"/>
 
54
                    </graphics>
 
55
                    <text>Train_left</text>
 
56
                </name>
 
57
                <initialMarking>
 
58
                    <text>0</text>
 
59
                </initialMarking>
 
60
            </place>
 
61
            <place id="Barrier_open">
 
62
                <graphics>
 
63
                    <position x="900" y="255"/>
 
64
                </graphics>
 
65
                <name>
 
66
                    <graphics>
 
67
                        <offset x="-5" y="35"/>
 
68
                    </graphics>
 
69
                    <text>Barrier_open</text>
 
70
                </name>
 
71
                <initialMarking>
 
72
                    <text>1</text>
 
73
                </initialMarking>
 
74
            </place>
 
75
            <place id="Barrier_lowering">
 
76
                <graphics>
 
77
                    <position x="1080" y="120"/>
 
78
                </graphics>
 
79
                <name>
 
80
                    <graphics>
 
81
                        <offset x="-5" y="35"/>
 
82
                    </graphics>
 
83
                    <text>Barrier_lowering</text>
 
84
                </name>
 
85
                <initialMarking>
 
86
                    <text>0</text>
 
87
                </initialMarking>
 
88
            </place>
 
89
            <place id="Barrier_raising">
 
90
                <graphics>
 
91
                    <position x="1095" y="360"/>
 
92
                </graphics>
 
93
                <name>
 
94
                    <graphics>
 
95
                        <offset x="-5" y="35"/>
 
96
                    </graphics>
 
97
                    <text>Barrier_raising</text>
 
98
                </name>
 
99
                <initialMarking>
 
100
                    <text>0</text>
 
101
                </initialMarking>
 
102
            </place>
 
103
            <place id="Barrier_closed">
 
104
                <graphics>
 
105
                    <position x="1305" y="240"/>
 
106
                </graphics>
 
107
                <name>
 
108
                    <graphics>
 
109
                        <offset x="-5" y="35"/>
 
110
                    </graphics>
 
111
                    <text>Barrier_closed</text>
 
112
                </name>
 
113
                <initialMarking>
 
114
                    <text>0</text>
 
115
                </initialMarking>
 
116
            </place>
 
117
            <place id="Barrier_P0">
 
118
                <graphics>
 
119
                    <position x="1395" y="150"/>
 
120
                </graphics>
 
121
                <name>
 
122
                    <graphics>
 
123
                        <offset x="-5" y="35"/>
 
124
                    </graphics>
 
125
                    <text>Barrier_P0</text>
 
126
                </name>
 
127
                <initialMarking>
 
128
                    <text>0</text>
 
129
                </initialMarking>
 
130
            </place>
 
131
            <place id="Barrier_error">
 
132
                <graphics>
 
133
                    <position x="1590" y="150"/>
 
134
                </graphics>
 
135
                <name>
 
136
                    <graphics>
 
137
                        <offset x="-5" y="35"/>
 
138
                    </graphics>
 
139
                    <text>Barrier_error</text>
 
140
                </name>
 
141
                <initialMarking>
 
142
                    <text>0</text>
 
143
                </initialMarking>
 
144
            </place>
 
145
            <place id="Controller_in">
 
146
                <graphics>
 
147
                    <position x="45" y="960"/>
 
148
                </graphics>
 
149
                <name>
 
150
                    <graphics>
 
151
                        <offset x="-5" y="35"/>
 
152
                    </graphics>
 
153
                    <text>Controller_in</text>
 
154
                </name>
 
155
                <initialMarking>
 
156
                    <text>0</text>
 
157
                </initialMarking>
 
158
            </place>
 
159
            <place id="Controller_far">
 
160
                <graphics>
 
161
                    <position x="315" y="960"/>
 
162
                </graphics>
 
163
                <name>
 
164
                    <graphics>
 
165
                        <offset x="-5" y="35"/>
 
166
                    </graphics>
 
167
                    <text>Controller_far</text>
 
168
                </name>
 
169
                <initialMarking>
 
170
                    <text>3</text>
 
171
                </initialMarking>
 
172
            </place>
 
173
            <place id="Controller_comming">
 
174
                <graphics>
 
175
                    <position x="315" y="750"/>
 
176
                </graphics>
 
177
                <name>
 
178
                    <graphics>
 
179
                        <offset x="-5" y="35"/>
 
180
                    </graphics>
 
181
                    <text>Controller_comming</text>
 
182
                </name>
 
183
                <initialMarking>
 
184
                    <text>0</text>
 
185
                </initialMarking>
 
186
            </place>
 
187
            <place id="Controller_leaving">
 
188
                <graphics>
 
189
                    <position x="330" y="1170"/>
 
190
                </graphics>
 
191
                <name>
 
192
                    <graphics>
 
193
                        <offset x="-5" y="35"/>
 
194
                    </graphics>
 
195
                    <text>Controller_leaving</text>
 
196
                </name>
 
197
                <initialMarking>
 
198
                    <text>0</text>
 
199
                </initialMarking>
 
200
            </place>
 
201
            <place id="Controller_waiting">
 
202
                <graphics>
 
203
                    <position x="315" y="645"/>
 
204
                </graphics>
 
205
                <name>
 
206
                    <graphics>
 
207
                        <offset x="-4" y="10"/>
 
208
                    </graphics>
 
209
                    <text>Controller_waiting</text>
 
210
                </name>
 
211
                <initialMarking>
 
212
                    <text>0</text>
 
213
                </initialMarking>
 
214
            </place>
 
215
            <place id="Controller_P1">
 
216
                <graphics>
 
217
                    <position x="330" y="1290"/>
 
218
                </graphics>
 
219
                <name>
 
220
                    <graphics>
 
221
                        <offset x="-5" y="35"/>
 
222
                    </graphics>
 
223
                    <text>Controller_P1</text>
 
224
                </name>
 
225
                <initialMarking>
 
226
                    <text>0</text>
 
227
                </initialMarking>
 
228
            </place>
 
229
            <transition id="Train_in">
 
230
                <name>
 
231
                    <graphics>
 
232
                        <offset x="-5" y="35"/>
 
233
                    </graphics>
 
234
                    <text>Train_in</text>
 
235
                </name>
 
236
                <graphics>
 
237
                    <position x="180" y="120"/>
 
238
                </graphics>
 
239
            </transition>
 
240
            <transition id="Train_ex">
 
241
                <name>
 
242
                    <graphics>
 
243
                        <offset x="-5" y="35"/>
 
244
                    </graphics>
 
245
                    <text>Train_ex</text>
 
246
                </name>
 
247
                <graphics>
 
248
                    <position x="465" y="120"/>
 
249
                </graphics>
 
250
            </transition>
 
251
            <transition id="Shared_app">
 
252
                <name>
 
253
                    <graphics>
 
254
                        <offset x="-5" y="35"/>
 
255
                    </graphics>
 
256
                    <text>Shared_app</text>
 
257
                </name>
 
258
                <graphics>
 
259
                    <position x="210" y="330"/>
 
260
                </graphics>
 
261
            </transition>
 
262
            <transition id="Shared_app_first">
 
263
                <name>
 
264
                    <graphics>
 
265
                        <offset x="-5" y="35"/>
 
266
                    </graphics>
 
267
                    <text>Shared_app_first</text>
 
268
                </name>
 
269
                <graphics>
 
270
                    <position x="165" y="420"/>
 
271
                </graphics>
 
272
            </transition>
 
273
            <transition id="Shared_exit">
 
274
                <name>
 
275
                    <graphics>
 
276
                        <offset x="-5" y="35"/>
 
277
                    </graphics>
 
278
                    <text>Shared_exit</text>
 
279
                </name>
 
280
                <graphics>
 
281
                    <position x="435" y="315"/>
 
282
                </graphics>
 
283
            </transition>
 
284
            <transition id="Shared_exit_last">
 
285
                <name>
 
286
                    <graphics>
 
287
                        <offset x="-5" y="35"/>
 
288
                    </graphics>
 
289
                    <text>Shared_exit_last</text>
 
290
                </name>
 
291
                <graphics>
 
292
                    <position x="510" y="405"/>
 
293
                </graphics>
 
294
            </transition>
 
295
            <transition id="Shared_down">
 
296
                <name>
 
297
                    <graphics>
 
298
                        <offset x="-5" y="35"/>
 
299
                    </graphics>
 
300
                    <text>Shared_down</text>
 
301
                </name>
 
302
                <graphics>
 
303
                    <position x="945" y="135"/>
 
304
                </graphics>
 
305
            </transition>
 
306
            <transition id="Shared_down1">
 
307
                <name>
 
308
                    <graphics>
 
309
                        <offset x="-5" y="35"/>
 
310
                    </graphics>
 
311
                    <text>Shared_down1</text>
 
312
                </name>
 
313
                <graphics>
 
314
                    <position x="1080" y="240"/>
 
315
                </graphics>
 
316
            </transition>
 
317
            <transition id="Barrier_L">
 
318
                <name>
 
319
                    <graphics>
 
320
                        <offset x="-5" y="35"/>
 
321
                    </graphics>
 
322
                    <text>Barrier_L</text>
 
323
                </name>
 
324
                <graphics>
 
325
                    <position x="1215" y="135"/>
 
326
                </graphics>
 
327
            </transition>
 
328
            <transition id="Shared_up">
 
329
                <name>
 
330
                    <graphics>
 
331
                        <offset x="-5" y="35"/>
 
332
                    </graphics>
 
333
                    <text>Shared_up</text>
 
334
                </name>
 
335
                <graphics>
 
336
                    <position x="1230" y="360"/>
 
337
                </graphics>
 
338
            </transition>
 
339
            <transition id="Barrier_R">
 
340
                <name>
 
341
                    <graphics>
 
342
                        <offset x="-5" y="35"/>
 
343
                    </graphics>
 
344
                    <text>Barrier_R</text>
 
345
                </name>
 
346
                <graphics>
 
347
                    <position x="960" y="360"/>
 
348
                </graphics>
 
349
            </transition>
 
350
            <transition id="Shared_waitOne">
 
351
                <name>
 
352
                    <graphics>
 
353
                        <offset x="-5" y="35"/>
 
354
                    </graphics>
 
355
                    <text>Shared_waitOne</text>
 
356
                </name>
 
357
                <graphics>
 
358
                    <position x="1125" y="15"/>
 
359
                </graphics>
 
360
            </transition>
 
361
            <transition id="Shared_waitOne1">
 
362
                <name>
 
363
                    <graphics>
 
364
                        <offset x="-5" y="35"/>
 
365
                    </graphics>
 
366
                    <text>Shared_waitOne1</text>
 
367
                </name>
 
368
                <graphics>
 
369
                    <position x="1395" y="360"/>
 
370
                </graphics>
 
371
            </transition>
 
372
            <transition id="Barrier_T3">
 
373
                <name>
 
374
                    <graphics>
 
375
                        <offset x="-5" y="35"/>
 
376
                    </graphics>
 
377
                    <text>Barrier_T3</text>
 
378
                </name>
 
379
                <graphics>
 
380
                    <position x="1515" y="150"/>
 
381
                </graphics>
 
382
            </transition>
 
383
            <transition id="Barrier_T5">
 
384
                <name>
 
385
                    <graphics>
 
386
                        <offset x="-5" y="35"/>
 
387
                    </graphics>
 
388
                    <text>Barrier_T5</text>
 
389
                </name>
 
390
                <graphics>
 
391
                    <position x="1410" y="210"/>
 
392
                </graphics>
 
393
            </transition>
 
394
            <transition id="Controller_ready">
 
395
                <name>
 
396
                    <graphics>
 
397
                        <offset x="-5" y="35"/>
 
398
                    </graphics>
 
399
                    <text>Controller_ready</text>
 
400
                </name>
 
401
                <graphics>
 
402
                    <position x="360" y="690"/>
 
403
                </graphics>
 
404
            </transition>
 
405
            <transition id="Controller_return">
 
406
                <name>
 
407
                    <graphics>
 
408
                        <offset x="-5" y="35"/>
 
409
                    </graphics>
 
410
                    <text>Controller_return</text>
 
411
                </name>
 
412
                <graphics>
 
413
                    <position x="375" y="1230"/>
 
414
                </graphics>
 
415
            </transition>
 
416
            <arc id="Train_close_to_Train_in" source="Train_close" target="Train_in" type="normal"/>
 
417
            <arc id="Train_on_to_Train_ex" source="Train_on" target="Train_ex" type="normal"/>
 
418
            <arc id="Train_left_to_Shared_exit_last" source="Train_left" target="Shared_exit_last" type="normal"/>
 
419
            <arc id="Train_left_to_Shared_exit" source="Train_left" target="Shared_exit" type="normal"/>
 
420
            <arc id="Train_far_to_Shared_app" source="Train_far" target="Shared_app" type="normal"/>
 
421
            <arc id="Train_far_to_Shared_app_first" source="Train_far" target="Shared_app_first" type="normal"/>
 
422
            <arc id="Barrier_open_to_Shared_down" source="Barrier_open" target="Shared_down" type="normal"/>
 
423
            <arc id="Barrier_lowering_to_Barrier_L" source="Barrier_lowering" target="Barrier_L" type="normal"/>
 
424
            <arc id="Barrier_closed_to_Shared_up" source="Barrier_closed" target="Shared_up" type="normal"/>
 
425
            <arc id="Barrier_raising_to_Barrier_R" source="Barrier_raising" target="Barrier_R" type="normal"/>
 
426
            <arc id="Barrier_raising_to_Shared_down1" source="Barrier_raising" target="Shared_down1" type="normal"/>
 
427
            <arc id="Barrier_P0_to_Barrier_L" source="Barrier_P0" target="Barrier_L" type="normal"/>
 
428
            <arc id="Barrier_P0_to_Barrier_T3" source="Barrier_P0" target="Barrier_T3" type="normal"/>
 
429
            <arc id="Barrier_closed_to_Barrier_T5" source="Barrier_closed" target="Barrier_T5" type="normal">
 
430
                <graphics>
 
431
                    <position x="1349" y="209"/>
 
432
                </graphics>
 
433
            </arc>
 
434
            <arc id="Barrier_P0_to_Barrier_T5" source="Barrier_P0" target="Barrier_T5" type="normal"/>
 
435
            <arc id="Controller_in_to_Shared_app" source="Controller_in" target="Shared_app" type="normal">
 
436
                <graphics>
 
437
                    <position x="105" y="915"/>
 
438
                </graphics>
 
439
            </arc>
 
440
            <arc id="Controller_far_to_Shared_app" source="Controller_far" target="Shared_app" type="normal"/>
 
441
            <arc id="Controller_far_to_Shared_app_first" source="Controller_far" target="Shared_app_first" type="normal">
 
442
                <inscription>
 
443
                    <text>3</text>
 
444
                </inscription>
 
445
                <graphics>
 
446
                    <position x="285" y="855"/>
 
447
                </graphics>
 
448
            </arc>
 
449
            <arc id="Controller_comming_to_Shared_down" source="Controller_comming" target="Shared_down" type="normal"/>
 
450
            <arc id="Controller_comming_to_Shared_down1" source="Controller_comming" target="Shared_down1" type="normal"/>
 
451
            <arc id="Controller_in_to_Shared_exit" source="Controller_in" target="Shared_exit" type="normal">
 
452
                <inscription>
 
453
                    <text>2</text>
 
454
                </inscription>
 
455
                <graphics>
 
456
                    <position x="60" y="990"/>
 
457
                    <position x="135" y="1005"/>
 
458
                </graphics>
 
459
            </arc>
 
460
            <arc id="Controller_in_to_Shared_exit_last" source="Controller_in" target="Shared_exit_last" type="normal">
 
461
                <graphics>
 
462
                    <position x="75" y="1125"/>
 
463
                </graphics>
 
464
            </arc>
 
465
            <arc id="Controller_leaving_to_Shared_up" source="Controller_leaving" target="Shared_up" type="normal"/>
 
466
            <arc id="Controller_far_to_Shared_exit_last" source="Controller_far" target="Shared_exit_last" type="normal">
 
467
                <inscription>
 
468
                    <text>2</text>
 
469
                </inscription>
 
470
                <graphics>
 
471
                    <position x="285" y="1110"/>
 
472
                </graphics>
 
473
            </arc>
 
474
            <arc id="Controller_comming_to_Shared_waitOne" source="Controller_comming" target="Shared_waitOne" type="normal"/>
 
475
            <arc id="Controller_waiting_to_Controller_ready" source="Controller_waiting" target="Controller_ready" type="normal"/>
 
476
            <arc id="Controller_leaving_to_Shared_waitOne1" source="Controller_leaving" target="Shared_waitOne1" type="normal"/>
 
477
            <arc id="Controller_P1_to_Controller_return" source="Controller_P1" target="Controller_return" type="normal"/>
 
478
            <arc id="Train_in_to_Train_on" source="Train_in" target="Train_on" type="normal"/>
 
479
            <arc id="Train_ex_to_Train_left" source="Train_ex" target="Train_left" type="normal"/>
 
480
            <arc id="Shared_exit_last_to_Train_far" source="Shared_exit_last" target="Train_far" type="normal"/>
 
481
            <arc id="Shared_exit_to_Train_far" source="Shared_exit" target="Train_far" type="normal"/>
 
482
            <arc id="Shared_app_to_Train_close" source="Shared_app" target="Train_close" type="normal"/>
 
483
            <arc id="Shared_app_first_to_Train_close" source="Shared_app_first" target="Train_close" type="normal"/>
 
484
            <arc id="Shared_down_to_Barrier_lowering" source="Shared_down" target="Barrier_lowering" type="normal"/>
 
485
            <arc id="Barrier_L_to_Barrier_closed" source="Barrier_L" target="Barrier_closed" type="normal"/>
 
486
            <arc id="Shared_up_to_Barrier_raising" source="Shared_up" target="Barrier_raising" type="normal"/>
 
487
            <arc id="Barrier_R_to_Barrier_open" source="Barrier_R" target="Barrier_open" type="normal"/>
 
488
            <arc id="Shared_down1_to_Barrier_lowering" source="Shared_down1" target="Barrier_lowering" type="normal"/>
 
489
            <arc id="Shared_app_first_to_Barrier_P0" source="Shared_app_first" target="Barrier_P0" type="normal"/>
 
490
            <arc id="Barrier_T3_to_Barrier_error" source="Barrier_T3" target="Barrier_error" type="normal"/>
 
491
            <arc id="Barrier_T5_to_Barrier_closed" source="Barrier_T5" target="Barrier_closed" type="normal">
 
492
                <graphics>
 
493
                    <position x="1364" y="284"/>
 
494
                </graphics>
 
495
            </arc>
 
496
            <arc id="Shared_app_to_Controller_in" source="Shared_app" target="Controller_in" type="normal">
 
497
                <inscription>
 
498
                    <text>2</text>
 
499
                </inscription>
 
500
                <graphics>
 
501
                    <position x="135" y="975"/>
 
502
                </graphics>
 
503
            </arc>
 
504
            <arc id="Shared_app_first_to_Controller_far" source="Shared_app_first" target="Controller_far" type="normal">
 
505
                <inscription>
 
506
                    <text>2</text>
 
507
                </inscription>
 
508
                <graphics>
 
509
                    <position x="240" y="885"/>
 
510
                </graphics>
 
511
            </arc>
 
512
            <arc id="Shared_app_first_to_Controller_in" source="Shared_app_first" target="Controller_in" type="normal"/>
 
513
            <arc id="Shared_app_first_to_Controller_comming" source="Shared_app_first" target="Controller_comming" type="normal"/>
 
514
            <arc id="Shared_exit_to_Controller_in" source="Shared_exit" target="Controller_in" type="normal">
 
515
                <graphics>
 
516
                    <position x="90" y="1065"/>
 
517
                </graphics>
 
518
            </arc>
 
519
            <arc id="Shared_exit_to_Controller_far" source="Shared_exit" target="Controller_far" type="normal"/>
 
520
            <arc id="Shared_exit_last_to_Controller_leaving" source="Shared_exit_last" target="Controller_leaving" type="normal"/>
 
521
            <arc id="Shared_exit_last_to_Controller_far" source="Shared_exit_last" target="Controller_far" type="normal">
 
522
                <inscription>
 
523
                    <text>3</text>
 
524
                </inscription>
 
525
                <graphics>
 
526
                    <position x="225" y="1080"/>
 
527
                </graphics>
 
528
            </arc>
 
529
            <arc id="Shared_waitOne_to_Controller_waiting" source="Shared_waitOne" target="Controller_waiting" type="normal"/>
 
530
            <arc id="Controller_ready_to_Controller_comming" source="Controller_ready" target="Controller_comming" type="normal"/>
 
531
            <arc id="Shared_waitOne1_to_Controller_P1" source="Shared_waitOne1" target="Controller_P1" type="normal"/>
 
532
            <arc id="Controller_return_to_Controller_leaving" source="Controller_return" target="Controller_leaving" type="normal"/>
 
533
            <arc id="Barrier_open_to_Shared_waitOne" source="Barrier_open" target="Shared_waitOne" type="inhibitor">
 
534
                <graphics>
 
535
                    <position x="884" y="89"/>
 
536
                </graphics>
 
537
            </arc>
 
538
            <arc id="Barrier_raising_to_Shared_waitOne" source="Barrier_raising" target="Shared_waitOne" type="inhibitor">
 
539
                <graphics>
 
540
                    <position x="1124" y="479"/>
 
541
                    <position x="1529" y="434"/>
 
542
                    <position x="1424" y="134"/>
 
543
                </graphics>
 
544
            </arc>
 
545
            <arc id="Barrier_closed_to_Shared_waitOne1" source="Barrier_closed" target="Shared_waitOne1" type="inhibitor"/>
 
546
            <arc id="Barrier_closed_to_Barrier_T3" source="Barrier_closed" target="Barrier_T3" type="inhibitor">
 
547
                <graphics>
 
548
                    <position x="1499" y="254"/>
 
549
                </graphics>
 
550
            </arc>
 
551
            <arc id="Barrier_P0_to_Shared_up" source="Barrier_P0" target="Shared_up" type="inhibitor">
 
552
                <graphics>
 
553
                    <position x="1229" y="224"/>
 
554
                </graphics>
 
555
            </arc>
 
556
        </page>
 
557
        <name>
 
558
            <text>ComposedModel</text>
 
559
        </name>
 
560
    </net>
 
561
</pnml>