Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr FluxTubesExtension_FluxTubesExtension.Examples.SaturatedInductor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001257/0.001257, allocations: 104.3 kB / 19.77 MB, free: 2.051 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001357/0.001357, allocations: 215.7 kB / 23.07 MB, free: 4.844 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.347/1.347, allocations: 230.7 MB / 256.9 MB, free: 7.773 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/FluxTubesExtension main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FluxTubesExtension main/package.mo): time 0.008679/0.008679, allocations: 1.238 MB / 314.5 MB, free: 1.746 MB / 238.1 MB " [Timeout remaining time 180] Using package FluxTubesExtension with version 1.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/FluxTubesExtension main/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(FluxTubesExtension.Examples.SaturatedInductor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="FluxTubesExtension_FluxTubesExtension.Examples.SaturatedInductor") translateModel(FluxTubesExtension.Examples.SaturatedInductor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="FluxTubesExtension_FluxTubesExtension.Examples.SaturatedInductor") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.914e-05/1.914e-05, allocations: 2.281 kB / 437.3 MB, free: 15.83 MB / 302.1 MB Notification: Performance of NFInst.instantiate(FluxTubesExtension.Examples.SaturatedInductor): time 0.003138/0.003158, allocations: 2.675 MB / 440 MB, free: 13.13 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002089/0.005246, allocations: 1.581 MB / 441.5 MB, free: 11.54 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001375/0.005384, allocations: 7.938 kB / 441.6 MB, free: 11.54 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000647/0.006031, allocations: 179.1 kB / 441.7 MB, free: 11.36 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002004/0.006231, allocations: 107.2 kB / 441.8 MB, free: 11.25 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006113/0.006842, allocations: 299.2 kB / 442.1 MB, free: 10.96 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000445/0.007287, allocations: 0.5295 MB / 442.7 MB, free: 10.43 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001702/0.007458, allocations: 66.06 kB / 442.7 MB, free: 10.37 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002249/0.007683, allocations: 199.4 kB / 442.9 MB, free: 10.17 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001957/0.007878, allocations: 163.2 kB / 443.1 MB, free: 10.01 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.833e-05/0.007917, allocations: 28 kB / 443.1 MB, free: 9.984 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003698/0.008286, allocations: 291.2 kB / 443.4 MB, free: 9.699 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0003612/0.008648, allocations: 0.6729 MB / 444.1 MB, free: 9.02 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001612/0.008809, allocations: 438.2 kB / 444.5 MB, free: 8.586 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.723e-05/0.008856, allocations: 28 kB / 444.5 MB, free: 8.559 MB / 302.1 MB Notification: Performance of FrontEnd: time 4.455e-05/0.0089, allocations: 8 kB / 444.5 MB, free: 8.551 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 69 (69) * Number of variables: 69 (69) Notification: Performance of [SIM] Bindings: time 0.001267/0.01017, allocations: 1.86 MB / 446.4 MB, free: 6.551 MB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.000214/0.01038, allocations: 224.2 kB / 446.6 MB, free: 6.32 MB / 302.1 MB Notification: Performance of [SIM] Early Inline: time 0.0006118/0.01099, allocations: 0.929 MB / 447.5 MB, free: 5.363 MB / 302.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0002001/0.01119, allocations: 224.2 kB / 447.8 MB, free: 5.098 MB / 302.1 MB Notification: Performance of [SIM] Alias: time 0.001317/0.01251, allocations: 1.38 MB / 449.1 MB, free: 3.539 MB / 302.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0001445/0.01265, allocations: 162 kB / 449.3 MB, free: 3.332 MB / 302.1 MB Notification: Performance of [SIM] Remove Stream: time 6.732e-05/0.01272, allocations: 92.89 kB / 449.4 MB, free: 3.215 MB / 302.1 MB Notification: Performance of [SIM] Detect States: time 0.0001831/0.01291, allocations: 203.3 kB / 449.6 MB, free: 2.961 MB / 302.1 MB Notification: Performance of [SIM] Events: time 0.0001077/0.01301, allocations: 47.7 kB / 449.6 MB, free: 2.914 MB / 302.1 MB Notification: Performance of [SIM] Partitioning: time 0.0002951/0.01331, allocations: 287.8 kB / 449.9 MB, free: 2.613 MB / 302.1 MB Notification: Performance of [SIM] Causalize: time 0.0006105/0.01392, allocations: 0.596 MB / 450.5 MB, free: 1.992 MB / 302.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0002694/0.01419, allocations: 467.6 kB / 451 MB, free: 1.535 MB / 302.1 MB Notification: Performance of [INI] Simplify: time 0.0005619/0.01475, allocations: 440.5 kB / 451.4 MB, free: 1.031 MB / 302.1 MB Notification: Performance of [INI] Inline: time 0.0005599/0.01531, allocations: 0.939 MB / 452.3 MB, free: 92 kB / 302.1 MB Notification: Performance of [INI] Partitioning: time 3.805e-05/0.01535, allocations: 33.36 kB / 452.4 MB, free: 48 kB / 302.1 MB Notification: Performance of [INI] Cleanup: time 0.0001257/0.01547, allocations: 139.8 kB / 452.5 MB, free: 15.91 MB / 318.1 MB Notification: Performance of [INI] Causalize: time 0.001607/0.01708, allocations: 1.1 MB / 453.6 MB, free: 14.79 MB / 318.1 MB Notification: Performance of [INI] Tearing: time 0.0001285/0.01721, allocations: 95.88 kB / 453.7 MB, free: 14.7 MB / 318.1 MB Notification: Performance of [SIM] Initialization: time 9.31e-07/0.01721, allocations: 0 / 453.7 MB, free: 14.7 MB / 318.1 MB Notification: Performance of [SIM] DAE-Mode: time 0.0003406/0.01755, allocations: 240 kB / 453.9 MB, free: 14.45 MB / 318.1 MB Notification: Performance of [SIM] Remove Dummies: time 5.17e-06/0.01756, allocations: 4 kB / 453.9 MB, free: 14.44 MB / 318.1 MB Notification: Performance of [SIM] Tearing: time 0.0001136/0.01767, allocations: 99.89 kB / 454 MB, free: 14.34 MB / 318.1 MB Notification: Performance of [SIM] Categorize: time 1.101e-05/0.01768, allocations: 4 kB / 454 MB, free: 14.34 MB / 318.1 MB Notification: Performance of [SIM] Solve: time 0.001221/0.0189, allocations: 0.8445 MB / 454.9 MB, free: 13.5 MB / 318.1 MB Notification: Performance of [SIM] Jacobian: time 0.001914/0.02082, allocations: 1.813 MB / 456.7 MB, free: 11.5 MB / 318.1 MB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 1 * Number of ODE event partitions: ............... 1 * Number of algebraic event partitions: ......... 1 * Number of clocked partitions: ................. 0 * Number of initial partitions: ................. 1 * Number of initial(lambda=0) partitions: ....... 0 Notification: Variable statistics after passing the back-end: * Number of states: ............................. 1 (1) {coil.Phi} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 2 (2) {$SEV_0, $TEV_0} * Number of clocks: ............................. 0 (0) {} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 30 (scalar:30, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (resizable: 0, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 1 (linear: 1, nonlinear:0) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 60 (scalar:60, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (resizable: 0, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 1 (linear: 1, nonlinear:0) Notification: Performance of backend: time 7.355e-05/0.02089, allocations: 45.75 kB / 456.7 MB, free: 11.47 MB / 318.1 MB Notification: Performance of SimCode: time 0.002375/0.02326, allocations: 1.657 MB / 458.4 MB, free: 9.746 MB / 318.1 MB Notification: Performance of Templates: time 0.009239/0.0325, allocations: 4.539 MB / 462.9 MB, free: 5.238 MB / 318.1 MB " [Timeout remaining time 660] make -j1 -f FluxTubesExtension_FluxTubesExtension.Examples.SaturatedInductor.makefile [Timeout 660] make -j1 -f FluxTubesExtension_FluxTubesExtension.Examples.SaturatedInductor.makefile clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=FluxTubesExtension_FluxTubesExtension_Examples_SaturatedInductor -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=1 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o FluxTubesExtension_FluxTubesExtension.Examples.SaturatedInductor.o FluxTubesExtension_FluxTubesExtension.Examples.SaturatedInductor.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=FluxTubesExtension_FluxTubesExtension_Examples_SaturatedInductor -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=1 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o FluxTubesExtension_FluxTubesExtension.Examples.SaturatedInductor_functions.o FluxTubesExtension_FluxTubesExtension.Examples.SaturatedInductor_functions.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=FluxTubesExtension_FluxTubesExtension_Examples_SaturatedInductor -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=1 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o FluxTubesExtension_FluxTubesExtension.Examples.SaturatedInductor_records.o FluxTubesExtension_FluxTubesExtension.Examples.SaturatedInductor_records.c FluxTubesExtension_FluxTubesExtension.Examples.SaturatedInductor_records.c:135:22: error: expected ';' at end of declaration modelica_real ths->__omcQ_24tmpVar5; ^ ; FluxTubesExtension_FluxTubesExtension.Examples.SaturatedInductor_records.c:137:19: error: redefinition of 'ths' modelica_real ths->__omcQ_24tmpVar4; ^ FluxTubesExtension_FluxTubesExtension.Examples.SaturatedInductor_records.c:135:19: note: previous definition is here modelica_real ths->__omcQ_24tmpVar5; ^ FluxTubesExtension_FluxTubesExtension.Examples.SaturatedInductor_records.c:137:22: error: expected ';' at end of declaration modelica_real ths->__omcQ_24tmpVar4; ^ ; FluxTubesExtension_FluxTubesExtension.Examples.SaturatedInductor_records.c:143:17: error: member reference type 'modelica_real' (aka 'double') is not a pointer tmp8 = ths->_N /* Range stop-value */; ~~~ ^ FluxTubesExtension_FluxTubesExtension.Examples.SaturatedInductor_records.c:146:10: error: member reference type 'modelica_real' (aka 'double') is not a pointer ths->__omcQ_24tmpVar5 = 0.0; /* defaultValue */ ~~~ ^ FluxTubesExtension_FluxTubesExtension.Examples.SaturatedInductor_records.c:154:58: error: member reference type 'modelica_real' (aka 'double') is not a pointer tmp5 = (1.25663706212e-6) * (real_array_get(ths->_Hk, 1, ths->_k)); ~~~ ^ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/util/generic_array.h:67:91: note: expanded from macro 'real_array_get' #define real_array_get(src,ndims,...) (*(modelica_real*)(generic_array_get(&src, sizeof(modelica_real), __VA_ARGS__))) ^~~ FluxTubesExtension_FluxTubesExtension.Examples.SaturatedInductor_records.c:154:71: error: member reference type 'modelica_real' (aka 'double') is not a pointer tmp5 = (1.25663706212e-6) * (real_array_get(ths->_Hk, 1, ths->_k)); ~~~ ^ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/util/generic_array.h:67:119: note: expanded from macro 'real_array_get' #define real_array_get(src,ndims,...) (*(modelica_real*)(generic_array_get(&src, sizeof(modelica_real), __VA_ARGS__))) ^~~~~~~~~~~ FluxTubesExtension_FluxTubesExtension.Examples.SaturatedInductor_records.c:156:14: error: member reference type 'modelica_real' (aka 'double') is not a pointer ths->__omcQ_24tmpVar4 = (real_array_get(ths->_Bk, 1, ths->_k)) / tmp5; ~~~ ^ FluxTubesExtension_FluxTubesExtension.Examples.SaturatedInductor_records.c:156:54: error: member reference type 'modelica_real' (aka 'double') is not a pointer ths->__omcQ_24tmpVar4 = (real_array_get(ths->_Bk, 1, ths->_k)) / tmp5; ~~~ ^ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/util/generic_array.h:67:91: note: expanded from macro 'real_array_get' #define real_array_get(src,ndims,...) (*(modelica_real*)(generic_array_get(&src, sizeof(modelica_real), __VA_ARGS__))) ^~~ FluxTubesExtension_FluxTubesExtension.Examples.SaturatedInductor_records.c:156:67: error: member reference type 'modelica_real' (aka 'double') is not a pointer ths->__omcQ_24tmpVar4 = (real_array_get(ths->_Bk, 1, ths->_k)) / tmp5; ~~~ ^ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/util/generic_array.h:67:119: note: expanded from macro 'real_array_get' #define real_array_get(src,ndims,...) (*(modelica_real*)(generic_array_get(&src, sizeof(modelica_real), __VA_ARGS__))) ^~~~~~~~~~~ FluxTubesExtension_FluxTubesExtension.Examples.SaturatedInductor_records.c:157:14: error: member reference type 'modelica_real' (aka 'double') is not a pointer ths->__omcQ_24tmpVar5 = ths->__omcQ_24tmpVar5 + ths->__omcQ_24tmpVar4; ~~~ ^ FluxTubesExtension_FluxTubesExtension.Examples.SaturatedInductor_records.c:157:38: error: member reference type 'modelica_real' (aka 'double') is not a pointer ths->__omcQ_24tmpVar5 = ths->__omcQ_24tmpVar5 + ths->__omcQ_24tmpVar4; ~~~ ^ FluxTubesExtension_FluxTubesExtension.Examples.SaturatedInductor_records.c:157:62: error: member reference type 'modelica_real' (aka 'double') is not a pointer ths->__omcQ_24tmpVar5 = ths->__omcQ_24tmpVar5 + ths->__omcQ_24tmpVar4; ~~~ ^ FluxTubesExtension_FluxTubesExtension.Examples.SaturatedInductor_records.c:164:17: error: member reference type 'modelica_real' (aka 'double') is not a pointer tmp4 = ths->__omcQ_24tmpVar5; ~~~ ^ 14 errors generated. make: *** [: FluxTubesExtension_FluxTubesExtension.Examples.SaturatedInductor_records.o] Error 1 [Calling os._exit(0), Time elapsed: 2.5442061360226944] Failed to read output from testmodel.py, exit status != 0: 0.03886350698303431 0.053495407 0.041718042000000004 Calling exit ...