~tapaal-ltl/verifypn/scc-optimise

« back to all changes in this revision

Viewing changes to test_models/deadlock-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="Shared_Doctor1">
 
6
                <graphics>
 
7
                    <position x="315" y="150"/>
 
8
                </graphics>
 
9
                <name>
 
10
                    <graphics>
 
11
                        <offset x="-5" y="35"/>
 
12
                    </graphics>
 
13
                    <text>Shared_Doctor1</text>
 
14
                </name>
 
15
                <initialMarking>
 
16
                    <text>1</text>
 
17
                </initialMarking>
 
18
            </place>
 
19
            <place id="Shared_Doctor2">
 
20
                <graphics>
 
21
                    <position x="435" y="150"/>
 
22
                </graphics>
 
23
                <name>
 
24
                    <graphics>
 
25
                        <offset x="-5" y="35"/>
 
26
                    </graphics>
 
27
                    <text>Shared_Doctor2</text>
 
28
                </name>
 
29
                <initialMarking>
 
30
                    <text>1</text>
 
31
                </initialMarking>
 
32
            </place>
 
33
            <place id="Shared_in1">
 
34
                <graphics>
 
35
                    <position x="300" y="90"/>
 
36
                </graphics>
 
37
                <name>
 
38
                    <graphics>
 
39
                        <offset x="68" y="24"/>
 
40
                    </graphics>
 
41
                    <text>Shared_in1</text>
 
42
                </name>
 
43
                <initialMarking>
 
44
                    <text>0</text>
 
45
                </initialMarking>
 
46
            </place>
 
47
            <place id="Shared_in2">
 
48
                <graphics>
 
49
                    <position x="315" y="315"/>
 
50
                </graphics>
 
51
                <name>
 
52
                    <graphics>
 
53
                        <offset x="59" y="32"/>
 
54
                    </graphics>
 
55
                    <text>Shared_in2</text>
 
56
                </name>
 
57
                <initialMarking>
 
58
                    <text>0</text>
 
59
                </initialMarking>
 
60
            </place>
 
61
            <place id="WorkflowNet1_out">
 
62
                <graphics>
 
63
                    <position x="660" y="180"/>
 
64
                </graphics>
 
65
                <name>
 
66
                    <graphics>
 
67
                        <offset x="60" y="18"/>
 
68
                    </graphics>
 
69
                    <text>WorkflowNet1_out</text>
 
70
                </name>
 
71
                <initialMarking>
 
72
                    <text>0</text>
 
73
                </initialMarking>
 
74
            </place>
 
75
            <place id="WorkflowNet1_Doctor1_working">
 
76
                <graphics>
 
77
                    <position x="330" y="45"/>
 
78
                </graphics>
 
79
                <name>
 
80
                    <graphics>
 
81
                        <offset x="32" y="-12"/>
 
82
                    </graphics>
 
83
                    <text>WorkflowNet1_Doctor1_working</text>
 
84
                </name>
 
85
                <initialMarking>
 
86
                    <text>0</text>
 
87
                </initialMarking>
 
88
            </place>
 
89
            <place id="WorkflowNet1_Doctor2_working">
 
90
                <graphics>
 
91
                    <position x="555" y="45"/>
 
92
                </graphics>
 
93
                <name>
 
94
                    <graphics>
 
95
                        <offset x="89" y="-15"/>
 
96
                    </graphics>
 
97
                    <text>WorkflowNet1_Doctor2_working</text>
 
98
                </name>
 
99
                <initialMarking>
 
100
                    <text>0</text>
 
101
                </initialMarking>
 
102
            </place>
 
103
            <place id="WorkflowNet2_out">
 
104
                <graphics>
 
105
                    <position x="1320" y="180"/>
 
106
                </graphics>
 
107
                <name>
 
108
                    <graphics>
 
109
                        <offset x="60" y="18"/>
 
110
                    </graphics>
 
111
                    <text>WorkflowNet2_out</text>
 
112
                </name>
 
113
                <initialMarking>
 
114
                    <text>0</text>
 
115
                </initialMarking>
 
116
            </place>
 
117
            <place id="WorkflowNet2_Doctor1_working">
 
118
                <graphics>
 
119
                    <position x="990" y="45"/>
 
120
                </graphics>
 
121
                <name>
 
122
                    <graphics>
 
