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.ForceStrokeBehaviour.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.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.1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour") Notification: Performance of loadModel(Modelica): time 1.601/1.601, allocations: 171.2 MB / 186.7 MB, free: 1.125 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005558/0.000556, allocations: 8 kB / 233.9 MB, free: 2.383 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0891/0.08969, allocations: 38.77 MB / 272.6 MB, free: 11.53 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour): time 0.006349/0.09609, allocations: 3.622 MB / 276.3 MB, free: 7.879 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.003804/0.09995, allocations: 1.603 MB / 277.9 MB, free: 6.273 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004593/0.1005, allocations: 11.94 kB / 277.9 MB, free: 6.262 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008574/0.1013, allocations: 386.7 kB / 278.3 MB, free: 5.883 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001124/0.1025, allocations: 414.9 kB / 278.7 MB, free: 5.477 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006931/0.1032, allocations: 171.7 kB / 278.8 MB, free: 5.309 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.001246/0.1044, allocations: 0.6359 MB / 279.5 MB, free: 4.668 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005/0.105, allocations: 231.9 kB / 279.7 MB, free: 4.441 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005738/0.1055, allocations: 334.9 kB / 280 MB, free: 4.113 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000723/0.1063, allocations: 406.5 kB / 280.4 MB, free: 3.715 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001218/0.1064, allocations: 40 kB / 280.5 MB, free: 3.676 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002488/0.1067, allocations: 55.98 kB / 280.5 MB, free: 3.621 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002255/0.1069, allocations: 163.3 kB / 280.7 MB, free: 3.461 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002294/0.1072, allocations: 177.3 kB / 280.8 MB, free: 3.281 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001375/0.1085, allocations: 0.978 MB / 281.8 MB, free: 2.301 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.1086, allocations: 0 / 281.8 MB, free: 2.301 MB / 234.7 MB Notification: Performance of FrontEnd: time 2.114e-06/0.1086, allocations: 0 / 281.8 MB, free: 2.301 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.694e-05/0.1086, allocations: 4 kB / 281.8 MB, free: 2.297 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: 151 * Number of variables: 151 Notification: Performance of Generate backend data structure: time 0.0033/0.1119, allocations: 1.104 MB / 282.9 MB, free: 1.133 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.775e-05/0.112, allocations: 8.031 kB / 282.9 MB, free: 1.125 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000226/0.1122, allocations: 94.88 kB / 283 MB, free: 1.031 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001271/0.1135, allocations: 0.527 MB / 283.6 MB, free: 476 kB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001626/0.1137, allocations: 49.31 kB / 283.6 MB, free: 428 kB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001521/0.1138, allocations: 64 kB / 283.7 MB, free: 364 kB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002083/0.1159, allocations: 0.6519 MB / 284.3 MB, free: 15.68 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.524e-05/0.116, allocations: 4 kB / 284.3 MB, free: 15.68 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.256e-05/0.1161, allocations: 20 kB / 284.3 MB, free: 15.66 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.099e-05/0.1161, allocations: 16 kB / 284.4 MB, free: 15.64 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002343/0.1185, allocations: 0.5946 MB / 285 MB, free: 15.05 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006073/0.1246, allocations: 2.567 MB / 287.5 MB, free: 12.34 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001659/0.1263, allocations: 489.7 kB / 288 MB, free: 11.86 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.613e-05/0.1264, allocations: 12.42 kB / 288 MB, free: 11.84 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.466e-05/0.1264, allocations: 38.98 kB / 288 MB, free: 11.8 MB / 250.7 MB Notification: Performance of pre-optimization done (n=48): time 4.068e-06/0.1265, allocations: 0 / 288 MB, free: 11.8 MB / 250.7 MB Notification: Performance of matching and sorting (n=60): time 0.008009/0.1345, allocations: 1.637 MB / 289.7 MB, free: 10.15 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.583e-05/0.1346, allocations: 55.97 kB / 289.7 MB, free: 10.09 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001757/0.1363, allocations: 0.9456 MB / 290.7 MB, free: 9.129 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 7.372e-05/0.1364, allocations: 29.7 kB / 290.7 MB, free: 9.094 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004382/0.1369, allocations: 404 kB / 291.1 MB, free: 8.691 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000236/0.1371, allocations: 201 kB / 291.3 MB, free: 8.492 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.039e-05/0.1372, allocations: 16 kB / 291.3 MB, free: 8.477 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0002301/0.1374, allocations: 394.7 kB / 291.7 MB, free: 8.082 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001135/0.1386, allocations: 261.9 kB / 292 MB, free: 7.828 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001247/0.1398, allocations: 367 kB / 292.3 MB, free: 7.441 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001227/0.1411, allocations: 324.8 kB / 292.6 MB, free: 7.117 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.36e-06/0.1411, allocations: 0 / 292.6 MB, free: 7.117 MB / 250.7 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.002946/0.1441, allocations: 0.791 MB / 293.4 MB, free: 6.312 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.815e-05/0.1442, allocations: 38.78 kB / 293.5 MB, free: 6.27 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.656e-05/0.1442, allocations: 8 kB / 293.5 MB, free: 6.262 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.352e-05/0.1442, allocations: 4 kB / 293.5 MB, free: 6.258 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001487/0.1457, allocations: 183.8 kB / 293.7 MB, free: 6.078 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.228e-05/0.1458, allocations: 7.938 kB / 293.7 MB, free: 6.07 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001027/0.1468, allocations: 63.94 kB / 293.7 MB, free: 6.008 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.307e-05/0.1469, allocations: 23.98 kB / 293.8 MB, free: 5.984 MB / 250.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.0006031/0.1475, allocations: 261.7 kB / 294 MB, free: 5.719 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001956/0.1477, allocations: 79.05 kB / 294.1 MB, free: 5.641 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002543/0.1503, allocations: 0.6708 MB / 294.8 MB, free: 4.961 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.36e-05/0.1503, allocations: 3.984 kB / 294.8 MB, free: 4.957 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/0.1504, allocations: 0 / 294.8 MB, free: 4.957 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004526/0.1508, allocations: 212 kB / 295 MB, free: 4.73 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001628/0.151, allocations: 12 kB / 295 MB, free: 4.719 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007836/0.1518, allocations: 39.97 kB / 295 MB, free: 4.68 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001345/0.152, allocations: 48.38 kB / 295.1 MB, free: 4.633 MB / 250.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002924/0.1549, allocations: 0.7253 MB / 295.8 MB, free: 3.898 MB / 250.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.002405/0.1573, allocations: 0.7909 MB / 296.6 MB, free: 3.09 MB / 250.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001022/0.1584, allocations: 280.3 kB / 296.9 MB, free: 2.816 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.001333/0.1598, allocations: 0.6825 MB / 297.5 MB, free: 2.137 MB / 250.7 MB Notification: Performance of Backend: time 1.102e-06/0.1598, allocations: 0 / 297.5 MB, free: 2.137 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.002601/0.1624, allocations: 0.7138 MB / 298.2 MB, free: 1.457 MB / 250.7 MB Notification: Performance of SimCode: time 0.2035/0.3659, allocations: 2.068 MB / 300.3 MB, free: 30.33 MB / 250.7 MB Notification: Performance of Templates: time 0.04107/0.4071, allocations: 8.168 MB / 308.5 MB, free: 28.27 MB / 250.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