Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007466/0.0007466, allocations: 76.48 kB / 9.931 MB, free: 0.7617 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009398/0.001686, allocations: 449.7 kB / 10.37 MB, free: 332 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0006381/0.0006381, allocations: 148.9 kB / 11.24 MB, free: 2.934 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008215/0.00146, allocations: 459.6 kB / 11.69 MB, free: 2.48 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9851/0.9851, allocations: 173.4 MB / 185.8 MB, free: 8.98 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08236/1.067, allocations: 52.49 MB / 238.3 MB, free: 4.418 MB / 234.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|mass.s|heatCapacitor.T|eddyCurrentForce.lossPower",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake") translateModel(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|mass.s|heatCapacitor.T|eddyCurrentForce.lossPower",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 239.5 MB, free: 3.18 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.905e-05/2.059e-05, allocations: 2.875 kB / 239.5 MB, free: 3.176 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake): time 0.003049/0.00307, allocations: 1.859 MB / 241.4 MB, free: 1.309 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009977/0.004068, allocations: 0.6465 MB / 242 MB, free: 0.6562 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.888e-05/0.004147, allocations: 4 kB / 242.1 MB, free: 0.6523 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 7.261e-05/0.004219, allocations: 15.8 kB / 242.1 MB, free: 0.6367 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 8.794e-05/0.004307, allocations: 39.64 kB / 242.1 MB, free: 0.5977 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001497/0.004457, allocations: 47.81 kB / 242.2 MB, free: 0.5508 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001764/0.004633, allocations: 127.3 kB / 242.3 MB, free: 436 kB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001195/0.004753, allocations: 30.17 kB / 242.3 MB, free: 400 kB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001274/0.00488, allocations: 67.86 kB / 242.4 MB, free: 332 kB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001104/0.004991, allocations: 43.89 kB / 242.4 MB, free: 288 kB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 2.217e-05/0.005013, allocations: 8 kB / 242.4 MB, free: 280 kB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.991e-05/0.005113, allocations: 23.92 kB / 242.4 MB, free: 256 kB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 2.015e-05/0.005133, allocations: 15.94 kB / 242.5 MB, free: 240 kB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 4.508e-05/0.005178, allocations: 31.94 kB / 242.5 MB, free: 208 kB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002094/0.005387, allocations: 87.75 kB / 242.6 MB, free: 120 kB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.648e-05/0.005404, allocations: 0 / 242.6 MB, free: 120 kB / 234.7 MB Notification: Performance of FrontEnd: time 8.72e-07/0.005405, allocations: 4 kB / 242.6 MB, free: 116 kB / 234.7 MB Notification: Performance of Transformations before backend: time 1.997e-05/0.005425, allocations: 0 / 242.6 MB, free: 116 kB / 234.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0005783/0.006003, allocations: 344.2 kB / 242.9 MB, free: 15.75 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.984e-05/0.006043, allocations: 15.97 kB / 242.9 MB, free: 15.74 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002598/0.006302, allocations: 110 kB / 243 MB, free: 15.61 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001949/0.006497, allocations: 125.7 kB / 243.2 MB, free: 15.46 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.831e-05/0.006516, allocations: 12.56 kB / 243.2 MB, free: 15.45 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.097e-05/0.006547, allocations: 12.33 kB / 243.2 MB, free: 15.44 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001503/0.006697, allocations: 81.28 kB / 243.3 MB, free: 15.36 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.619e-05/0.006713, allocations: 3.984 kB / 243.3 MB, free: 15.36 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.367e-05/0.006727, allocations: 0 / 243.3 MB, free: 15.36 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.095e-06/0.006735, allocations: 4 kB / 243.3 MB, free: 15.35 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.588e-05/0.006831, allocations: 27.98 kB / 243.3 MB, free: 15.32 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00055/0.007381, allocations: 291.3 kB / 243.6 MB, free: 15.02 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002184/0.007599, allocations: 74.42 kB / 243.7 MB, free: 14.94 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.751e-05/0.007637, allocations: 24.78 kB / 243.7 MB, free: 14.91 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.093e-05/0.007648, allocations: 4 kB / 243.7 MB, free: 14.91 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.632e-05/0.007674, allocations: 34.5 kB / 243.7 MB, free: 14.86 MB / 250.7 MB Notification: Performance of pre-optimization done (n=11): time 1.693e-06/0.007676, allocations: 0 / 243.7 MB, free: 14.86 MB / 250.7 MB Notification: Performance of matching and sorting (n=12): time 0.0009712/0.008647, allocations: 332.8 kB / 244 MB, free: 14.51 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.649e-05/0.008683, allocations: 55.41 kB / 244.1 MB, free: 14.44 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001021/0.008785, allocations: 122.7 kB / 244.2 MB, free: 14.31 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.581e-05/0.008801, allocations: 29.7 kB / 244.2 MB, free: 14.27 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.645e-05/0.008858, allocations: 104 kB / 244.4 MB, free: 14.17 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.213e-05/0.0089, allocations: 47.58 kB / 244.4 MB, free: 14.12 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.352e-05/0.008953, allocations: 37.7 kB / 244.4 MB, free: 14.08 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001131/0.009066, allocations: 318.8 kB / 244.7 MB, free: 13.76 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.958e-05/0.009096, allocations: 15.98 kB / 244.8 MB, free: 13.74 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.02e-05/0.009146, allocations: 39.36 kB / 244.8 MB, free: 13.69 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.336e-05/0.00924, allocations: 75.27 kB / 244.9 MB, free: 13.61 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.009241, allocations: 0 / 244.9 MB, free: 13.61 MB / 250.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001409/0.009382, allocations: 86.41 kB / 245 MB, free: 13.52 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.692e-05/0.009399, allocations: 4 kB / 245 MB, free: 13.51 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.009404, allocations: 8.062 kB / 245 MB, free: 13.5 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.116e-05/0.009415, allocations: 0 / 245 MB, free: 13.5 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000184/0.009599, allocations: 42.48 kB / 245 MB, free: 13.46 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.509e-06/0.009604, allocations: 0 / 245 MB, free: 13.46 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.204e-05/0.009656, allocations: 11.92 kB / 245 MB, free: 13.45 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.188e-06/0.009665, allocations: 8.047 kB / 245 MB, free: 13.45 MB / 250.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 (17): * Single equations (assignments): 17 * 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 7.672e-05/0.009742, allocations: 113.8 kB / 245.1 MB, free: 13.32 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.318e-05/0.009775, allocations: 11.98 kB / 245.2 MB, free: 13.31 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.864e-05/0.009814, allocations: 16.42 kB / 245.2 MB, free: 13.3 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.038e-06/0.009818, allocations: 4 kB / 245.2 MB, free: 13.29 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.401e-06/0.009823, allocations: 8 kB / 245.2 MB, free: 13.29 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.498e-06/0.009828, allocations: 0 / 245.2 MB, free: 13.29 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003964/0.01022, allocations: 280.2 kB / 245.5 MB, free: 12.98 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.584e-06/0.01023, allocations: 0 / 245.5 MB, free: 12.98 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001611/0.01039, allocations: 39.97 kB / 245.5 MB, free: 12.94 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.555e-05/0.0104, allocations: 11.91 kB / 245.5 MB, free: 12.93 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.01041, allocations: 0 / 245.5 MB, free: 12.93 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.749e-06/0.01042, allocations: 0 / 245.5 MB, free: 12.93 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/0.01042, allocations: 8.062 kB / 245.5 MB, free: 12.92 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.397e-06/0.01042, allocations: 3.938 kB / 245.5 MB, free: 12.92 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002123/0.01064, allocations: 197.2 kB / 245.7 MB, free: 12.7 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.14e-05/0.01066, allocations: 4 kB / 245.7 MB, free: 12.7 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.524e-05/0.01073, allocations: 4 kB / 245.7 MB, free: 12.7 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.261e-05/0.01075, allocations: 15.92 kB / 245.7 MB, free: 12.68 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.771e-06/0.01076, allocations: 0 / 245.7 MB, free: 12.68 MB / 250.7 MB Notification: Performance of sorting global known variables: time 2.83e-05/0.01079, allocations: 20.83 kB / 245.8 MB, free: 12.66 MB / 250.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01079, allocations: 0 / 245.8 MB, free: 12.66 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.000248/0.01104, allocations: 28 kB / 245.8 MB, free: 12.63 MB / 250.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 (12): * Single equations (assignments): 12 * 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.0001127/0.01115, allocations: 84.36 kB / 245.9 MB, free: 12.54 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001269/0.01128, allocations: 60.88 kB / 245.9 MB, free: 12.48 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.295e-05/0.01129, allocations: 7.984 kB / 245.9 MB, free: 12.47 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 3.983e-05/0.01133, allocations: 28.78 kB / 246 MB, free: 12.44 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002683/0.0116, allocations: 35.97 kB / 246 MB, free: 12.4 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002605/0.0142, allocations: 301.8 kB / 246.3 MB, free: 12.08 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.294e-05/0.01426, allocations: 71.33 kB / 246.4 MB, free: 11.99 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 6.621e-05/0.01432, allocations: 8.984 kB / 246.4 MB, free: 11.97 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.351e-05/0.01441, allocations: 71.34 kB / 246.4 MB, free: 11.9 MB / 250.7 MB Notification: Performance of SimCode: time 9.72e-07/0.01442, allocations: 4 kB / 246.4 MB, free: 11.9 MB / 250.7 MB Notification: Performance of Templates: time 0.004112/0.01853, allocations: 1.378 MB / 247.8 MB, free: 10.55 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.sim & ./Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.494278134778142]