123
                        <offset x="32" y="-12"/>
 
124
                    </graphics>
 
125
                    <text>WorkflowNet2_Doctor1_working</text>
 
126
                </name>
 
127
                <initialMarking>
 
128
                    <text>0</text>
 
129
                </initialMarking>
 
130
            </place>
 
131
            <place id="WorkflowNet2_Doctor2_working">
 
132
                <graphics>
 
133
                    <position x="1215" y="45"/>
 
134
                </graphics>
 
135
                <name>
 
136
                    <graphics>
 
137
                        <offset x="89" y="-15"/>
 
138
                    </graphics>
 
139
                    <text>WorkflowNet2_Doctor2_working</text>
 
140
                </name>
 
141
                <initialMarking>
 
142
                    <text>0</text>
 
143
                </initialMarking>
 
144
            </place>
 
145
            <place id="SynchronousStart_start">
 
146
                <graphics>
 
147
                    <position x="75" y="495"/>
 
148
                </graphics>
 
149
                <name>
 
150
                    <graphics>
 
151
                        <offset x="-5" y="35"/>
 
152
                    </graphics>
 
153
                    <text>SynchronousStart_start</text>
 
154
                </name>
 
155
                <initialMarking>
 
156
                    <text>1</text>
 
157
                </initialMarking>
 
158
            </place>
 
159
            <transition id="WorkflowNet1_treat">
 
160
                <name>
 
161
                    <graphics>
 
162
                        <offset x="-9" y="10"/>
 
163
                    </graphics>
 
164
                    <text>WorkflowNet1_treat</text>
 
165
                </name>
 
166
                <graphics>
 
167
                    <position x="240" y="45"/>
 
168
                </graphics>
 
169
            </transition>
 
170
            <transition id="WorkflowNet1_wait_for_tomorrow">
 
171
                <name>
 
172
                    <graphics>
 
173
                        <offset x="-5" y="35"/>
 
174
                    </graphics>
 
175
                    <text>WorkflowNet1_wait_for_tomorrow</text>
 
176
                </name>
 
177
                <graphics>
 
178
                    <position x="240" y="315"/>
 
179
                </graphics>
 
180
            </transition>
 
181
            <transition id="WorkflowNet1_Doctor1_done">
 
182
                <name>
 
183
                    <graphics>
 
184
                        <offset x="44" y="-17"/>
 
185
                    </graphics>
 
186
                    <text>WorkflowNet1_Doctor1_done</text>
 
187
                </name>
 
188
                <graphics>
 
189
                    <position x="435" y="45"/>
 
190
                </graphics>
 
191
            </transition>
 
192
            <transition id="WorkflowNet1_Doctor2_done_Doctor1_check">
 
193
                <name>
 
194
                    <graphics>
 
195
                        <offset x="189" y="17"/>
 
196
                    </graphics>
 
197
                    <text>WorkflowNet1_Doctor2_done_Doctor1_check</text>
 
198
                </name>
 
199
                <graphics>
 
200
                    <position x="585" y="120"/>
 
201
                </graphics>
 
202
            </transition>
 
203
            <transition id="WorkflowNet2_treat">
 
204
                <name>
 
205
                    <graphics>
 
206
                        <offset x="-9" y="10"/>
 
207
                    </graphics>
 
208
                    <text>WorkflowNet2_treat</text>
 
209
                </name>
 
210
                <graphics>
 
211
                    <position x="900" y="45"/>
 
212
                </graphics>
 
213
            </transition>
 
214
            <transition id="WorkflowNet2_wait_for_tomorrow">
 
215
                <name>
 
216
                    <graphics>
 
217
                        <offset x="-5" y="35"/>
 
218
                    </graphics>
 
219
                    <text>WorkflowNet2_wait_for_tomorrow</text>
 
220
                </name>
 
221
                <graphics>
 
222
                    <position x="900" y="315"/>
 
223
                </graphics>
 
224
            </transition>
 
225
            <transition id="WorkflowNet2_Doctor1_done">
 
226
                <name>
 
227
                    <graphics>
 
228
                        <offset x="44" y="-17"/>
 
229
                    </graphics>
 
230
                    <text>WorkflowNet2_Doctor1_done</text>
 
231
                </name>
 
232
                <graphics>
 
233
                    <position x="1095" y="45"/>
 
234
                </graphics>
 
235
            </transition>
 
236
            <transition id="WorkflowNet2_Doctor2_done_Doctor1_check">
 
237
                <name>
 
238
                    <graphics>
 
239
                        <offset x="189" y="17"/>
 
240
                    </graphics>
 
241
                    <text>WorkflowNet2_Doctor2_done_Doctor1_check</text>
 
242
                </name>
 
243
                <graphics>
 
244
                    <position x="1245" y="120"/>
 
245
                </graphics>
 
246
            </transition>
 
247
            <transition id="SynchronousStart_SynchStart">
 
248
                <name>
 
249
                    <graphics>
 
250
                        <offset x="-5" y="35"/>
 
251
                    </graphics>
 
252
                    <text>SynchronousStart_SynchStart</text>
 
253
                </name>
 
254
                <graphics>
 
255
                    <position x="195" y="495"/>
 
256
                </graphics>
 
257
            </transition>
 
258
            <arc id="Shared_in1_to_WorkflowNet1_treat" source="Shared_in1" target="WorkflowNet1_treat" type="normal"/>
 
259
            <arc id="Shared_in1_to_WorkflowNet1_wait_for_tomorrow" source="Shared_in1" target="WorkflowNet1_wait_for_tomorrow" type="normal"/>
 
260
            <arc id="Shared_Doctor1_to_WorkflowNet1_treat" source="Shared_Doctor1" target="WorkflowNet1_treat" type="normal"/>
 
261
            <arc id="WorkflowNet1_Doctor1_working_to_WorkflowNet1_Doctor1_done" source="WorkflowNet1_Doctor1_working" target="WorkflowNet1_Doctor1_done" type="normal"/>
 
262
            <arc id="Shared_Doctor2_to_WorkflowNet1_Doctor1_done" source="Shared_Doctor2" target="WorkflowNet1_Doctor1_done" type="normal"/>
 
263
            <arc id="WorkflowNet1_Doctor2_working_to_WorkflowNet1_Doctor2_done_Doctor1_check" source="WorkflowNet1_Doctor2_working" target="WorkflowNet1_Doctor2_done_Doctor1_check" type="normal"/>
 
264
            <arc id="Shared_Doctor1_to_WorkflowNet1_Doctor2_done_Doctor1_check" source="Shared_Doctor1" target="WorkflowNet1_Doctor2_done_Doctor1_check" type="normal">
 
265
                <graphics>
 
266
                    <position x="410" y="225"/>
 
267
                    <position x="556" y="196"/>
 
268
                </graphics>
 
269
            </arc>
 
270
            <arc id="Shared_in2_to_WorkflowNet2_treat" source="Shared_in2" target="WorkflowNet2_treat" type="normal"/>
 
271
            <arc id="Shared_in2_to_WorkflowNet2_wait_for_tomorrow" source="Shared_in2" target="WorkflowNet2_wait_for_tomorrow" type="normal"/>
 
272
            <arc id="Shared_Doctor1_to_WorkflowNet2_treat" source="Shared_Doctor1" target="WorkflowNet2_treat" type="normal"/>
 
273
            <arc id="WorkflowNet2_Doctor1_working_to_WorkflowNet2_Doctor1_done" source="WorkflowNet2_Doctor1_working" target="WorkflowNet2_Doctor1_done" type="normal"/>
 
274
            <arc id="Shared_Doctor2_to_WorkflowNet2_Doctor1_done" source="Shared_Doctor2" target="WorkflowNet2_Doctor1_done" type="normal"/>
 
275
            <arc id="WorkflowNet2_Doctor2_working_to_WorkflowNet2_Doctor2_done_Doctor1_check" source="WorkflowNet2_Doctor2_working" target="WorkflowNet2_Doctor2_done_Doctor1_check" type="normal"/>
 
276
            <arc id="Shared_Doctor1_to_WorkflowNet2_Doctor2_done_Doctor1_check" source="Shared_Doctor1" target="WorkflowNet2_Doctor2_done_Doctor1_check" type="normal">
 
277
                <graphics>
 
278
                    <position x="1070" y="225"/>
 
279
                    <position x="1216" y="196"/>
 
280
                </graphics>
 
281
            </arc>
 
282
            <arc id="SynchronousStart_start_to_SynchronousStart_SynchStart" source="SynchronousStart_start" target="SynchronousStart_SynchStart" type="normal"/>
 
