Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.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.001109/0.001109, allocations: 81.97 kB / 22.21 MB, free: 2.293 MB / 18.57 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.001154/0.001154, allocations: 166.3 kB / 25.61 MB, free: 8.457 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.021/1.021, allocations: 177.1 MB / 206 MB, free: 4.469 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.Mechanics.Translational.Examples.EddyCurrentBrake,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|eddyCurrentForce.lossPower|mass.s|heatCapacitor.T",fileNamePrefix="Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake") translateModel(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|eddyCurrentForce.lossPower|mass.s|heatCapacitor.T",fileNamePrefix="Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.354e-06/2.354e-06, allocations: 0 / 274.2 MB, free: 4.441 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.046e-05/3.281e-05, allocations: 2.312 kB / 274.2 MB, free: 4.438 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake): time 0.003098/0.003131, allocations: 2.035 MB / 276.2 MB, free: 2.402 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001057/0.004188, allocations: 0.6737 MB / 276.9 MB, free: 1.73 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001086/0.004297, allocations: 4.625 kB / 276.9 MB, free: 1.727 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001406/0.004437, allocations: 19.78 kB / 276.9 MB, free: 1.707 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 8.81e-05/0.004525, allocations: 48.8 kB / 276.9 MB, free: 1.66 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002816/0.004807, allocations: 58.25 kB / 277 MB, free: 1.605 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001911/0.004998, allocations: 151.2 kB / 277.2 MB, free: 1.457 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001433/0.005141, allocations: 21.28 kB / 277.2 MB, free: 1.434 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001382/0.00528, allocations: 83.75 kB / 277.3 MB, free: 1.352 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.247e-05/0.005372, allocations: 43.88 kB / 277.3 MB, free: 1.309 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.74e-05/0.005399, allocations: 12 kB / 277.3 MB, free: 1.297 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.621e-05/0.005486, allocations: 31.98 kB / 277.3 MB, free: 1.266 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 3.38e-05/0.005519, allocations: 27.91 kB / 277.4 MB, free: 1.238 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 4.202e-05/0.005561, allocations: 35.92 kB / 277.4 MB, free: 1.203 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002257/0.005787, allocations: 119.6 kB / 277.5 MB, free: 1.086 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.005791, allocations: 0 / 277.5 MB, free: 1.086 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.005792, allocations: 0 / 277.5 MB, free: 1.086 MB / 250.7 MB Notification: Performance of Transformations before backend: time 6.151e-06/0.005799, allocations: 0 / 277.5 MB, free: 1.086 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0005152/0.006314, allocations: 463.9 kB / 278 MB, free: 0.5977 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.775e-05/0.006351, allocations: 16.03 kB / 278 MB, free: 0.582 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000192/0.006543, allocations: 36.83 kB / 278 MB, free: 0.5469 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001742/0.006718, allocations: 156.3 kB / 278.2 MB, free: 376 kB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.606e-05/0.006734, allocations: 8.359 kB / 278.2 MB, free: 368 kB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.67e-05/0.00676, allocations: 12.38 kB / 278.2 MB, free: 356 kB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001558/0.006916, allocations: 98.89 kB / 278.3 MB, free: 248 kB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.419e-05/0.00693, allocations: 8.125 kB / 278.3 MB, free: 240 kB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.085e-05/0.006941, allocations: 3.938 kB / 278.3 MB, free: 236 kB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.153e-06/0.006948, allocations: 8 kB / 278.3 MB, free: 228 kB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.635e-05/0.007025, allocations: 38.75 kB / 278.3 MB, free: 192 kB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000532/0.007557, allocations: 423.1 kB / 278.8 MB, free: 15.74 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002186/0.007775, allocations: 83.03 kB / 278.8 MB, free: 15.64 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.912e-05/0.007814, allocations: 27.94 kB / 278.9 MB, free: 15.61 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.338e-05/0.007828, allocations: 3.938 kB / 278.9 MB, free: 15.61 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.124e-05/0.007859, allocations: 41.33 kB / 278.9 MB, free: 15.56 MB / 266.7 MB Notification: Performance of pre-optimization done (n=12): time 1.513e-06/0.007861, allocations: 4 kB / 278.9 MB, free: 15.55 MB / 266.7 MB Notification: Performance of matching and sorting (n=13): time 0.000493/0.008354, allocations: 282.2 kB / 279.2 MB, free: 15.24 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.034e-05/0.008394, allocations: 51.41 kB / 279.2 MB, free: 15.18 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001101/0.008504, allocations: 193.8 kB / 279.4 MB, free: 14.97 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.296e-05/0.008517, allocations: 25.7 kB / 279.5 MB, free: 14.94 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.006e-05/0.008597, allocations: 163 kB / 279.6 MB, free: 14.77 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.435e-05/0.008631, allocations: 51.52 kB / 279.7 MB, free: 14.72 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.629e-05/0.008688, allocations: 39.36 kB / 279.7 MB, free: 14.68 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001312/0.008819, allocations: 0.4884 MB / 280.2 MB, free: 14.18 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.228e-05/0.008851, allocations: 19.92 kB / 280.2 MB, free: 14.16 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.389e-05/0.008915, allocations: 60.75 kB / 280.3 MB, free: 14.08 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.569e-05/0.009001, allocations: 78.66 kB / 280.4 MB, free: 13.99 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.033e-06/0.009003, allocations: 3.984 kB / 280.4 MB, free: 13.98 MB / 266.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001612/0.009164, allocations: 116.8 kB / 280.5 MB, free: 13.87 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.906e-05/0.009183, allocations: 8 kB / 280.5 MB, free: 13.86 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.876e-06/0.009192, allocations: 3.984 kB / 280.5 MB, free: 13.86 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.465e-05/0.009207, allocations: 0 / 280.5 MB, free: 13.86 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001243/0.009331, allocations: 35.98 kB / 280.5 MB, free: 13.82 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.91e-06/0.009336, allocations: 4.062 kB / 280.5 MB, free: 13.82 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.371e-05/0.009379, allocations: 7.938 kB / 280.5 MB, free: 13.81 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.879e-06/0.009389, allocations: 8 kB / 280.5 MB, free: 13.8 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001097/0.009499, allocations: 164.5 kB / 280.7 MB, free: 13.63 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.278e-05/0.009532, allocations: 11.95 kB / 280.7 MB, free: 13.62 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.08e-05/0.009573, allocations: 20.81 kB / 280.7 MB, free: 13.6 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.681e-06/0.009578, allocations: 7.984 kB / 280.7 MB, free: 13.59 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.009582, allocations: 0 / 280.7 MB, free: 13.59 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.701e-06/0.009588, allocations: 3.938 kB / 280.7 MB, free: 13.59 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003934/0.009981, allocations: 389.3 kB / 281.1 MB, free: 13.16 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.009983, allocations: 0 / 281.1 MB, free: 13.16 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001067/0.01009, allocations: 35.92 kB / 281.2 MB, free: 13.13 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.915e-06/0.01009, allocations: 0 / 281.2 MB, free: 13.13 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.254e-05/0.0101, allocations: 8 kB / 281.2 MB, free: 13.12 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.01011, allocations: 0 / 281.2 MB, free: 13.12 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.01011, allocations: 3.938 kB / 281.2 MB, free: 13.12 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002376/0.01035, allocations: 287.2 kB / 281.4 MB, free: 12.81 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.383e-05/0.01036, allocations: 11.91 kB / 281.5 MB, free: 12.8 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.433e-05/0.01038, allocations: 4.062 kB / 281.5 MB, free: 12.79 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.551e-05/0.01043, allocations: 11.98 kB / 281.5 MB, free: 12.78 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.615e-05/0.01047, allocations: 11.92 kB / 281.5 MB, free: 12.77 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.973e-06/0.01047, allocations: 4 kB / 281.5 MB, free: 12.77 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.441e-05/0.01053, allocations: 142.4 kB / 281.6 MB, free: 12.63 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01053, allocations: 0 / 281.6 MB, free: 12.63 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001977/0.01073, allocations: 28 kB / 281.7 MB, free: 12.6 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (mass.s,mass.v,heatCapacitor.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001027/0.01083, allocations: 95.25 kB / 281.7 MB, free: 12.5 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001395/0.01097, allocations: 79.5 kB / 281.8 MB, free: 12.42 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.01097, allocations: 0 / 281.8 MB, free: 12.42 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.478e-05/0.01102, allocations: 39.55 kB / 281.9 MB, free: 12.38 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002633/0.01128, allocations: 19.98 kB / 281.9 MB, free: 12.36 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000811/0.01209, allocations: 410.3 kB / 282.3 MB, free: 11.92 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.464e-05/0.01214, allocations: 71.2 kB / 282.4 MB, free: 11.83 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.76e-05/0.0122, allocations: 16.64 kB / 282.4 MB, free: 11.81 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.178e-05/0.01229, allocations: 90.19 kB / 282.5 MB, free: 11.72 MB / 266.7 MB Notification: Performance of SimCode: time 1.292e-06/0.01229, allocations: 3.938 kB / 282.5 MB, free: 11.72 MB / 266.7 MB Notification: Performance of Templates: time 0.003967/0.01626, allocations: 1.589 MB / 284.1 MB, free: 10.17 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.sim & ./Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/EddyCurrentBrake/EddyCurrentBrake.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.7358359592035413]