Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.PsychrometricData.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.001912/0.001912, allocations: 99.53 kB / 21.74 MB, free: 2.688 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.001923/0.001923, allocations: 161.7 kB / 25.03 MB, free: 8.926 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.298/1.298, allocations: 158.6 MB / 186.8 MB, free: 2.926 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.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_3.2.3_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_3.2.3_Modelica.Media.Examples.PsychrometricData") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 250.4 MB, free: 7.84 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.402e-05/2.565e-05, allocations: 2.312 kB / 250.4 MB, free: 7.836 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.PsychrometricData): time 0.3301/0.3301, allocations: 145.7 MB / 396.1 MB, free: 9.973 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001605/0.3317, allocations: 0.9507 MB / 397 MB, free: 9.879 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001557/0.3319, allocations: 0 / 397 MB, free: 9.879 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004333/0.3323, allocations: 78.33 kB / 397.1 MB, free: 9.859 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007124/0.333, allocations: 304.3 kB / 397.4 MB, free: 9.824 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003451/0.3365, allocations: 1.327 MB / 398.7 MB, free: 9.602 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0038/0.3403, allocations: 5.689 MB / 404.4 MB, free: 7.836 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002538/0.3405, allocations: 94.53 kB / 404.5 MB, free: 7.777 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005274/0.3458, allocations: 2.971 MB / 407.5 MB, free: 7.051 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003333/0.3491, allocations: 2.107 MB / 409.6 MB, free: 6.461 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008776/0.35, allocations: 237.4 kB / 409.8 MB, free: 6.461 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004009/0.354, allocations: 1.68 MB / 411.5 MB, free: 6.023 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001545/0.3555, allocations: 1.289 MB / 412.8 MB, free: 5.605 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002286/0.3578, allocations: 1.263 MB / 414.1 MB, free: 5.344 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005711/0.3635, allocations: 5.095 MB / 419.2 MB, free: 2.898 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.3635, allocations: 0 / 419.2 MB, free: 2.898 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.923e-06/0.3636, allocations: 0 / 419.2 MB, free: 2.898 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001002/0.3637, allocations: 0 / 419.2 MB, free: 2.898 MB / 330.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.009164/0.3728, allocations: 3.671 MB / 422.8 MB, free: 15.76 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.28e-05/0.3729, allocations: 11.97 kB / 422.8 MB, free: 15.75 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002561/0.3754, allocations: 0.6384 MB / 423.5 MB, free: 15.11 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004176/0.3796, allocations: 1.157 MB / 424.6 MB, free: 13.93 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002255/0.3798, allocations: 184.8 kB / 424.8 MB, free: 13.74 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007946/0.3806, allocations: 284 kB / 425.1 MB, free: 13.46 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009599/0.3902, allocations: 4.944 MB / 430 MB, free: 7.953 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.094e-05/0.3903, allocations: 4 kB / 430 MB, free: 7.949 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005715/0.3908, allocations: 112 kB / 430.2 MB, free: 7.84 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.447e-05/0.3909, allocations: 60 kB / 430.2 MB, free: 7.781 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01013/0.401, allocations: 4.554 MB / 434.8 MB, free: 3.211 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02449/0.4255, allocations: 7.743 MB / 442.5 MB, free: 11.3 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007492/0.433, allocations: 3.635 MB / 446.1 MB, free: 7.645 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003845/0.4369, allocations: 1.572 MB / 447.7 MB, free: 6.062 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005827/0.4374, allocations: 135 kB / 447.8 MB, free: 5.93 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001275/0.4376, allocations: 105.4 kB / 447.9 MB, free: 5.816 MB / 362.7 MB Notification: Performance of pre-optimization done (n=390): time 6.713e-06/0.4376, allocations: 0 / 447.9 MB, free: 5.816 MB / 362.7 MB Notification: Performance of matching and sorting (n=390): time 0.009837/0.4474, allocations: 4.248 MB / 452.2 MB, free: 1.547 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.256e-05/0.4475, allocations: 94.47 kB / 452.3 MB, free: 1.441 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001056/0.4486, allocations: 0.717 MB / 453 MB, free: 0.707 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000393/0.449, allocations: 101.7 kB / 453.1 MB, free: 0.6016 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005727/0.4495, allocations: 0.6104 MB / 453.7 MB, free: 15.98 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001814/0.4513, allocations: 1.436 MB / 455.2 MB, free: 14.57 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001213/0.4526, allocations: 0.676 MB / 455.8 MB, free: 13.88 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0003027/0.4529, allocations: 0.5158 MB / 456.3 MB, free: 13.36 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002495/0.4553, allocations: 1.115 MB / 457.5 MB, free: 12.24 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003253/0.4586, allocations: 1.855 MB / 459.3 MB, free: 10.18 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006495/0.4651, allocations: 3.321 MB / 462.6 MB, free: 6.621 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.561e-05/0.4651, allocations: 4 kB / 462.6 MB, free: 6.617 MB / 378.7 MB Notification: Performance of matching and sorting (n=450) (initialization): time 0.007579/0.4727, allocations: 3.51 MB / 466.2 MB, free: 3.082 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.452e-05/0.4727, allocations: 12 kB / 466.2 MB, free: 3.07 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.454e-05/0.4728, allocations: 16.12 kB / 466.2 MB, free: 3.055 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.538e-05/0.4728, allocations: 24 kB / 466.2 MB, free: 3.031 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003991/0.4768, allocations: 0.7879 MB / 467 MB, free: 2.242 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.716e-05/0.4768, allocations: 39.8 kB / 467 MB, free: 2.203 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002336/0.4792, allocations: 342.4 kB / 467.4 MB, free: 1.867 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003505/0.4795, allocations: 144 kB / 467.5 MB, free: 1.727 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.001439/0.481, allocations: 0.6204 MB / 468.1 MB, free: 1.094 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008797/0.4819, allocations: 318.9 kB / 468.4 MB, free: 0.7812 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009622/0.4915, allocations: 4.011 MB / 472.4 MB, free: 12.74 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.17e-05/0.4915, allocations: 40 kB / 472.5 MB, free: 12.7 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.646e-06/0.4915, allocations: 0 / 472.5 MB, free: 12.7 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-05/0.4916, allocations: 23.36 kB / 472.5 MB, free: 12.68 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004543/0.4961, allocations: 1.923 MB / 474.4 MB, free: 10.82 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.558e-06/0.4961, allocations: 0 / 474.4 MB, free: 10.82 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003802/0.4999, allocations: 0.7256 MB / 475.2 MB, free: 10.09 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.455e-05/0.5, allocations: 16 kB / 475.2 MB, free: 10.08 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003131/0.5003, allocations: 95.95 kB / 475.3 MB, free: 9.984 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.517e-05/0.5003, allocations: 15.94 kB / 475.3 MB, free: 9.969 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.5003, allocations: 0 / 475.3 MB, free: 9.969 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01082/0.5111, allocations: 5.315 MB / 480.6 MB, free: 4.605 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006295/0.5118, allocations: 233.9 kB / 480.8 MB, free: 4.375 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003844/0.5121, allocations: 79.89 kB / 480.9 MB, free: 4.297 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002928/0.5151, allocations: 227.7 kB / 481.1 MB, free: 4.074 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007566/0.5158, allocations: 346.7 kB / 481.5 MB, free: 3.734 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004855/0.5163, allocations: 175.9 kB / 481.6 MB, free: 3.562 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0007609/0.5171, allocations: 0.5026 MB / 482.1 MB, free: 3.062 MB / 394.7 MB Notification: Performance of sort global known variables: time 9e-08/0.5171, allocations: 4 kB / 482.1 MB, free: 3.059 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.003081/0.5201, allocations: 1.112 MB / 483.3 MB, free: 1.945 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.001404/0.5216, allocations: 499.7 kB / 483.7 MB, free: 1.477 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.007025/0.5286, allocations: 3.175 MB / 486.9 MB, free: 14.29 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.181e-05/0.5286, allocations: 8.938 kB / 486.9 MB, free: 14.28 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003716/0.5323, allocations: 1.771 MB / 488.7 MB, free: 12.5 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005889/0.5382, allocations: 1.109 MB / 489.8 MB, free: 11.4 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01219/0.5504, allocations: 5.595 MB / 495.4 MB, free: 5.758 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001353/0.5517, allocations: 1.118 MB / 496.5 MB, free: 4.598 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.004717/0.5565, allocations: 1.379 MB / 497.9 MB, free: 3.215 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001065/0.5575, allocations: 284.4 kB / 498.2 MB, free: 2.934 MB / 410.7 MB Notification: Performance of SimCode: time 1.793e-06/0.5575, allocations: 4 kB / 498.2 MB, free: 2.93 MB / 410.7 MB Notification: Performance of Templates: time 0.1811/0.7386, allocations: 58.85 MB / 0.544 GB, free: 164.9 MB / 426.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.PsychrometricData.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Media.Examples.PsychrometricData.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.PsychrometricData.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.PsychrometricData.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.PsychrometricData.sim & ./Modelica_3.2.3_Modelica.Media.Examples.PsychrometricData -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.PsychrometricData.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.PsychrometricData_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/PsychrometricData/PsychrometricData.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.579518589074723]