Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Running command: translateModel(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cActuator.flange.f|pmActuator.flange.f|pmActuator.coil.Phi|pmActuator.coil.L_stat",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour") Notification: Performance of loadModel(Modelica): time 2.022/2.022, allocations: 194.9 MB / 211.7 MB, free: 3.004 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000352/0.000352, allocations: 11.98 kB / 264.6 MB, free: 12.94 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0936/0.09398, allocations: 44.51 MB / 309.1 MB, free: 372 kB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour): time 0.008609/0.1026, allocations: 5.116 MB / 314.2 MB, free: 11.23 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00506/0.1077, allocations: 2.028 MB / 316.2 MB, free: 9.188 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007528/0.1085, allocations: 15.94 kB / 316.2 MB, free: 9.172 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000794/0.1093, allocations: 286.6 kB / 316.5 MB, free: 8.891 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001538/0.1109, allocations: 490.6 kB / 317 MB, free: 8.41 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009319/0.1118, allocations: 243.6 kB / 317.2 MB, free: 8.172 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001891/0.1137, allocations: 0.9359 MB / 318.2 MB, free: 7.234 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007649/0.1145, allocations: 382 kB / 318.5 MB, free: 6.844 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008199/0.1154, allocations: 458.4 kB / 319 MB, free: 6.395 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000904/0.1163, allocations: 0.5252 MB / 319.5 MB, free: 5.867 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001745/0.1165, allocations: 60 kB / 319.6 MB, free: 5.809 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003272/0.1168, allocations: 79.98 kB / 319.6 MB, free: 5.73 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002808/0.1171, allocations: 211.2 kB / 319.9 MB, free: 5.523 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003075/0.1174, allocations: 253.1 kB / 320.1 MB, free: 5.27 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002016/0.1195, allocations: 1.508 MB / 321.6 MB, free: 3.758 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.1195, allocations: 4 kB / 321.6 MB, free: 3.754 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.084e-06/0.1195, allocations: 0 / 321.6 MB, free: 3.754 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.264e-05/0.1195, allocations: 0 / 321.6 MB, free: 3.754 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 242 * Number of variables: 242 Notification: Performance of Generate backend data structure: time 0.004561/0.1241, allocations: 1.408 MB / 323 MB, free: 2.289 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.006e-05/0.1242, allocations: 12.02 kB / 323 MB, free: 2.277 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000307/0.1245, allocations: 130.5 kB / 323.2 MB, free: 2.148 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001706/0.1262, allocations: 0.664 MB / 323.8 MB, free: 1.441 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001945/0.1264, allocations: 81.98 kB / 323.9 MB, free: 1.363 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002356/0.1267, allocations: 103.9 kB / 324 MB, free: 1.262 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003214/0.1299, allocations: 1.021 MB / 325 MB, free: 236 kB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.568e-05/0.13, allocations: 7.984 kB / 325 MB, free: 228 kB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000142/0.1301, allocations: 40 kB / 325.1 MB, free: 188 kB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.143e-05/0.1302, allocations: 23.95 kB / 325.1 MB, free: 164 kB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003669/0.1338, allocations: 0.946 MB / 326 MB, free: 15.21 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008531/0.1424, allocations: 3.676 MB / 329.7 MB, free: 11.36 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005836/0.1483, allocations: 1.101 MB / 330.8 MB, free: 10.24 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.454e-05/0.1484, allocations: 8.188 kB / 330.8 MB, free: 10.23 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.899e-05/0.1484, allocations: 38.75 kB / 330.9 MB, free: 10.18 MB / 282.7 MB Notification: Performance of pre-optimization done (n=58): time 3.527e-06/0.1484, allocations: 0 / 330.9 MB, free: 10.18 MB / 282.7 MB Notification: Performance of matching and sorting (n=67): time 0.008764/0.1572, allocations: 1.969 MB / 332.8 MB, free: 8.207 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.328e-05/0.1573, allocations: 89.11 kB / 332.9 MB, free: 8.102 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001895/0.1592, allocations: 0.9662 MB / 333.9 MB, free: 7.125 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 9.235e-05/0.1593, allocations: 37.7 kB / 333.9 MB, free: 7.082 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005238/0.1598, allocations: 0.5182 MB / 334.4 MB, free: 6.555 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002524/0.1601, allocations: 228.7 kB / 334.7 MB, free: 6.328 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.764e-05/0.1602, allocations: 16 kB / 334.7 MB, free: 6.312 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001501/0.1603, allocations: 338 kB / 335 MB, free: 5.977 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001725/0.1621, allocations: 389.7 kB / 335.4 MB, free: 5.598 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001864/0.164, allocations: 0.55 MB / 335.9 MB, free: 4.973 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001796/0.1658, allocations: 456.8 kB / 336.4 MB, free: 4.52 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.875e-06/0.1658, allocations: 4 kB / 336.4 MB, free: 4.516 MB / 282.7 MB Notification: Performance of matching and sorting (n=109) (initialization): time 0.004233/0.17, allocations: 1.114 MB / 337.5 MB, free: 3.387 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.433e-05/0.1701, allocations: 33.7 kB / 337.5 MB, free: 3.348 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.922e-05/0.1702, allocations: 4 kB / 337.5 MB, free: 3.344 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.189e-05/0.1702, allocations: 23.92 kB / 337.6 MB, free: 3.32 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002432/0.1726, allocations: 323.5 kB / 337.9 MB, free: 3.004 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.459e-05/0.1727, allocations: 12 kB / 337.9 MB, free: 2.992 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001509/0.1742, allocations: 91.92 kB / 338 MB, free: 2.902 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.961e-05/0.1743, allocations: 39.98 kB / 338 MB, free: 2.863 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 4 (cActuator.armature.stopper_xMax.contact,cActuator.armature.stopper_xMin.contact,pmActuator.armature.stopper_xMax.contact,pmActuator.armature.stopper_xMin.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (109): * Single equations (assignments): 108 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006397/0.175, allocations: 289.5 kB / 338.3 MB, free: 2.57 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00024/0.1752, allocations: 94.78 kB / 338.4 MB, free: 2.477 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00168/0.1769, allocations: 426.2 kB / 338.8 MB, free: 2.047 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.294e-05/0.177, allocations: 3.984 kB / 338.8 MB, free: 2.043 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.212e-06/0.177, allocations: 3.953 kB / 338.8 MB, free: 2.039 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000302/0.1773, allocations: 175.9 kB / 339 MB, free: 1.848 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002109/0.1775, allocations: 12 kB / 339 MB, free: 1.836 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001185/0.1787, allocations: 83.94 kB / 339.1 MB, free: 1.754 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001387/0.1788, allocations: 43.89 kB / 339.1 MB, free: 1.711 MB / 282.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004748/0.1836, allocations: 1.097 MB / 340.2 MB, free: 0.6055 MB / 282.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.003493/0.1871, allocations: 1.073 MB / 341.3 MB, free: 15.52 MB / 298.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001634/0.1888, allocations: 375.8 kB / 341.7 MB, free: 15.15 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.001559/0.1904, allocations: 0.6669 MB / 342.3 MB, free: 14.49 MB / 298.7 MB Notification: Performance of Backend: time 5.91e-07/0.1904, allocations: 0 / 342.3 MB, free: 14.49 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.003537/0.194, allocations: 0.895 MB / 343.2 MB, free: 13.64 MB / 298.7 MB Notification: Performance of SimCode: time 0.004681/0.1987, allocations: 2.409 MB / 345.6 MB, free: 11.18 MB / 298.7 MB Notification: Performance of Templates: time 0.03401/0.2327, allocations: 11.43 MB / 357.1 MB, free: 15.73 MB / 314.7 MB "" Variables in the reference:time,cActuator.flange.f,pmActuator.flange.f,pmActuator.coil.Phi,pmActuator.coil.L_stat Variables in the result:cActuator.L,cActuator.R,cActuator.armature.L,cActuator.armature.c,cActuator.armature.d,cActuator.armature.flange_a.s,cActuator.armature.flange_b.s,cActuator.armature.limit_xMax.flange.s,cActuator.armature.limit_xMax.s0,cActuator.armature.limit_xMin.flange.s,cActuator.armature.limit_xMin.s0,cActuator.armature.m,cActuator.armature.mass.L,cActuator.armature.mass.flange_a.s,cActuator.armature.mass.flange_b.s,cActuator.armature.mass.m,cActuator.armature.mass.s,cActuator.armature.mass.stateSelect,cActuator.armature.n,cActuator.armature.s,cActuator.armature.stopper_xMax.c,cActuator.armature.stopper_xMax.d,cActuator.armature.stopper_xMax.flange_a.s,cActuator.armature.stopper_xMax.flange_b.s,cActuator.armature.stopper_xMax.n,cActuator.armature.stopper_xMax.s_nominal,cActuator.armature.stopper_xMax.s_rel0,cActuator.armature.stopper_xMin.c,cActuator.armature.stopper_xMin.d,cActuator.armature.stopper_xMin.flange_a.s,cActuator.armature.stopper_xMin.flange_b.s,cActuator.armature.stopper_xMin.n,cActuator.armature.stopper_xMin.s_nominal,cActuator.armature.stopper_xMin.s_rel0,cActuator.armature.x_max,cActuator.armature.x_min,cActuator.c,cActuator.d,cActuator.electroTranslationalConverter.fixed.flange.s,cActuator.electroTranslationalConverter.fixed.s0,cActuator.electroTranslationalConverter.flange.s,cActuator.electroTranslationalConverter.internalSupport.flange.s,cActuator.electroTranslationalConverter.internalSupport.s,cActuator.electroTranslationalConverter.k,cActuator.flange.f,cActuator.flange.s,cActuator.k,cActuator.l.L,cActuator.m_a,cActuator.r.R,cActuator.r.T,cActuator.r.T_heatPort,cActuator.r.T_ref,cActuator.r.alpha,cActuator.x,cActuator.x_max,cActuator.x_min,cFixedPos.flange.s,cFixedPos.s0,cRampCurrent.I,cRampCurrent.duration,cRampCurrent.offset,cRampCurrent.signalSource.duration,cRampCurrent.signalSource.height,cRampCurrent.signalSource.offset,cRampCurrent.signalSource.startTime,cRampCurrent.startTime,comparisonWithFEA.columns[1],comparisonWithFEA.nout,comparisonWithFEA.smoothness,comparisonWithFEA.tableOnFile,comparisonWithFEA.tableOnFileRead,comparisonWithFEA.table[1,1],comparisonWithFEA.table[1,2],comparisonWithFEA.table[10,1],comparisonWithFEA.table[10,2],comparisonWithFEA.table[11,1],comparisonWithFEA.table[11,2],comparisonWithFEA.table[12,1],comparisonWithFEA.table[12,2],comparisonWithFEA.table[13,1],comparisonWithFEA.table[13,2],comparisonWithFEA.table[2,1],comparisonWithFEA.table[2,2],comparisonWithFEA.table[3,1],comparisonWithFEA.table[3,2],comparisonWithFEA.table[4,1],comparisonWithFEA.table[4,2],comparisonWithFEA.table[5,1],comparisonWithFEA.table[5,2],comparisonWithFEA.table[6,1],comparisonWithFEA.table[6,2],comparisonWithFEA.table[7,1],comparisonWithFEA.table[7,2],comparisonWithFEA.table[8,1],comparisonWithFEA.table[8,2],comparisonWithFEA.table[9,1],comparisonWithFEA.table[9,2],comparisonWithFEA.verboseRead,pmActuator.N,pmActuator.R,pmActuator.armature.L,pmActuator.armature.c,pmActuator.armature.d,pmActuator.armature.flange_a.s,pmActuator.armature.flange_b.s,pmActuator.armature.limit_xMax.flange.s,pmActuator.armature.limit_xMax.s0,pmActuator.armature.limit_xMin.flange.s,pmActuator.armature.limit_xMin.s0,pmActuator.armature.m,pmActuator.armature.mass.L,pmActuator.armature.mass.flange_a.s,pmActuator.armature.mass.flange_b.s,pmActuator.armature.mass.m,pmActuator.armature.mass.s,pmActuator.armature.mass.stateSelect,pmActuator.armature.n,pmActuator.armature.s,pmActuator.armature.stopper_xMax.c,pmActuator.armature.stopper_xMax.d,pmActuator.armature.stopper_xMax.flange_a.s,pmActuator.armature.stopper_xMax.flange_b.s,pmActuator.armature.stopper_xMax.n,pmActuator.armature.stopper_xMax.s_nominal,pmActuator.armature.stopper_xMax.s_rel0,pmActuator.armature.stopper_xMin.c,pmActuator.armature.stopper_xMin.d,pmActuator.armature.stopper_xMin.flange_a.s,pmActuator.armature.stopper_xMin.flange_b.s,pmActuator.armature.stopper_xMin.n,pmActuator.armature.stopper_xMin.s_nominal,pmActuator.armature.stopper_xMin.s_rel0,pmActuator.armature.x_max,pmActuator.armature.x_min,pmActuator.c,pmActuator.coil.L_stat,pmActuator.coil.N,pmActuator.coil.Phi,pmActuator.d,pmActuator.flange.f,pmActuator.flange.s,pmActuator.g_mLeak1.l_g,pmActuator.g_mLeak1.r_0,pmActuator.g_mLeak1.r_1,pmActuator.g_mLeak1.r_2,pmActuator.g_mLeak1.t,pmActuator.g_mLeak2.l,pmActuator.g_ma.dlBydx,pmActuator.g_ma.flange.s,pmActuator.g_ma.mu_r,pmActuator.g_ma.port_p.V_m,pmActuator.g_ma.r_i,pmActuator.g_ma.r_o,pmActuator.g_ma.s,pmActuator.g_mb.V_m,pmActuator.g_mb.dlBydx,pmActuator.g_mb.flange.s,pmActuator.g_mb.mu_r,pmActuator.g_mb.port_p.V_m,pmActuator.g_mb.r_i,pmActuator.g_mb.r_o,pmActuator.g_mb.s,pmActuator.l_FeOut,pmActuator.l_PM,pmActuator.l_air,pmActuator.m_a,pmActuator.material.B_r,pmActuator.material.B_rRef,pmActuator.material.H_cB,pmActuator.material.H_cBRef,pmActuator.material.T_op,pmActuator.material.T_ref,pmActuator.material.alpha_Br,pmActuator.material.mu_r,pmActuator.mmf_PM.V_m,pmActuator.mmf_PM.port_n.V_m,pmActuator.r.R,pmActuator.r.T,pmActuator.r.T_heatPort,pmActuator.r.T_ref,pmActuator.r.alpha,pmActuator.r_core,pmActuator.t,pmActuator.x,pmActuator.x_max,pmActuator.x_min,pmFixedPos.flange.f,pmFixedPos.flange.s,pmFixedPos.s0,pmRampCurrent.I,pmRampCurrent.duration,pmRampCurrent.offset,pmRampCurrent.signalSource.duration,pmRampCurrent.signalSource.height,pmRampCurrent.signalSource.offset,pmRampCurrent.signalSource.startTime,pmRampCurrent.startTime,time