-
Notifications
You must be signed in to change notification settings - Fork 5
/
1.5.0-DEV-e0740fe5a6.log
288 lines (287 loc) · 13.9 KB
/
1.5.0-DEV-e0740fe5a6.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
Julia Version 1.5.0-DEV.147
Commit e0740fe5a6 (2020-01-24 14:13 UTC)
Platform Info:
OS: Linux (x86_64-pc-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 CxxWrap ──────── v0.8.2
Installed BinaryProvider ─ v0.5.8
Updating `~/.julia/environments/v1.5/Project.toml`
[1f15a43c] + CxxWrap v0.8.2
Updating `~/.julia/environments/v1.5/Manifest.toml`
[b99e7846] + BinaryProvider v0.5.8
[1f15a43c] + CxxWrap v0.8.2
[8f399da3] + Libdl
[ea8e919c] + SHA
Building CxxWrap → `~/.julia/packages/CxxWrap/sarOk/deps/build.log`
Updating `/tmp/jl_r91QKt/Project.toml`
[no changes]
Updating `/tmp/jl_r91QKt/Manifest.toml`
[no changes]
Testing CxxWrap
Updating `/tmp/jl_uMXtAm/Project.toml`
[8dfed614] + Test
Updating `/tmp/jl_uMXtAm/Manifest.toml`
[2a0f44e3] + Base64
[8ba89e20] + Distributed
[b77e0a4c] + InteractiveUtils
[56ddb016] + Logging
[d6f4376e] + Markdown
[9a3f8284] + Random
[9e88b42a] + Serialization
[6462fe0b] + Sockets
[8dfed614] + Test
Running sandbox
Status `/tmp/jl_uMXtAm/Project.toml`
[b99e7846] BinaryProvider v0.5.8
[1f15a43c] CxxWrap v0.8.2
[8f399da3] Libdl
[8dfed614] Test
[ Info: Found a valid dl path libcxxwrap_julia.so while looking for libjlcxx_containers
[ Info: Found a valid dl path libcxxwrap_julia.so.0 while looking for libjlcxx_containers
[ Info: Found a valid dl path libcxxwrap_julia.so.0.5.3 while looking for libjlcxx_containers
[ Info: Found a valid dl path libexcept.so while looking for libjlcxx_containers
[ Info: Found a valid dl path libextended.so while looking for libjlcxx_containers
[ Info: Found a valid dl path libfunctions.so while looking for libjlcxx_containers
[ Info: Found a valid dl path libhello.so while looking for libjlcxx_containers
[ Info: Found a valid dl path libinheritance.so while looking for libjlcxx_containers
[ Info: Found a valid dl path libjlcxx_containers.so while looking for libjlcxx_containers
[ Info: /home/pkgeval/.julia/packages/CxxWrap/sarOk/deps/usr/lib/libjlcxx_containers.so matches our search criteria of libjlcxx_containers
[ Info: Found a valid dl path libcxxwrap_julia.so while looking for libexcept
[ Info: Found a valid dl path libcxxwrap_julia.so.0 while looking for libexcept
[ Info: Found a valid dl path libcxxwrap_julia.so.0.5.3 while looking for libexcept
[ Info: Found a valid dl path libexcept.so while looking for libexcept
[ Info: /home/pkgeval/.julia/packages/CxxWrap/sarOk/deps/usr/lib/libexcept.so matches our search criteria of libexcept
[ Info: Found a valid dl path libcxxwrap_julia.so while looking for libextended
[ Info: Found a valid dl path libcxxwrap_julia.so.0 while looking for libextended
[ Info: Found a valid dl path libcxxwrap_julia.so.0.5.3 while looking for libextended
[ Info: Found a valid dl path libexcept.so while looking for libextended
[ Info: Found a valid dl path libextended.so while looking for libextended
[ Info: /home/pkgeval/.julia/packages/CxxWrap/sarOk/deps/usr/lib/libextended.so matches our search criteria of libextended
[ Info: Found a valid dl path libcxxwrap_julia.so while looking for libfunctions
[ Info: Found a valid dl path libcxxwrap_julia.so.0 while looking for libfunctions
[ Info: Found a valid dl path libcxxwrap_julia.so.0.5.3 while looking for libfunctions
[ Info: Found a valid dl path libexcept.so while looking for libfunctions
[ Info: Found a valid dl path libextended.so while looking for libfunctions
[ Info: Found a valid dl path libfunctions.so while looking for libfunctions
[ Info: /home/pkgeval/.julia/packages/CxxWrap/sarOk/deps/usr/lib/libfunctions.so matches our search criteria of libfunctions
[ Info: Found a valid dl path libcxxwrap_julia.so while looking for libhello
[ Info: Found a valid dl path libcxxwrap_julia.so.0 while looking for libhello
[ Info: Found a valid dl path libcxxwrap_julia.so.0.5.3 while looking for libhello
[ Info: Found a valid dl path libexcept.so while looking for libhello
[ Info: Found a valid dl path libextended.so while looking for libhello
[ Info: Found a valid dl path libfunctions.so while looking for libhello
[ Info: Found a valid dl path libhello.so while looking for libhello
[ Info: /home/pkgeval/.julia/packages/CxxWrap/sarOk/deps/usr/lib/libhello.so matches our search criteria of libhello
[ Info: Found a valid dl path libcxxwrap_julia.so while looking for libinheritance
[ Info: Found a valid dl path libcxxwrap_julia.so.0 while looking for libinheritance
[ Info: Found a valid dl path libcxxwrap_julia.so.0.5.3 while looking for libinheritance
[ Info: Found a valid dl path libexcept.so while looking for libinheritance
[ Info: Found a valid dl path libextended.so while looking for libinheritance
[ Info: Found a valid dl path libfunctions.so while looking for libinheritance
[ Info: Found a valid dl path libhello.so while looking for libinheritance
[ Info: Found a valid dl path libinheritance.so while looking for libinheritance
[ Info: /home/pkgeval/.julia/packages/CxxWrap/sarOk/deps/usr/lib/libinheritance.so matches our search criteria of libinheritance
[ Info: Found a valid dl path libcxxwrap_julia.so while looking for libparametric
[ Info: Found a valid dl path libcxxwrap_julia.so.0 while looking for libparametric
[ Info: Found a valid dl path libcxxwrap_julia.so.0.5.3 while looking for libparametric
[ Info: Found a valid dl path libexcept.so while looking for libparametric
[ Info: Found a valid dl path libextended.so while looking for libparametric
[ Info: Found a valid dl path libfunctions.so while looking for libparametric
[ Info: Found a valid dl path libhello.so while looking for libparametric
[ Info: Found a valid dl path libinheritance.so while looking for libparametric
[ Info: Found a valid dl path libjlcxx_containers.so while looking for libparametric
[ Info: Found a valid dl path libparametric.so while looking for libparametric
[ Info: /home/pkgeval/.julia/packages/CxxWrap/sarOk/deps/usr/lib/libparametric.so matches our search criteria of libparametric
[ Info: Found a valid dl path libcxxwrap_julia.so while looking for libpointer_modification
[ Info: Found a valid dl path libcxxwrap_julia.so.0 while looking for libpointer_modification
[ Info: Found a valid dl path libcxxwrap_julia.so.0.5.3 while looking for libpointer_modification
[ Info: Found a valid dl path libexcept.so while looking for libpointer_modification
[ Info: Found a valid dl path libextended.so while looking for libpointer_modification
[ Info: Found a valid dl path libfunctions.so while looking for libpointer_modification
[ Info: Found a valid dl path libhello.so while looking for libpointer_modification
[ Info: Found a valid dl path libinheritance.so while looking for libpointer_modification
[ Info: Found a valid dl path libjlcxx_containers.so while looking for libpointer_modification
[ Info: Found a valid dl path libparametric.so while looking for libpointer_modification
[ Info: Found a valid dl path libpointer_modification.so while looking for libpointer_modification
[ Info: /home/pkgeval/.julia/packages/CxxWrap/sarOk/deps/usr/lib/libpointer_modification.so matches our search criteria of libpointer_modification
[ Info: Found a valid dl path libcxxwrap_julia.so while looking for libtypes
[ Info: Found a valid dl path libcxxwrap_julia.so.0 while looking for libtypes
[ Info: Found a valid dl path libcxxwrap_julia.so.0.5.3 while looking for libtypes
[ Info: Found a valid dl path libexcept.so while looking for libtypes
[ Info: Found a valid dl path libextended.so while looking for libtypes
[ Info: Found a valid dl path libfunctions.so while looking for libtypes
[ Info: Found a valid dl path libhello.so while looking for libtypes
[ Info: Found a valid dl path libinheritance.so while looking for libtypes
[ Info: Found a valid dl path libjlcxx_containers.so while looking for libtypes
[ Info: Found a valid dl path libparametric.so while looking for libtypes
[ Info: Found a valid dl path libpointer_modification.so while looking for libtypes
[ Info: Found a valid dl path libtypes.so while looking for libtypes
[ Info: /home/pkgeval/.julia/packages/CxxWrap/sarOk/deps/usr/lib/libtypes.so matches our search criteria of libtypes
Running tests from containers.jl...
Displaying const matrix
3×2 ConstArray{Float64,2}:
1.0 4.0
2.0 5.0
3.0 6.0
Displaying mutable matrix
3×2 Array{Float64,2}:
1.0 4.0
2.0 5.0
3.0 6.0
Running tests from deps.jl...
Running tests from except.jl...
exception 1
exception 2
exception 3
Running tests from extended_module.jl...
Running tests from functions.jl...
methods(CppHalfFunctions.half_d) = # 1 method for generic function "half_d":
[1] half_d(arg1::Union{Float64, Int64, Irrational}) in Main.CppHalfFunctions
c_func = #= /home/pkgeval/.julia/packages/CxxWrap/sarOk/test/functions.jl:65 =# @safe_cfunction(testf, Float64, (Float64, Float64)) = CxxWrap.SafeCFunction(Ptr{Nothing} @0x00007f4a7a64e660, Float64, Type[Float64, Float64])
callback result for function 0x7f4a7a64e660 is 3
callback result for function 0x7f4a7a64e660 is 3
callback in Julia: calledFromCPP = 3.0
callback in Julia: calledFromCPP = 3.0
---- Half test timings ----
Julia test:
0.204379 seconds
0.280072 seconds
0.259786 seconds
C test:
0.423149 seconds
0.362607 seconds
0.429643 seconds
C++ test:
0.384051 seconds
0.400668 seconds
0.440407 seconds
C++ lambda test:
0.589427 seconds
0.565660 seconds
0.537440 seconds
C++ test, loop in the C++ code:
0.085733 seconds
0.085680 seconds
0.094074 seconds
cfunction in C++ loop
0.580223 seconds
0.504213 seconds
0.605278 seconds
jl_call inside C++ loop (array is 100 times smaller than other tests):
0.148715 seconds (1000.00 k allocations: 15.259 MiB)
0.150294 seconds (1000.00 k allocations: 15.259 MiB)
0.150606 seconds (1000.00 k allocations: 15.259 MiB)
Running tests from hello.jl...
CppHello.greet() = "hello, world"
Running tests from inheritance.jl...
Running tests from parametric.jl...
Dumping object p1:
Main.ParametricTypes.TemplateTypeAllocated{Main.ParametricTypes.P1,Main.ParametricTypes.P2}
cpp_object: Ptr{Nothing} @0x00000000022cd460
Running tests from pointer_modification.jl...
Running tests from types.jl...
Dumping type w...
Main.CppTypes.WorldAllocated
cpp_object: Ptr{Nothing} @0x00000000062798a0
fw = CppTypes.world_factory() = Main.CppTypes.WorldRef(Ptr{Nothing} @0x0000000002805780)
0
1
2
0
2
4
Destroying World with message shared factory hello ref
Destroying World with message reset shared pointer
uwf = CppTypes.unique_world_factory() = CxxWrap.SmartPointerWithDeref{Main.CppTypes.World,:St10unique_ptrIiSt14default_deleteIiEE}(Ptr{Nothing} @0x0000000003170240)
Destroying World with message world by value hello
CppTypes.greet(w) = "hello"
Destroying World with message constructed
finalized w
throw test 1 passed
throw test 2 passed
completed deepcopy test
a: 2.0, b: 3.0
CppTypes.name(foovec[1]) = "a"
CppTypes.data(foovec[1]) = [1.0, 2.0, 3.0]
a: 1 2 3
b: 11 12 13
CppTypes.increment_immutable(imm) = Main.CppTypes.ImmutableBits(2.0, 3.0)
WARNING: replacing module CppTypes.
Warning: re-registering type DoubleData
Warning: re-registering type DoubleData
Warning: re-registering type DoubleData
Warning: re-registering type World
Warning: re-registering type World
Warning: re-registering type World
Warning: re-registering type Array
Warning: re-registering type Array
Warning: re-registering type Array
Warning: re-registering type NonCopyable
Warning: re-registering type NonCopyable
Warning: re-registering type NonCopyable
Warning: re-registering type AConstRef
Warning: re-registering type AConstRef
Warning: re-registering type AConstRef
Warning: re-registering type ReturnConstRef
Warning: re-registering type ReturnConstRef
Warning: re-registering type ReturnConstRef
Warning: re-registering type CallOperator
Warning: re-registering type CallOperator
Warning: re-registering type CallOperator
Warning: re-registering type ConstPtrConstruct
Warning: re-registering type ConstPtrConstruct
Warning: re-registering type ConstPtrConstruct
Warning: re-registering type MyEnum
Warning: re-registering type Foo
Warning: re-registering type Foo
Warning: re-registering type Foo
Warning: re-registering type NullableStruct
Warning: re-registering type NullableStruct
Warning: re-registering type NullableStruct
Warning: re-registering type ImmutableBits
Destroying World with message hello
Dumping type w...
Main.CppTypes.WorldAllocated
cpp_object: Ptr{Nothing} @0x0000000003477390
fw = CppTypes.world_factory() = Main.CppTypes.WorldRef(Ptr{Nothing} @0x000000000652b810)
Destroying World with message shared factory hello ref
Destroying World with message reset shared pointer
uwf = CppTypes.unique_world_factory() = CxxWrap.SmartPointerWithDeref{Main.CppTypes.World,:St10unique_ptrIiSt14default_deleteIiEE}(Ptr{Nothing} @0x00000000064f2cb0)
Destroying World with message world by value hello
CppTypes.greet(w) = "hello"
Destroying World with message constructed
finalized w
throw test 1 passed
throw test 2 passed
completed deepcopy test
a: 2.0, b: 3.0
CppTypes.name(foovec[1]) = "a"
CppTypes.data(foovec[1]) = [1.0, 2.0, 3.0]
a: 1 2 3
b: 11 12 13
CppTypes.increment_immutable(imm) = Main.CppTypes.ImmutableBits(2.0, 3.0)
Test Summary: | Pass Total
CxxWrap tests | 217 217
Destroying World with message default hello
Destroying World with message constructed
Destroying World with message world by value hello
Destroying World with message unique factory hello
Destroying World with message shared factory hello
Destroying World with message hello
Destroying World with message default hello
Destroying World with message constructed
Destroying World with message world by value hello
Destroying World with message unique factory hello
Destroying World with message shared factory hello
Destroying World with message reffed world
Destroying World with message boxed world pointer
Destroying World with message boxed world
Destroying World with message shared factory hello ref
Testing CxxWrap tests passed