Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cActuator.armature.stopper_xMax.v_rel|cActuator.l.i|cActuator.x|pmActuator.armature.stopper_xMax.v_rel|pmActuator.coil.Phi|pmActuator.coil.i|pmActuator.g_mLeak2.port_p.Phi|pmActuator.g_ma.port_p.Phi|pmActuator.x",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke") translateModel(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cActuator.armature.stopper_xMax.v_rel|cActuator.l.i|cActuator.x|pmActuator.armature.stopper_xMax.v_rel|pmActuator.coil.Phi|pmActuator.coil.i|pmActuator.g_mLeak2.port_p.Phi|pmActuator.g_ma.port_p.Phi|pmActuator.x",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001069/0.001069, allocations: 199 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.193/1.193, allocations: 227.2 MB / 245 MB, free: 7.59 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008824/0.0008823, allocations: 107.5 kB / 297.3 MB, free: 6.199 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0001974/0.0001974, allocations: 4 kB / 357.9 MB, free: 9.543 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1827/0.1829, allocations: 51.49 MB / 409.4 MB, free: 26.72 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09626/0.2792, allocations: 90.02 MB / 499.4 MB, free: 0.5781 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002177/0.2795, allocations: 87.95 kB / 499.5 MB, free: 0.4922 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2412/0.5207, allocations: 36.78 MB / 0.5237 GB, free: 86.87 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.783e-06/0.5207, allocations: 7.156 kB / 0.5237 GB, free: 86.87 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.98e-05/0.5208, allocations: 28.72 kB / 0.5238 GB, free: 86.86 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 245 * Number of variables: 245 Notification: Performance of Generate backend data structure: time 0.002593/0.5234, allocations: 1.239 MB / 0.525 GB, free: 85.96 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.397e-05/0.5235, allocations: 10.88 kB / 0.525 GB, free: 85.96 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006175/0.5241, allocations: 148.6 kB / 0.5251 GB, free: 85.86 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009475/0.525, allocations: 0.6086 MB / 0.5257 GB, free: 85.22 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001179/0.5252, allocations: 78 kB / 0.5258 GB, free: 85.14 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001723/0.5254, allocations: 95.91 kB / 0.5259 GB, free: 85.05 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001729/0.5271, allocations: 1.029 MB / 0.5269 GB, free: 84.01 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.437e-05/0.5271, allocations: 4 kB / 0.5269 GB, free: 84 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.958e-05/0.5272, allocations: 40 kB / 0.5269 GB, free: 83.96 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.525e-05/0.5272, allocations: 31.89 kB / 0.527 GB, free: 83.93 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001702/0.529, allocations: 0.9421 MB / 0.5279 GB, free: 82.99 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004358/0.5333, allocations: 3.578 MB / 0.5314 GB, free: 79.3 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001219/0.5346, allocations: 0.8754 MB / 0.5322 GB, free: 78.4 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.747e-05/0.5346, allocations: 11.3 kB / 0.5322 GB, free: 78.39 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.373e-05/0.5346, allocations: 51.08 kB / 0.5323 GB, free: 78.34 MB / 378.7 MB Notification: Performance of pre-optimization done (n=95): time 2.415e-06/0.5347, allocations: 0 / 0.5323 GB, free: 78.34 MB / 378.7 MB Notification: Performance of matching and sorting (n=125): time 0.008533/0.5432, allocations: 4.747 MB / 0.5369 GB, free: 73.4 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.09e-05/0.5432, allocations: 90.2 kB / 0.537 GB, free: 73.29 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005699/0.5438, allocations: 0.5335 MB / 0.5375 GB, free: 72.75 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.515e-05/0.5439, allocations: 49.7 kB / 0.5376 GB, free: 72.7 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001671/0.5441, allocations: 422.2 kB / 0.538 GB, free: 72.28 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002039/0.5443, allocations: 420.1 kB / 0.5384 GB, free: 71.87 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.135e-05/0.5443, allocations: 31.94 kB / 0.5384 GB, free: 71.84 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.916e-05/0.5444, allocations: 394.7 kB / 0.5388 GB, free: 71.45 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007633/0.5452, allocations: 434.4 kB / 0.5392 GB, free: 71.02 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008081/0.546, allocations: 0.5592 MB / 0.5398 GB, free: 70.43 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000825/0.5468, allocations: 483.6 kB / 0.5402 GB, free: 69.96 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.526e-06/0.5469, allocations: 0 / 0.5402 GB, free: 69.96 MB / 378.7 MB Notification: Performance of matching and sorting (n=150) (initialization): time 0.002073/0.5489, allocations: 1.31 MB / 0.5415 GB, free: 68.63 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.634e-05/0.549, allocations: 8.094 kB / 0.5415 GB, free: 68.62 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.756e-06/0.549, allocations: 4 kB / 0.5415 GB, free: 68.62 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003223/0.5493, allocations: 130.4 kB / 0.5416 GB, free: 68.48 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001061/0.5504, allocations: 279.6 kB / 0.5419 GB, free: 68.21 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002432/0.5528, allocations: 4.562 MB / 0.5464 GB, free: 63.24 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007728/0.5536, allocations: 76.02 kB / 0.5464 GB, free: 63.17 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.039e-05/0.5537, allocations: 43.98 kB / 0.5465 GB, free: 63.12 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 4 (pmActuator.armature.stopper_xMax.contact,pmActuator.armature.stopper_xMin.contact,cActuator.armature.stopper_xMax.contact,cActuator.armature.stopper_xMin.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (138): * Single equations (assignments): 135 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 4,(1,100.0%) 4,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003987/0.5541, allocations: 285.6 kB / 0.5467 GB, free: 62.84 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001461/0.5543, allocations: 86.97 kB / 0.5468 GB, free: 62.75 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001411/0.5557, allocations: 0.8278 MB / 0.5476 GB, free: 61.91 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.354e-06/0.5557, allocations: 12 kB / 0.5476 GB, free: 61.89 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.268e-06/0.5557, allocations: 0 / 0.5476 GB, free: 61.89 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.909e-06/0.5557, allocations: 15.94 kB / 0.5477 GB, free: 61.88 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00379/0.5595, allocations: 3.011 MB / 0.5506 GB, free: 58.77 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.001e-06/0.5595, allocations: 4 kB / 0.5506 GB, free: 58.77 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009053/0.5604, allocations: 232 kB / 0.5508 GB, free: 58.54 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003698/0.5608, allocations: 163.2 kB / 0.551 GB, free: 58.37 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.979e-05/0.5609, allocations: 35.92 kB / 0.551 GB, free: 58.33 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002815/0.5637, allocations: 5.605 MB / 0.5565 GB, free: 52.2 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/0.5637, allocations: 7.969 kB / 0.5565 GB, free: 52.19 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002845/0.5666, allocations: 2.095 MB / 0.5585 GB, free: 49.97 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002214/0.5668, allocations: 179.9 kB / 0.5587 GB, free: 49.78 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001436/0.567, allocations: 27.98 kB / 0.5587 GB, free: 49.75 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000702/0.5677, allocations: 75.95 kB / 0.5588 GB, free: 49.68 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001422/0.5678, allocations: 96.45 kB / 0.5589 GB, free: 49.58 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.776e-05/0.5679, allocations: 32 kB / 0.5589 GB, free: 49.55 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004924/0.5684, allocations: 447.1 kB / 0.5594 GB, free: 49.11 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5684, allocations: 0 / 0.5594 GB, free: 49.11 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0009856/0.5694, allocations: 280 kB / 0.5596 GB, free: 48.84 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 6 (pmActuator.x,pmActuator.armature.stopper_xMin.v_rel,pmActuator.coil.Phi,cActuator.x,cActuator.armature.stopper_xMin.v_rel,cActuator.l.i) * Number of discrete variables: 4 (pmActuator.armature.stopper_xMax.contact,pmActuator.armature.stopper_xMin.contact,cActuator.armature.stopper_xMax.contact,cActuator.armature.stopper_xMin.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (114): * Single equations (assignments): 110 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 2,(1,100.0%) 3,(1,100.0%) 4,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002461/0.5697, allocations: 153.4 kB / 0.5598 GB, free: 48.68 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002251/0.5719, allocations: 1.457 MB / 0.5612 GB, free: 47.18 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.5719, allocations: 4 kB / 0.5612 GB, free: 47.18 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001285/0.5732, allocations: 1.091 MB / 0.5623 GB, free: 46.04 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008146/0.5741, allocations: 173.3 kB / 0.5624 GB, free: 45.88 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003345/0.5774, allocations: 2.749 MB / 0.5651 GB, free: 43.07 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003983/0.5778, allocations: 1.052 MB / 0.5661 GB, free: 41.98 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0005518/0.5784, allocations: 127.7 kB / 0.5663 GB, free: 41.86 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002158/0.5786, allocations: 71.42 kB / 0.5663 GB, free: 41.79 MB / 378.7 MB Notification: Performance of SimCode: time 6.51e-07/0.5786, allocations: 0 / 0.5663 GB, free: 41.79 MB / 378.7 MB Notification: Performance of Templates: time 0.01628/0.5949, allocations: 11.61 MB / 0.5777 GB, free: 30.27 MB / 378.7 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.makefile (rm -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.sim & ./Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FluxTubes/Examples/MovingCoilActuator/ArmatureStroke/ArmatureStroke.csv","../files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches