Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.PsychrometricData.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001001/0.001001, allocations: 86.59 kB / 21.43 MB, free: 3.074 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00107/0.00107, allocations: 170 kB / 24.82 MB, free: 9.305 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9262/0.9262, allocations: 177 MB / 205.1 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Media.Examples.PsychrometricData,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|hx_h.[0-9,]+.|x",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.PsychrometricData") translateModel(Modelica.Media.Examples.PsychrometricData,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|hx_h.[0-9,]+.|x",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.PsychrometricData") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.954e-06/1.954e-06, allocations: 0 / 273.3 MB, free: 1.254 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.47e-05/2.665e-05, allocations: 7.578 kB / 273.3 MB, free: 1.246 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.PsychrometricData): time 0.2317/0.2317, allocations: 145 MB / 418.3 MB, free: 264 kB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001057/0.2328, allocations: 0.7002 MB / 419 MB, free: 15.57 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.734e-05/0.2329, allocations: 4 kB / 419 MB, free: 15.57 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003243/0.2332, allocations: 74.61 kB / 419.1 MB, free: 15.5 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005155/0.2337, allocations: 295.7 kB / 419.4 MB, free: 15.22 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002335/0.236, allocations: 1.159 MB / 420.5 MB, free: 14.05 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.004255/0.2403, allocations: 5.688 MB / 426.2 MB, free: 8.348 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000204/0.2405, allocations: 92.22 kB / 426.3 MB, free: 8.234 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003354/0.2439, allocations: 3.167 MB / 429.5 MB, free: 5.062 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00177/0.2456, allocations: 2.015 MB / 431.5 MB, free: 3.043 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003406/0.246, allocations: 236 kB / 431.7 MB, free: 2.812 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002033/0.248, allocations: 1.528 MB / 433.2 MB, free: 1.281 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007305/0.2487, allocations: 1.278 MB / 434.5 MB, free: 0 / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.1451/0.3939, allocations: 1.256 MB / 435.8 MB, free: 7.16 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006278/0.4001, allocations: 4.119 MB / 439.9 MB, free: 6.98 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.4001, allocations: 0 / 439.9 MB, free: 6.98 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.874e-06/0.4001, allocations: 4.625 kB / 439.9 MB, free: 6.98 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001316/0.4003, allocations: 0 / 439.9 MB, free: 6.98 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.006857/0.4071, allocations: 3.311 MB / 443.2 MB, free: 5.855 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.805e-05/0.4072, allocations: 14.23 kB / 443.2 MB, free: 5.852 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001491/0.4087, allocations: 0.6385 MB / 443.9 MB, free: 5.621 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001307/0.41, allocations: 0.9061 MB / 444.8 MB, free: 5.359 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.626e-05/0.4101, allocations: 176.3 kB / 444.9 MB, free: 5.352 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003455/0.4104, allocations: 295.6 kB / 445.2 MB, free: 5.344 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002636/0.413, allocations: 3.837 MB / 449.1 MB, free: 18.57 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.315e-05/0.4131, allocations: 0 / 449.1 MB, free: 18.57 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002333/0.4133, allocations: 111.6 kB / 449.2 MB, free: 18.57 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.735e-05/0.4133, allocations: 60.22 kB / 449.2 MB, free: 18.57 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002238/0.4156, allocations: 2.113 MB / 451.3 MB, free: 18.48 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00735/0.4229, allocations: 4.91 MB / 456.3 MB, free: 17.82 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001939/0.4249, allocations: 2.577 MB / 458.8 MB, free: 17.61 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008167/0.4257, allocations: 0.8786 MB / 459.7 MB, free: 17.58 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002785/0.426, allocations: 165.2 kB / 459.9 MB, free: 17.56 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.919e-05/0.426, allocations: 98 kB / 460 MB, free: 17.51 MB / 394.7 MB Notification: Performance of pre-optimization done (n=390): time 4.739e-06/0.426, allocations: 0.8438 kB / 460 MB, free: 17.51 MB / 394.7 MB Notification: Performance of matching and sorting (n=390): time 0.002847/0.4289, allocations: 2.377 MB / 462.3 MB, free: 17.29 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.197e-05/0.4289, allocations: 95.25 kB / 462.4 MB, free: 17.22 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003691/0.4293, allocations: 0.6231 MB / 463.1 MB, free: 17.01 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001971/0.4295, allocations: 103.4 kB / 463.2 MB, free: 16.98 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002018/0.4297, allocations: 0.6241 MB / 463.8 MB, free: 16.59 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005534/0.4302, allocations: 1.44 MB / 465.2 MB, free: 15.69 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006101/0.4309, allocations: 0.6824 MB / 465.9 MB, free: 15.65 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001299/0.431, allocations: 0.5196 MB / 466.4 MB, free: 15.17 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000577/0.4316, allocations: 468.6 kB / 466.9 MB, free: 15.16 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008293/0.4324, allocations: 1.214 MB / 468.1 MB, free: 14.53 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001723/0.4341, allocations: 1.909 MB / 470 MB, free: 13.86 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.137e-06/0.4341, allocations: 6.156 kB / 470 MB, free: 13.86 MB / 394.7 MB Notification: Performance of matching and sorting (n=450) (initialization): time 0.002426/0.4365, allocations: 2.21 MB / 472.2 MB, free: 13.64 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.071e-05/0.4366, allocations: 12 kB / 472.2 MB, free: 13.64 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.456e-05/0.4366, allocations: 11.56 kB / 472.2 MB, free: 13.64 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.605e-05/0.4366, allocations: 29.17 kB / 472.3 MB, free: 13.64 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001646/0.4383, allocations: 0.7412 MB / 473 MB, free: 13.64 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.508e-05/0.4383, allocations: 34.81 kB / 473 MB, free: 13.64 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0012/0.4395, allocations: 289.8 kB / 473.3 MB, free: 13.49 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001678/0.4396, allocations: 119.8 kB / 473.4 MB, free: 13.49 MB / 394.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.0008125/0.4405, allocations: 372.2 kB / 473.8 MB, free: 13.32 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004843/0.4409, allocations: 318.3 kB / 474.1 MB, free: 13.23 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002988/0.4439, allocations: 2.727 MB / 476.9 MB, free: 12.97 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.624e-05/0.4439, allocations: 40.88 kB / 476.9 MB, free: 12.97 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.444, allocations: 0.9688 kB / 476.9 MB, free: 12.97 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.987e-05/0.444, allocations: 20.48 kB / 476.9 MB, free: 12.97 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001947/0.4459, allocations: 1.376 MB / 478.3 MB, free: 12.72 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.397e-06/0.4459, allocations: 0.8125 kB / 478.3 MB, free: 12.72 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001572/0.4475, allocations: 0.6784 MB / 479 MB, free: 12.72 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.297e-05/0.4475, allocations: 17.59 kB / 479 MB, free: 12.72 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001756/0.4477, allocations: 87.67 kB / 479.1 MB, free: 12.72 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.163e-05/0.4477, allocations: 13.66 kB / 479.1 MB, free: 12.72 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.679e-06/0.4477, allocations: 3.984 kB / 479.1 MB, free: 12.71 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003405/0.4511, allocations: 3.026 MB / 482.1 MB, free: 12.27 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003259/0.4515, allocations: 224.9 kB / 482.3 MB, free: 12.11 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001963/0.4517, allocations: 87.44 kB / 482.4 MB, free: 12.1 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001207/0.4529, allocations: 171.5 kB / 482.6 MB, free: 12.1 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003017/0.4532, allocations: 274.2 kB / 482.9 MB, free: 12.1 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002107/0.4534, allocations: 153.4 kB / 483 MB, free: 12.1 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002443/0.4536, allocations: 388.5 kB / 483.4 MB, free: 11.97 MB / 394.7 MB Notification: Performance of sort global known variables: time 6e-08/0.4536, allocations: 0.8125 kB / 483.4 MB, free: 11.97 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002154/0.4558, allocations: 1.115 MB / 484.5 MB, free: 11.88 MB / 394.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.0008821/0.4567, allocations: 465.2 kB / 485 MB, free: 11.77 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002249/0.4589, allocations: 1.905 MB / 486.9 MB, free: 11.67 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 7.985e-06/0.4589, allocations: 4.469 kB / 486.9 MB, free: 11.66 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001123/0.46, allocations: 1.163 MB / 488 MB, free: 10.88 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002521/0.4626, allocations: 1.116 MB / 489.1 MB, free: 10.29 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006614/0.4692, allocations: 4.964 MB / 494.1 MB, free: 6.488 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005286/0.4697, allocations: 0.6219 MB / 494.7 MB, free: 6.035 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.002626/0.4723, allocations: 0.586 MB / 495.3 MB, free: 5.523 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003666/0.476, allocations: 1.466 MB / 496.8 MB, free: 4.324 MB / 394.7 MB Notification: Performance of SimCode: time 1.002e-06/0.476, allocations: 0 / 496.8 MB, free: 4.324 MB / 394.7 MB Notification: Performance of Templates: time 0.07408/0.5501, allocations: 64.5 MB / 0.5481 GB, free: 4.93 MB / 458.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Media.Examples.PsychrometricData.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Media.Examples.PsychrometricData.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.PsychrometricData.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.PsychrometricData.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.PsychrometricData.sim & ./Modelica_trunk_Modelica.Media.Examples.PsychrometricData -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.PsychrometricData.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.PsychrometricData_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/PsychrometricData/PsychrometricData.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: 4.925072494428605]