Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.00254/0.00254, allocations: 95.61 kB / 20.96 MB, free: 3.461 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.002913/0.002913, allocations: 161.6 kB / 24.27 MB, free: 160 kB / 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 1.568/1.568, allocations: 177.1 MB / 204.6 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 178] 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.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.1.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.1.0_Modelica.Media.Examples.PsychrometricData") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.352e-06/1.352e-06, allocations: 0 / 272.3 MB, free: 1.871 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.818e-05/2.954e-05, allocations: 6.25 kB / 272.3 MB, free: 1.863 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.PsychrometricData): time 0.2983/0.2983, allocations: 147.4 MB / 419.7 MB, free: 14.38 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001433/0.2997, allocations: 0.7005 MB / 420.4 MB, free: 13.7 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.021e-05/0.2998, allocations: 7.938 kB / 420.4 MB, free: 13.69 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003603/0.3002, allocations: 67.52 kB / 420.5 MB, free: 13.62 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006852/0.3009, allocations: 306 kB / 420.8 MB, free: 13.34 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003166/0.304, allocations: 1.155 MB / 421.9 MB, free: 12.18 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.006561/0.3106, allocations: 5.683 MB / 427.6 MB, free: 6.473 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002642/0.3109, allocations: 96.22 kB / 427.7 MB, free: 6.355 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00549/0.3164, allocations: 2.975 MB / 430.7 MB, free: 3.375 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004266/0.3206, allocations: 2.113 MB / 432.8 MB, free: 1.258 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008404/0.3215, allocations: 236 kB / 433 MB, free: 1.027 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1502/0.4717, allocations: 1.517 MB / 434.6 MB, free: 6.723 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002059/0.4738, allocations: 1.282 MB / 435.8 MB, free: 6.723 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004323/0.4781, allocations: 1.265 MB / 437.1 MB, free: 6.723 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007914/0.486, allocations: 4.996 MB / 442.1 MB, free: 6.535 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.486, allocations: 1.969 kB / 442.1 MB, free: 6.535 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.372e-06/0.486, allocations: 0.9062 kB / 442.1 MB, free: 6.535 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001013/0.4861, allocations: 0 / 442.1 MB, free: 6.535 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.009531/0.4956, allocations: 3.654 MB / 445.8 MB, free: 5.414 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.511e-05/0.4957, allocations: 10.22 kB / 445.8 MB, free: 5.414 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002223/0.4979, allocations: 0.6364 MB / 446.4 MB, free: 5.184 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003547/0.5014, allocations: 1.167 MB / 447.6 MB, free: 4.91 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001177/0.5016, allocations: 178.9 kB / 447.7 MB, free: 4.902 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005942/0.5022, allocations: 288.4 kB / 448 MB, free: 4.895 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006477/0.5086, allocations: 4.941 MB / 453 MB, free: 18.13 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.227e-05/0.5087, allocations: 3.5 kB / 453 MB, free: 18.13 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000467/0.5091, allocations: 112.9 kB / 453.1 MB, free: 18.13 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.796e-05/0.5092, allocations: 56.44 kB / 453.1 MB, free: 18.13 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007899/0.5171, allocations: 4.559 MB / 457.7 MB, free: 18.1 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01989/0.537, allocations: 7.73 MB / 465.4 MB, free: 16.67 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00505/0.542, allocations: 3.63 MB / 469.1 MB, free: 16.48 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002402/0.5444, allocations: 1.577 MB / 470.6 MB, free: 16.44 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004235/0.5449, allocations: 135.4 kB / 470.8 MB, free: 16.43 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.07e-05/0.5449, allocations: 96.7 kB / 470.9 MB, free: 16.38 MB / 394.7 MB Notification: Performance of pre-optimization done (n=390): time 6.913e-06/0.545, allocations: 0.9062 kB / 470.9 MB, free: 16.38 MB / 394.7 MB Notification: Performance of matching and sorting (n=390): time 0.007283/0.5522, allocations: 4.255 MB / 475.1 MB, free: 16.16 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.106e-05/0.5523, allocations: 98.81 kB / 475.2 MB, free: 16.09 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007362/0.5531, allocations: 0.7129 MB / 475.9 MB, free: 15.88 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003873/0.5534, allocations: 103.6 kB / 476 MB, free: 15.85 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003016/0.5537, allocations: 0.6121 MB / 476.6 MB, free: 15.46 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008387/0.5546, allocations: 1.428 MB / 478.1 MB, free: 14.56 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009103/0.5555, allocations: 0.6734 MB / 478.7 MB, free: 14.52 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000289/0.5558, allocations: 0.516 MB / 479.3 MB, free: 14.04 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001888/0.5577, allocations: 1.112 MB / 480.4 MB, free: 14.03 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002621/0.5603, allocations: 1.852 MB / 482.2 MB, free: 13.4 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005553/0.5658, allocations: 3.339 MB / 485.6 MB, free: 12.49 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.735e-05/0.5659, allocations: 3.438 kB / 485.6 MB, free: 12.49 MB / 394.7 MB Notification: Performance of matching and sorting (n=450) (initialization): time 0.006265/0.5721, allocations: 3.514 MB / 489.1 MB, free: 11.68 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.995e-05/0.5722, allocations: 12.44 kB / 489.1 MB, free: 11.68 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.109e-05/0.5722, allocations: 13.78 kB / 489.1 MB, free: 11.68 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.789e-05/0.5722, allocations: 26.56 kB / 489.1 MB, free: 11.68 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003676/0.5759, allocations: 0.7866 MB / 489.9 MB, free: 11.53 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.019e-05/0.5759, allocations: 34.45 kB / 489.9 MB, free: 11.53 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002682/0.5786, allocations: 340.2 kB / 490.3 MB, free: 11.29 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003255/0.5789, allocations: 145.4 kB / 490.4 MB, free: 11.25 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.001549/0.5805, allocations: 0.6164 MB / 491 MB, free: 10.82 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000883/0.5814, allocations: 323.7 kB / 491.4 MB, free: 10.68 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008826/0.5902, allocations: 4.011 MB / 495.4 MB, free: 7.766 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.189e-05/0.5902, allocations: 40.88 kB / 495.4 MB, free: 7.727 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.175e-06/0.5903, allocations: 0 / 495.4 MB, free: 7.727 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.389e-05/0.5903, allocations: 20.92 kB / 495.4 MB, free: 7.707 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004524/0.5948, allocations: 1.929 MB / 497.4 MB, free: 5.848 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.108e-06/0.5948, allocations: 0 / 497.4 MB, free: 5.848 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003773/0.5986, allocations: 0.729 MB / 498.1 MB, free: 5.164 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.82e-05/0.5986, allocations: 12 kB / 498.1 MB, free: 5.152 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002971/0.5989, allocations: 87.97 kB / 498.2 MB, free: 5.066 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.186e-05/0.599, allocations: 12.75 kB / 498.2 MB, free: 5.055 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.599, allocations: 0 / 498.2 MB, free: 5.055 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01081/0.6098, allocations: 5.324 MB / 0.4917 GB, free: 15.69 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006509/0.6104, allocations: 229.9 kB / 0.4919 GB, free: 15.46 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003976/0.6108, allocations: 84.81 kB / 0.492 GB, free: 15.38 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002923/0.6137, allocations: 222.6 kB / 0.4922 GB, free: 15.17 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007804/0.6145, allocations: 349.2 kB / 0.4926 GB, free: 14.83 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004894/0.615, allocations: 177.1 kB / 0.4927 GB, free: 14.66 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.000751/0.6158, allocations: 0.5033 MB / 0.4932 GB, free: 14.16 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.6158, allocations: 0 / 0.4932 GB, free: 14.16 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00316/0.6189, allocations: 1.121 MB / 0.4943 GB, free: 13.04 MB / 410.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.001139/0.6201, allocations: 454.8 kB / 0.4947 GB, free: 12.65 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.006716/0.6268, allocations: 3.181 MB / 0.4979 GB, free: 9.523 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.229e-05/0.6268, allocations: 9.688 kB / 0.4979 GB, free: 9.516 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003243/0.63, allocations: 1.767 MB / 0.4996 GB, free: 7.824 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005948/0.636, allocations: 1.109 MB / 0.5007 GB, free: 6.789 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01266/0.6486, allocations: 5.598 MB / 0.5061 GB, free: 1.258 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001367/0.65, allocations: 1.115 MB / 0.5072 GB, free: 100 kB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.004898/0.6549, allocations: 1.367 MB / 0.5086 GB, free: 14.73 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001099/0.656, allocations: 284.4 kB / 0.5088 GB, free: 14.45 MB / 426.7 MB Notification: Performance of SimCode: time 1.744e-06/0.656, allocations: 0 / 0.5088 GB, free: 14.45 MB / 426.7 MB Notification: Performance of Templates: time 0.1033/0.7593, allocations: 58.7 MB / 0.5662 GB, free: 4.688 MB / 474.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Media.Examples.PsychrometricData.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Media.Examples.PsychrometricData.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.PsychrometricData.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.PsychrometricData.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.PsychrometricData.sim & ./Modelica_4.1.0_Modelica.Media.Examples.PsychrometricData -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Media.Examples.PsychrometricData.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.699774823966436]