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.00145/0.00145, allocations: 121.6 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.001751/0.001751, allocations: 204.7 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.362/1.362, allocations: 227.4 MB / 246.9 MB, free: 10.56 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001135/0.001135, allocations: 63.89 kB / 358.7 MB, free: 12.95 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2943/0.2955, allocations: 50.54 MB / 409.2 MB, free: 1.605 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke): time 0.007389/0.3029, allocations: 6.42 MB / 415.7 MB, free: 11.15 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003552/0.3065, allocations: 1.913 MB / 417.6 MB, free: 9.23 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004753/0.307, allocations: 19.94 kB / 417.6 MB, free: 9.211 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006112/0.3076, allocations: 214 kB / 417.8 MB, free: 9 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000864/0.3085, allocations: 412.8 kB / 418.2 MB, free: 8.594 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006813/0.3092, allocations: 367.6 kB / 418.6 MB, free: 8.234 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001453/0.3107, allocations: 1.522 MB / 420.1 MB, free: 6.707 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006479/0.3113, allocations: 0.4936 MB / 420.6 MB, free: 6.188 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006687/0.312, allocations: 0.5723 MB / 421.2 MB, free: 5.613 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006728/0.3127, allocations: 0.603 MB / 421.8 MB, free: 5.008 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001986/0.3129, allocations: 160 kB / 421.9 MB, free: 4.852 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002563/0.3132, allocations: 167.9 kB / 422.1 MB, free: 4.688 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002213/0.3134, allocations: 307 kB / 422.4 MB, free: 4.387 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005524/0.314, allocations: 0.6573 MB / 423 MB, free: 3.727 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001592/0.3156, allocations: 1.893 MB / 424.9 MB, free: 1.832 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/0.3156, allocations: 0 / 424.9 MB, free: 1.832 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.983e-06/0.3156, allocations: 0 / 424.9 MB, free: 1.832 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.098e-05/0.3156, 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.002674/0.3183, allocations: 1.441 MB / 426.4 MB, free: 348 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.943e-05/0.3183, allocations: 16.02 kB / 426.4 MB, free: 332 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000492/0.3188, allocations: 143.5 kB / 426.5 MB, free: 188 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001074/0.3199, allocations: 0.6957 MB / 427.2 MB, free: 15.45 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.32e-05/0.32, allocations: 74 kB / 427.3 MB, free: 15.38 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001357/0.3201, allocations: 96 kB / 427.4 MB, free: 15.28 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001625/0.3218, allocations: 0.9779 MB / 428.4 MB, free: 14.29 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.789e-05/0.3218, allocations: 7.906 kB / 428.4 MB, free: 14.28 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.912e-05/0.3219, allocations: 44 kB / 428.4 MB, free: 14.23 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.188e-05/0.322, allocations: 24 kB / 428.4 MB, free: 14.21 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001525/0.3235, allocations: 0.7976 MB / 429.2 MB, free: 13.41 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004754/0.3282, allocations: 3.301 MB / 432.5 MB, free: 9.984 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00126/0.3295, allocations: 0.8082 MB / 433.3 MB, free: 9.164 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006986/0.3302, allocations: 447.1 kB / 433.8 MB, free: 8.723 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.172e-05/0.3303, allocations: 16.5 kB / 433.8 MB, free: 8.707 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.396e-05/0.3303, allocations: 47.69 kB / 433.8 MB, free: 8.652 MB / 350.1 MB Notification: Performance of pre-optimization done (n=95): time 2.364e-06/0.3304, allocations: 0 / 433.8 MB, free: 8.652 MB / 350.1 MB Notification: Performance of matching and sorting (n=119): time 0.008421/0.3388, allocations: 4.185 MB / 438 MB, free: 4.266 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.435e-05/0.3389, allocations: 89.77 kB / 438.1 MB, free: 4.156 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008409/0.3397, allocations: 0.633 MB / 438.8 MB, free: 3.512 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.95e-05/0.3398, allocations: 45.7 kB / 438.8 MB, free: 3.461 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002882/0.3401, allocations: 432.2 kB / 439.2 MB, free: 3.031 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002975/0.3404, allocations: 414 kB / 439.6 MB, free: 2.621 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002724/0.3407, allocations: 183 kB / 439.8 MB, free: 2.438 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001788/0.3408, allocations: 394.7 kB / 440.2 MB, free: 2.043 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006404/0.3415, allocations: 350.5 kB / 440.5 MB, free: 1.703 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000748/0.3422, allocations: 492.5 kB / 441 MB, free: 1.18 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001367/0.3436, allocations: 0.8549 MB / 441.9 MB, free: 304 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.929e-06/0.3436, allocations: 3.938 kB / 441.9 MB, free: 300 kB / 350.1 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.002055/0.3457, allocations: 1.15 MB / 443 MB, free: 15.12 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.18e-05/0.3457, allocations: 12 kB / 443 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.099e-05/0.3457, allocations: 4 kB / 443 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004068/0.3462, allocations: 126.5 kB / 443.2 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009779/0.3472, allocations: 243.6 kB / 443.4 MB, free: 14.74 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003755/0.3509, allocations: 4.972 MB / 448.4 MB, free: 9.348 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006734/0.3516, allocations: 32.23 kB / 448.4 MB, free: 9.316 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.117e-05/0.3517, allocations: 43.98 kB / 448.4 MB, free: 9.273 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.0004415/0.3521, allocations: 285.5 kB / 448.7 MB, free: 8.984 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000159/0.3523, allocations: 98.88 kB / 448.8 MB, free: 8.887 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001383/0.3537, allocations: 0.7414 MB / 449.6 MB, free: 8.125 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.243e-05/0.3537, allocations: 20.03 kB / 449.6 MB, free: 8.105 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.04e-05/0.3537, allocations: 4 kB / 449.6 MB, free: 8.102 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.318e-05/0.3538, allocations: 7.969 kB / 449.6 MB, free: 8.094 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003793/0.3576, allocations: 2.607 MB / 452.2 MB, free: 5.387 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.422e-06/0.3576, allocations: 3.938 kB / 452.2 MB, free: 5.383 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008721/0.3585, allocations: 195.7 kB / 452.4 MB, free: 5.191 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004405/0.3589, allocations: 159.3 kB / 452.5 MB, free: 5.023 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.046e-05/0.359, allocations: 27.98 kB / 452.6 MB, free: 4.996 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004133/0.3631, allocations: 5.997 MB / 458.6 MB, free: 14.43 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.588e-06/0.3631, allocations: 0 / 458.6 MB, free: 14.43 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00266/0.3658, allocations: 1.661 MB / 460.2 MB, free: 12.75 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004137/0.3662, allocations: 251.9 kB / 460.5 MB, free: 12.48 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001286/0.3664, allocations: 24 kB / 460.5 MB, free: 12.46 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005537/0.3669, allocations: 39.92 kB / 460.5 MB, free: 12.42 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001542/0.3671, allocations: 80.48 kB / 460.6 MB, free: 12.34 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.741e-05/0.3672, allocations: 35.98 kB / 460.7 MB, free: 12.3 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005741/0.3677, allocations: 459.1 kB / 461.1 MB, free: 11.86 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.433e-06/0.3677, allocations: 0 / 461.1 MB, free: 11.86 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009031/0.3687, allocations: 263.9 kB / 461.4 MB, free: 11.61 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.0002014/0.3689, allocations: 133.9 kB / 461.5 MB, free: 11.46 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002032/0.3709, allocations: 1.278 MB / 462.8 MB, free: 10.14 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.3709, allocations: 0 / 462.8 MB, free: 10.14 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001244/0.3722, allocations: 0.9744 MB / 463.7 MB, free: 9.113 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00102/0.3732, allocations: 214.3 kB / 464 MB, free: 8.91 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003599/0.3768, allocations: 2.15 MB / 466.1 MB, free: 6.723 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006042/0.3774, allocations: 1.036 MB / 467.1 MB, free: 5.66 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004795/0.3779, allocations: 128 kB / 467.3 MB, free: 5.531 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002187/0.3781, allocations: 75.42 kB / 467.3 MB, free: 5.457 MB / 382.1 MB Notification: Performance of SimCode: time 2.7e-07/0.3782, allocations: 4 kB / 467.3 MB, free: 5.453 MB / 382.1 MB Notification: Performance of Templates: time 0.02169/0.3999, allocations: 12.66 MB / 480 MB, free: 8.891 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