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.ForceStrokeBehaviour.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.ForceStrokeBehaviour,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|feedX.flange.f|actuator.g_ma.G_m|actuator.g_mb.G_m|actuator.L",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour") Notification: Performance of loadModel(Modelica): time 1.935/1.935, allocations: 194.9 MB / 211.7 MB, free: 2.992 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004861/0.0004861, allocations: 8 kB / 264.6 MB, free: 12.93 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09339/0.09391, allocations: 44.51 MB / 309.1 MB, free: 360 kB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour): time 0.00629/0.1003, allocations: 3.639 MB / 312.7 MB, free: 12.7 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003872/0.1042, allocations: 1.627 MB / 314.3 MB, free: 11.06 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004748/0.1047, allocations: 11.94 kB / 314.3 MB, free: 11.05 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008566/0.1056, allocations: 382.8 kB / 314.7 MB, free: 10.67 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001118/0.1067, allocations: 410.9 kB / 315.1 MB, free: 10.27 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007164/0.1075, allocations: 171.7 kB / 315.3 MB, free: 10.1 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.00123/0.1087, allocations: 0.6358 MB / 315.9 MB, free: 9.465 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004698/0.1092, allocations: 215.9 kB / 316.1 MB, free: 9.246 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005589/0.1098, allocations: 338.9 kB / 316.5 MB, free: 8.914 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007182/0.1105, allocations: 410.5 kB / 316.9 MB, free: 8.512 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001185/0.1106, allocations: 36 kB / 316.9 MB, free: 8.477 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002461/0.1109, allocations: 55.92 kB / 317 MB, free: 8.422 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002431/0.1112, allocations: 167.3 kB / 317.1 MB, free: 8.258 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002062/0.1114, allocations: 177.3 kB / 317.3 MB, free: 8.078 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001316/0.1127, allocations: 0.9741 MB / 318.3 MB, free: 7.102 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.1127, allocations: 4 kB / 318.3 MB, free: 7.098 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.824e-06/0.1127, allocations: 0 / 318.3 MB, free: 7.098 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.241e-05/0.1128, allocations: 0 / 318.3 MB, free: 7.098 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: 151 * Number of variables: 151 Notification: Performance of Generate backend data structure: time 0.003264/0.116, allocations: 1.108 MB / 319.4 MB, free: 5.934 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.049e-05/0.1161, allocations: 11.97 kB / 319.4 MB, free: 5.922 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002436/0.1163, allocations: 106.7 kB / 319.5 MB, free: 5.816 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001274/0.1176, allocations: 0.5116 MB / 320 MB, free: 5.262 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001603/0.1178, allocations: 49.31 kB / 320.1 MB, free: 5.215 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000171/0.118, allocations: 59.91 kB / 320.1 MB, free: 5.156 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002019/0.12, allocations: 0.6596 MB / 320.8 MB, free: 4.48 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.112e-05/0.1201, allocations: 4 kB / 320.8 MB, free: 4.477 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.008e-05/0.1202, allocations: 20 kB / 320.8 MB, free: 4.457 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.209e-05/0.1202, allocations: 19.95 kB / 320.8 MB, free: 4.438 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002245/0.1225, allocations: 0.5946 MB / 321.4 MB, free: 3.84 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005866/0.1284, allocations: 2.56 MB / 324 MB, free: 1.141 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001616/0.13, allocations: 497.7 kB / 324.5 MB, free: 0.6445 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.566e-05/0.1301, allocations: 8.422 kB / 324.5 MB, free: 0.6367 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.41e-05/0.1301, allocations: 46.98 kB / 324.5 MB, free: 0.582 MB / 266.7 MB Notification: Performance of pre-optimization done (n=48): time 3.657e-06/0.1301, allocations: 0 / 324.5 MB, free: 0.582 MB / 266.7 MB Notification: Performance of matching and sorting (n=60): time 0.007909/0.1381, allocations: 1.633 MB / 326.1 MB, free: 14.94 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.507e-05/0.1381, allocations: 63.91 kB / 326.2 MB, free: 14.87 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001744/0.1399, allocations: 0.934 MB / 327.1 MB, free: 13.92 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 7.739e-05/0.14, allocations: 37.7 kB / 327.2 MB, free: 13.88 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004059/0.1404, allocations: 408 kB / 327.6 MB, free: 13.47 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002259/0.1406, allocations: 201 kB / 327.8 MB, free: 13.27 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.795e-05/0.1407, allocations: 12 kB / 327.8 MB, free: 13.26 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.000203/0.1409, allocations: 394.7 kB / 328.2 MB, free: 12.87 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001113/0.1421, allocations: 265.9 kB / 328.4 MB, free: 12.61 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001196/0.1433, allocations: 363 kB / 328.8 MB, free: 12.22 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001185/0.1445, allocations: 320.8 kB / 329.1 MB, free: 11.9 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.1445, allocations: 0 / 329.1 MB, free: 11.9 MB / 282.7 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.002778/0.1473, allocations: 0.8065 MB / 329.9 MB, free: 11.08 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.883e-05/0.1473, allocations: 35.58 kB / 329.9 MB, free: 11.04 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.456e-05/0.1474, allocations: 3.984 kB / 329.9 MB, free: 11.04 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.588e-05/0.1474, allocations: 8 kB / 329.9 MB, free: 11.03 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00141/0.1488, allocations: 175.8 kB / 330.1 MB, free: 10.86 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.795e-05/0.1489, allocations: 12.06 kB / 330.1 MB, free: 10.85 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000933/0.1498, allocations: 47.95 kB / 330.2 MB, free: 10.8 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.81e-05/0.1499, allocations: 31.98 kB / 330.2 MB, free: 10.77 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 2 (actuator.armature.stopper_xMax.contact,actuator.armature.stopper_xMin.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (83): * Single equations (assignments): 82 * 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.0005185/0.1504, allocations: 261.7 kB / 330.5 MB, free: 10.5 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001776/0.1506, allocations: 90.84 kB / 330.6 MB, free: 10.41 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002465/0.1531, allocations: 0.6592 MB / 331.2 MB, free: 9.75 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.182e-05/0.1531, allocations: 3.984 kB / 331.2 MB, free: 9.746 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.1531, allocations: 0 / 331.2 MB, free: 9.746 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003853/0.1535, allocations: 208 kB / 331.4 MB, free: 9.523 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001589/0.1537, allocations: 12 kB / 331.4 MB, free: 9.512 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007642/0.1545, allocations: 47.97 kB / 331.5 MB, free: 9.465 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001236/0.1546, allocations: 36.5 kB / 331.5 MB, free: 9.43 MB / 282.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002821/0.1574, allocations: 0.7213 MB / 332.2 MB, free: 8.703 MB / 282.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.002286/0.1597, allocations: 0.7986 MB / 333 MB, free: 7.887 MB / 282.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009873/0.1608, allocations: 280.3 kB / 333.3 MB, free: 7.609 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.001251/0.162, allocations: 0.6747 MB / 334 MB, free: 6.938 MB / 282.7 MB Notification: Performance of Backend: time 5.71e-07/0.162, allocations: 4 kB / 334 MB, free: 6.934 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.002616/0.1647, allocations: 0.7819 MB / 334.8 MB, free: 6.199 MB / 282.7 MB Notification: Performance of SimCode: time 0.003613/0.1683, allocations: 2.064 MB / 336.8 MB, free: 4.086 MB / 282.7 MB Notification: Performance of Templates: time 0.02477/0.1931, allocations: 8.155 MB / 345 MB, free: 11.93 MB / 298.7 MB "" Variables in the reference:time,feedX.flange.f,actuator.g_ma.G_m,actuator.g_mb.G_m,actuator.L Variables in the result:actuator.L,actuator.N,actuator.R,actuator.armature.L,actuator.armature.c,actuator.armature.d,actuator.armature.limit_xMax.flange.s,actuator.armature.limit_xMax.s0,actuator.armature.limit_xMin.flange.s,actuator.armature.limit_xMin.s0,actuator.armature.m,actuator.armature.mass.L,actuator.armature.mass.m,actuator.armature.mass.stateSelect,actuator.armature.n,actuator.armature.stopper_xMax.c,actuator.armature.stopper_xMax.d,actuator.armature.stopper_xMax.flange_b.s,actuator.armature.stopper_xMax.n,actuator.armature.stopper_xMax.s_nominal,actuator.armature.stopper_xMax.s_rel0,actuator.armature.stopper_xMin.c,actuator.armature.stopper_xMin.d,actuator.armature.stopper_xMin.flange_a.s,actuator.armature.stopper_xMin.n,actuator.armature.stopper_xMin.s_nominal,actuator.armature.stopper_xMin.s_rel0,actuator.armature.x_max,actuator.armature.x_min,actuator.c,actuator.coil.N,actuator.coil.i,actuator.coil.n.i,actuator.coil.p.i,actuator.d,actuator.g_mLeak1.l_g,actuator.g_mLeak1.r_0,actuator.g_mLeak1.r_1,actuator.g_mLeak1.r_2,actuator.g_mLeak1.t,actuator.g_mLeak2.l,actuator.g_ma.G_m,actuator.g_ma.dlBydx,actuator.g_ma.mu_r,actuator.g_ma.port_p.V_m,actuator.g_ma.r_i,actuator.g_ma.r_o,actuator.g_mb.G_m,actuator.g_mb.V_m,actuator.g_mb.dlBydx,actuator.g_mb.mu_r,actuator.g_mb.port_p.V_m,actuator.g_mb.r_i,actuator.g_mb.r_o,actuator.l_FeOut,actuator.l_PM,actuator.l_air,actuator.m_a,actuator.material.B_r,actuator.material.B_rRef,actuator.material.H_cB,actuator.material.H_cBRef,actuator.material.T_op,actuator.material.T_ref,actuator.material.alpha_Br,actuator.material.mu_r,actuator.mmf_PM.V_m,actuator.mmf_PM.port_n.V_m,actuator.n.i,actuator.p.i,actuator.r.R,actuator.r.T,actuator.r.T_heatPort,actuator.r.T_ref,actuator.r.alpha,actuator.r.i,actuator.r.n.i,actuator.r.p.i,actuator.r_core,actuator.t,actuator.x_max,actuator.x_min,comparisonWithFEA.columns[1],comparisonWithFEA.columns[2],comparisonWithFEA.columns[3],comparisonWithFEA.nout,comparisonWithFEA.smoothness,comparisonWithFEA.tableOnFile,comparisonWithFEA.tableOnFileRead,comparisonWithFEA.table[1,1],comparisonWithFEA.table[1,2],comparisonWithFEA.table[1,3],comparisonWithFEA.table[1,4],comparisonWithFEA.table[10,1],comparisonWithFEA.table[10,2],comparisonWithFEA.table[10,3],comparisonWithFEA.table[10,4],comparisonWithFEA.table[11,1],comparisonWithFEA.table[11,2],comparisonWithFEA.table[11,3],comparisonWithFEA.table[11,4],comparisonWithFEA.table[12,1],comparisonWithFEA.table[12,2],comparisonWithFEA.table[12,3],comparisonWithFEA.table[12,4],comparisonWithFEA.table[13,1],comparisonWithFEA.table[13,2],comparisonWithFEA.table[13,3],comparisonWithFEA.table[13,4],comparisonWithFEA.table[14,1],comparisonWithFEA.table[14,2],comparisonWithFEA.table[14,3],comparisonWithFEA.table[14,4],comparisonWithFEA.table[15,1],comparisonWithFEA.table[15,2],comparisonWithFEA.table[15,3],comparisonWithFEA.table[15,4],comparisonWithFEA.table[16,1],comparisonWithFEA.table[16,2],comparisonWithFEA.table[16,3],comparisonWithFEA.table[16,4],comparisonWithFEA.table[17,1],comparisonWithFEA.table[17,2],comparisonWithFEA.table[17,3],comparisonWithFEA.table[17,4],comparisonWithFEA.table[2,1],comparisonWithFEA.table[2,2],comparisonWithFEA.table[2,3],comparisonWithFEA.table[2,4],comparisonWithFEA.table[3,1],comparisonWithFEA.table[3,2],comparisonWithFEA.table[3,3],comparisonWithFEA.table[3,4],comparisonWithFEA.table[4,1],comparisonWithFEA.table[4,2],comparisonWithFEA.table[4,3],comparisonWithFEA.table[4,4],comparisonWithFEA.table[5,1],comparisonWithFEA.table[5,2],comparisonWithFEA.table[5,3],comparisonWithFEA.table[5,4],comparisonWithFEA.table[6,1],comparisonWithFEA.table[6,2],comparisonWithFEA.table[6,3],comparisonWithFEA.table[6,4],comparisonWithFEA.table[7,1],comparisonWithFEA.table[7,2],comparisonWithFEA.table[7,3],comparisonWithFEA.table[7,4],comparisonWithFEA.table[8,1],comparisonWithFEA.table[8,2],comparisonWithFEA.table[8,3],comparisonWithFEA.table[8,4],comparisonWithFEA.table[9,1],comparisonWithFEA.table[9,2],comparisonWithFEA.table[9,3],comparisonWithFEA.table[9,4],comparisonWithFEA.verboseRead,feedX.exact,feedX.f_crit,feedX.flange.f,feedX.w_crit,source.I,source.i,source.n.i,source.p.i,sweepX.duration,sweepX.height,sweepX.offset,sweepX.startTime,time