283
            <arc id="WorkflowNet1_treat_to_WorkflowNet1_Doctor1_working" source="WorkflowNet1_treat" target="WorkflowNet1_Doctor1_working" type="normal"/>
 
284
            <arc id="WorkflowNet1_wait_for_tomorrow_to_WorkflowNet1_out" source="WorkflowNet1_wait_for_tomorrow" target="WorkflowNet1_out" type="normal">
 
285
                <graphics>
 
286
                    <position x="586" y="331"/>
 
287
                </graphics>
 
288
            </arc>
 
289
            <arc id="WorkflowNet1_Doctor1_done_to_Shared_Doctor1" source="WorkflowNet1_Doctor1_done" target="Shared_Doctor1" type="normal"/>
 
290
            <arc id="WorkflowNet1_Doctor1_done_to_WorkflowNet1_Doctor2_working" source="WorkflowNet1_Doctor1_done" target="WorkflowNet1_Doctor2_working" type="normal"/>
 
291
            <arc id="WorkflowNet1_Doctor2_done_Doctor1_check_to_WorkflowNet1_out" source="WorkflowNet1_Doctor2_done_Doctor1_check" target="WorkflowNet1_out" type="normal"/>
 
292
            <arc id="WorkflowNet1_Doctor2_done_Doctor1_check_to_Shared_Doctor2" source="WorkflowNet1_Doctor2_done_Doctor1_check" target="Shared_Doctor2" type="normal"/>
 
293
            <arc id="WorkflowNet1_Doctor2_done_Doctor1_check_to_Shared_Doctor1" source="WorkflowNet1_Doctor2_done_Doctor1_check" target="Shared_Doctor1" type="normal">
 
294
                <graphics>
 
295
                    <position x="541" y="256"/>
 
296
                    <position x="338" y="225"/>
 
297
                </graphics>
 
298
            </arc>
 
299
            <arc id="WorkflowNet2_treat_to_WorkflowNet2_Doctor1_working" source="WorkflowNet2_treat" target="WorkflowNet2_Doctor1_working" type="normal"/>
 
300
            <arc id="WorkflowNet2_wait_for_tomorrow_to_WorkflowNet2_out" source="WorkflowNet2_wait_for_tomorrow" target="WorkflowNet2_out" type="normal">
 
301
                <graphics>
 
302
                    <position x="1246" y="331"/>
 
303
                </graphics>
 
304
            </arc>
 
305
            <arc id="WorkflowNet2_Doctor1_done_to_Shared_Doctor1" source="WorkflowNet2_Doctor1_done" target="Shared_Doctor1" type="normal"/>
 
306
            <arc id="WorkflowNet2_Doctor1_done_to_WorkflowNet2_Doctor2_working" source="WorkflowNet2_Doctor1_done" target="WorkflowNet2_Doctor2_working" type="normal"/>
 
307
            <arc id="WorkflowNet2_Doctor2_done_Doctor1_check_to_WorkflowNet2_out" source="WorkflowNet2_Doctor2_done_Doctor1_check" target="WorkflowNet2_out" type="normal"/>
 
308
            <arc id="WorkflowNet2_Doctor2_done_Doctor1_check_to_Shared_Doctor2" source="WorkflowNet2_Doctor2_done_Doctor1_check" target="Shared_Doctor2" type="normal"/>
 
309
            <arc id="WorkflowNet2_Doctor2_done_Doctor1_check_to_Shared_Doctor1" source="WorkflowNet2_Doctor2_done_Doctor1_check" target="Shared_Doctor1" type="normal">
 
310
                <graphics>
 
311
                    <position x="1201" y="256"/>
 
312
                    <position x="998" y="225"/>
 
313
                </graphics>
 
314
            </arc>
 
315
            <arc id="SynchronousStart_SynchStart_to_Shared_in1" source="SynchronousStart_SynchStart" target="Shared_in1" type="normal"/>
 
316
            <arc id="SynchronousStart_SynchStart_to_Shared_in2" source="SynchronousStart_SynchStart" target="Shared_in2" type="normal"/>
 
317
        </page>
 
318
        <name>
 
319
            <text>ComposedModel</text>
 
320
        </name>
 
321
    </net>
 
322
</pnml>