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/ModelicaServices trunk/package.mo", uses=false) 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) 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices trunk/package.mo): time 0.001023/0.001023, allocations: 118.2 kB / 17.79 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001147/0.001147, allocations: 202 kB / 18.73 MB, free: 4.316 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.324/1.324, allocations: 227.4 MB / 246.9 MB, free: 10.49 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001249/0.001249, allocations: 59.89 kB / 358.7 MB, free: 12.95 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2571/0.2584, allocations: 50.54 MB / 409.2 MB, free: 1.602 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke): time 0.007075/0.2655, allocations: 6.446 MB / 415.7 MB, free: 11.12 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002958/0.2685, allocations: 1.901 MB / 417.6 MB, free: 9.219 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005231/0.269, allocations: 19.94 kB / 417.6 MB, free: 9.199 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005608/0.2696, allocations: 218 kB / 417.8 MB, free: 8.984 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007803/0.2704, allocations: 408.8 kB / 418.2 MB, free: 8.582 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006238/0.271, allocations: 371.6 kB / 418.6 MB, free: 8.219 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001259/0.2723, allocations: 1.514 MB / 420.1 MB, free: 6.699 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006241/0.2729, allocations: 0.4975 MB / 420.6 MB, free: 6.176 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005535/0.2735, allocations: 0.5451 MB / 421.1 MB, free: 5.629 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006306/0.2741, allocations: 0.6107 MB / 421.7 MB, free: 5.016 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001759/0.2743, allocations: 164 kB / 421.9 MB, free: 4.855 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002472/0.2745, allocations: 167.9 kB / 422.1 MB, free: 4.691 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002178/0.2748, allocations: 307.1 kB / 422.4 MB, free: 4.391 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005298/0.2753, allocations: 0.6611 MB / 423 MB, free: 3.727 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001484/0.2768, allocations: 1.891 MB / 424.9 MB, free: 1.832 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.2768, allocations: 0 / 424.9 MB, free: 1.832 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.2768, allocations: 0 / 424.9 MB, free: 1.832 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.516e-05/0.2768, allocations: 0 / 424.9 MB, free: 1.832 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 249 * Number of variables: 249 Notification: Performance of Generate backend data structure: time 0.002499/0.2793, allocations: 1.471 MB / 426.4 MB, free: 316 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.647e-05/0.2794, allocations: 19.97 kB / 426.4 MB, free: 296 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004866/0.2799, allocations: 156.1 kB / 426.6 MB, free: 140 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009952/0.2809, allocations: 0.6962 MB / 427.3 MB, free: 15.4 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.797e-05/0.281, allocations: 78 kB / 427.3 MB, free: 15.32 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001265/0.2811, allocations: 96 kB / 427.4 MB, free: 15.23 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001555/0.2827, allocations: 0.9779 MB / 428.4 MB, free: 14.23 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.204e-05/0.2827, allocations: 3.953 kB / 428.4 MB, free: 14.23 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.112e-05/0.2828, allocations: 44 kB / 428.4 MB, free: 14.19 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.805e-05/0.2828, allocations: 24 kB / 428.5 MB, free: 14.16 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001439/0.2843, allocations: 0.7977 MB / 429.3 MB, free: 13.36 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004345/0.2886, allocations: 3.318 MB / 432.6 MB, free: 9.922 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001249/0.2899, allocations: 0.8072 MB / 433.4 MB, free: 9.105 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006839/0.2906, allocations: 445.4 kB / 433.8 MB, free: 8.668 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.748e-05/0.2906, allocations: 24.47 kB / 433.9 MB, free: 8.645 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.014e-05/0.2907, allocations: 47.75 kB / 433.9 MB, free: 8.59 MB / 350.1 MB Notification: Performance of pre-optimization done (n=95): time 2.024e-06/0.2907, allocations: 0 / 433.9 MB, free: 8.59 MB / 350.1 MB Notification: Performance of matching and sorting (n=119): time 0.007906/0.2986, allocations: 4.207 MB / 438.1 MB, free: 4.184 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.306e-05/0.2987, allocations: 93.77 kB / 438.2 MB, free: 4.07 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007254/0.2994, allocations: 0.6369 MB / 438.8 MB, free: 3.422 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.558e-05/0.2995, allocations: 45.7 kB / 438.9 MB, free: 3.371 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002639/0.2997, allocations: 445.1 kB / 439.3 MB, free: 2.93 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002599/0.3, allocations: 428.3 kB / 439.7 MB, free: 2.508 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002638/0.3003, allocations: 190.9 kB / 439.9 MB, free: 2.316 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000161/0.3004, allocations: 394.7 kB / 440.3 MB, free: 1.922 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006337/0.3011, allocations: 350.5 kB / 440.6 MB, free: 1.582 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007208/0.3018, allocations: 480.6 kB / 441.1 MB, free: 1.07 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001336/0.3031, allocations: 0.8627 MB / 442 MB, free: 184 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/0.3032, allocations: 3.938 kB / 442 MB, free: 180 kB / 350.1 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.001907/0.3051, allocations: 1.154 MB / 443.1 MB, free: 15 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.956e-05/0.3051, allocations: 8 kB / 443.1 MB, free: 14.99 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.316e-06/0.3051, allocations: 0 / 443.1 MB, free: 14.99 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003839/0.3055, allocations: 134.7 kB / 443.3 MB, free: 14.85 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009314/0.3065, allocations: 239.7 kB / 443.5 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003545/0.31, allocations: 4.981 MB / 448.5 MB, free: 9.219 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005844/0.3106, allocations: 40.03 kB / 448.5 MB, free: 9.18 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.311e-05/0.3107, allocations: 36 kB / 448.6 MB, free: 9.145 MB / 366.1 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 (cActuator.armature.stopper_xMin.contact,cActuator.armature.stopper_xMax.contact,pmActuator.armature.stopper_xMin.contact,pmActuator.armature.stopper_xMax.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (132): * Single equations (assignments): 129 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,4,100.0%), (1,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004168/0.3111, allocations: 281.6 kB / 448.8 MB, free: 8.859 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001488/0.3113, allocations: 107.2 kB / 448.9 MB, free: 8.754 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001407/0.3127, allocations: 0.7492 MB / 449.7 MB, free: 7.984 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.134e-05/0.3127, allocations: 12 kB / 449.7 MB, free: 7.973 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.026e-05/0.3127, allocations: 4.125 kB / 449.7 MB, free: 7.969 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.352e-05/0.3127, allocations: 7.984 kB / 449.7 MB, free: 7.961 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003629/0.3164, allocations: 2.615 MB / 452.3 MB, free: 5.246 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.265e-06/0.3164, allocations: 7.938 kB / 452.3 MB, free: 5.238 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007778/0.3172, allocations: 187.8 kB / 452.5 MB, free: 5.055 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004424/0.3176, allocations: 159.3 kB / 452.7 MB, free: 4.887 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.184e-05/0.3177, allocations: 24 kB / 452.7 MB, free: 4.863 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003991/0.3217, allocations: 5.99 MB / 458.7 MB, free: 14.31 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.148e-06/0.3217, allocations: 0 / 458.7 MB, free: 14.31 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002515/0.3242, allocations: 1.677 MB / 460.4 MB, free: 12.61 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003556/0.3246, allocations: 252.5 kB / 460.6 MB, free: 12.34 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001078/0.3247, allocations: 28.08 kB / 460.6 MB, free: 12.31 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005066/0.3252, allocations: 35.98 kB / 460.7 MB, free: 12.28 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001629/0.3254, allocations: 84.61 kB / 460.8 MB, free: 12.2 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.557e-05/0.3255, allocations: 36 kB / 460.8 MB, free: 12.16 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000562/0.326, allocations: 455.1 kB / 461.2 MB, free: 11.72 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.3261, allocations: 0 / 461.2 MB, free: 11.72 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008573/0.3269, allocations: 264 kB / 461.5 MB, free: 11.46 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 6 (cActuator.x,cActuator.armature.stopper_xMin.v_rel,cActuator.l.i,pmActuator.x,pmActuator.armature.stopper_xMin.v_rel,pmActuator.coil.Phi) * 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 simulation (108): * Single equations (assignments): 104 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,3,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001886/0.3271, allocations: 139 kB / 461.6 MB, free: 11.32 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001951/0.3291, allocations: 1.274 MB / 462.9 MB, free: 10 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.3291, allocations: 0.625 kB / 462.9 MB, free: 10 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00116/0.3303, allocations: 0.9745 MB / 463.9 MB, free: 8.973 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009335/0.3312, allocations: 198.3 kB / 464.1 MB, free: 8.781 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00324/0.3345, allocations: 2.196 MB / 466.3 MB, free: 6.543 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005376/0.335, allocations: 1.044 MB / 467.3 MB, free: 5.473 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004483/0.3355, allocations: 128 kB / 467.4 MB, free: 5.344 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002034/0.3357, allocations: 75.42 kB / 467.5 MB, free: 5.27 MB / 382.1 MB Notification: Performance of SimCode: time 3e-07/0.3357, allocations: 0 / 467.5 MB, free: 5.27 MB / 382.1 MB Notification: Performance of Templates: time 0.0184/0.3541, allocations: 12.67 MB / 480.2 MB, free: 8.699 MB / 398.1 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches