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.001396/0.001396, allocations: 85.77 kB / 20.05 MB, free: 1.453 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.001514/0.001514, allocations: 161.6 kB / 23.34 MB, free: 4.43 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.267/1.267, allocations: 177.1 MB / 203.7 MB, free: 9.125 MB / 190.1 MB " [Timeout remaining time 179] 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.02618/0.02618, allocations: 0.9645 MB / 261.1 MB, free: 15.77 MB / 254.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.316e-05/1.316e-05, allocations: 2.281 kB / 384 MB, free: 3.484 MB / 302.1 MB Notification: Performance of NFInst.instantiate(FluxTubesExtension.Examples.ShowSoftMagneticCharacteristic): time 0.002301/0.002314, allocations: 1.535 MB / 385.5 MB, free: 1.934 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001808/0.004122, allocations: 1.168 MB / 386.7 MB, free: 0.7578 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.742e-05/0.004169, allocations: 3.938 kB / 386.7 MB, free: 0.7539 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004424/0.004612, allocations: 139.3 kB / 386.8 MB, free: 0.6172 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005924/0.005204, allocations: 286.6 kB / 387.1 MB, free: 344 kB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.989e-06/0.005209, allocations: 4 kB / 387.1 MB, free: 340 kB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001532/0.005362, allocations: 127.4 kB / 387.3 MB, free: 212 kB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.075e-05/0.005393, allocations: 7.938 kB / 387.3 MB, free: 204 kB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.018e-05/0.005473, allocations: 55.81 kB / 387.3 MB, free: 148 kB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001061/0.005579, allocations: 51.81 kB / 387.4 MB, free: 96 kB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.067e-05/0.00559, allocations: 8 kB / 387.4 MB, free: 88 kB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006779/0.006268, allocations: 490.6 kB / 387.9 MB, free: 15.61 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.0002144/0.006482, allocations: 233.9 kB / 388.1 MB, free: 15.38 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 9.884e-05/0.006581, allocations: 142.2 kB / 388.2 MB, free: 15.23 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.264e-05/0.006604, allocations: 4 kB / 388.2 MB, free: 15.23 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.754e-05/0.006621, allocations: 4 kB / 388.2 MB, free: 15.23 MB / 318.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.001063/0.007684, allocations: 0.9463 MB / 389.2 MB, free: 14.15 MB / 318.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0002156/0.0079, allocations: 137.4 kB / 389.3 MB, free: 14.02 MB / 318.1 MB Notification: Performance of [SIM] Early Inline: time 0.0009908/0.00889, allocations: 0.9457 MB / 390.3 MB, free: 13.07 MB / 318.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0002084/0.009099, allocations: 179.9 kB / 390.4 MB, free: 12.89 MB / 318.1 MB Notification: Performance of [SIM] Alias: time 0.0008397/0.009939, allocations: 0.6043 MB / 391 MB, free: 12.19 MB / 318.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0002609/0.0102, allocations: 193.1 kB / 391.2 MB, free: 12 MB / 318.1 MB Notification: Performance of [SIM] Remove Stream: time 7.694e-05/0.01028, allocations: 80.23 kB / 391.3 MB, free: 11.89 MB / 318.1 MB Notification: Performance of [SIM] Detect States: time 0.0002868/0.01056, allocations: 273.9 kB / 391.6 MB, free: 11.56 MB / 318.1 MB Notification: Performance of [SIM] Events: time 3.488e-05/0.0106, allocations: 19.98 kB / 391.6 MB, free: 11.54 MB / 318.1 MB Notification: Performance of [SIM] Partitioning: time 0.0003835/0.01098, allocations: 358.2 kB / 391.9 MB, free: 11.11 MB / 318.1 MB Notification: Performance of [SIM] Causalize: time 0.000326/0.01131, allocations: 256.8 kB / 392.2 MB, free: 10.8 MB / 318.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0005491/0.01186, allocations: 0.6125 MB / 392.8 MB, free: 10.19 MB / 318.1 MB Notification: Performance of [INI] Simplify: time 0.0004728/0.01233, allocations: 308.2 kB / 393.1 MB, free: 9.863 MB / 318.1 MB Notification: Performance of [INI] Inline: time 0.000972/0.0133, allocations: 1.069 MB / 394.2 MB, free: 8.789 MB / 318.1 MB Notification: Performance of [INI] Partitioning: time 1.707e-05/0.01332, allocations: 12.12 kB / 394.2 MB, free: 8.77 MB / 318.1 MB Notification: Performance of [INI] Cleanup: time 0.0001635/0.01348, allocations: 147.7 kB / 394.3 MB, free: 8.625 MB / 318.1 MB Notification: Performance of [INI] Causalize: time 0.0003258/0.01381, allocations: 259.4 kB / 394.6 MB, free: 8.367 MB / 318.1 MB Notification: Performance of [INI] Tearing: time 5.632e-05/0.01386, allocations: 23.98 kB / 394.6 MB, free: 8.344 MB / 318.1 MB Notification: Performance of [SIM] Initialization: time 5.21e-07/0.01386, allocations: 0 / 394.6 MB, free: 8.344 MB / 318.1 MB Notification: Performance of [SIM] Remove Dummies: time 3.707e-06/0.01387, allocations: 4 kB / 394.6 MB, free: 8.34 MB / 318.1 MB Notification: Performance of [SIM] Tearing: time 2.805e-05/0.0139, allocations: 19.98 kB / 394.6 MB, free: 8.32 MB / 318.1 MB Notification: Performance of [SIM] Categorize: time 1.041e-05/0.01391, allocations: 3.938 kB / 394.6 MB, free: 8.316 MB / 318.1 MB Notification: Performance of [SIM] Solve: time 0.0005961/0.0145, allocations: 398.2 kB / 395 MB, free: 7.949 MB / 318.1 MB Notification: Performance of [SIM] Jacobian: time 0.0003776/0.01488, allocations: 321.9 kB / 395.3 MB, free: 7.59 MB / 318.1 MB Notification: Performance of [SIM] Minimize Homotopy System: time 5.61e-07/0.01488, allocations: 0 / 395.3 MB, free: 7.59 MB / 318.1 MB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 7 * Number of ODE event partitions: ............... 0 * Number of algebraic event partitions: ......... 0 * 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: ................. 0 (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: ........... 6 (scalar:6, 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: ........... 10 (scalar:10, 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 3.49e-05/0.01492, allocations: 28.38 kB / 395.4 MB, free: 7.57 MB / 318.1 MB Notification: Performance of SimCode: time 0.001562/0.01648, allocations: 1.043 MB / 396.4 MB, free: 6.504 MB / 318.1 MB Notification: Performance of Templates: time 0.007215/0.02369, allocations: 3.911 MB / 400.3 MB, free: 2.586 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/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_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/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_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/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_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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/util/generic_array.h:64: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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/util/generic_array.h:64: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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/util/generic_array.h:64: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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/util/generic_array.h:64: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.366974461823702] Failed to read output from testmodel.py, exit status != 0: 0.031059470027685165 0.044471592000000004 0.035081641000000004 Calling exit ...