Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr FluxTubesExtension_FluxTubesExtension.TestRecordFunctionInput.Examples.ShowSoftMagneticCharacteristic.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.001438/0.001438, allocations: 108.8 kB / 18.93 MB, free: 2.945 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.001645/0.001645, allocations: 191.6 kB / 22.23 MB, free: 5.16 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.427/1.427, allocations: 225.6 MB / 251 MB, free: 13.01 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.01355/0.01355, allocations: 1.243 MB / 307.5 MB, free: 7.488 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.TestRecordFunctionInput.Examples.ShowSoftMagneticCharacteristic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="FluxTubesExtension_FluxTubesExtension.TestRecordFunctionInput.Examples.ShowSoftMagneticCharacteristic")
translateModel(FluxTubesExtension.TestRecordFunctionInput.Examples.ShowSoftMagneticCharacteristic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="FluxTubesExtension_FluxTubesExtension.TestRecordFunctionInput.Examples.ShowSoftMagneticCharacteristic") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002141/0.002141, allocations: 67.89 kB / 428.1 MB, free: 22.77 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.1167/0.1188, allocations: 52.46 MB / 480.5 MB, free: 2.207 MB / 334.1 MB
Notification: Performance of NFInst.instantiate(FluxTubesExtension.TestRecordFunctionInput.Examples.ShowSoftMagneticCharacteristic): time 0.002723/0.1215, allocations: 1.239 MB / 481.8 MB, free: 0.957 MB / 334.1 MB
Notification: Performance of NFInst.instExpressions: time 0.001347/0.1229, allocations: 0.6624 MB / 482.4 MB, free: 296 kB / 334.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 4.667e-05/0.1229, allocations: 4 kB / 482.4 MB, free: 292 kB / 334.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0003014/0.1232, allocations: 39.88 kB / 482.5 MB, free: 252 kB / 334.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.000393/0.1236, allocations: 107.6 kB / 482.6 MB, free: 144 kB / 334.1 MB
Notification: Performance of NFTyping.typeClassSections: time 4.017e-06/0.1236, allocations: 4 kB / 482.6 MB, free: 140 kB / 334.1 MB
Notification: Performance of NFFlatten.flatten: time 7.577e-05/0.1237, allocations: 11.94 kB / 482.6 MB, free: 128 kB / 334.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 5.031e-05/0.1238, allocations: 7.984 kB / 482.6 MB, free: 120 kB / 334.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 8.351e-05/0.1238, allocations: 19.86 kB / 482.6 MB, free: 100 kB / 334.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 7.535e-05/0.1239, allocations: 15.92 kB / 482.6 MB, free: 84 kB / 334.1 MB
Notification: Performance of NFPackage.collectConstants: time 7.925e-06/0.1239, allocations: 0 / 482.6 MB, free: 84 kB / 334.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0004813/0.1244, allocations: 263.3 kB / 482.9 MB, free: 15.82 MB / 350.1 MB
Notification: Performance of NFScalarize.scalarize: time 4.82e-05/0.1244, allocations: 15.92 kB / 482.9 MB, free: 15.81 MB / 350.1 MB
Notification: Performance of NFVerifyModel.verify: time 3.427e-05/0.1245, allocations: 15.88 kB / 482.9 MB, free: 15.79 MB / 350.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.00033/0.1248, allocations: 163.5 kB / 483.1 MB, free: 15.63 MB / 350.1 MB
Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.1248, allocations: 0 / 483.1 MB, free: 15.63 MB / 350.1 MB
Notification: Performance of FrontEnd: time 1.282e-06/0.1248, allocations: 0 / 483.1 MB, free: 15.63 MB / 350.1 MB
Notification: Performance of Transformations before backend: time 4.989e-06/0.1248, allocations: 3.938 kB / 483.1 MB, free: 15.63 MB / 350.1 MB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 3
 * Number of variables: 3
