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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001518/0.001518, allocations: 101.8 kB / 19.6 MB, free: 2.34 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001621/0.001621, allocations: 191.3 kB / 22.86 MB, free: 5.648 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.353/1.353, allocations: 225.6 MB / 251.6 MB, free: 13.05 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/FluxTubesExtension 1.2.0-main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FluxTubesExtension 1.2.0-main/package.mo): time 0.009038/0.009038, allocations: 1.247 MB / 308 MB, free: 7.547 MB / 238.1 MB " [Timeout remaining time 180] Using package FluxTubesExtension with version 1.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/FluxTubesExtension 1.2.0-main/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 2.452e-05/2.452e-05, allocations: 2.281 kB / 428.4 MB, free: 22.88 MB / 302.1 MB Notification: Performance of NFInst.instantiate(FluxTubesExtension.Examples.SaturatedInductor): time 0.003398/0.003423, allocations: 2.827 MB / 431.2 MB, free: 20.04 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002049/0.005472, allocations: 1.674 MB / 432.9 MB, free: 18.36 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001416/0.005614, allocations: 4 kB / 432.9 MB, free: 18.35 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006902/0.006304, allocations: 199 kB / 433.1 MB, free: 18.16 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002071/0.006511, allocations: 95.23 kB / 433.2 MB, free: 18.06 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007196/0.007231, allocations: 299.2 kB / 433.5 MB, free: 17.77 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005406/0.007771, allocations: 0.5218 MB / 434 MB, free: 17.25 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001698/0.007941, allocations: 69.94 kB / 434.1 MB, free: 17.18 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001503/0.008091, allocations: 183.4 kB / 434.2 MB, free: 17 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002293/0.008321, allocations: 175.2 kB / 434.4 MB, free: 16.82 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.485e-05/0.008365, allocations: 32 kB / 434.4 MB, free: 16.79 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004736/0.008839, allocations: 319.2 kB / 434.7 MB, free: 16.48 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0003917/0.009231, allocations: 0.6651 MB / 435.4 MB, free: 15.81 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001781/0.009409, allocations: 434.3 kB / 435.8 MB, free: 15.38 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.789e-05/0.009467, allocations: 55.81 kB / 435.9 MB, free: 15.32 MB / 302.1 MB Notification: Performance of FrontEnd: time 5.449e-05/0.009521, allocations: 8 kB / 435.9 MB, free: 15.32 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 Bindings: time 0.001439/0.01096, allocations: 1.832 MB / 437.7 MB, free: 13.36 MB / 302.1 MB Notification: Performance of FunctionAlias: time 0.0002383/0.0112, allocations: 208.3 kB / 437.9 MB, free: 13.14 MB / 302.1 MB Notification: Performance of Early Inline: time 0.0006945/0.01189, allocations: 0.9057 MB / 438.8 MB, free: 12.2 MB / 302.1 MB Notification: Performance of Simplify 1: time 0.0002196/0.01211, allocations: 208.3 kB / 439 MB, free: 11.95 MB / 302.1 MB Notification: Performance of Alias: time 0.001629/0.01374, allocations: 1.435 MB / 440.5 MB, free: 10.34 MB / 302.1 MB Notification: Performance of Simplify 2: time 0.0001459/0.01389, allocations: 146 kB / 440.6 MB, free: 10.14 MB / 302.1 MB Notification: Performance of Remove Stream: time 9.342e-05/0.01398, allocations: 96.23 kB / 440.7 MB, free: 10.02 MB / 302.1 MB Notification: Performance of Detect States: time 0.0002549/0.01424, allocations: 203.3 kB / 440.9 MB, free: 9.77 MB / 302.1 MB Notification: Performance of Events: time 0.0001077/0.01434, allocations: 43.91 kB / 441 MB, free: 9.727 MB / 302.1 MB Notification: Performance of Partitioning: time 0.0002404/0.01458, allocations: 235.6 kB / 441.2 MB, free: 9.484 MB / 302.1 MB Notification: Performance of Causalize: time 0.0008661/0.01545, allocations: 0.7712 MB / 442 MB, free: 8.695 MB / 302.1 MB Notification: Performance of After Index Reduction Inline: time 0.0003297/0.01578, allocations: 479.4 kB / 442.4 MB, free: 8.227 MB / 302.1 MB Notification: Performance of Simplify: time 0.0005533/0.01633, allocations: 412.3 kB / 442.8 MB, free: 7.758 MB / 302.1 MB Notification: Performance of Inline: time 0.0006295/0.01696, allocations: 0.9182 MB / 443.7 MB, free: 6.836 MB / 302.1 MB Notification: Performance of Partitioning: time 3.288e-05/0.017, allocations: 26.73 kB / 443.8 MB, free: 6.801 MB / 302.1 MB Notification: Performance of Cleanup: time 8.412e-05/0.01708, allocations: 131.9 kB / 443.9 MB, free: 6.672 MB / 302.1 MB Notification: Performance of Causalize: time 0.001424/0.0185, allocations: 1.317 MB / 445.2 MB, free: 5.344 MB / 302.1 MB Notification: Performance of Tearing: time 0.0004802/0.01898, allocations: 461.7 kB / 445.7 MB, free: 4.844 MB / 302.1 MB Notification: Performance of Initialization: time 4.21e-07/0.01898, allocations: 0 / 445.7 MB, free: 4.844 MB / 302.1 MB Notification: Performance of Remove Dummies: time 9.277e-06/0.01899, allocations: 8 kB / 445.7 MB, free: 4.836 MB / 302.1 MB Notification: Performance of Tearing: time 0.0004154/0.01941, allocations: 0.5135 MB / 446.2 MB, free: 4.273 MB / 302.1 MB Notification: Performance of Categorize: time 9.748e-06/0.01942, allocations: 0 / 446.2 MB, free: 4.273 MB / 302.1 MB Notification: Performance of Solve: time 0.0006361/0.02005, allocations: 0.5644 MB / 446.8 MB, free: 3.707 MB / 302.1 MB Notification: Performance of Jacobian: time 0.0002384/0.02029, allocations: 349.4 kB / 447.1 MB, free: 3.328 MB / 302.1 MB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 0 * 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: ................. 3 (3) {$SEV_1, $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: ........... 32 (scalar:32, 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: 0, nonlinear:1) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 46 (scalar:46, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:1) * Number of for-loop strong components: ......... 0 (resizable: 0, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 1 (linear: 0, nonlinear:1) Notification: Performance of backend: time 6.451e-05/0.02036, allocations: 25.75 kB / 447.1 MB, free: 3.305 MB / 302.1 MB Notification: Performance of SimCode: time 0.002269/0.02263, allocations: 2.049 MB / 449.2 MB, free: 1.219 MB / 302.1 MB Notification: Performance of Templates: time 0.009131/0.03176, allocations: 4.138 MB / 453.3 MB, free: 13.07 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins/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=2 -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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins/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=2 -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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins/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=2 -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:63: error: member reference type 'modelica_real' (aka 'double') is not a pointer tmp5 = (1.2566370621270676e-6) * (real_array_get(ths->_Hk, 1, ths->_k)); ~~~ ^ /var/lib/jenkins/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:76: error: member reference type 'modelica_real' (aka 'double') is not a pointer tmp5 = (1.2566370621270676e-6) * (real_array_get(ths->_Hk, 1, ths->_k)); ~~~ ^ /var/lib/jenkins/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/jenkins/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/jenkins/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.6527960058301687] Failed to read output from testmodel.py, exit status != 0: 0.03905290737748146 0.054785796000000005 0.042314199000000004 Calling exit ...