Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/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.1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour") Notification: Performance of loadModel(Modelica): time 1.808/1.808, allocations: 171.2 MB / 186.7 MB, free: 1.121 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003528/0.000353, allocations: 8 kB / 233.9 MB, free: 292 kB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07925/0.07962, allocations: 38.78 MB / 272.6 MB, free: 9.43 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour): time 0.008788/0.08846, allocations: 5.088 MB / 277.7 MB, free: 4.312 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.00486/0.09338, allocations: 2.004 MB / 279.7 MB, free: 2.305 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006329/0.09406, allocations: 19.94 kB / 279.7 MB, free: 2.285 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008213/0.09489, allocations: 294.6 kB / 280 MB, free: 1.996 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001418/0.09633, allocations: 490.6 kB / 280.5 MB, free: 1.516 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008928/0.09725, allocations: 239.4 kB / 280.8 MB, free: 1.281 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.001733/0.09899, allocations: 0.9322 MB / 281.7 MB, free: 352 kB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.215/0.314, allocations: 374.8 kB / 282 MB, free: 8.789 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00118/0.3153, allocations: 453.5 kB / 282.5 MB, free: 8.789 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001205/0.3165, allocations: 0.5272 MB / 283 MB, free: 8.789 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002616/0.3168, allocations: 60.97 kB / 283.1 MB, free: 8.789 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004138/0.3172, allocations: 76.05 kB / 283.2 MB, free: 8.789 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003308/0.3176, allocations: 209.9 kB / 283.4 MB, free: 8.789 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003795/0.318, allocations: 248.6 kB / 283.6 MB, free: 8.758 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002646/0.3206, allocations: 1.503 MB / 285.1 MB, free: 8.668 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.3207, allocations: 0.5 kB / 285.1 MB, free: 8.668 MB / 234.7 MB Notification: Performance of FrontEnd: time 2.795e-06/0.3207, allocations: 2.219 kB / 285.1 MB, free: 8.668 MB / 234.7 MB Notification: Performance of Transformations before backend: time 6.754e-05/0.3208, allocations: 1.562 kB / 285.1 MB, free: 8.668 MB / 234.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.004882/0.3256, allocations: 1.4 MB / 286.5 MB, free: 7.898 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.858e-05/0.3257, allocations: 9.266 kB / 286.5 MB, free: 7.898 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004193/0.3261, allocations: 126 kB / 286.6 MB, free: 7.836 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001813/0.328, allocations: 0.6745 MB / 287.3 MB, free: 7.539 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001859/0.3282, allocations: 74.97 kB / 287.4 MB, free: 7.539 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000234/0.3284, allocations: 98.41 kB / 287.5 MB, free: 7.535 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003508/0.3319, allocations: 1.026 MB / 288.5 MB, free: 7.449 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.148e-05/0.332, allocations: 1.531 kB / 288.5 MB, free: 7.449 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001462/0.3322, allocations: 37.55 kB / 288.5 MB, free: 7.449 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.894e-05/0.3322, allocations: 23.09 kB / 288.6 MB, free: 7.449 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003764/0.336, allocations: 0.9386 MB / 289.5 MB, free: 7.426 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00841/0.3445, allocations: 3.668 MB / 293.2 MB, free: 6.18 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005589/0.3501, allocations: 1.099 MB / 294.3 MB, free: 5.895 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001003/0.3502, allocations: 8.5 kB / 294.3 MB, free: 5.895 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.26e-05/0.3503, allocations: 48.62 kB / 294.3 MB, free: 5.848 MB / 234.7 MB Notification: Performance of pre-optimization done (n=58): time 4.048e-06/0.3503, allocations: 5.594 kB / 294.3 MB, free: 5.844 MB / 234.7 MB Notification: Performance of matching and sorting (n=67): time 0.009009/0.3593, allocations: 1.969 MB / 296.3 MB, free: 5.027 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.766e-05/0.3594, allocations: 83.83 kB / 296.4 MB, free: 4.934 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002061/0.3615, allocations: 0.9615 MB / 297.3 MB, free: 4.41 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001855/0.3617, allocations: 36.33 kB / 297.4 MB, free: 4.371 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004293/0.3621, allocations: 0.5216 MB / 297.9 MB, free: 3.906 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002754/0.3624, allocations: 229.3 kB / 298.1 MB, free: 3.711 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001006/0.3625, allocations: 26.3 kB / 298.2 MB, free: 3.691 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 9.239e-05/0.3627, allocations: 341.4 kB / 298.5 MB, free: 3.359 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001798/0.3645, allocations: 381.1 kB / 298.9 MB, free: 3.188 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001865/0.3664, allocations: 0.558 MB / 299.4 MB, free: 2.781 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001873/0.3683, allocations: 451.2 kB / 299.9 MB, free: 2.555 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.316e-06/0.3683, allocations: 1.312 kB / 299.9 MB, free: 2.555 MB / 234.7 MB Notification: Performance of matching and sorting (n=109) (initialization): time 0.004686/0.373, allocations: 1.116 MB / 301 MB, free: 2.008 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.353e-05/0.3731, allocations: 37.88 kB / 301 MB, free: 1.973 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.869e-05/0.3731, allocations: 5.594 kB / 301 MB, free: 1.973 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.164e-05/0.3732, allocations: 9.094 kB / 301 MB, free: 1.973 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002384/0.3756, allocations: 325.2 kB / 301.3 MB, free: 1.883 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.569e-05/0.3756, allocations: 13.5 kB / 301.4 MB, free: 1.879 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001592/0.3772, allocations: 91.11 kB / 301.4 MB, free: 1.844 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.378e-05/0.3773, allocations: 36.98 kB / 301.5 MB, free: 1.832 MB / 234.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.0006474/0.378, allocations: 287 kB / 301.8 MB, free: 1.609 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002201/0.3782, allocations: 98.41 kB / 301.9 MB, free: 1.559 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00154/0.3798, allocations: 425.6 kB / 302.3 MB, free: 1.32 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.096e-05/0.3798, allocations: 0 / 302.3 MB, free: 1.32 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.442e-06/0.3798, allocations: 0 / 302.3 MB, free: 1.32 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002983/0.3801, allocations: 192.6 kB / 302.5 MB, free: 1.141 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002158/0.3803, allocations: 11.38 kB / 302.5 MB, free: 1.133 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001148/0.3815, allocations: 85.64 kB / 302.6 MB, free: 1.098 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001293/0.3816, allocations: 38.22 kB / 302.6 MB, free: 1.078 MB / 234.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004346/0.386, allocations: 1.095 MB / 303.7 MB, free: 0.5039 MB / 234.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.003235/0.3893, allocations: 1.058 MB / 304.7 MB, free: 15.86 MB / 250.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001466/0.3908, allocations: 385 kB / 305.1 MB, free: 15.67 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.001477/0.3923, allocations: 0.6659 MB / 305.8 MB, free: 15.31 MB / 250.7 MB Notification: Performance of Backend: time 8.92e-07/0.3923, allocations: 3.938 kB / 305.8 MB, free: 15.31 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.003502/0.3958, allocations: 0.8516 MB / 306.6 MB, free: 14.87 MB / 250.7 MB Notification: Performance of SimCode: time 0.00492/0.4007, allocations: 2.403 MB / 309 MB, free: 12.42 MB / 250.7 MB Notification: Performance of Templates: time 0.03539/0.4362, allocations: 11.44 MB / 320.5 MB, free: 1.004 MB / 250.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