Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr FluxTubesExtension_FluxTubesExtension.Examples.ShowSoftMagneticCharacteristic.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.001252/0.001252, 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.001396/0.001396, allocations: 214.9 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.373/1.373, allocations: 230.6 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.01319/0.01319, allocations: 1.243 MB / 314.5 MB, free: 1.816 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.ShowSoftMagneticCharacteristic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="FluxTubesExtension_FluxTubesExtension.Examples.ShowSoftMagneticCharacteristic") translateModel(FluxTubesExtension.Examples.ShowSoftMagneticCharacteristic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="FluxTubesExtension_FluxTubesExtension.Examples.ShowSoftMagneticCharacteristic") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.703e-05/1.703e-05, allocations: 6.219 kB / 437.3 MB, free: 15.79 MB / 302.1 MB Notification: Performance of NFInst.instantiate(FluxTubesExtension.Examples.ShowSoftMagneticCharacteristic): time 0.002064/0.002081, allocations: 1.537 MB / 438.8 MB, free: 14.25 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001376/0.003457, allocations: 1.162 MB / 440 MB, free: 13.08 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.636e-05/0.003503, allocations: 0 / 440 MB, free: 13.08 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004634/0.003966, allocations: 147.3 kB / 440.1 MB, free: 12.93 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005239/0.00449, allocations: 282.9 kB / 440.4 MB, free: 12.66 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.741e-06/0.004496, allocations: 0 / 440.4 MB, free: 12.66 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001152/0.004611, allocations: 131.5 kB / 440.5 MB, free: 12.53 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.145e-05/0.004653, allocations: 0 / 440.5 MB, free: 12.53 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.518e-05/0.004698, allocations: 55.7 kB / 440.6 MB, free: 12.47 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.038e-05/0.004778, allocations: 55.7 kB / 440.7 MB, free: 12.42 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 9.348e-06/0.004788, allocations: 4 kB / 440.7 MB, free: 12.41 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000479/0.005267, allocations: 490.7 kB / 441.1 MB, free: 11.93 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0001391/0.005406, allocations: 265.4 kB / 441.4 MB, free: 11.67 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 5.64e-05/0.005462, allocations: 165.9 kB / 441.6 MB, free: 11.51 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 1.565e-05/0.005478, allocations: 4 kB / 441.6 MB, free: 11.5 MB / 302.1 MB Notification: Performance of FrontEnd: time 8.696e-06/0.005486, allocations: 0 / 441.6 MB, free: 11.5 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: 9 (9) * Number of variables: 9 (9) Notification: Performance of [SIM] Bindings: time 0.0006321/0.006119, allocations: 0.9927 MB / 442.6 MB, free: 10.38 MB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0001064/0.006225, allocations: 77.23 kB / 442.6 MB, free: 10.3 MB / 302.1 MB Notification: Performance of [SIM] Early Inline: time 0.0006114/0.006836, allocations: 0.8902 MB / 443.5 MB, free: 9.434 MB / 302.1 MB Notification: Performance of [SIM] Simplify 1: time 0.000182/0.007018, allocations: 255.6 kB / 443.8 MB, free: 9.184 MB / 302.1 MB Notification: Performance of [SIM] Alias: time 0.0005139/0.007532, allocations: 425.6 kB / 444.2 MB, free: 8.715 MB / 302.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0002313/0.007764, allocations: 306.5 kB / 444.5 MB, free: 8.426 MB / 302.1 MB Notification: Performance of [SIM] Remove Stream: time 4.007e-05/0.007804, allocations: 76.36 kB / 444.6 MB, free: 8.324 MB / 302.1 MB Notification: Performance of [SIM] Detect States: time 0.0001037/0.007907, allocations: 164.7 kB / 444.7 MB, free: 8.109 MB / 302.1 MB Notification: Performance of [SIM] Events: time 0.0001891/0.008096, allocations: 87.09 kB / 444.8 MB, free: 8.027 MB / 302.1 MB Notification: Performance of [SIM] Partitioning: time 0.0001826/0.008279, allocations: 260.2 kB / 445.1 MB, free: 7.734 MB / 302.1 MB Notification: Performance of [SIM] Causalize: time 0.0002095/0.008488, allocations: 204.4 kB / 445.3 MB, free: 7.496 MB / 302.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0002835/0.008772, allocations: 0.5617 MB / 445.8 MB, free: 6.934 MB / 302.1 MB Notification: Performance of [INI] Simplify: time 0.0004645/0.009236, allocations: 439.2 kB / 446.3 MB, free: 6.488 MB / 302.1 MB Notification: Performance of [INI] Inline: time 0.0005195/0.009756, allocations: 0.9675 MB / 447.2 MB, free: 5.516 MB / 302.1 MB Notification: Performance of [INI] Partitioning: time 1.185e-05/0.009768, allocations: 12.12 kB / 447.2 MB, free: 5.496 MB / 302.1 MB Notification: Performance of [INI] Cleanup: time 6.983e-05/0.009838, allocations: 103.8 kB / 447.3 MB, free: 5.395 MB / 302.1 MB Notification: Performance of [INI] Causalize: time 0.0002101/0.01005, allocations: 187.8 kB / 447.5 MB, free: 5.203 MB / 302.1 MB Notification: Performance of [INI] Tearing: time 5.956e-05/0.01011, allocations: 38.38 kB / 447.6 MB, free: 5.168 MB / 302.1 MB Notification: Performance of [SIM] Initialization: time 4.11e-07/0.01011, allocations: 0 / 447.6 MB, free: 5.168 MB / 302.1 MB Notification: Performance of [SIM] DAE-Mode: time 0.0004055/0.01051, allocations: 478.7 kB / 448 MB, free: 4.754 MB / 302.1 MB Notification: Performance of [SIM] Remove Dummies: time 4.729e-06/0.01052, allocations: 0 / 448 MB, free: 4.754 MB / 302.1 MB Notification: Performance of [SIM] Tearing: time 2.824e-05/0.01055, allocations: 31.98 kB / 448.1 MB, free: 4.723 MB / 302.1 MB Notification: Performance of [SIM] Categorize: time 9.217e-06/0.01056, allocations: 7.922 kB / 448.1 MB, free: 4.715 MB / 302.1 MB Notification: Performance of [SIM] Solve: time 0.001126/0.01168, allocations: 1.16 MB / 449.2 MB, free: 3.707 MB / 302.1 MB Notification: Performance of [SIM] Jacobian: time 0.0007946/0.01248, allocations: 1.649 MB / 450.9 MB, free: 1.805 MB / 302.1 MB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 4 * Number of ODE event partitions: ............... 0 * 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: ............................. 0 (0) {} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 1 (1) {$SEV_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: ........... 7 (scalar:7, 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: ........... 9 (scalar:9, 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 2.902e-05/0.01251, allocations: 23.88 kB / 450.9 MB, free: 1.785 MB / 302.1 MB Notification: Performance of SimCode: time 0.001522/0.01403, allocations: 1.197 MB / 452.1 MB, free: 0.5352 MB / 302.1 MB Notification: Performance of Templates: time 0.00942/0.02345, allocations: 5.513 MB / 457.6 MB, free: 11 MB / 318.1 MB " [Timeout remaining time 660] make -j1 -f FluxTubesExtension_FluxTubesExtension.Examples.ShowSoftMagneticCharacteristic.makefile [Timeout 660] make -j1 -f FluxTubesExtension_FluxTubesExtension.Examples.ShowSoftMagneticCharacteristic.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_ShowSoftMagneticCharacteristic -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.ShowSoftMagneticCharacteristic.o FluxTubesExtension_FluxTubesExtension.Examples.ShowSoftMagneticCharacteristic.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_ShowSoftMagneticCharacteristic -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.ShowSoftMagneticCharacteristic_functions.o FluxTubesExtension_FluxTubesExtension.Examples.ShowSoftMagneticCharacteristic_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_ShowSoftMagneticCharacteristic -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.ShowSoftMagneticCharacteristic_records.o FluxTubesExtension_FluxTubesExtension.Examples.ShowSoftMagneticCharacteristic_records.c FluxTubesExtension_FluxTubesExtension.Examples.ShowSoftMagneticCharacteristic_records.c:138:22: error: expected ';' at end of declaration modelica_real ths->__omcQ_24tmpVar5; ^ ; FluxTubesExtension_FluxTubesExtension.Examples.ShowSoftMagneticCharacteristic_records.c:140:19: error: redefinition of 'ths' modelica_real ths->__omcQ_24tmpVar4; ^ FluxTubesExtension_FluxTubesExtension.Examples.ShowSoftMagneticCharacteristic_records.c:138:19: note: previous definition is here modelica_real ths->__omcQ_24tmpVar5; ^ FluxTubesExtension_FluxTubesExtension.Examples.ShowSoftMagneticCharacteristic_records.c:140:22: error: expected ';' at end of declaration modelica_real ths->__omcQ_24tmpVar4; ^ ; FluxTubesExtension_FluxTubesExtension.Examples.ShowSoftMagneticCharacteristic_records.c:146:18: error: member reference type 'modelica_real' (aka 'double') is not a pointer tmp12 = ths->_N /* Range stop-value */; ~~~ ^ FluxTubesExtension_FluxTubesExtension.Examples.ShowSoftMagneticCharacteristic_records.c:149:10: error: member reference type 'modelica_real' (aka 'double') is not a pointer ths->__omcQ_24tmpVar5 = 0.0; /* defaultValue */ ~~~ ^ FluxTubesExtension_FluxTubesExtension.Examples.ShowSoftMagneticCharacteristic_records.c:157:58: error: member reference type 'modelica_real' (aka 'double') is not a pointer tmp9 = (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.ShowSoftMagneticCharacteristic_records.c:157:71: error: member reference type 'modelica_real' (aka 'double') is not a pointer tmp9 = (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.ShowSoftMagneticCharacteristic_records.c:159:14: error: member reference type 'modelica_real' (aka 'double') is not a pointer ths->__omcQ_24tmpVar4 = (real_array_get(ths->_Bk, 1, ths->_k)) / tmp9; ~~~ ^ FluxTubesExtension_FluxTubesExtension.Examples.ShowSoftMagneticCharacteristic_records.c:159:54: error: member reference type 'modelica_real' (aka 'double') is not a pointer ths->__omcQ_24tmpVar4 = (real_array_get(ths->_Bk, 1, ths->_k)) / tmp9; ~~~ ^ /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.ShowSoftMagneticCharacteristic_records.c:159:67: error: member reference type 'modelica_real' (aka 'double') is not a pointer ths->__omcQ_24tmpVar4 = (real_array_get(ths->_Bk, 1, ths->_k)) / tmp9; ~~~ ^ /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.ShowSoftMagneticCharacteristic_records.c:160: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.ShowSoftMagneticCharacteristic_records.c:160: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.ShowSoftMagneticCharacteristic_records.c:160: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.ShowSoftMagneticCharacteristic_records.c:167:17: error: member reference type 'modelica_real' (aka 'double') is not a pointer tmp8 = ths->__omcQ_24tmpVar5; ~~~ ^ 14 errors generated. make: *** [: FluxTubesExtension_FluxTubesExtension.Examples.ShowSoftMagneticCharacteristic_records.o] Error 1 [Calling os._exit(0), Time elapsed: 2.580920002015773] Failed to read output from testmodel.py, exit status != 0: 0.0301693850196898 0.044497964 0.0361396 Calling exit ...