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.001414/0.001414, 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.001527/0.001527, allocations: 158.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.26/1.26, allocations: 177.1 MB / 203.7 MB, free: 9.129 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.007998/0.007998, allocations: 0.9626 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.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.324e-05/1.324e-05, allocations: 6.219 kB / 384 MB, free: 3.488 MB / 302.1 MB Notification: Performance of NFInst.instantiate(FluxTubesExtension.Examples.SaturatedInductor): time 0.003664/0.003678, allocations: 2.67 MB / 386.7 MB, free: 0.793 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002356/0.006033, allocations: 1.576 MB / 388.3 MB, free: 15.21 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001069/0.00614, allocations: 7.938 kB / 388.3 MB, free: 15.2 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005831/0.006723, allocations: 187 kB / 388.4 MB, free: 15.02 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000217/0.006941, allocations: 99.11 kB / 388.5 MB, free: 14.92 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006526/0.007593, allocations: 322.9 kB / 388.9 MB, free: 14.6 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005905/0.008184, allocations: 0.5403 MB / 389.4 MB, free: 14.06 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001539/0.008338, allocations: 62.05 kB / 389.5 MB, free: 14 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003409/0.008678, allocations: 271.5 kB / 389.7 MB, free: 13.74 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002142/0.008893, allocations: 139.6 kB / 389.9 MB, free: 13.6 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.504e-05/0.008938, allocations: 32 kB / 389.9 MB, free: 13.57 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004152/0.009353, allocations: 295.1 kB / 390.2 MB, free: 13.28 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.0004839/0.009837, allocations: 0.5843 MB / 390.8 MB, free: 12.69 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 0.0002589/0.0101, allocations: 383 kB / 391.1 MB, free: 12.31 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.393e-05/0.01014, allocations: 28 kB / 391.2 MB, free: 12.29 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.983e-05/0.01017, allocations: 8 kB / 391.2 MB, free: 12.28 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: 69 (69) * Number of variables: 69 (69) Notification: Performance of [SIM] Bindings: time 0.001794/0.01196, allocations: 1.795 MB / 393 MB, free: 10.34 MB / 318.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0003017/0.01227, allocations: 255.1 kB / 393.2 MB, free: 10.08 MB / 318.1 MB Notification: Performance of [SIM] Early Inline: time 0.001001/0.01327, allocations: 1.015 MB / 394.2 MB, free: 9.043 MB / 318.1 MB Notification: Performance of [SIM] Simplify 1: time 0.000214/0.01348, allocations: 152.1 kB / 394.4 MB, free: 8.867 MB / 318.1 MB Notification: Performance of [SIM] Alias: time 0.001907/0.01539, allocations: 1.462 MB / 395.8 MB, free: 7.219 MB / 318.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0001541/0.01554, allocations: 116.3 kB / 396 MB, free: 7.078 MB / 318.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0001026/0.01564, allocations: 92.27 kB / 396 MB, free: 6.961 MB / 318.1 MB Notification: Performance of [SIM] Detect States: time 0.0003293/0.01597, allocations: 291.2 kB / 396.3 MB, free: 6.609 MB / 318.1 MB Notification: Performance of [SIM] Events: time 6.726e-05/0.01604, allocations: 36.47 kB / 396.4 MB, free: 6.574 MB / 318.1 MB Notification: Performance of [SIM] Partitioning: time 0.000432/0.01647, allocations: 361.3 kB / 396.7 MB, free: 6.184 MB / 318.1 MB Notification: Performance of [SIM] Causalize: time 0.0008156/0.01729, allocations: 0.6381 MB / 397.4 MB, free: 5.527 MB / 318.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0004146/0.0177, allocations: 479.5 kB / 397.8 MB, free: 5.059 MB / 318.1 MB Notification: Performance of [INI] Simplify: time 0.0005856/0.01829, allocations: 393.8 kB / 398.2 MB, free: 4.633 MB / 318.1 MB Notification: Performance of [INI] Inline: time 0.0009239/0.01921, allocations: 0.9976 MB / 399.2 MB, free: 3.629 MB / 318.1 MB Notification: Performance of [INI] Partitioning: time 4.727e-05/0.01926, allocations: 29.38 kB / 399.2 MB, free: 3.594 MB / 318.1 MB Notification: Performance of [INI] Cleanup: time 0.0001696/0.01943, allocations: 187.8 kB / 399.4 MB, free: 3.41 MB / 318.1 MB Notification: Performance of [INI] Causalize: time 0.001543/0.02097, allocations: 1.187 MB / 400.6 MB, free: 2.199 MB / 318.1 MB Notification: Performance of [INI] Tearing: time 9.967e-05/0.02107, allocations: 71.97 kB / 400.7 MB, free: 2.129 MB / 318.1 MB Notification: Performance of [SIM] Initialization: time 4.5e-07/0.02107, allocations: 4 kB / 400.7 MB, free: 2.125 MB / 318.1 MB Notification: Performance of [SIM] Remove Dummies: time 4.338e-06/0.02108, allocations: 0 / 400.7 MB, free: 2.125 MB / 318.1 MB Notification: Performance of [SIM] Tearing: time 8.218e-05/0.02116, allocations: 63.95 kB / 400.7 MB, free: 2.062 MB / 318.1 MB Notification: Performance of [SIM] Categorize: time 8.807e-06/0.02117, allocations: 7.938 kB / 400.8 MB, free: 2.055 MB / 318.1 MB Notification: Performance of [SIM] Solve: time 0.0004551/0.02162, allocations: 315.4 kB / 401.1 MB, free: 1.75 MB / 318.1 MB Notification: Performance of [SIM] Jacobian: time 0.001394/0.02302, allocations: 1.328 MB / 402.4 MB, free: 316 kB / 318.1 MB Notification: Performance of [SIM] Minimize Homotopy System: time 5.51e-07/0.02302, allocations: 0 / 402.4 MB, free: 316 kB / 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: ......... 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: ............................. 1 (1) {coil.Phi} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 1 (1) {$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 3.752e-05/0.02305, allocations: 28.27 kB / 402.4 MB, free: 288 kB / 318.1 MB Notification: Performance of SimCode: time 0.002102/0.02516, allocations: 1.698 MB / 404.1 MB, free: 14.56 MB / 334.1 MB Notification: Performance of Templates: time 0.007768/0.03292, allocations: 3.754 MB / 407.9 MB, free: 10.83 MB / 334.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: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/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.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/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.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: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.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: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.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.3426397405564785] Failed to read output from testmodel.py, exit status != 0: 0.04037089645862579 0.05394316800000001 0.041029737000000004 Calling exit ...