Notification: Performance of Generate backend data structure: time 0.000449/0.1253, allocations: 278.1 kB / 483.3 MB, free: 15.33 MB / 350.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.074e-05/0.1253, allocations: 16.02 kB / 483.4 MB, free: 15.31 MB / 350.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 4.699e-05/0.1254, allocations: 4.938 kB / 483.4 MB, free: 15.31 MB / 350.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002392/0.1256, allocations: 134.4 kB / 483.5 MB, free: 15.15 MB / 350.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.588e-06/0.1256, allocations: 4.312 kB / 483.5 MB, free: 15.15 MB / 350.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.924e-05/0.1256, allocations: 384 / 483.5 MB, free: 15.15 MB / 350.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001071/0.1257, allocations: 50 kB / 483.6 MB, free: 15.09 MB / 350.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.142e-05/0.1257, allocations: 0 / 483.6 MB, free: 15.09 MB / 350.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.215e-05/0.1258, allocations: 4 kB / 483.6 MB, free: 15.09 MB / 350.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.979e-06/0.1258, allocations: 0 / 483.6 MB, free: 15.09 MB / 350.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 7.009e-05/0.1258, allocations: 31.95 kB / 483.6 MB, free: 15.06 MB / 350.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001989/0.126, allocations: 144.7 kB / 483.7 MB, free: 14.88 MB / 350.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0002611/0.1263, allocations: 74.53 kB / 483.8 MB, free: 14.79 MB / 350.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 4.357e-05/0.1263, allocations: 20.94 kB / 483.8 MB, free: 14.77 MB / 350.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 3.939e-05/0.1264, allocations: 4 kB / 483.8 MB, free: 14.77 MB / 350.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.874e-05/0.1264, allocations: 34.5 kB / 483.9 MB, free: 14.72 MB / 350.1 MB
Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.1264, allocations: 0 / 483.9 MB, free: 14.72 MB / 350.1 MB
Notification: Performance of matching and sorting (n=5): time 0.002455/0.1289, allocations: 0.5986 MB / 484.5 MB, free: 14.12 MB / 350.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 9.471e-05/0.129, allocations: 55.41 kB / 484.5 MB, free: 14.05 MB / 350.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001276/0.1291, allocations: 125.8 kB / 484.6 MB, free: 13.92 MB / 350.1 MB
Notification: Performance of collectPreVariables (initialization): time 3.806e-05/0.1291, allocations: 25.7 kB / 484.7 MB, free: 13.89 MB / 350.1 MB
Notification: Performance of collectInitialEqns (initialization): time 6.194e-05/0.1292, allocations: 84.14 kB / 484.7 MB, free: 13.8 MB / 350.1 MB
Notification: Performance of collectInitialBindings (initialization): time 5.252e-05/0.1292, allocations: 31.72 kB / 484.8 MB, free: 13.77 MB / 350.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001024/0.1293, allocations: 41.69 kB / 484.8 MB, free: 13.72 MB / 350.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001579/0.1295, allocations: 314.8 kB / 485.1 MB, free: 13.41 MB / 350.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002734/0.1298, allocations: 155.8 kB / 485.3 MB, free: 13.25 MB / 350.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002576/0.13, allocations: 159.8 kB / 485.4 MB, free: 13.1 MB / 350.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0005262/0.1306, allocations: 308.6 kB / 485.7 MB, free: 12.79 MB / 350.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/0.1306, allocations: 0 / 485.7 MB, free: 12.79 MB / 350.1 MB
Notification: Performance of matching and sorting (n=5) (initialization): time 0.0006787/0.1312, allocations: 369.3 kB / 486.1 MB, free: 12.43 MB / 350.1 MB
Notification: Performance of prepare postOptimizeDAE: time 2.21e-05/0.1313, allocations: 7.984 kB / 486.1 MB, free: 12.42 MB / 350.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.1313, allocations: 0 / 486.1 MB, free: 12.42 MB / 350.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 2.289e-05/0.1313, allocations: 4 kB / 486.1 MB, free: 12.41 MB / 350.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002239/0.1315, allocations: 31.97 kB / 486.1 MB, free: 12.38 MB / 350.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.7e-06/0.1315, allocations: 0 / 486.1 MB, free: 12.38 MB / 350.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001468/0.1317, allocations: 11.92 kB / 486.1 MB, free: 12.37 MB / 350.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.901e-05/0.1317, allocations: 28.17 kB / 486.2 MB, free: 12.34 MB / 350.1 MB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 1
 * Number of states: 0 ()
 * Number of discrete variables: 0 ()
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (5):
 * Single equations (assignments): 5
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 0
 * Mixed (continuous/discrete) equation systems: 0
