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.00166/0.00166, allocations: 89.02 kB / 21.44 MB, free: 276 kB / 14.72 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.00213/0.00213, allocations: 164.2 kB / 24.71 MB, free: 3.543 MB / 14.72 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.341/1.341, allocations: 158.6 MB / 186.5 MB, free: 6.402 MB / 174.1 MB " [Timeout remaining time 178] 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.252e-06/1.252e-06, allocations: 0 / 298.9 MB, free: 8.723 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.311e-05/2.437e-05, allocations: 2.281 kB / 299 MB, free: 8.719 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.PsychrometricData): time 0.333/0.333, allocations: 131.7 MB / 430.7 MB, free: 10.12 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001884/0.3349, allocations: 0.8976 MB / 431.6 MB, free: 9.25 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001935/0.3351, allocations: 7.938 kB / 431.6 MB, free: 9.242 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004301/0.3355, allocations: 79.44 kB / 431.7 MB, free: 9.164 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007644/0.3363, allocations: 301.1 kB / 432 MB, free: 8.871 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003657/0.3399, allocations: 1.341 MB / 433.3 MB, free: 7.527 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.006132/0.346, allocations: 5.69 MB / 439 MB, free: 1.816 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003041/0.3463, allocations: 96.75 kB / 439.1 MB, free: 1.699 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005739/0.3521, allocations: 2.952 MB / 442 MB, free: 14.74 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004434/0.3565, allocations: 2.101 MB / 444.1 MB, free: 12.64 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001262/0.3578, allocations: 244 kB / 444.4 MB, free: 12.4 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005666/0.3634, allocations: 1.681 MB / 446.1 MB, free: 10.72 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002196/0.3656, allocations: 1.267 MB / 447.3 MB, free: 9.449 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003157/0.3688, allocations: 1.263 MB / 448.6 MB, free: 8.184 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007357/0.3762, allocations: 5.081 MB / 453.7 MB, free: 3.09 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.169e-06/0.3762, allocations: 0 / 453.7 MB, free: 3.09 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.3762, allocations: 4 kB / 453.7 MB, free: 3.086 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.885e-05/0.3762, allocations: 0 / 453.7 MB, free: 3.086 MB / 398.1 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.009367/0.3856, allocations: 3.474 MB / 457.1 MB, free: 15.57 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.058e-05/0.3856, allocations: 12.03 kB / 457.2 MB, free: 15.55 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001976/0.3876, allocations: 335.4 kB / 457.5 MB, free: 15.23 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003109/0.3907, allocations: 1.329 MB / 458.8 MB, free: 13.86 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001776/0.3909, allocations: 188.8 kB / 459 MB, free: 13.68 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004384/0.3913, allocations: 236 kB / 459.2 MB, free: 13.45 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008673/0.4, allocations: 5.943 MB / 465.2 MB, free: 6.938 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.455e-05/0.4, allocations: 3.938 kB / 465.2 MB, free: 6.934 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004264/0.4005, allocations: 112 kB / 465.3 MB, free: 6.824 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.127e-05/0.4005, allocations: 60 kB / 465.3 MB, free: 6.766 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009739/0.4103, allocations: 5.881 MB / 471.2 MB, free: 0.8672 MB / 414.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0202/0.4305, allocations: 7.302 MB / 478.5 MB, free: 9.508 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008331/0.4388, allocations: 4.774 MB / 483.3 MB, free: 4.711 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003983/0.4428, allocations: 2.244 MB / 485.5 MB, free: 2.457 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004811/0.4433, allocations: 111 kB / 485.6 MB, free: 2.348 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001106/0.4434, allocations: 95.25 kB / 485.7 MB, free: 2.246 MB / 430.1 MB Notification: Performance of pre-optimization done (n=390): time 6.452e-06/0.4434, allocations: 0 / 485.7 MB, free: 2.246 MB / 430.1 MB Notification: Performance of matching and sorting (n=390): time 0.1627/0.6061, allocations: 5.801 MB / 491.5 MB, free: 155.9 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.896e-05/0.6062, allocations: 92.25 kB / 491.6 MB, free: 155.9 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001013/0.6072, allocations: 0.6355 MB / 492.3 MB, free: 155.6 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007414/0.6079, allocations: 104 kB / 492.4 MB, free: 155.5 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003709/0.6083, allocations: 0.5476 MB / 492.9 MB, free: 155.2 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001309/0.6096, allocations: 1.352 MB / 494.3 MB, free: 154.1 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001415/0.611, allocations: 0.6262 MB / 494.9 MB, free: 153.8 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.212e-05/0.6111, allocations: 340.2 kB / 495.2 MB, free: 153.5 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00322/0.6143, allocations: 1.746 MB / 497 MB, free: 153.1 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003552/0.6179, allocations: 2.263 MB / 499.2 MB, free: 152.2 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006534/0.6244, allocations: 4.324 MB / 0.4918 GB, free: 150.5 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.056e-05/0.6244, allocations: 7.75 kB / 0.4918 GB, free: 150.5 MB / 430.1 MB Notification: Performance of matching and sorting (n=450) (initialization): time 0.006747/0.6312, allocations: 4.575 MB / 0.4962 GB, free: 149 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.746e-05/0.6312, allocations: 11.12 kB / 0.4962 GB, free: 149 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.916e-05/0.6312, allocations: 11.47 kB / 0.4963 GB, free: 149 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.665e-05/0.6313, allocations: 26.19 kB / 0.4963 GB, free: 149 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003439/0.6347, allocations: 0.7944 MB / 0.4971 GB, free: 148.8 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.117e-05/0.6348, allocations: 33.83 kB / 0.4971 GB, free: 148.8 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002044/0.6368, allocations: 346.5 kB / 0.4974 GB, free: 148.6 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002704/0.6371, allocations: 139.3 kB / 0.4976 GB, free: 148.5 MB / 430.1 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.001299/0.6384, allocations: 0.7628 MB / 0.4983 GB, free: 148 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004829/0.6388, allocations: 204.3 kB / 0.4985 GB, free: 147.9 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007181/0.646, allocations: 5.166 MB / 0.5035 GB, free: 142.8 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.38e-05/0.6461, allocations: 43.89 kB / 0.5036 GB, free: 142.7 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.126e-05/0.6461, allocations: 0 / 0.5036 GB, free: 142.7 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.322e-05/0.6461, allocations: 19.92 kB / 0.5036 GB, free: 142.7 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003194/0.6493, allocations: 2.203 MB / 0.5057 GB, free: 140.6 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.009e-05/0.6493, allocations: 4 kB / 0.5058 GB, free: 140.6 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003273/0.6526, allocations: 0.7293 MB / 0.5065 GB, free: 139.8 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.12e-05/0.6526, allocations: 12 kB / 0.5065 GB, free: 139.8 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002004/0.6528, allocations: 99.89 kB / 0.5066 GB, free: 139.7 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.448e-05/0.6528, allocations: 16 kB / 0.5066 GB, free: 139.7 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.6528, allocations: 3.828 kB / 0.5066 GB, free: 139.7 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008666/0.6615, allocations: 7.203 MB / 0.5136 GB, free: 132.5 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003052/0.6618, allocations: 233.9 kB / 0.5138 GB, free: 132.2 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003367/0.6621, allocations: 83.83 kB / 0.5139 GB, free: 132.2 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002801/0.6649, allocations: 222.2 kB / 0.5141 GB, free: 131.9 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005602/0.6655, allocations: 325.4 kB / 0.5144 GB, free: 131.6 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004124/0.6659, allocations: 179.7 kB / 0.5146 GB, free: 131.5 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0004943/0.6664, allocations: 0.4987 MB / 0.5151 GB, free: 131 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.6664, allocations: 0 / 0.5151 GB, free: 131 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002134/0.6685, allocations: 1.112 MB / 0.5162 GB, free: 129.8 MB / 430.1 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.00122/0.6697, allocations: 490.3 kB / 0.5167 GB, free: 129.4 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.005721/0.6755, allocations: 4.119 MB / 0.5207 GB, free: 125.3 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.108e-05/0.6755, allocations: 9 kB / 0.5207 GB, free: 125.3 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002806/0.6783, allocations: 2.107 MB / 0.5228 GB, free: 123.2 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004857/0.6831, allocations: 1.039 MB / 0.5238 GB, free: 122.2 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01021/0.6933, allocations: 6.302 MB / 0.5299 GB, free: 115.9 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009801/0.6943, allocations: 1.263 MB / 0.5312 GB, free: 114.5 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.004258/0.6986, allocations: 1.734 MB / 0.5328 GB, free: 112.8 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001147/0.6997, allocations: 288.4 kB / 0.5331 GB, free: 112.5 MB / 430.1 MB Notification: Performance of SimCode: time 7.11e-07/0.6997, allocations: 0 / 0.5331 GB, free: 112.5 MB / 430.1 MB Notification: Performance of Templates: time 0.06824/0.768, allocations: 58.81 MB / 0.5906 GB, free: 53.65 MB / 430.1 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=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.PsychrometricData.pipe 2>&1) [Timeout 480] 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.78560595959425]