Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.PsychrometricData.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.001816/0.001816, allocations: 95.86 kB / 20.96 MB, free: 3.457 MB / 18.57 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.001799/0.001799, allocations: 145.1 kB / 24.26 MB, free: 164 kB / 18.57 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 1.511/1.511, allocations: 173.3 MB / 200.8 MB, free: 9.312 MB / 186.7 MB " [Timeout remaining time 178] 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.Media.Examples.PsychrometricData,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|hx_h.1.|hx_h.2.|hx_h.3.|hx_h.4.|hx_h.5.|hx_h.6.|hx_h.7.|hx_h.8.|hx_h.9.|hx_h.10.|hx_h.11.|hx_h.12.|hx_h.13.|hx_h.14.|hx_h.15.|hx_h.16.|x",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.PsychrometricData") translateModel(Modelica.Media.Examples.PsychrometricData,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|hx_h.1.|hx_h.2.|hx_h.3.|hx_h.4.|hx_h.5.|hx_h.6.|hx_h.7.|hx_h.8.|hx_h.9.|hx_h.10.|hx_h.11.|hx_h.12.|hx_h.13.|hx_h.14.|hx_h.15.|hx_h.16.|x",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.PsychrometricData") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.362e-06/1.362e-06, allocations: 0 / 267.3 MB, free: 6.746 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.193e-05/2.329e-05, allocations: 2.312 kB / 267.3 MB, free: 6.742 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.PsychrometricData): time 0.3006/0.3006, allocations: 144.5 MB / 411.8 MB, free: 9.09 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001391/0.302, allocations: 0.7108 MB / 412.5 MB, free: 8.395 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.818e-05/0.302, allocations: 3.938 kB / 412.5 MB, free: 8.391 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003991/0.3024, allocations: 71.52 kB / 412.6 MB, free: 8.32 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006675/0.3031, allocations: 306.3 kB / 412.9 MB, free: 8.031 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003123/0.3062, allocations: 1.148 MB / 414 MB, free: 6.879 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0067/0.3129, allocations: 5.679 MB / 419.7 MB, free: 1.18 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002497/0.3132, allocations: 100.2 kB / 419.8 MB, free: 1.055 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00483/0.318, allocations: 2.968 MB / 422.8 MB, free: 14.08 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003849/0.3219, allocations: 2.109 MB / 424.9 MB, free: 11.97 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001012/0.3229, allocations: 236 kB / 425.1 MB, free: 11.74 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00369/0.3266, allocations: 1.486 MB / 426.6 MB, free: 10.25 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001715/0.3283, allocations: 1.294 MB / 427.9 MB, free: 8.953 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002346/0.3306, allocations: 1.271 MB / 429.2 MB, free: 7.68 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00754/0.3382, allocations: 4.952 MB / 434.1 MB, free: 2.715 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.3382, allocations: 0 / 434.1 MB, free: 2.715 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.714e-06/0.3382, allocations: 0 / 434.1 MB, free: 2.715 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.779e-05/0.3382, allocations: 0 / 434.1 MB, free: 2.715 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 621 * Number of variables: 621 Notification: Performance of Generate backend data structure: time 0.1218/0.4601, allocations: 3.642 MB / 437.8 MB, free: 141.8 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.809e-05/0.4601, allocations: 13.23 kB / 437.8 MB, free: 141.8 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002212/0.4623, allocations: 0.6408 MB / 438.4 MB, free: 141.6 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003467/0.4658, allocations: 1.164 MB / 439.6 MB, free: 141.2 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001242/0.4659, allocations: 182.1 kB / 439.8 MB, free: 141.2 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005194/0.4664, allocations: 281.5 kB / 440 MB, free: 141.1 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00579/0.4722, allocations: 4.942 MB / 445 MB, free: 137.7 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.225e-05/0.4723, allocations: 0 / 445 MB, free: 137.7 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003367/0.4726, allocations: 115 kB / 445.1 MB, free: 137.6 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.101e-05/0.4726, allocations: 59.16 kB / 445.2 MB, free: 137.6 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006927/0.4796, allocations: 4.557 MB / 449.7 MB, free: 136.4 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01632/0.4959, allocations: 7.73 MB / 457.4 MB, free: 129.4 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004439/0.5003, allocations: 3.634 MB / 461.1 MB, free: 125.8 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002087/0.5024, allocations: 1.58 MB / 462.7 MB, free: 124.2 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003957/0.5028, allocations: 139 kB / 462.8 MB, free: 124 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.756e-05/0.5029, allocations: 96.89 kB / 462.9 MB, free: 123.9 MB / 378.7 MB Notification: Performance of pre-optimization done (n=390): time 6.513e-06/0.5029, allocations: 0 / 462.9 MB, free: 123.9 MB / 378.7 MB Notification: Performance of matching and sorting (n=390): time 0.006683/0.5096, allocations: 4.26 MB / 467.1 MB, free: 119.6 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.961e-05/0.5096, allocations: 90.47 kB / 467.2 MB, free: 119.5 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006088/0.5102, allocations: 0.7131 MB / 467.9 MB, free: 118.8 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002438/0.5104, allocations: 105.7 kB / 468 MB, free: 118.7 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002085/0.5107, allocations: 0.6179 MB / 468.7 MB, free: 118.1 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007124/0.5114, allocations: 1.425 MB / 470.1 MB, free: 116.7 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008231/0.5122, allocations: 0.676 MB / 470.8 MB, free: 116 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.724e-05/0.5123, allocations: 0.516 MB / 471.3 MB, free: 115.5 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00178/0.514, allocations: 1.107 MB / 472.4 MB, free: 114.4 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002106/0.5162, allocations: 1.859 MB / 474.2 MB, free: 112.3 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004242/0.5204, allocations: 3.328 MB / 477.6 MB, free: 108.7 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.069e-05/0.5204, allocations: 4 kB / 477.6 MB, free: 108.7 MB / 378.7 MB Notification: Performance of matching and sorting (n=450) (initialization): time 0.005258/0.5257, allocations: 3.509 MB / 481.1 MB, free: 105.2 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.408e-05/0.5257, allocations: 8 kB / 481.1 MB, free: 105.2 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.776e-05/0.5257, allocations: 13.22 kB / 481.1 MB, free: 105.2 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.831e-05/0.5257, allocations: 31.94 kB / 481.1 MB, free: 105.2 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003309/0.5291, allocations: 0.7893 MB / 481.9 MB, free: 104.4 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.682e-05/0.5291, allocations: 31.94 kB / 482 MB, free: 104.3 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00197/0.5311, allocations: 337.8 kB / 482.3 MB, free: 104 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002509/0.5313, allocations: 147.9 kB / 482.4 MB, free: 103.9 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 50 * Number of states: 0 () * Number of discrete variables: 11 (fog[11],fog[10],fog[9],fog[8],fog[7],fog[6],fog[5],fog[4],fog[3],fog[2],fog[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (450): * Single equations (assignments): 450 * 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.001003/0.5323, allocations: 0.6203 MB / 483.1 MB, free: 103.2 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006219/0.5329, allocations: 318.9 kB / 483.4 MB, free: 102.9 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006653/0.5396, allocations: 3.997 MB / 487.4 MB, free: 98.89 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.213e-05/0.5396, allocations: 47.94 kB / 487.4 MB, free: 98.85 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.175e-06/0.5396, allocations: 0 / 487.4 MB, free: 98.85 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.252e-05/0.5397, allocations: 24.59 kB / 487.4 MB, free: 98.82 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002939/0.5426, allocations: 1.924 MB / 489.4 MB, free: 96.93 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.486e-06/0.5426, allocations: 0 / 489.4 MB, free: 96.93 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003132/0.5457, allocations: 0.7333 MB / 490.1 MB, free: 96.19 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.691e-05/0.5458, allocations: 16 kB / 490.1 MB, free: 96.18 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002145/0.546, allocations: 95.58 kB / 490.2 MB, free: 96.09 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.48e-05/0.546, allocations: 16 kB / 490.2 MB, free: 96.07 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.546, allocations: 3.938 kB / 490.2 MB, free: 96.07 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007108/0.5531, allocations: 5.307 MB / 495.5 MB, free: 90.71 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003031/0.5534, allocations: 225.9 kB / 495.7 MB, free: 90.49 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000314/0.5537, allocations: 83.89 kB / 495.8 MB, free: 90.41 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002614/0.5563, allocations: 222.4 kB / 496 MB, free: 90.19 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005447/0.5569, allocations: 354.7 kB / 496.4 MB, free: 89.84 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003147/0.5572, allocations: 179.9 kB / 496.6 MB, free: 89.67 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004516/0.5576, allocations: 0.5064 MB / 497.1 MB, free: 89.16 MB / 378.7 MB Notification: Performance of sort global known variables: time 8e-08/0.5576, allocations: 0 / 497.1 MB, free: 89.16 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001965/0.5596, allocations: 1.104 MB / 498.2 MB, free: 88.06 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 17 (x,hx_h[1],hx_h[2],hx_h[3],hx_h[4],hx_h[5],hx_h[6],hx_h[7],hx_h[8],hx_h[9],hx_h[10],hx_h[11],hx_h[12],hx_h[13],hx_h[14],hx_h[15],hx_h[16]) * Number of discrete variables: 11 (fog[1],fog[2],fog[3],fog[4],fog[5],fog[6],fog[7],fog[8],fog[9],fog[10],fog[11]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (431): * Single equations (assignments): 431 * 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.0009729/0.5606, allocations: 461.3 kB / 498.6 MB, free: 87.61 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.004402/0.565, allocations: 3.182 MB / 0.4901 GB, free: 84.42 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 7.013e-06/0.565, allocations: 9 kB / 0.4901 GB, free: 84.41 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002204/0.5672, allocations: 1.763 MB / 0.4918 GB, free: 82.64 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004211/0.5714, allocations: 1.113 MB / 0.4929 GB, free: 81.55 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008124/0.5795, allocations: 5.585 MB / 0.4983 GB, free: 75.9 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007139/0.5802, allocations: 1.13 MB / 0.4994 GB, free: 74.73 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.003213/0.5834, allocations: 1.355 MB / 0.5008 GB, free: 73.37 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000906/0.5844, allocations: 284.4 kB / 0.501 GB, free: 73.09 MB / 378.7 MB Notification: Performance of SimCode: time 1.132e-06/0.5844, allocations: 0 / 0.501 GB, free: 73.09 MB / 378.7 MB Notification: Performance of Templates: time 0.06404/0.6484, allocations: 58.56 MB / 0.5582 GB, free: 15.23 MB / 378.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.PsychrometricData.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Media.Examples.PsychrometricData.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.PsychrometricData.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.PsychrometricData.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.PsychrometricData.sim & ./Modelica_4.0.0_Modelica.Media.Examples.PsychrometricData -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.PsychrometricData.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.PsychrometricData_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/PsychrometricData/PsychrometricData.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Media.Examples.PsychrometricData.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: 7.614842409035191]