Notification: Performance of prepare postOptimizeDAE: time 0.0001475/0.1319, allocations: 121.8 kB / 486.3 MB, free: 12.21 MB / 350.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 3.767e-05/0.1319, allocations: 11.89 kB / 486.3 MB, free: 12.2 MB / 350.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006565/0.1326, allocations: 293.4 kB / 486.6 MB, free: 11.91 MB / 350.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.1326, allocations: 0 / 486.6 MB, free: 11.91 MB / 350.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.1326, allocations: 0 / 486.6 MB, free: 11.91 MB / 350.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/0.1326, allocations: 0 / 486.6 MB, free: 11.91 MB / 350.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001172/0.1337, allocations: 0.5584 MB / 487.2 MB, free: 11.3 MB / 350.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.899e-06/0.1338, allocations: 8.031 kB / 487.2 MB, free: 11.29 MB / 350.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001763/0.1339, allocations: 23.97 kB / 487.2 MB, free: 11.27 MB / 350.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 3.025e-06/0.1339, allocations: 0 / 487.2 MB, free: 11.27 MB / 350.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.274e-05/0.134, allocations: 7.984 kB / 487.2 MB, free: 11.26 MB / 350.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.324e-06/0.134, allocations: 3.938 kB / 487.2 MB, free: 11.25 MB / 350.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.134, allocations: 0 / 487.2 MB, free: 11.25 MB / 350.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004806/0.1344, allocations: 332.2 kB / 487.5 MB, free: 10.91 MB / 350.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 1.816e-05/0.1345, allocations: 11.95 kB / 487.5 MB, free: 10.9 MB / 350.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.843e-05/0.1345, allocations: 0 / 487.5 MB, free: 10.9 MB / 350.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001471/0.1346, allocations: 4 kB / 487.5 MB, free: 10.89 MB / 350.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 4.362e-05/0.1347, allocations: 11.98 kB / 487.5 MB, free: 10.88 MB / 350.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.127e-05/0.1347, allocations: 15.98 kB / 487.6 MB, free: 10.87 MB / 350.1 MB
Notification: Performance of sorting global known variables: time 8.28e-05/0.1348, allocations: 99.7 kB / 487.7 MB, free: 10.77 MB / 350.1 MB
Notification: Performance of sort global known variables: time 1e-07/0.1348, allocations: 4 kB / 487.7 MB, free: 10.77 MB / 350.1 MB
Notification: Performance of remove unused functions: time 0.0003001/0.1351, allocations: 27.88 kB / 487.7 MB, free: 10.74 MB / 350.1 MB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 2
 * Number of states: 0 ()
 * Number of discrete variables: 1 ($cse1)
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for simulation (6):
 * Single equations (assignments): 6
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 0
 * Mixed (continuous/discrete) equation systems: 0
