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.001412/0.001412, allocations: 100.4 kB / 19.72 MB, free: 2.121 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.001547/0.001547, allocations: 210.3 kB / 23.01 MB, free: 4.93 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.295/1.295, allocations: 230.6 MB / 256.8 MB, free: 7.785 MB / 206.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.01941/0.01941, allocations: 1.233 MB / 314.4 MB, free: 1.758 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.463e-05/1.463e-05, allocations: 2.281 kB / 437.2 MB, free: 15.81 MB / 302.1 MB Notification: Performance of NFInst.instantiate(FluxTubesExtension.Examples.ShowSoftMagneticCharacteristic): time 0.001768/0.001782, allocations: 1.512 MB / 438.7 MB, free: 14.29 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001407/0.00319, allocations: 1.174 MB / 439.9 MB, free: 13.11 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.411e-05/0.003234, allocations: 3.938 kB / 439.9 MB, free: 13.1 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000435/0.003669, allocations: 151.4 kB / 440 MB, free: 12.95 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005022/0.004171, allocations: 281.3 kB / 440.3 MB, free: 12.68 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 6.002e-06/0.004177, allocations: 0 / 440.3 MB, free: 12.68 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001201/0.004297, allocations: 135.5 kB / 440.4 MB, free: 12.55 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.409e-05/0.004331, allocations: 4 kB / 440.4 MB, free: 12.54 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.056e-05/0.004382, allocations: 43.73 kB / 440.5 MB, free: 12.5 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.489e-05/0.004467, allocations: 71.61 kB / 440.5 MB, free: 12.43 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.81e-05/0.004485, allocations: 4 kB / 440.5 MB, free: 12.43 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004667/0.004951, allocations: 0.5105 MB / 441.1 MB, free: 11.91 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0001547/0.005106, allocations: 265.4 kB / 441.3 MB, free: 11.65 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 6.114e-05/0.005167, allocations: 169.9 kB / 441.5 MB, free: 11.48 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 1.624e-05/0.005183, allocations: 4 kB / 441.5 MB, free: 11.48 MB / 302.1 MB Notification: Performance of FrontEnd: time 7.894e-06/0.005191, allocations: 0 / 441.5 MB, free: 11.48 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.0006379/0.005829, allocations: 0.9849 MB / 442.5 MB, free: 10.37 MB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0001086/0.005938, allocations: 89.16 kB / 442.6 MB, free: 10.27 MB / 302.1 MB Notification: Performance of [SIM] Early Inline: time 0.0005819/0.00652, allocations: 0.8905 MB / 443.4 MB, free: 9.41 MB / 302.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0001671/0.006687, allocations: 260.5 kB / 443.7 MB, free: 9.156 MB / 302.1 MB Notification: Performance of [SIM] Alias: time 0.0004699/0.007157, allocations: 429.2 kB / 444.1 MB, free: 8.684 MB / 302.1 MB Notification: Performance of [SIM] Simplify 2: time 0.00022/0.007377, allocations: 306.7 kB / 444.4 MB, free: 8.395 MB / 302.1 MB Notification: Performance of [SIM] Remove Stream: time 4.61e-05/0.007423, allocations: 76.36 kB / 444.5 MB, free: 8.293 MB / 302.1 MB Notification: Performance of [SIM] Detect States: time 0.0001178/0.007541, allocations: 176.6 kB / 444.7 MB, free: 8.066 MB / 302.1 MB Notification: Performance of [SIM] Events: time 0.000185/0.007726, allocations: 109.1 kB / 444.8 MB, free: 7.965 MB / 302.1 MB Notification: Performance of [SIM] Partitioning: time 0.0001765/0.007902, allocations: 256.3 kB / 445 MB, free: 7.676 MB / 302.1 MB Notification: Performance of [SIM] Causalize: time 0.0001838/0.008086, allocations: 200.7 kB / 445.2 MB, free: 7.441 MB / 302.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0003084/0.008394, allocations: 0.5656 MB / 445.8 MB, free: 6.875 MB / 302.1 MB Notification: Performance of [INI] Simplify: time 0.0004156/0.00881, allocations: 446.9 kB / 446.2 MB, free: 6.422 MB / 302.1 MB Notification: Performance of [INI] Inline: time 0.0005219/0.009332, allocations: 0.9519 MB / 447.2 MB, free: 5.465 MB / 302.1 MB Notification: Performance of [INI] Partitioning: time 1.17e-05/0.009343, allocations: 28.05 kB / 447.2 MB, free: 5.43 MB / 302.1 MB Notification: Performance of [INI] Cleanup: time 7.734e-05/0.009421, allocations: 103.8 kB / 447.3 MB, free: 5.328 MB / 302.1 MB Notification: Performance of [INI] Causalize: time 0.0001967/0.009617, allocations: 195.8 kB / 447.5 MB, free: 5.129 MB / 302.1 MB Notification: Performance of [INI] Tearing: time 5.207e-05/0.00967, allocations: 28.25 kB / 447.5 MB, free: 5.102 MB / 302.1 MB Notification: Performance of [SIM] Initialization: time 4.01e-07/0.00967, allocations: 4 kB / 447.5 MB, free: 5.098 MB / 302.1 MB Notification: Performance of [SIM] Remove Dummies: time 3.186e-06/0.009673, allocations: 0 / 447.5 MB, free: 5.098 MB / 302.1 MB Notification: Performance of [SIM] Tearing: time 2.179e-05/0.009695, allocations: 23.97 kB / 447.6 MB, free: 5.074 MB / 302.1 MB Notification: Performance of [SIM] Categorize: time 7.504e-06/0.009702, allocations: 7.922 kB / 447.6 MB, free: 5.066 MB / 302.1 MB Notification: Performance of [SIM] Solve: time 0.0004989/0.0102, allocations: 492.3 kB / 448 MB, free: 4.645 MB / 302.1 MB Notification: Performance of [SIM] Jacobian: time 0.0002596/0.01046, allocations: 375.8 kB / 448.4 MB, free: 4.238 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.399e-05/0.01048, allocations: 27.39 kB / 448.4 MB, free: 4.211 MB / 302.1 MB Notification: Performance of SimCode: time 0.001133/0.01162, allocations: 1.028 MB / 449.5 MB, free: 3.172 MB / 302.1 MB Notification: Performance of Templates: time 0.006347/0.01796, allocations: 4.223 MB / 453.7 MB, free: 14.93 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=2 -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=2 -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=2 -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: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/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.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: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/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.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.44271632283926] Failed to read output from testmodel.py, exit status != 0: 0.024011087138205767 0.037567624 0.029776971000000003 Calling exit ...