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.001508/0.001508, allocations: 80.8 kB / 21.49 MB, free: 2.992 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.002423/0.002423, allocations: 169.1 kB / 24.91 MB, free: 9.199 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 0.9341/0.9341, allocations: 177.1 MB / 205.3 MB, free: 5.492 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 1.253e-06/1.253e-06, allocations: 0 / 273.4 MB, free: 1.332 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.522e-05/1.647e-05, allocations: 2.312 kB / 273.4 MB, free: 1.328 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake): time 0.002368/0.002385, allocations: 2.039 MB / 275.5 MB, free: 15.27 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009193/0.003304, allocations: 0.6933 MB / 276.2 MB, free: 14.58 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.513e-05/0.003389, allocations: 7.938 kB / 276.2 MB, free: 14.57 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001184/0.003508, allocations: 11.86 kB / 276.2 MB, free: 14.56 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 7.791e-05/0.003586, allocations: 43.58 kB / 276.2 MB, free: 14.52 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002441/0.00383, allocations: 59.73 kB / 276.3 MB, free: 14.46 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001725/0.004002, allocations: 159.2 kB / 276.4 MB, free: 14.3 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.977e-05/0.004102, allocations: 21.97 kB / 276.5 MB, free: 14.28 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.836e-05/0.0042, allocations: 83.78 kB / 276.5 MB, free: 14.2 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.044e-05/0.004281, allocations: 43.89 kB / 276.6 MB, free: 14.16 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.049e-05/0.004301, allocations: 12 kB / 276.6 MB, free: 14.14 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.807e-05/0.004369, allocations: 27.98 kB / 276.6 MB, free: 14.12 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005017/0.004871, allocations: 15.92 kB / 276.6 MB, free: 14.1 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.938e-05/0.00491, allocations: 51.89 kB / 276.7 MB, free: 14.05 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000168/0.005078, allocations: 115.5 kB / 276.8 MB, free: 13.94 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.005082, allocations: 4 kB / 276.8 MB, free: 13.93 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.72e-07/0.005083, allocations: 0 / 276.8 MB, free: 13.93 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.308e-06/0.005087, allocations: 4 kB / 276.8 MB, free: 13.93 MB / 266.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.0004157/0.005503, allocations: 336.3 kB / 277.1 MB, free: 13.58 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.496e-05/0.005538, allocations: 8.031 kB / 277.1 MB, free: 13.57 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001551/0.005693, allocations: 36.91 kB / 277.2 MB, free: 13.54 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001507/0.005843, allocations: 145.5 kB / 277.3 MB, free: 13.37 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.087e-05/0.005854, allocations: 4.375 kB / 277.3 MB, free: 13.36 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.621e-05/0.00588, allocations: 20.33 kB / 277.3 MB, free: 13.34 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001378/0.006018, allocations: 99.55 kB / 277.4 MB, free: 13.24 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/0.006029, allocations: 192 / 277.4 MB, free: 13.24 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.818e-06/0.006039, allocations: 3.938 kB / 277.4 MB, free: 13.23 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.602e-06/0.006045, allocations: 4 kB / 277.5 MB, free: 13.23 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.447e-05/0.00611, allocations: 33.89 kB / 277.5 MB, free: 13.2 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004164/0.006526, allocations: 319.1 kB / 277.8 MB, free: 12.86 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001542/0.00668, allocations: 74.48 kB / 277.9 MB, free: 12.78 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.524e-05/0.006706, allocations: 17.02 kB / 277.9 MB, free: 12.76 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.798e-06/0.006715, allocations: 4 kB / 277.9 MB, free: 12.76 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.937e-05/0.006735, allocations: 34.56 kB / 277.9 MB, free: 12.71 MB / 266.7 MB Notification: Performance of pre-optimization done (n=12): time 2.024e-06/0.006737, allocations: 3.984 kB / 277.9 MB, free: 12.71 MB / 266.7 MB Notification: Performance of matching and sorting (n=13): time 0.0004087/0.007146, allocations: 269.1 kB / 278.2 MB, free: 12.41 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.464e-05/0.00717, allocations: 51.41 kB / 278.2 MB, free: 12.35 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.692e-05/0.007237, allocations: 137.6 kB / 278.4 MB, free: 12.21 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.207e-05/0.007249, allocations: 37.7 kB / 278.4 MB, free: 12.16 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.781e-05/0.007287, allocations: 100.3 kB / 278.5 MB, free: 12.06 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.715e-05/0.007324, allocations: 55.52 kB / 278.6 MB, free: 12 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.841e-05/0.007373, allocations: 37.62 kB / 278.6 MB, free: 11.96 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.313e-05/0.007466, allocations: 330.7 kB / 278.9 MB, free: 11.63 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.191e-05/0.007488, allocations: 15.91 kB / 278.9 MB, free: 11.61 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.698e-05/0.007525, allocations: 40.98 kB / 279 MB, free: 11.56 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.045e-05/0.007595, allocations: 75.25 kB / 279.1 MB, free: 11.48 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.275e-06/0.007597, allocations: 4 kB / 279.1 MB, free: 11.47 MB / 266.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 9.768e-05/0.007695, allocations: 97.47 kB / 279.2 MB, free: 11.38 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.07e-05/0.007706, allocations: 4 kB / 279.2 MB, free: 11.37 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.00771, allocations: 0 / 279.2 MB, free: 11.37 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.332e-05/0.007723, allocations: 4 kB / 279.2 MB, free: 11.37 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.866e-05/0.007822, allocations: 35.92 kB / 279.2 MB, free: 11.33 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.206e-06/0.007825, allocations: 0 / 279.2 MB, free: 11.33 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.745e-05/0.007863, allocations: 11.92 kB / 279.2 MB, free: 11.32 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.993e-06/0.00787, allocations: 8 kB / 279.2 MB, free: 11.31 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 5.76e-05/0.007927, allocations: 113.8 kB / 279.3 MB, free: 11.19 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.812e-05/0.007945, allocations: 15.98 kB / 279.3 MB, free: 11.18 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.551e-05/0.007971, allocations: 20.78 kB / 279.4 MB, free: 11.16 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.363e-06/0.007972, allocations: 0 / 279.4 MB, free: 11.16 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.455e-06/0.007975, allocations: 4 kB / 279.4 MB, free: 11.15 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.007977, allocations: 0 / 279.4 MB, free: 11.15 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002691/0.008246, allocations: 281.1 kB / 279.6 MB, free: 10.85 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.173e-06/0.008248, allocations: 0 / 279.6 MB, free: 10.85 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.744e-05/0.008335, allocations: 27.98 kB / 279.7 MB, free: 10.82 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.427e-06/0.008338, allocations: 8.062 kB / 279.7 MB, free: 10.81 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.386e-06/0.008347, allocations: 4 kB / 279.7 MB, free: 10.81 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.816e-06/0.00835, allocations: 11.86 kB / 279.7 MB, free: 10.8 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.008351, allocations: 7.938 kB / 279.7 MB, free: 10.79 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001487/0.0085, allocations: 205.3 kB / 279.9 MB, free: 10.57 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.618e-06/0.00851, allocations: 7.953 kB / 279.9 MB, free: 10.56 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.293e-05/0.008523, allocations: 4 kB / 279.9 MB, free: 10.55 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.735e-05/0.00857, allocations: 8 kB / 279.9 MB, free: 10.55 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.995e-05/0.0086, allocations: 15.92 kB / 279.9 MB, free: 10.53 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.617e-06/0.008604, allocations: 0 / 279.9 MB, free: 10.53 MB / 266.7 MB Notification: Performance of sorting global known variables: time 2.153e-05/0.008625, allocations: 40.77 kB / 280 MB, free: 10.49 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008625, allocations: 3.938 kB / 280 MB, free: 10.48 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001448/0.00877, allocations: 28 kB / 280 MB, free: 10.46 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 7.663e-05/0.008847, allocations: 87.66 kB / 280.1 MB, free: 10.37 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 9.418e-05/0.008941, allocations: 56.72 kB / 280.1 MB, free: 10.31 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.008943, allocations: 0 / 280.1 MB, free: 10.31 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 3.573e-05/0.008979, allocations: 40.77 kB / 280.2 MB, free: 10.27 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001694/0.009149, allocations: 24.42 kB / 280.2 MB, free: 10.24 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005776/0.009726, allocations: 382.2 kB / 280.6 MB, free: 9.836 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.819e-05/0.009764, allocations: 71.33 kB / 280.7 MB, free: 9.746 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.311e-05/0.009807, allocations: 8.656 kB / 280.7 MB, free: 9.738 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.131e-05/0.009879, allocations: 67.36 kB / 280.7 MB, free: 9.672 MB / 266.7 MB Notification: Performance of SimCode: time 7.32e-07/0.009879, allocations: 4 kB / 280.7 MB, free: 9.668 MB / 266.7 MB Notification: Performance of Templates: time 0.002945/0.01282, allocations: 1.499 MB / 282.2 MB, free: 8.203 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.7933583948761225]