Notification: Performance of Backend phase and start with SimCode phase: time 0.0003234/0.1354, allocations: 127.1 kB / 487.8 MB, free: 10.61 MB / 350.1 MB
Notification: Performance of simCode: created initialization part: time 0.0004299/0.1358, allocations: 215.9 kB / 488 MB, free: 10.39 MB / 350.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.1358, allocations: 0 / 488 MB, free: 10.39 MB / 350.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0002233/0.1361, allocations: 83.88 kB / 488.1 MB, free: 10.31 MB / 350.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002501/0.1363, allocations: 8.328 kB / 488.1 MB, free: 10.3 MB / 350.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006008/0.1369, allocations: 228.7 kB / 488.3 MB, free: 10.05 MB / 350.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003785/0.1373, allocations: 0.6926 MB / 489 MB, free: 9.336 MB / 350.1 MB
Notification: Performance of simCode: alias equations: time 8.634e-05/0.1374, allocations: 27.91 kB / 489.1 MB, free: 9.309 MB / 350.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 9.414e-05/0.1375, allocations: 23.41 kB / 489.1 MB, free: 9.285 MB / 350.1 MB
Notification: Performance of SimCode: time 3.31e-07/0.1375, allocations: 8 kB / 489.1 MB, free: 9.277 MB / 350.1 MB
Notification: Performance of Templates: time 0.005867/0.1433, allocations: 1.942 MB / 491 MB, free: 7.375 MB / 350.1 MB
"
[Timeout remaining time 660]
make -j1 -f FluxTubesExtension_FluxTubesExtension.TestRecordFunctionInput.Examples.ShowSoftMagneticCharacteristic.makefile [Timeout 660]
make -j1 -f FluxTubesExtension_FluxTubesExtension.TestRecordFunctionInput.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_TestRecordFunctionInput_Examples_ShowSoftMagneticCharacteristic -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0  -c -o FluxTubesExtension_FluxTubesExtension.TestRecordFunctionInput.Examples.ShowSoftMagneticCharacteristic.o FluxTubesExtension_FluxTubesExtension.TestRecordFunctionInput.Examples.ShowSoftMagneticCharacteristic.c
FluxTubesExtension_FluxTubesExtension.TestRecordFunctionInput.Examples.ShowSoftMagneticCharacteristic.c:212:19: error: invalid operands to binary expression ('real_array' (aka 'struct base_array_s') and 'real_array')
    tmp17 = tmp15 - (tmp16);
            ~~~~~ ^ ~~~~~~~
FluxTubesExtension_FluxTubesExtension.TestRecordFunctionInput.Examples.ShowSoftMagneticCharacteristic.c:214:301: error: invalid operands to binary expression ('real_array' (aka 'struct base_array_s') and 'real_array')
    tmp20 = (((modelica_real)sign((data->localData[0]->realVars[data->simulationInfo->realVarsIndex[3]] /* H DUMMY_STATE */)))) * (real_get(_OMC_LIT6, ((data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[0]] /* $cse1 DISCRETE */) - ((modelica_integer) 1))-1) + (DIVISION_SIM(tmp7 - (tmp8),tmp9 - (tmp10),"material.Hk[$cse1] - material.Hk[$cse1 - 1]",equationIndexes)) * ((sign((data->localData[0]->realVars[data->simulationInfo->realVarsIndex[3]] /* H DUMMY_STATE */))) * (5e4) - (real_get(_OMC_LIT6, ((data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[0]] /* $cse1 DISCRETE */) - ((modelica_integer) 1))-1))) + (DIVISION_SIM((real_get(_OMC_LIT6, ((data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[0]] /* $cse1 DISCRETE */))-1) - (real_get(_OMC_LIT6, ((data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[0]] /* $cse1 DISCRETE */) - ((modelica_integer) 1))-1))) * (tmp11 - (tmp12) - (tmp13 - (tmp14))),(tmp17 * tmp17),"(material.Hk[$cse1] - material.Hk[$cse1 - 1]) ^ 2.0",equationIndexes)) * (fabs((data->localData[0]->realVars[data->simulationInfo->realVarsIndex[3]] /* H DUMMY_STATE */)) - (tmp18)));
                                                                                                                                                                                                                                                                                                       ~~~~ ^ ~~~~~~
/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/util/division.h:45:67: note: expanded from macro 'DIVISION_SIM'
#define DIVISION_SIM(a,b,msg,equation) (__OMC_DIV_SIM(threadData, a, b, msg, equationIndexes, data->simulationInfo->noThrowDivZero, data->localData[0]->timeValue, initial()))
                                                                  ^
