Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001537/0.001537, allocations: 108.2 kB / 21.18 MB, free: 0.7188 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001672/0.001672, allocations: 216.7 kB / 24.49 MB, free: 4.09 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.498/1.498, allocations: 207.6 MB / 235.3 MB, free: 10.01 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5030,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_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke") translateModel(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5030,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_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00192/0.00192, allocations: 55.92 kB / 347.7 MB, free: 9.617 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2775/0.2795, allocations: 49.15 MB / 396.8 MB, free: 9.492 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke): time 0.006794/0.2863, allocations: 6.287 MB / 403.1 MB, free: 5.016 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003801/0.2901, allocations: 1.886 MB / 405 MB, free: 3.617 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000773/0.2908, allocations: 23.59 kB / 405 MB, free: 3.609 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006952/0.2915, allocations: 218 kB / 405.3 MB, free: 3.484 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009745/0.2925, allocations: 405.5 kB / 405.6 MB, free: 3.207 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008175/0.2933, allocations: 382 kB / 406 MB, free: 2.949 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001888/0.2952, allocations: 1.491 MB / 407.5 MB, free: 2.145 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005812/0.2958, allocations: 354.9 kB / 407.9 MB, free: 1.922 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008732/0.2967, allocations: 0.5519 MB / 408.4 MB, free: 1.637 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00072/0.2974, allocations: 0.601 MB / 409 MB, free: 1.312 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001946/0.2976, allocations: 158.2 kB / 409.2 MB, free: 1.312 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002401/0.2978, allocations: 159.5 kB / 409.3 MB, free: 1.312 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002131/0.298, allocations: 302.9 kB / 409.6 MB, free: 1.09 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005313/0.2986, allocations: 0.6422 MB / 410.3 MB, free: 0.668 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0023/0.3009, allocations: 1.862 MB / 412.1 MB, free: 15.55 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.3009, allocations: 1.219 kB / 412.1 MB, free: 15.55 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.215e-06/0.3009, allocations: 0 / 412.1 MB, free: 15.55 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.032e-05/0.3009, allocations: 0 / 412.1 MB, free: 15.55 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: 245 * Number of variables: 245 Notification: Performance of Generate backend data structure: time 0.003585/0.3045, allocations: 1.398 MB / 413.5 MB, free: 14.54 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.267e-05/0.3045, allocations: 13.48 kB / 413.5 MB, free: 14.54 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002779/0.3048, allocations: 123.6 kB / 413.7 MB, free: 14.47 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001386/0.3062, allocations: 0.6194 MB / 414.3 MB, free: 13.96 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.259e-05/0.3063, allocations: 73.62 kB / 414.3 MB, free: 13.93 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001768/0.3065, allocations: 107.3 kB / 414.5 MB, free: 13.89 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002215/0.3087, allocations: 1.003 MB / 415.5 MB, free: 13.29 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.995e-05/0.3087, allocations: 5.812 kB / 415.5 MB, free: 13.29 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.861e-05/0.3088, allocations: 39.09 kB / 415.5 MB, free: 13.26 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.126e-05/0.3088, allocations: 24.12 kB / 415.5 MB, free: 13.26 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002065/0.3109, allocations: 0.8655 MB / 416.4 MB, free: 12.84 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005805/0.3167, allocations: 3.247 MB / 419.6 MB, free: 10.29 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001587/0.3183, allocations: 0.7589 MB / 420.4 MB, free: 9.906 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009775/0.3193, allocations: 445.2 kB / 420.8 MB, free: 9.68 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.81e-05/0.3193, allocations: 10.59 kB / 420.8 MB, free: 9.68 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.723e-05/0.3194, allocations: 39.66 kB / 420.9 MB, free: 9.637 MB / 334.1 MB Notification: Performance of pre-optimization done (n=91): time 2.976e-06/0.3194, allocations: 0 / 420.9 MB, free: 9.637 MB / 334.1 MB Notification: Performance of matching and sorting (n=115): time 0.01019/0.3296, allocations: 3.942 MB / 424.8 MB, free: 7.074 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.42e-05/0.3296, allocations: 93.7 kB / 424.9 MB, free: 6.961 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009664/0.3306, allocations: 0.6046 MB / 425.5 MB, free: 6.348 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 7.705e-05/0.3307, allocations: 49.64 kB / 425.6 MB, free: 6.293 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003851/0.3311, allocations: 437.1 kB / 426 MB, free: 5.859 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003791/0.3314, allocations: 412.4 kB / 426.4 MB, free: 5.453 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003283/0.3318, allocations: 182.9 kB / 426.6 MB, free: 5.27 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002321/0.332, allocations: 394.7 kB / 427 MB, free: 4.875 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000904/0.3329, allocations: 378.4 kB / 427.3 MB, free: 4.504 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001013/0.3339, allocations: 0.512 MB / 427.8 MB, free: 3.961 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001844/0.3358, allocations: 0.8887 MB / 428.7 MB, free: 3.035 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.596e-06/0.3358, allocations: 0 / 428.7 MB, free: 3.035 MB / 334.1 MB Notification: Performance of matching and sorting (n=140) (initialization): time 0.002618/0.3384, allocations: 1.189 MB / 429.9 MB, free: 1.832 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.081e-05/0.3384, allocations: 12 kB / 429.9 MB, free: 1.82 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.307e-06/0.3384, allocations: 0 / 429.9 MB, free: 1.82 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004425/0.3389, allocations: 130.5 kB / 430.1 MB, free: 1.684 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001094/0.3399, allocations: 251.7 kB / 430.3 MB, free: 1.438 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004518/0.3445, allocations: 4.66 MB / 435 MB, free: 12.44 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008882/0.3454, allocations: 48 kB / 435 MB, free: 12.39 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.993e-05/0.3454, allocations: 43.98 kB / 435.1 MB, free: 12.35 MB / 350.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 (128): * Single equations (assignments): 125 * 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.0005523/0.346, allocations: 289.6 kB / 435.3 MB, free: 12.06 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001956/0.3462, allocations: 91.44 kB / 435.4 MB, free: 11.97 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001711/0.3479, allocations: 0.7644 MB / 436.2 MB, free: 11.18 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.154e-05/0.3479, allocations: 12 kB / 436.2 MB, free: 11.16 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.027e-05/0.3479, allocations: 7.938 kB / 436.2 MB, free: 11.16 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.338e-05/0.3479, allocations: 4.109 kB / 436.2 MB, free: 11.15 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004639/0.3526, allocations: 2.618 MB / 438.8 MB, free: 8.441 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.938e-06/0.3526, allocations: 7.984 kB / 438.8 MB, free: 8.434 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009511/0.3535, allocations: 207.8 kB / 439 MB, free: 8.23 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004651/0.354, allocations: 147.3 kB / 439.2 MB, free: 8.074 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.13e-05/0.3541, allocations: 27.98 kB / 439.2 MB, free: 8.047 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004927/0.359, allocations: 5.58 MB / 444.8 MB, free: 2.012 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.791e-06/0.359, allocations: 7.969 kB / 444.8 MB, free: 2.004 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003504/0.3625, allocations: 1.743 MB / 446.5 MB, free: 228 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002893/0.3628, allocations: 87.48 kB / 446.6 MB, free: 140 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001309/0.3629, allocations: 27.98 kB / 446.7 MB, free: 112 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006116/0.3635, allocations: 48.09 kB / 446.7 MB, free: 64 kB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001855/0.3637, allocations: 88.52 kB / 446.8 MB, free: 15.97 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.442e-05/0.3638, allocations: 31.98 kB / 446.8 MB, free: 15.94 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000634/0.3644, allocations: 443.1 kB / 447.3 MB, free: 15.51 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3644, allocations: 0 / 447.3 MB, free: 15.51 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0009744/0.3654, allocations: 252 kB / 447.5 MB, free: 15.26 MB / 366.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 (104): * Single equations (assignments): 100 * 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.0001984/0.3656, allocations: 131.1 kB / 447.6 MB, free: 15.12 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002596/0.3682, allocations: 1.295 MB / 448.9 MB, free: 13.8 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/0.3682, allocations: 0 / 448.9 MB, free: 13.8 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001571/0.3698, allocations: 0.9791 MB / 449.9 MB, free: 12.77 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00106/0.3708, allocations: 178.8 kB / 450.1 MB, free: 12.59 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004066/0.3749, allocations: 2.171 MB / 452.2 MB, free: 10.39 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007488/0.3756, allocations: 1.024 MB / 453.3 MB, free: 9.332 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0005463/0.3762, allocations: 123.6 kB / 453.4 MB, free: 9.207 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002302/0.3764, allocations: 75.42 kB / 453.5 MB, free: 9.133 MB / 366.1 MB Notification: Performance of SimCode: time 9.91e-07/0.3764, allocations: 0 / 453.5 MB, free: 9.133 MB / 366.1 MB Notification: Performance of Templates: time 0.02502/0.4014, allocations: 12.85 MB / 466.3 MB, free: 12.25 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.sim & ./Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FluxTubes/Examples/MovingCoilActuator/ArmatureStroke/ArmatureStroke.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.354719102848321]