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.0009456/0.0009455, allocations: 97.12 kB / 17.35 MB, free: 6.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001165/0.001165, allocations: 206.3 kB / 18.29 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.375/1.375, allocations: 227.7 MB / 246.8 MB, free: 9.691 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000239/0.000239, allocations: 7.984 kB / 307.7 MB, free: 0.6094 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1003/0.1005, allocations: 51.52 MB / 359.3 MB, free: 13.08 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke): time 0.005874/0.1064, allocations: 5.954 MB / 365.2 MB, free: 7.094 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003301/0.1098, allocations: 1.874 MB / 367.1 MB, free: 5.215 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000667/0.1105, allocations: 19.94 kB / 367.1 MB, free: 5.195 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004866/0.111, allocations: 170.8 kB / 367.3 MB, free: 5.027 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009419/0.1119, allocations: 373.4 kB / 367.6 MB, free: 4.66 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00068/0.1126, allocations: 323.8 kB / 367.9 MB, free: 4.344 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001261/0.1139, allocations: 1.405 MB / 369.4 MB, free: 2.934 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006179/0.1145, allocations: 439.5 kB / 369.8 MB, free: 2.484 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006047/0.1151, allocations: 442.1 kB / 370.2 MB, free: 2.051 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005829/0.1157, allocations: 0.5247 MB / 370.7 MB, free: 1.523 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001067/0.1158, allocations: 60 kB / 370.8 MB, free: 1.465 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001614/0.116, allocations: 64 kB / 370.9 MB, free: 1.402 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001644/0.1162, allocations: 203.1 kB / 371.1 MB, free: 1.203 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000536/0.1167, allocations: 0.5768 MB / 371.6 MB, free: 0.6172 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.1897/0.3064, allocations: 1.753 MB / 373.4 MB, free: 11.84 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.3065, allocations: 0 / 373.4 MB, free: 11.84 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.254e-06/0.3065, allocations: 0 / 373.4 MB, free: 11.84 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.734e-05/0.3065, allocations: 1.031 kB / 373.4 MB, free: 11.84 MB / 302.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.002501/0.309, allocations: 1.249 MB / 374.6 MB, free: 11.14 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.087e-05/0.3091, allocations: 11.97 kB / 374.6 MB, free: 11.14 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005413/0.3096, allocations: 154.5 kB / 374.8 MB, free: 11.07 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009727/0.3106, allocations: 0.6812 MB / 375.5 MB, free: 10.77 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001228/0.3107, allocations: 79.67 kB / 375.6 MB, free: 10.77 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001737/0.3109, allocations: 104.8 kB / 375.7 MB, free: 10.77 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00202/0.3129, allocations: 0.9892 MB / 376.7 MB, free: 10.68 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.638e-05/0.313, allocations: 3.062 kB / 376.7 MB, free: 10.68 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.866e-05/0.3131, allocations: 42.69 kB / 376.7 MB, free: 10.68 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.308e-05/0.3131, allocations: 24.12 kB / 376.7 MB, free: 10.68 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001595/0.3147, allocations: 0.8147 MB / 377.5 MB, free: 10.67 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00504/0.3198, allocations: 3.357 MB / 380.9 MB, free: 9.793 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001258/0.3211, allocations: 0.8033 MB / 381.7 MB, free: 9.582 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006709/0.3217, allocations: 445.2 kB / 382.1 MB, free: 9.402 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.587e-05/0.3218, allocations: 26.97 kB / 382.2 MB, free: 9.395 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.276e-05/0.3218, allocations: 48.38 kB / 382.2 MB, free: 9.352 MB / 302.1 MB Notification: Performance of pre-optimization done (n=95): time 2.826e-06/0.3218, allocations: 0 / 382.2 MB, free: 9.352 MB / 302.1 MB Notification: Performance of matching and sorting (n=119): time 0.008035/0.3299, allocations: 4.226 MB / 386.4 MB, free: 6.949 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.322e-05/0.33, allocations: 90.2 kB / 386.5 MB, free: 6.855 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009097/0.3309, allocations: 0.642 MB / 387.2 MB, free: 6.555 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.771e-05/0.3309, allocations: 45.8 kB / 387.2 MB, free: 6.508 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002196/0.3312, allocations: 437 kB / 387.6 MB, free: 6.164 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002119/0.3314, allocations: 407.2 kB / 388 MB, free: 5.852 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001117/0.3315, allocations: 94.52 kB / 388.1 MB, free: 5.801 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001021/0.3316, allocations: 400.2 kB / 388.5 MB, free: 5.449 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006476/0.3323, allocations: 345.9 kB / 388.8 MB, free: 5.32 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007931/0.3331, allocations: 498.9 kB / 389.3 MB, free: 5.051 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001436/0.3345, allocations: 0.8582 MB / 390.2 MB, free: 4.582 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.398e-06/0.3345, allocations: 1.344 kB / 390.2 MB, free: 4.582 MB / 302.1 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.002232/0.3368, allocations: 1.169 MB / 391.4 MB, free: 4.078 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.029e-05/0.3368, allocations: 6.719 kB / 391.4 MB, free: 4.078 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.077e-05/0.3368, allocations: 2.906 kB / 391.4 MB, free: 4.078 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003809/0.3372, allocations: 132.3 kB / 391.5 MB, free: 4.023 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009704/0.3382, allocations: 239.8 kB / 391.7 MB, free: 4.016 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003328/0.3415, allocations: 4.533 MB / 396.3 MB, free: 15.66 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008675/0.3424, allocations: 41.05 kB / 396.3 MB, free: 15.64 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.653e-05/0.3425, allocations: 43.36 kB / 396.4 MB, free: 15.63 MB / 318.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.000631/0.3431, allocations: 280.9 kB / 396.6 MB, free: 15.42 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001876/0.3433, allocations: 104.8 kB / 396.7 MB, free: 15.36 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001556/0.3449, allocations: 0.7457 MB / 397.5 MB, free: 14.91 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.822e-05/0.3449, allocations: 16.55 kB / 397.5 MB, free: 14.9 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.545e-05/0.3449, allocations: 2.531 kB / 397.5 MB, free: 14.9 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.698e-05/0.345, allocations: 9.453 kB / 397.5 MB, free: 14.89 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004253/0.3492, allocations: 2.636 MB / 400.1 MB, free: 13.04 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.48e-06/0.3492, allocations: 3.984 kB / 400.1 MB, free: 13.04 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000871/0.3501, allocations: 199 kB / 400.3 MB, free: 13.01 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004058/0.3505, allocations: 154.8 kB / 400.5 MB, free: 12.91 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.32e-05/0.3506, allocations: 29.3 kB / 400.5 MB, free: 12.89 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003914/0.3545, allocations: 5.571 MB / 406.1 MB, free: 7.281 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/0.3545, allocations: 2.625 kB / 406.1 MB, free: 7.281 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002602/0.3572, allocations: 1.682 MB / 407.8 MB, free: 6.297 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003748/0.3575, allocations: 242.4 kB / 408 MB, free: 6.07 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001107/0.3577, allocations: 28.28 kB / 408 MB, free: 6.051 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005169/0.3582, allocations: 40.98 kB / 408.1 MB, free: 6.027 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001377/0.3583, allocations: 79.86 kB / 408.2 MB, free: 5.988 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.896e-05/0.3584, allocations: 37.02 kB / 408.2 MB, free: 5.973 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0005841/0.359, allocations: 461.7 kB / 408.6 MB, free: 5.668 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.359, allocations: 0 / 408.6 MB, free: 5.668 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0009373/0.3599, allocations: 260 kB / 408.9 MB, free: 5.414 MB / 318.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.0001819/0.3601, allocations: 142.6 kB / 409 MB, free: 5.277 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001902/0.362, allocations: 1.286 MB / 410.3 MB, free: 3.973 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.3621, allocations: 4 kB / 410.3 MB, free: 3.969 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001185/0.3632, allocations: 0.9816 MB / 411.3 MB, free: 2.953 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001054/0.3643, allocations: 192.6 kB / 411.5 MB, free: 2.77 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003521/0.3678, allocations: 2.757 MB / 414.3 MB, free: 15.99 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005431/0.3684, allocations: 1.037 MB / 415.3 MB, free: 14.92 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0005334/0.3689, allocations: 124 kB / 415.4 MB, free: 14.8 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002072/0.3692, allocations: 79.42 kB / 415.5 MB, free: 14.72 MB / 334.1 MB Notification: Performance of SimCode: time 4.61e-07/0.3692, allocations: 0 / 415.5 MB, free: 14.72 MB / 334.1 MB Notification: Performance of Templates: time 0.01899/0.3882, allocations: 11.62 MB / 427.1 MB, free: 3.23 MB / 334.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