FluxTubesExtension_FluxTubesExtension.TestRecordFunctionInput.Examples.ShowSoftMagneticCharacteristic.c:214:315: error: invalid operands to binary expression ('real_array' (aka 'struct base_array_s') and 'real_array')
    tmp20 = (((modelica_real)sign((data->localData[0]->realVars[data->simulationInfo->realVarsIndex[3]] /* H DUMMY_STATE */)))) * (real_get(_OMC_LIT6, ((data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[0]] /* $cse1 DISCRETE */) - ((modelica_integer) 1))-1) + (DIVISION_SIM(tmp7 - (tmp8),tmp9 - (tmp10),"material.Hk[$cse1] - material.Hk[$cse1 - 1]",equationIndexes)) * ((sign((data->localData[0]->realVars[data->simulationInfo->realVarsIndex[3]] /* H DUMMY_STATE */))) * (5e4) - (real_get(_OMC_LIT6, ((data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[0]] /* $cse1 DISCRETE */) - ((modelica_integer) 1))-1))) + (DIVISION_SIM((real_get(_OMC_LIT6, ((data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[0]] /* $cse1 DISCRETE */))-1) - (real_get(_OMC_LIT6, ((data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[0]] /* $cse1 DISCRETE */) - ((modelica_integer) 1))-1))) * (tmp11 - (tmp12) - (tmp13 - (tmp14))),(tmp17 * tmp17),"(material.Hk[$cse1] - material.Hk[$cse1 - 1]) ^ 2.0",equationIndexes)) * (fabs((data->localData[0]->realVars[data->simulationInfo->realVarsIndex[3]] /* H DUMMY_STATE */)) - (tmp18)));
                                                                                                                                                                                                                                                                                                                     ~~~~ ^ ~~~~~~~
/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/util/division.h:45:70: note: expanded from macro 'DIVISION_SIM'
#define DIVISION_SIM(a,b,msg,equation) (__OMC_DIV_SIM(threadData, a, b, msg, equationIndexes, data->simulationInfo->noThrowDivZero, data->localData[0]->timeValue, initial()))
                                                                     ^
FluxTubesExtension_FluxTubesExtension.TestRecordFunctionInput.Examples.ShowSoftMagneticCharacteristic.c:214:954: error: invalid operands to binary expression ('real_array' (aka 'struct base_array_s') and 'real_array')
    tmp20 = (((modelica_real)sign((data->localData[0]->realVars[data->simulationInfo->realVarsIndex[3]] /* H DUMMY_STATE */)))) * (real_get(_OMC_LIT6, ((data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[0]] /* $cse1 DISCRETE */) - ((modelica_integer) 1))-1) + (DIVISION_SIM(tmp7 - (tmp8),tmp9 - (tmp10),"material.Hk[$cse1] - material.Hk[$cse1 - 1]",equationIndexes)) * ((sign((data->localData[0]->realVars[data->simulationInfo->realVarsIndex[3]] /* H DUMMY_STATE */))) * (5e4) - (real_get(_OMC_LIT6, ((data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[0]] /* $cse1 DISCRETE */) - ((modelica_integer) 1))-1))) + (DIVISION_SIM((real_get(_OMC_LIT6, ((data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[0]] /* $cse1 DISCRETE */))-1) - (real_get(_OMC_LIT6, ((data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[0]] /* $cse1 DISCRETE */) - ((modelica_integer) 1))-1))) * (tmp11 - (tmp12) - (tmp13 - (tmp14))),(tmp17 * tmp17),"(material.Hk[$cse1] - material.Hk[$cse1 - 1]) ^ 2.0",equationIndexes)) * (fabs((data->localData[0]->realVars[data->simulationInfo->realVarsIndex[3]] /* H DUMMY_STATE */)) - (tmp18)));
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   ~~~~~ ^ ~~~~~~~
/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/util/division.h:45:67: note: expanded from macro 'DIVISION_SIM'
#define DIVISION_SIM(a,b,msg,equation) (__OMC_DIV_SIM(threadData, a, b, msg, equationIndexes, data->simulationInfo->noThrowDivZero, data->localData[0]->timeValue, initial()))
                                                                  ^
FluxTubesExtension_FluxTubesExtension.TestRecordFunctionInput.Examples.ShowSoftMagneticCharacteristic.c:214:973: error: invalid operands to binary expression ('real_array' (aka 'struct base_array_s') and 'real_array')
    tmp20 = (((modelica_real)sign((data->localData[0]->realVars[data->simulationInfo->realVarsIndex[3]] /* H DUMMY_STATE */)))) * (real_get(_OMC_LIT6, ((data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[0]] /* $cse1 DISCRETE */) - ((modelica_integer) 1))-1) + (DIVISION_SIM(tmp7 - (tmp8),tmp9 - (tmp10),"material.Hk[$cse1] - material.Hk[$cse1 - 1]",equationIndexes)) * ((sign((data->localData[0]->realVars[data->simulationInfo->realVarsIndex[3]] /* H DUMMY_STATE */))) * (5e4) - (real_get(_OMC_LIT6, ((data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[0]] /* $cse1 DISCRETE */) - ((modelica_integer) 1))-1))) + (DIVISION_SIM((real_get(_OMC_LIT6, ((data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[0]] /* $cse1 DISCRETE */))-1) - (real_get(_OMC_LIT6, ((data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[0]] /* $cse1 DISCRETE */) - ((modelica_integer) 1))-1))) * (tmp11 - (tmp12) - (tmp13 - (tmp14))),(tmp17 * tmp17),"(material.Hk[$cse1] - material.Hk[$cse1 - 1]) ^ 2.0",equationIndexes)) * (fabs((data->localData[0]->realVars[data->simulationInfo->realVarsIndex[3]] /* H DUMMY_STATE */)) - (tmp18)));
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      ~~~~~ ^ ~~~~~~~
/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/util/division.h:45:67: note: expanded from macro 'DIVISION_SIM'
#define DIVISION_SIM(a,b,msg,equation) (__OMC_DIV_SIM(threadData, a, b, msg, equationIndexes, data->simulationInfo->noThrowDivZero, data->localData[0]->timeValue, initial()))
                                                                  ^
FluxTubesExtension_FluxTubesExtension.TestRecordFunctionInput.Examples.ShowSoftMagneticCharacteristic.c:214:1173: error: invalid operands to binary expression ('double' and 'real_array' (aka 'struct base_array_s'))
    tmp20 = (((modelica_real)sign((data->localData[0]->realVars[data->simulationInfo->realVarsIndex[3]] /* H DUMMY_STATE */)))) * (real_get(_OMC_LIT6, ((data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[0]] /* $cse1 DISCRETE */) - ((modelica_integer) 1))-1) + (DIVISION_SIM(tmp7 - (tmp8),tmp9 - (tmp10),"material.Hk[$cse1] - material.Hk[$cse1 - 1]",equationIndexes)) * ((sign((data->localData[0]->realVars[data->simulationInfo->realVarsIndex[3]] /* H DUMMY_STATE */))) * (5e4) - (real_get(_OMC_LIT6, ((data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[0]] /* $cse1 DISCRETE */) - ((modelica_integer) 1))-1))) + (DIVISION_SIM((real_get(_OMC_LIT6, ((data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[0]] /* $cse1 DISCRETE */))-1) - (real_get(_OMC_LIT6, ((data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[0]] /* $cse1 DISCRETE */) - ((modelica_integer) 1))-1))) * (tmp11 - (tmp12) - (tmp13 - (tmp14))),(tmp17 * tmp17),"(material.Hk[$cse1] - material.Hk[$cse1 - 1]) ^ 2.0",equationIndexes)) * (fabs((data->localData[0]->realVars[data->simulationInfo->realVarsIndex[3]] /* H DUMMY_STATE */)) - (tmp18)));
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~
6 errors generated.
make: *** [<builtin>: FluxTubesExtension_FluxTubesExtension.TestRecordFunctionInput.Examples.ShowSoftMagneticCharacteristic.o] Error 1
[Calling os._exit(0), Time elapsed: 2.686607029289007]
Failed to read output from testmodel.py, exit status != 0:
0.15192359872162342 0.169468363 0.040659386000000006
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f0f205bd7b0>