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.001081/0.001081, allocations: 201.7 kB / 8.767 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.448/1.448, allocations: 225.6 MB / 234.8 MB, free: 3.27 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001081/0.001082, allocations: 102.8 kB / 286.7 MB, free: 5.23 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.121e-05/2.107e-05, allocations: 4 kB / 343.7 MB, free: 8.293 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1119/0.1119, allocations: 51.48 MB / 395.2 MB, free: 4.777 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3648/0.4767, allocations: 89.29 MB / 484.5 MB, free: 3.961 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001861/0.477, allocations: 78.52 kB / 484.5 MB, free: 3.922 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0945/0.5715, allocations: 36.47 MB / 0.5088 GB, free: 4.672 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.5715, allocations: 0 / 0.5088 GB, free: 4.672 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.234e-05/0.5716, allocations: 20 kB / 0.5088 GB, free: 4.652 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.002788/0.5744, allocations: 1.142 MB / 0.5099 GB, free: 3.465 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.399e-05/0.5744, allocations: 12.03 kB / 0.5099 GB, free: 3.453 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006889/0.5751, allocations: 150.5 kB / 0.5101 GB, free: 3.305 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001236/0.5764, allocations: 0.5992 MB / 0.5107 GB, free: 2.664 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001241/0.5765, allocations: 42 kB / 0.5107 GB, free: 2.625 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001989/0.5767, allocations: 63.89 kB / 0.5108 GB, free: 2.562 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001508/0.5783, allocations: 0.7303 MB / 0.5115 GB, free: 1.832 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001586/0.5798, allocations: 0.8096 MB / 0.5123 GB, free: 1.012 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.135e-05/0.5799, allocations: 4 kB / 0.5123 GB, free: 1.008 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.254e-05/0.58, allocations: 0 / 0.5123 GB, free: 1.008 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.209e-05/0.58, allocations: 24 kB / 0.5123 GB, free: 0.9844 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005473/0.5855, allocations: 3.395 MB / 0.5156 GB, free: 13.46 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001071/0.5866, allocations: 0.7484 MB / 0.5163 GB, free: 12.69 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006358/0.5872, allocations: 432.9 kB / 0.5168 GB, free: 12.27 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.083e-05/0.5873, allocations: 16.55 kB / 0.5168 GB, free: 12.25 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.548e-05/0.5873, allocations: 47.12 kB / 0.5168 GB, free: 12.2 MB / 394.7 MB Notification: Performance of pre-optimization done (n=95): time 2.746e-06/0.5874, allocations: 0 / 0.5168 GB, free: 12.2 MB / 394.7 MB Notification: Performance of matching and sorting (n=131): time 0.007102/0.5945, allocations: 3.658 MB / 0.5204 GB, free: 8.359 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.438e-05/0.5946, allocations: 97.89 kB / 0.5205 GB, free: 8.246 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006696/0.5952, allocations: 466.1 kB / 0.5209 GB, free: 7.781 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 7.039e-05/0.5953, allocations: 25.7 kB / 0.521 GB, free: 7.75 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002924/0.5956, allocations: 424.3 kB / 0.5214 GB, free: 7.328 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003588/0.596, allocations: 433.5 kB / 0.5218 GB, free: 6.898 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.315e-05/0.596, allocations: 0 / 0.5218 GB, free: 6.898 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002046/0.5963, allocations: 398.7 kB / 0.5222 GB, free: 6.5 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005758/0.5968, allocations: 346.6 kB / 0.5225 GB, free: 6.16 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006352/0.5975, allocations: 478 kB / 0.5229 GB, free: 5.66 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006248/0.5981, allocations: 397.8 kB / 0.5233 GB, free: 5.27 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.791e-06/0.5981, allocations: 0 / 0.5233 GB, free: 5.27 MB / 394.7 MB Notification: Performance of matching and sorting (n=156) (initialization): time 0.001767/0.5999, allocations: 1.113 MB / 0.5244 GB, free: 4.141 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.319e-05/0.5999, allocations: 4 kB / 0.5244 GB, free: 4.137 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.394e-05/0.6, allocations: 4.312 kB / 0.5244 GB, free: 4.133 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004266/0.6004, allocations: 142.5 kB / 0.5245 GB, free: 3.984 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001157/0.6016, allocations: 291.6 kB / 0.5248 GB, free: 3.699 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00372/0.6053, allocations: 4.614 MB / 0.5293 GB, free: 14.74 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008741/0.6062, allocations: 60 kB / 0.5294 GB, free: 14.68 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000116/0.6063, allocations: 39.98 kB / 0.5294 GB, free: 14.64 MB / 410.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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (142): * Single equations (assignments): 139 * 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 {(2,100.0%) 5,(1,100.0%) 4,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002381/0.6066, allocations: 128.8 kB / 0.5296 GB, free: 14.51 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002075/0.6068, allocations: 86.97 kB / 0.5296 GB, free: 14.42 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001357/0.6081, allocations: 0.7089 MB / 0.5303 GB, free: 13.7 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.567e-05/0.6082, allocations: 16 kB / 0.5303 GB, free: 13.68 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.01e-05/0.6082, allocations: 4 kB / 0.5303 GB, free: 13.68 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.662e-05/0.6082, allocations: 11.97 kB / 0.5304 GB, free: 13.67 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004148/0.6124, allocations: 2.74 MB / 0.533 GB, free: 10.82 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.464e-06/0.6124, allocations: 0 / 0.533 GB, free: 10.82 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001095/0.6135, allocations: 263.9 kB / 0.5333 GB, free: 10.56 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004181/0.6139, allocations: 126.5 kB / 0.5334 GB, free: 10.43 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001053/0.614, allocations: 11.98 kB / 0.5334 GB, free: 10.41 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003366/0.6174, allocations: 4.214 MB / 0.5375 GB, free: 5.855 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.376e-06/0.6174, allocations: 7.938 kB / 0.5375 GB, free: 5.848 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002764/0.6202, allocations: 1.849 MB / 0.5393 GB, free: 3.879 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003022/0.6205, allocations: 172 kB / 0.5395 GB, free: 3.691 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001428/0.6207, allocations: 4 kB / 0.5395 GB, free: 3.688 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000743/0.6214, allocations: 59.94 kB / 0.5396 GB, free: 3.629 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001648/0.6216, allocations: 89.5 kB / 0.5397 GB, free: 3.539 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.052e-05/0.6217, allocations: 43.98 kB / 0.5397 GB, free: 3.496 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0004761/0.6222, allocations: 358.9 kB / 0.54 GB, free: 3.145 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.71e-07/0.6222, allocations: 0 / 0.54 GB, free: 3.145 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001123/0.6233, allocations: 228 kB / 0.5403 GB, free: 2.922 MB / 410.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.g_ma.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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (122): * Single equations (assignments): 119 * 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%) 2,(1,100.0%) 5,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000298/0.6236, allocations: 146.2 kB / 0.5404 GB, free: 2.773 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002102/0.6257, allocations: 1.288 MB / 0.5417 GB, free: 1.461 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.919e-06/0.6258, allocations: 4.625 kB / 0.5417 GB, free: 1.457 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00111/0.6269, allocations: 0.8672 MB / 0.5425 GB, free: 0.5586 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008739/0.6278, allocations: 126.8 kB / 0.5426 GB, free: 452 kB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003444/0.6312, allocations: 1.722 MB / 0.5443 GB, free: 14.66 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007035/0.6319, allocations: 1.068 MB / 0.5454 GB, free: 13.56 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0006429/0.6326, allocations: 119.6 kB / 0.5455 GB, free: 13.44 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002511/0.6328, allocations: 83.41 kB / 0.5455 GB, free: 13.36 MB / 426.7 MB Notification: Performance of SimCode: time 6.82e-07/0.6328, allocations: 0 / 0.5455 GB, free: 13.36 MB / 426.7 MB Notification: Performance of Templates: time 0.02363/0.6565, allocations: 10.6 MB / 0.5559 GB, free: 2.852 MB / 426.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