-
Notifications
You must be signed in to change notification settings - Fork 5
/
1.4.2-pre-58353fd273.log
762 lines (687 loc) · 36.4 KB
/
1.4.2-pre-58353fd273.log
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
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
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
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
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
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
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
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
512
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
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
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
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
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
727
728
729
730
731
732
733
734
735
736
737
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
Julia Version 1.4.2-pre.13
Commit 58353fd273 (2020-05-10 17:03 UTC)
Platform Info:
OS: Linux (x86_64-linux-gnu)
CPU: Intel(R) Xeon(R) Silver 4114 CPU @ 2.20GHz
WORD_SIZE: 64
LIBM: libopenlibm
LLVM: libLLVM-8.0.1 (ORCJIT, skylake)
Environment:
JULIA_DEPOT_PATH = ::/usr/local/share/julia
JULIA_NUM_THREADS = 2
Resolving package versions...
Installed TreeViews ──────────────────── v0.3.0
Installed ArrayInterface ─────────────── v2.8.7
Installed TableTraits ────────────────── v1.0.0
Installed Parsers ────────────────────── v1.0.3
Installed Tables ─────────────────────── v1.0.4
Installed OrderedCollections ─────────── v1.2.0
Installed MacroTools ─────────────────── v0.5.5
Installed ModiaMath ──────────────────── v0.5.2
Installed IteratorInterfaceExtensions ── v1.0.0
Installed Reexport ───────────────────── v0.2.0
Installed METIS_jll ──────────────────── v5.1.0+3
Installed LoggingExtras ──────────────── v0.4.0
Installed DataAPI ────────────────────── v1.3.0
Installed DocStringExtensions ────────── v0.8.1
Installed Missings ───────────────────── v0.4.3
Installed Sundials ───────────────────── v4.2.1
Installed OpenBLAS_jll ───────────────── v0.3.9+4
Installed SortingAlgorithms ──────────── v0.3.1
Installed ProgressMeter ──────────────── v1.2.0
Installed Compat ─────────────────────── v3.9.1
Installed AbstractTrees ──────────────── v0.3.3
Installed CategoricalArrays ──────────── v0.8.0
Installed Parameters ─────────────────── v0.12.1
Installed CompilerSupportLibraries_jll ─ v0.3.3+0
Installed SuiteSparse_jll ────────────── v5.4.0+8
Installed UnPack ─────────────────────── v1.0.0
Installed LeftChildRightSiblingTrees ─── v0.1.2
Installed DataValueInterfaces ────────── v1.0.0
Installed Roots ──────────────────────── v1.0.1
Installed Sundials_jll ───────────────── v5.2.0+0
Installed PooledArrays ───────────────── v0.5.3
Installed ConsoleProgressMonitor ─────── v0.1.2
Installed RecipesBase ────────────────── v1.0.1
Installed DataStructures ─────────────── v0.17.15
Installed CEnum ──────────────────────── v0.2.0
Installed JSON ───────────────────────── v0.21.0
Installed ChainRulesCore ─────────────── v0.7.5
Installed InvertedIndices ────────────── v1.0.0
Installed Unitful ────────────────────── v1.2.0
Installed FunctionWrappers ───────────── v1.1.1
Installed MuladdMacro ────────────────── v0.2.2
Installed LabelledArrays ─────────────── v1.2.0
Installed TerminalLoggers ────────────── v0.1.1
Installed DiffEqBase ─────────────────── v6.32.2
Installed ZygoteRules ────────────────── v0.2.0
Installed IterativeSolvers ───────────── v0.8.4
Installed RecursiveArrayTools ────────── v2.3.2
Installed ProgressLogging ────────────── v0.1.2
Installed Requires ───────────────────── v1.0.1
Installed RecursiveFactorization ─────── v0.1.0
Installed ConstructionBase ───────────── v1.0.0
Installed StaticArrays ───────────────── v0.12.3
Installed DataFrames ─────────────────── v0.21.0
Updating `~/.julia/environments/v1.4/Project.toml`
[67ccffd1] + ModiaMath v0.5.2
Updating `~/.julia/environments/v1.4/Manifest.toml`
[1520ce14] + AbstractTrees v0.3.3
[4fba245c] + ArrayInterface v2.8.7
[fa961155] + CEnum v0.2.0
[324d7699] + CategoricalArrays v0.8.0
[d360d2e6] + ChainRulesCore v0.7.5
[34da2185] + Compat v3.9.1
[e66e0078] + CompilerSupportLibraries_jll v0.3.3+0
[88cd18e8] + ConsoleProgressMonitor v0.1.2
[187b0558] + ConstructionBase v1.0.0
[9a962f9c] + DataAPI v1.3.0
[a93c6f00] + DataFrames v0.21.0
[864edb3b] + DataStructures v0.17.15
[e2d170a0] + DataValueInterfaces v1.0.0
[2b5f629d] + DiffEqBase v6.32.2
[ffbed154] + DocStringExtensions v0.8.1
[069b7b12] + FunctionWrappers v1.1.1
[41ab1584] + InvertedIndices v1.0.0
[42fd0dbc] + IterativeSolvers v0.8.4
[82899510] + IteratorInterfaceExtensions v1.0.0
[682c06a0] + JSON v0.21.0
[2ee39098] + LabelledArrays v1.2.0
[1d6d02ad] + LeftChildRightSiblingTrees v0.1.2
[e6f89c97] + LoggingExtras v0.4.0
[d00139f3] + METIS_jll v5.1.0+3
[1914dd2f] + MacroTools v0.5.5
[e1d29d7a] + Missings v0.4.3
[67ccffd1] + ModiaMath v0.5.2
[46d2c3a1] + MuladdMacro v0.2.2
[4536629a] + OpenBLAS_jll v0.3.9+4
[bac558e1] + OrderedCollections v1.2.0
[d96e819e] + Parameters v0.12.1
[69de0a69] + Parsers v1.0.3
[2dfb63ee] + PooledArrays v0.5.3
[33c8b6b6] + ProgressLogging v0.1.2
[92933f4c] + ProgressMeter v1.2.0
[3cdcf5f2] + RecipesBase v1.0.1
[731186ca] + RecursiveArrayTools v2.3.2
[f2c3362d] + RecursiveFactorization v0.1.0
[189a3867] + Reexport v0.2.0
[ae029012] + Requires v1.0.1
[f2b01f46] + Roots v1.0.1
[a2af1166] + SortingAlgorithms v0.3.1
[90137ffa] + StaticArrays v0.12.3
[bea87d4a] + SuiteSparse_jll v5.4.0+8
[c3572dad] + Sundials v4.2.1
[fb77eaff] + Sundials_jll v5.2.0+0
[3783bdb8] + TableTraits v1.0.0
[bd369af6] + Tables v1.0.4
[5d786b92] + TerminalLoggers v0.1.1
[a2a6695c] + TreeViews v0.3.0
[3a884ed6] + UnPack v1.0.0
[1986cc42] + Unitful v1.2.0
[700de1a5] + ZygoteRules v0.2.0
[2a0f44e3] + Base64
[ade2ca70] + Dates
[8bb1440f] + DelimitedFiles
[8ba89e20] + Distributed
[9fa8497b] + Future
[b77e0a4c] + InteractiveUtils
[76f85450] + LibGit2
[8f399da3] + Libdl
[37e2e46d] + LinearAlgebra
[56ddb016] + Logging
[d6f4376e] + Markdown
[a63ad114] + Mmap
[44cfe95a] + Pkg
[de0858da] + Printf
[3fa0cd96] + REPL
[9a3f8284] + Random
[ea8e919c] + SHA
[9e88b42a] + Serialization
[1a1011a3] + SharedArrays
[6462fe0b] + Sockets
[2f01184e] + SparseArrays
[10745b16] + Statistics
[4607b0f0] + SuiteSparse
[8dfed614] + Test
[cf7118a7] + UUIDs
[4ec0a83e] + Unicode
Testing ModiaMath
Status `/tmp/jl_DqTUC5/Manifest.toml`
[1520ce14] AbstractTrees v0.3.3
[4fba245c] ArrayInterface v2.8.7
[fa961155] CEnum v0.2.0
[324d7699] CategoricalArrays v0.8.0
[d360d2e6] ChainRulesCore v0.7.5
[34da2185] Compat v3.9.1
[e66e0078] CompilerSupportLibraries_jll v0.3.3+0
[88cd18e8] ConsoleProgressMonitor v0.1.2
[187b0558] ConstructionBase v1.0.0
[9a962f9c] DataAPI v1.3.0
[a93c6f00] DataFrames v0.21.0
[864edb3b] DataStructures v0.17.15
[e2d170a0] DataValueInterfaces v1.0.0
[2b5f629d] DiffEqBase v6.32.2
[ffbed154] DocStringExtensions v0.8.1
[069b7b12] FunctionWrappers v1.1.1
[41ab1584] InvertedIndices v1.0.0
[42fd0dbc] IterativeSolvers v0.8.4
[82899510] IteratorInterfaceExtensions v1.0.0
[682c06a0] JSON v0.21.0
[2ee39098] LabelledArrays v1.2.0
[1d6d02ad] LeftChildRightSiblingTrees v0.1.2
[e6f89c97] LoggingExtras v0.4.0
[d00139f3] METIS_jll v5.1.0+3
[1914dd2f] MacroTools v0.5.5
[e1d29d7a] Missings v0.4.3
[67ccffd1] ModiaMath v0.5.2
[46d2c3a1] MuladdMacro v0.2.2
[4536629a] OpenBLAS_jll v0.3.9+4
[bac558e1] OrderedCollections v1.2.0
[d96e819e] Parameters v0.12.1
[69de0a69] Parsers v1.0.3
[2dfb63ee] PooledArrays v0.5.3
[33c8b6b6] ProgressLogging v0.1.2
[92933f4c] ProgressMeter v1.2.0
[3cdcf5f2] RecipesBase v1.0.1
[731186ca] RecursiveArrayTools v2.3.2
[f2c3362d] RecursiveFactorization v0.1.0
[189a3867] Reexport v0.2.0
[ae029012] Requires v1.0.1
[f2b01f46] Roots v1.0.1
[a2af1166] SortingAlgorithms v0.3.1
[90137ffa] StaticArrays v0.12.3
[bea87d4a] SuiteSparse_jll v5.4.0+8
[c3572dad] Sundials v4.2.1
[fb77eaff] Sundials_jll v5.2.0+0
[3783bdb8] TableTraits v1.0.0
[bd369af6] Tables v1.0.4
[5d786b92] TerminalLoggers v0.1.1
[a2a6695c] TreeViews v0.3.0
[3a884ed6] UnPack v1.0.0
[1986cc42] Unitful v1.2.0
[700de1a5] ZygoteRules v0.2.0
[2a0f44e3] Base64
[ade2ca70] Dates
[8bb1440f] DelimitedFiles
[8ba89e20] Distributed
[9fa8497b] Future
[b77e0a4c] InteractiveUtils
[76f85450] LibGit2
[8f399da3] Libdl
[37e2e46d] LinearAlgebra
[56ddb016] Logging
[d6f4376e] Markdown
[a63ad114] Mmap
[44cfe95a] Pkg
[de0858da] Printf
[3fa0cd96] REPL
[9a3f8284] Random
[ea8e919c] SHA
[9e88b42a] Serialization
[1a1011a3] SharedArrays
[6462fe0b] Sockets
[2f01184e] SparseArrays
[10745b16] Statistics
[4607b0f0] SuiteSparse
[8dfed614] Test
[cf7118a7] UUIDs
[4ec0a83e] Unicode
Importing ModiaMath Version 0.5.2 (2019-07-10)
PyPlot not available (plot commands will be ignored).
Try to install PyPlot. See hints here:
https://github.com/ModiaSim/ModiaMath.jl/wiki/Installing-PyPlot-in-a-robust-way.
... ModiaMath.plot(..): Call is ignored, since PyPlot not available.
... Next plot should give a warning:
... ModiaMath.plot(..): Call is ignored, since PyPlot not available.
... result variables = 2×4 DataFrames.DataFrame
│ Row │ name │ elType │ sizeOrValue │ unit │
│ │ String │ String │ String │ String │
├─────┼────────┼─────────┼─────────────┼────────┤
│ 1 │ phi │ Float64 │ (100,) │ │
│ 2 │ time │ Float64 │ (100,) │ │
... ModiaMath.plot(..): Call is ignored, since PyPlot not available.
... ModiaMath.plot(..): Call is ignored, since PyPlot not available.
... ModiaMath.plot(..): Call is ignored, since PyPlot not available.
... Next plot should give a warning:
... ModiaMath.plot(..): Call is ignored, since PyPlot not available.
... Next plot should give a warning:
... ModiaMath.plot(..): Call is ignored, since PyPlot not available.
... figure=4 is closed
... result variables =
│ Row │ name │ elType │ sizeOrValue │ unit │ info │
│ │ String │ String │ String │ String │ String │
├─────┼────────┼─────────┼─────────────┼────────┼────────┤
│ 1 │ phi │ Float64 │ (100,) │ rad │ │
│ 2 │ r │ Float64 │ (100, 3) │ m │ │
│ 3 │ time │ Float64 │ (100,) │ s │ │
│ 4 │ w │ Float64 │ (100,) │ rad/s │ │
... ModiaMath.plot(..): Call is ignored, since PyPlot not available.
... ModiaMath.plot(..): Call is ignored, since PyPlot not available.
... Next plot should give a warning:
... ModiaMath.plot(..): Call is ignored, since PyPlot not available.
... ModiaMath.plot(..): Call is ignored, since PyPlot not available.
... ModiaMath.plot(..): Call is ignored, since PyPlot not available.
... Next plot should give a warning:
... ModiaMath.plot(..): Call is ignored, since PyPlot not available.
... result variables = 7×4 DataFrames.DataFrame
│ Row │ name │ elType │ sizeOrValue │ unit │
│ │ String │ String │ String │ String │
├─────┼─────────────┼─────────┼─────────────┼──────────┤
│ 1 │ open │ Bool │ false │ │
│ 2 │ phi │ Float64 │ (100,) │ rad │
│ 3 │ phi2 │ Float64 │ (100,) │ rad │
│ 4 │ phi_max │ Float64 │ 1.1 │ rad │
│ 5 │ phi_max_int │ Int64 │ 1 │ │
│ 6 │ time │ Float64 │ (100,) │ │
│ 7 │ w │ Float64 │ (100,) │ rad s^-1 │
... ModiaMath.plot(..): Call is ignored, since PyPlot not available.
... ModiaMath.plot(..): Call is ignored, since PyPlot not available.
... ModiaMath.plot(..): Call is ignored, since PyPlot not available.
... ModiaMath.plot(..): Call is ignored, since PyPlot not available.
... result variables = 7×4 DataFrames.DataFrame
│ Row │ name │ elType │ sizeOrValue │ unit │
│ │ String │ String │ String │ String │
├─────┼────────┼─────────┼─────────────┼──────────┤
│ 1 │ phi │ Float64 │ (100,) │ rad │
│ 2 │ phi2 │ Float64 │ (100,) │ rad │
│ 3 │ r │ Float64 │ (100, 3) │ │
│ 4 │ r2 │ Float64 │ (100, 11) │ │
│ 5 │ time │ Float64 │ (100,) │ s │
│ 6 │ w │ Float64 │ (100,) │ rad s^-1 │
│ 7 │ w2 │ Float64 │ (100,) │ rad s^-1 │
... ModiaMath.plot(..): Call is ignored, since PyPlot not available.
... result variables =
│ Row │ name │ elType │ sizeOrValue │ unit │ info │
│ │ String │ String │ String │ String │ String │
├─────┼────────┼─────────┼─────────────┼────────┼────────┤
│ 1 │ phi │ Float64 │ (100,) │ rad │ │
│ 2 │ phi2 │ Float64 │ (100,) │ rad │ │
│ 3 │ r │ Float64 │ (100, 3) │ m │ │
│ 4 │ time │ Float64 │ (100,) │ s │ │
│ 5 │ w │ Float64 │ (100,) │ rad/s │ │
│ 6 │ w2 │ Float64 │ (100,) │ rad/s │ │
... ModiaMath.plot(..): Call is ignored, since PyPlot not available.
... ModiaMath.plot(..): Call is ignored, since PyPlot not available.
... ModiaMath.plot(..): Call is ignored, since PyPlot not available.
... ModiaMath.plot(..): Call is ignored, since PyPlot not available.
... ModiaMath.plot(..): Call is ignored, since PyPlot not available.
... ModiaMath.plot(..): Call is ignored, since PyPlot not available.
... ModiaMath.plot(..): Call is ignored, since PyPlot not available.
... result variables = 5×4 DataFrames.DataFrame
│ Row │ name │ elType │ sizeOrValue │ unit │
│ │ String │ String │ String │ String │
├─────┼────────┼─────────┼─────────────┼────────┤
│ 1 │ phi1 │ Float64 │ (100,) │ │
│ 2 │ phi2 │ Float64 │ (100,) │ │
│ 3 │ time │ Float64 │ (100,) │ │
│ 4 │ w1 │ Float64 │ (100,) │ │
│ 5 │ w2 │ Float64 │ (100,) │ │
... ModiaMath.plot(..): Call is ignored, since PyPlot not available.
... robot = phi10 = 1.0
phi20 = 2.0
var10 = 3.0
r0[1] = 1.0
r0[2] = 2.0
r0[3] = 3.0
q0[1] = 0.5
q0[2] = 0.5
q0[3] = 0.0
q0[4] = 0.7071067811865476
rev1 = Revolute(
phi = 1.0 rad
w = 0.0 rad/s
a = 22.200000000000003 rad/s^2
tau = 0.0 N*m
)
rev2 = Revolute(
phi = 2.0 rad
w = 0.0 rad/s
a = 44.400000000000006 rad/s^2
tau = 0.0 N*m
)
var1 = 3.0
res1 = 0.0
frame = Revolute(
r = [1.0, 2.0, 3.0] m
q = [0.5, 0.5, 0.0, 0.7071067811865476]
v = [0.0, 0.0, 0.0] m/s
w = [0.0, 0.0, 0.0] rad/s
a = [0.0, 0.0, 0.0] m/s^2
z = [0.0, 0.0, 0.0] rad/s^2
f = [0.0, 0.0, 0.0] N
t = [0.0, 0.0, 0.0] N*m
)
)
... Print variables of robot
variables: . Omitted printing of 12 columns
│ Row │ name │ ValueType │ unit │
│ │ Symbol │ Symbol │ String │
├─────┼─────────────────┼──────────────────────────────┼─────────┤
│ 1 │ time │ Float64 │ s │
│ 2 │ rev1.phi │ Float64 │ rad │
│ 3 │ rev1.w │ Float64 │ rad/s │
│ 4 │ rev1.a │ Float64 │ rad/s^2 │
│ 5 │ rev1.tau │ Float64 │ N*m │
│ 6 │ rev2.phi │ Float64 │ rad │
│ 7 │ rev2.w │ Float64 │ rad/s │
⋮
│ 17 │ frame.a │ SArray{Tuple{3},Float64,1,3} │ m/s^2 │
│ 18 │ frame.z │ SArray{Tuple{3},Float64,1,3} │ rad/s^2 │
│ 19 │ frame.f │ SArray{Tuple{3},Float64,1,3} │ N │
│ 20 │ frame.t │ SArray{Tuple{3},Float64,1,3} │ N*m │
│ 21 │ frame.residue_w │ SArray{Tuple{3},Float64,1,3} │ │
│ 22 │ frame.residue_f │ SArray{Tuple{3},Float64,1,3} │ │
│ 23 │ frame.residue_t │ SArray{Tuple{3},Float64,1,3} │ │
│ 24 │ frame.residue_q │ Float64 │ │
x vector:
│ Row │ x │ name │ fixed │ start │
│ │ Symbol │ Symbol │ Bool │ Union… │
├─────┼──────────┼──────────┼───────┼───────────────────────────┤
│ 1 │ x[1] │ rev1.phi │ 1 │ 1.0 │
│ 2 │ x[2] │ rev1.w │ 1 │ 0.0 │
│ 3 │ x[3] │ rev2.phi │ 1 │ 2.0 │
│ 4 │ x[4] │ rev2.w │ 1 │ 0.0 │
│ 5 │ x[5:7] │ frame.r │ 1 │ [1.0, 2.0, 3.0] │
│ 6 │ x[8:11] │ frame.q │ 1 │ [0.5, 0.5, 0.0, 0.707107] │
│ 7 │ x[12:14] │ frame.v │ 1 │ [0.0, 0.0, 0.0] │
│ 8 │ x[15:17] │ frame.w │ 1 │ [0.0, 0.0, 0.0] │
│ 9 │ x[18] │ var1 │ 0 │ 3.0 │
copy to variables:
│ Row │ source │ target │
│ │ Symbol │ Symbol │
├─────┼─────────────┼────────────┤
│ 1 │ x[1] │ rev1.phi │
│ 2 │ x[2] │ rev1.w │
│ 3 │ x[3] │ rev2.phi │
│ 4 │ x[4] │ rev2.w │
│ 5 │ x[5:7] │ frame.r │
│ 6 │ x[8:11] │ frame.q │
│ 7 │ x[12:14] │ frame.v │
│ 8 │ x[15:17] │ frame.w │
│ 9 │ x[18] │ var1 │
│ 10 │ derx[8:11] │ frame.derq │
│ 11 │ derx[12:14] │ frame.a │
│ 12 │ derx[15:17] │ frame.z │
copy to residue vector:
│ Row │ source │ target │
│ │ Symbol │ Symbol │
├─────┼─────────────────────┼────────────────┤
│ 1 │ derx[1] - rev1.w │ residue[1] │
│ 2 │ derx[2] - rev1.a │ residue[2] │
│ 3 │ derx[3] - rev2.w │ residue[3] │
│ 4 │ derx[4] - rev2.a │ residue[4] │
│ 5 │ derx[5:7] - frame.v │ residue[5:7] │
│ 6 │ res1 │ residue[8] │
│ 7 │ frame.residue_w │ residue[9:11] │
│ 8 │ frame.residue_f │ residue[12:14] │
│ 9 │ frame.residue_t │ residue[15:17] │
│ 10 │ frame.residue_q │ residue[18] │
copy to results:
│ Row │ source │ target │ start │
│ │ Symbol │ Symbol │ Union… │
├─────┼────────────┼───────────────┼───────────────────────────┤
│ 1 │ time │ result[1] │ 0.0 │
│ 2 │ rev1.phi │ result[2] │ 1.0 │
│ 3 │ rev1.w │ result[3] │ 0.0 │
│ 4 │ rev1.a │ result[4] │ 0.0 │
│ 5 │ rev1.tau │ result[5] │ 0.0 │
│ 6 │ rev2.phi │ result[6] │ 2.0 │
│ 7 │ rev2.w │ result[7] │ 0.0 │
⋮
│ 12 │ frame.q │ result[14:17] │ [0.5, 0.5, 0.0, 0.707107] │
│ 13 │ frame.derq │ result[18:21] │ [0.0, 0.0, 0.0, 0.0] │
│ 14 │ frame.v │ result[22:24] │ [0.0, 0.0, 0.0] │
│ 15 │ frame.w │ result[25:27] │ [0.0, 0.0, 0.0] │
│ 16 │ frame.a │ result[28:30] │ [0.0, 0.0, 0.0] │
│ 17 │ frame.z │ result[31:33] │ [0.0, 0.0, 0.0] │
│ 18 │ frame.f │ result[34:36] │ [0.0, 0.0, 0.0] │
│ 19 │ frame.t │ result[37:39] │ [0.0, 0.0, 0.0] │
... Copy start values to x
... Copy x and der_x to variables
... Copy variables to residues
residue = [0.0, -3.552713678800501e-15, 0.0, -7.105427357601002e-15, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0]
... robot2 = phi10 = 1.0
phi20 = 2.0
r0[1] = 0.0
r0[2] = 0.0
r0[3] = 0.0
q0[1] = 0.0
q0[2] = 0.0
q0[3] = 0.0
q0[4] = 1.0
rev1 = Revolute(
phi = 1.0 rad
w = 0.0 rad/s
a = 0.0 rad/s^2
tau = 0.0 N*m
)
rev2 = Revolute(
phi = 2.0 rad
w = 0.0 rad/s
a = 0.0 rad/s^2
tau = 0.0 N*m
)
frame = Revolute(
r = [0.0, 0.0, 0.0] m
q = [0.0, 0.0, 0.0, 1.0]
v = [0.0, 0.0, 0.0] m/s
w = [0.0, 0.0, 0.0] rad/s
a = [0.0, 0.0, 0.0] m/s^2
z = [0.0, 0.0, 0.0] rad/s^2
f = [0.0, 0.0, 0.0] N
t = [0.0, 0.0, 0.0] N*m
)
)
... Print variables of robot2
variables: . Omitted printing of 12 columns
│ Row │ name │ ValueType │ unit │
│ │ Symbol │ Symbol │ String │
├─────┼─────────────┼──────────────────────────────┼────────┤
│ 1 │ time │ Float64 │ s │
│ 2 │ _dummy_x │ Float64 │ │
│ 3 │ _dummy_derx │ Float64 │ │
│ 4 │ rev1.phi │ Float64 │ rad │
│ 5 │ rev2.phi │ Float64 │ rad │
│ 6 │ frame.r │ SArray{Tuple{3},Float64,1,3} │ m │
│ 7 │ frame.q │ SArray{Tuple{4},Float64,1,4} │ │
x vector:
│ Row │ x │ name │ fixed │ start │
│ │ Symbol │ Symbol │ Bool │ Union… │
├─────┼────────┼──────────┼───────┼────────┤
│ 1 │ x[1] │ _dummy_x │ 1 │ 0.0 │
copy to variables:
│ Row │ source │ target │
│ │ Symbol │ Symbol │
├─────┼────────┼──────────┤
│ 1 │ x[1] │ _dummy_x │
copy to residue vector:
│ Row │ source │ target │
│ │ Symbol │ Symbol │
├─────┼───────────────────────┼────────────┤
│ 1 │ derx[1] - _dummy_derx │ residue[1] │
copy to results:
│ Row │ source │ target │ start │
│ │ Symbol │ Symbol │ Union… │
├─────┼──────────┼──────────────┼──────────────────────┤
│ 1 │ time │ result[1] │ 0.0 │
│ 2 │ rev1.phi │ result[2] │ 1.0 │
│ 3 │ rev2.phi │ result[3] │ 2.0 │
│ 4 │ frame.r │ result[4:6] │ [0.0, 0.0, 0.0] │
│ 5 │ frame.q │ result[7:10] │ [0.0, 0.0, 0.0, 1.0] │
... Copy start values to x
... Copy x and der_x to variables
... Copy variables to residues
... robot3 = phi10 = 1.0
phi20 = 2.0
phi30 = -2.0
rev1 = Revolute(
phi = 1.0 rad
w = 0.0 rad/s
a = 0.0 rad/s^2
tau = 0.0 N*m
)
rev2 = Revolute(
phi = 2.0 rad
w = 0.0 rad/s
a = 0.0 rad/s^2
tau = 0.0 N*m
)
rev3 = Revolute(
phi = -2.0 rad
w = 0.0 rad/s
a = 0.0 rad/s^2
tau = 0.0 N*m
)
res1 = 0.0
)
... Print variables of robot3
variables: . Omitted printing of 10 columns
│ Row │ name │ ValueType │ unit │ numericType │ vec │
│ │ Symbol │ Symbol │ String │ ModiaMath.Variables.Nu… │ Symbol │
├─────┼──────────┼───────────┼────────┼─────────────────────────┼─────────┤
│ 1 │ time │ Float64 │ s │ TIME::NumericType = 12 │ │
│ 2 │ rev1.phi │ Float64 │ rad │ WR::NumericType = 10 │ │
│ 3 │ rev2.phi │ Float64 │ rad │ WR::NumericType = 10 │ │
│ 4 │ rev3.phi │ Float64 │ rad │ XD_EXP::NumericType = 1 │ x │
│ 5 │ res1 │ Float64 │ │ FC::NumericType = 9 │ residue │
x vector:
│ Row │ x │ name │ fixed │ start │
│ │ Symbol │ Symbol │ Bool │ Union… │
├─────┼────────┼──────────┼───────┼────────┤
│ 1 │ x[1] │ rev3.phi │ 1 │ -2.0 │
copy to variables:
│ Row │ source │ target │
│ │ Symbol │ Symbol │
├─────┼────────┼──────────┤
│ 1 │ x[1] │ rev3.phi │
copy to residue vector:
│ Row │ source │ target │
│ │ Symbol │ Symbol │
├─────┼────────┼────────────┤
│ 1 │ res1 │ residue[1] │
copy to results:
│ Row │ source │ target │ start │
│ │ Symbol │ Symbol │ Union… │
├─────┼──────────┼───────────┼────────┤
│ 1 │ time │ result[1] │ 0.0 │
│ 2 │ rev1.phi │ result[2] │ 1.0 │
│ 3 │ rev2.phi │ result[3] │ 2.0 │
│ 4 │ rev3.phi │ result[4] │ -2.0 │
... Copy start values to x
... Copy x and der_x to variables
... Copy variables to residues
t_end = 2.8284271247461903
path.t = [0.0, 1.4142135623730951, 2.8284271247461903]
... time = 0.0, rt = [1.0, 0.0, 0.0]
... time = 0.1, rt = [0.9, 0.1, 0.0]
... time = 0.2, rt = [0.8, 0.2, 0.0]
... time = 0.30000000000000004, rt = [0.7, 0.30000000000000004, 0.0]
... time = 0.4, rt = [0.6, 0.4, 0.0]
... time = 0.5, rt = [0.5, 0.5, 0.0]
... time = 0.6, rt = [0.4, 0.6, 0.0]
... time = 0.7, rt = [0.30000000000000004, 0.7, 0.0]
... time = 0.7999999999999999, rt = [0.20000000000000007, 0.7999999999999999, 0.0]
... time = 0.8999999999999999, rt = [0.10000000000000009, 0.8999999999999999, 0.0]
... time = 0.9999999999999999, rt = [1.1102230246251565e-16, 0.9999999999999999, 0.0]
... time = 1.0999999999999999, rt = [0.0, 0.9000000000000002, 0.0999999999999998]
... time = 1.2, rt = [0.0, 0.8, 0.1999999999999999]
... time = 1.3, rt = [0.0, 0.7, 0.3]
... time = 1.4000000000000001, rt = [0.0, 0.5999999999999999, 0.40000000000000013]
... time = 1.5000000000000002, rt = [0.0, 0.4999999999999999, 0.5000000000000001]
... time = 1.6000000000000003, rt = [0.0, 0.3999999999999998, 0.6000000000000002]
... time = 1.7000000000000004, rt = [0.0, 0.2999999999999997, 0.7000000000000003]
... time = 1.8000000000000005, rt = [0.0, 0.19999999999999962, 0.8000000000000004]
... time = 1.9000000000000006, rt = [0.0, 0.09999999999999953, 0.9000000000000005]
... time = 2.0000000000000004, rt = [0.0, -2.220446049250313e-16, 1.0000000000000002]
... Results of Solve_SingleNonlinearEquations:
fun1:
analytical zero = 1.0000000000000000e+00
numerical zero = 1.0000000000000000e+00
absolute difference = 0.0000000000000000e+00
... Results of Solve_SingleNonlinearEquations:
fun2:
analytical zero = 6.4485440358400814e-01
numerical zero = 6.4485440358400814e-01
absolute difference = 0.0000000000000000e+00
... Results of Solve_SingleNonlinearEquations:
fun3:
analytical zero = 6.9368474072202186e+00
numerical zero = 6.9368474072202186e+00
absolute difference = 0.0000000000000000e+00
... ModiaMath.simulate! (version 0.5.2 2019-07-10) to simulate model: Pendulum
Initialization at time = 0.0 s
initial values:
│ x │ name │ start │ fixed │ nominal │
├───┼────────┼─────────┼───────┼─────────┤
│ 1 │ phi │ 1.5708 │ 1 │ 1.0 │
│ 2 │ w │ 0.0 │ 1 │ 1.0 │
for given x, compute der(x)
Simulation started
Test ModiaMath: Error During Test at /home/pkgeval/.julia/packages/ModiaMath/xaGiR/test/runtests.jl:12
Got exception outside of a @test
LoadError: LoadError: LoadError: UndefVarError: __N_VDestroy_Serial not defined
Stacktrace:
[1] simulate!(::ModiaMath.Variables.SimulationModel; tolerance::Float64, startTime::Float64, stopTime::Float64, interval::Float64, maxStepSize::Float64, maxNumberOfSteps::Missing, log::Bool, KLUorderingChoice::Int64) at /home/pkgeval/.julia/packages/ModiaMath/xaGiR/src/SimulationEngine/simulate.jl:427
[2] top-level scope at /home/pkgeval/.julia/packages/ModiaMath/xaGiR/examples/Simulate_Pendulum.jl:43
[3] include(::Module, ::String) at ./Base.jl:377
[4] include(::String) at /home/pkgeval/.julia/packages/ModiaMath/xaGiR/test/simulation/test_SimulationExamples.jl:4
[5] top-level scope at /home/pkgeval/.julia/packages/ModiaMath/xaGiR/test/simulation/test_SimulationExamples.jl:15
[6] include(::Module, ::String) at ./Base.jl:377
[7] include(::String) at /home/pkgeval/.julia/packages/ModiaMath/xaGiR/test/runtests.jl:1
[8] top-level scope at /home/pkgeval/.julia/packages/ModiaMath/xaGiR/test/simulation/_includes.jl:2
[9] include(::Module, ::String) at ./Base.jl:377
[10] include(::String) at /home/pkgeval/.julia/packages/ModiaMath/xaGiR/test/runtests.jl:1
[11] top-level scope at /home/pkgeval/.julia/packages/ModiaMath/xaGiR/test/runtests.jl:17
[12] top-level scope at /workspace/srcdir/usr/share/julia/stdlib/v1.4/Test/src/Test.jl:1113
[13] top-level scope at /home/pkgeval/.julia/packages/ModiaMath/xaGiR/test/runtests.jl:13
[14] include(::String) at ./client.jl:439
[15] top-level scope at none:6
[16] eval(::Module, ::Any) at ./boot.jl:331
[17] exec_options(::Base.JLOptions) at ./client.jl:264
[18] _start() at ./client.jl:484
in expression starting at /home/pkgeval/.julia/packages/ModiaMath/xaGiR/examples/Simulate_Pendulum.jl:43
in expression starting at /home/pkgeval/.julia/packages/ModiaMath/xaGiR/test/simulation/test_SimulationExamples.jl:15
in expression starting at /home/pkgeval/.julia/packages/ModiaMath/xaGiR/test/simulation/_includes.jl:2
caused by [exception 1]
UndefVarError: __IDASolve not defined
Stacktrace:
[1] simulate!(::ModiaMath.Variables.SimulationModel; tolerance::Float64, startTime::Float64, stopTime::Float64, interval::Float64, maxStepSize::Float64, maxNumberOfSteps::Missing, log::Bool, KLUorderingChoice::Int64) at /home/pkgeval/.julia/packages/ModiaMath/xaGiR/src/SimulationEngine/simulate.jl:338
[2] top-level scope at /home/pkgeval/.julia/packages/ModiaMath/xaGiR/examples/Simulate_Pendulum.jl:43
[3] include(::Module, ::String) at ./Base.jl:377
[4] include(::String) at /home/pkgeval/.julia/packages/ModiaMath/xaGiR/test/simulation/test_SimulationExamples.jl:4
[5] top-level scope at /home/pkgeval/.julia/packages/ModiaMath/xaGiR/test/simulation/test_SimulationExamples.jl:15
[6] include(::Module, ::String) at ./Base.jl:377
[7] include(::String) at /home/pkgeval/.julia/packages/ModiaMath/xaGiR/test/runtests.jl:1
[8] top-level scope at /home/pkgeval/.julia/packages/ModiaMath/xaGiR/test/simulation/_includes.jl:2
[9] include(::Module, ::String) at ./Base.jl:377
[10] include(::String) at /home/pkgeval/.julia/packages/ModiaMath/xaGiR/test/runtests.jl:1
[11] top-level scope at /home/pkgeval/.julia/packages/ModiaMath/xaGiR/test/runtests.jl:17
[12] top-level scope at /workspace/srcdir/usr/share/julia/stdlib/v1.4/Test/src/Test.jl:1113
[13] top-level scope at /home/pkgeval/.julia/packages/ModiaMath/xaGiR/test/runtests.jl:13
[14] include(::String) at ./client.jl:439
[15] top-level scope at none:6
[16] eval(::Module, ::Any) at ./boot.jl:331
[17] exec_options(::Base.JLOptions) at ./client.jl:264
[18] _start() at ./client.jl:484
Test Summary: | Pass Error Total
Test ModiaMath | 82 1 83
ModiaMath: test_Variables.jl | 14 14
ModiaMath.Frames: test RotationMatrix | 17 17
ModiaMath.Frames: test Quaternions | 18 18
ModiaMath.Frame: test interpolation | 4 4
ModiaMath.NonlinearEquations: test solveOneNonlinearEquation | 29 29
ERROR: LoadError: Some tests did not pass: 82 passed, 0 failed, 1 errored, 0 broken.
in expression starting at /home/pkgeval/.julia/packages/ModiaMath/xaGiR/test/runtests.jl:12
ERROR: Package ModiaMath errored during testing
Stacktrace:
[1] pkgerror(::String, ::Vararg{String,N} where N) at /workspace/srcdir/usr/share/julia/stdlib/v1.4/Pkg/src/Types.jl:53
[2] test(::Pkg.Types.Context, ::Array{Pkg.Types.PackageSpec,1}; coverage::Bool, julia_args::Cmd, test_args::Cmd, test_fn::Nothing) at /workspace/srcdir/usr/share/julia/stdlib/v1.4/Pkg/src/Operations.jl:1510
[3] test(::Pkg.Types.Context, ::Array{Pkg.Types.PackageSpec,1}; coverage::Bool, test_fn::Nothing, julia_args::Cmd, test_args::Cmd, kwargs::Base.Iterators.Pairs{Union{},Union{},Tuple{},NamedTuple{(),Tuple{}}}) at /workspace/srcdir/usr/share/julia/stdlib/v1.4/Pkg/src/API.jl:316
[4] test(::Pkg.Types.Context, ::Array{Pkg.Types.PackageSpec,1}) at /workspace/srcdir/usr/share/julia/stdlib/v1.4/Pkg/src/API.jl:303
[5] #test#68 at /workspace/srcdir/usr/share/julia/stdlib/v1.4/Pkg/src/API.jl:297 [inlined]
[6] test at /workspace/srcdir/usr/share/julia/stdlib/v1.4/Pkg/src/API.jl:297 [inlined]
[7] #test#67 at /workspace/srcdir/usr/share/julia/stdlib/v1.4/Pkg/src/API.jl:296 [inlined]
[8] test at /workspace/srcdir/usr/share/julia/stdlib/v1.4/Pkg/src/API.jl:296 [inlined]
[9] test(::String; kwargs::Base.Iterators.Pairs{Union{},Union{},Tuple{},NamedTuple{(),Tuple{}}}) at /workspace/srcdir/usr/share/julia/stdlib/v1.4/Pkg/src/API.jl:295
[10] test(::String) at /workspace/srcdir/usr/share/julia/stdlib/v1.4/Pkg/src/API.jl:295
[11] top-level scope at none:16