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/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Media.Examples.PsychrometricData,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,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=2000,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001087/0.001091, allocations: 187 kB / 17.92 MB, free: 3.855 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.174/1.174, allocations: 205.1 MB / 223.7 MB, free: 8.477 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009049/0.0009048, allocations: 98.3 kB / 271.2 MB, free: 8.438 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008091/0.0008091, allocations: 43.94 kB / 327.2 MB, free: 340 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1864/0.1872, allocations: 46.62 MB / 373.8 MB, free: 45.64 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.PsychrometricData): time 0.2948/0.482, allocations: 151 MB / 0.5125 GB, free: 13.16 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.001401/0.4835, allocations: 0.9857 MB / 0.5134 GB, free: 13.08 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.441e-05/0.4836, allocations: 1.219 kB / 0.5134 GB, free: 13.08 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003341/0.4839, allocations: 74.14 kB / 0.5135 GB, free: 13.06 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004877/0.4844, allocations: 280.3 kB / 0.5138 GB, free: 13 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002778/0.4873, allocations: 1.13 MB / 0.5149 GB, free: 12.83 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.00639/0.4937, allocations: 7.175 MB / 0.5219 GB, free: 11.84 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003178/0.494, allocations: 258 kB / 0.5221 GB, free: 11.73 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002688/0.4967, allocations: 1.922 MB / 0.524 GB, free: 11.32 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002185/0.4989, allocations: 1.956 MB / 0.5259 GB, free: 10.82 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003792/0.4993, allocations: 140.8 kB / 0.5261 GB, free: 10.82 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003311/0.5026, allocations: 1.837 MB / 0.5279 GB, free: 10.33 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009815/0.5036, allocations: 1.079 MB / 0.5289 GB, free: 9.945 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001846/0.5054, allocations: 1.424 MB / 0.5303 GB, free: 9.672 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004618/0.5101, allocations: 4.501 MB / 0.5347 GB, free: 7.734 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.5101, allocations: 7.938 kB / 0.5347 GB, free: 7.727 MB / 394.7 MB Notification: Performance of FrontEnd: time 8.02e-07/0.5101, allocations: 0 / 0.5347 GB, free: 7.727 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.819e-05/0.5102, allocations: 2.969 kB / 0.5347 GB, free: 7.727 MB / 394.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.008061/0.5182, allocations: 3.513 MB / 0.5381 GB, free: 5.965 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.835e-05/0.5183, allocations: 9.625 kB / 0.5381 GB, free: 5.965 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001609/0.5199, allocations: 326.1 kB / 0.5385 GB, free: 5.832 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00283/0.5227, allocations: 1.323 MB / 0.5397 GB, free: 5.234 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.923e-05/0.5229, allocations: 182.1 kB / 0.5399 GB, free: 5.227 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003238/0.5232, allocations: 242.6 kB / 0.5402 GB, free: 5.223 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005377/0.5286, allocations: 3.822 MB / 0.5439 GB, free: 3.238 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.776e-05/0.5286, allocations: 0 / 0.5439 GB, free: 3.238 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003017/0.5289, allocations: 117.6 kB / 0.544 GB, free: 3.207 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.743e-05/0.529, allocations: 56 kB / 0.544 GB, free: 3.152 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007638/0.5366, allocations: 5.989 MB / 0.5499 GB, free: 14.32 MB / 410.7 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.01826/0.5549, allocations: 11.18 MB / 0.5608 GB, free: 3.781 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006476/0.5614, allocations: 5.037 MB / 0.5657 GB, free: 14.73 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003061/0.5645, allocations: 2.408 MB / 0.5681 GB, free: 12.31 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005188/0.565, allocations: 440.8 kB / 0.5685 GB, free: 11.82 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.51e-05/0.5651, allocations: 90.62 kB / 0.5686 GB, free: 11.73 MB / 426.7 MB Notification: Performance of pre-optimization done (n=390): time 5.37e-06/0.5651, allocations: 0 / 0.5686 GB, free: 11.73 MB / 426.7 MB Notification: Performance of matching and sorting (n=390): time 0.009161/0.5743, allocations: 5.82 MB / 0.5743 GB, free: 5.883 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.601e-05/0.5744, allocations: 94.47 kB / 0.5744 GB, free: 5.777 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00116/0.5756, allocations: 0.8673 MB / 0.5752 GB, free: 4.902 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003669/0.576, allocations: 105.7 kB / 0.5753 GB, free: 4.793 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003466/0.5763, allocations: 0.5175 MB / 0.5758 GB, free: 4.27 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001049/0.5774, allocations: 1.301 MB / 0.5771 GB, free: 2.98 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009456/0.5783, allocations: 0.6293 MB / 0.5777 GB, free: 2.344 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001481/0.5785, allocations: 353.9 kB / 0.578 GB, free: 1.992 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002614/0.5811, allocations: 1.748 MB / 0.5797 GB, free: 248 kB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003068/0.5842, allocations: 2.254 MB / 0.5819 GB, free: 13.84 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006077/0.5903, allocations: 4.336 MB / 0.5862 GB, free: 9.324 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.31e-05/0.5903, allocations: 8 kB / 0.5862 GB, free: 9.316 MB / 442.7 MB Notification: Performance of matching and sorting (n=450) (initialization): time 0.007225/0.5975, allocations: 4.586 MB / 0.5907 GB, free: 4.707 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.615e-05/0.5976, allocations: 12 kB / 0.5907 GB, free: 4.695 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.066e-05/0.5976, allocations: 8 kB / 0.5907 GB, free: 4.688 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.579e-05/0.5977, allocations: 32.03 kB / 0.5907 GB, free: 4.656 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003368/0.601, allocations: 0.7917 MB / 0.5915 GB, free: 3.863 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.382e-05/0.6011, allocations: 35.86 kB / 0.5915 GB, free: 3.828 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002427/0.6035, allocations: 424.5 kB / 0.5919 GB, free: 3.41 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002888/0.6038, allocations: 147.9 kB / 0.5921 GB, free: 3.266 MB / 442.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.001284/0.6051, allocations: 0.7543 MB / 0.5928 GB, free: 2.5 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005936/0.6057, allocations: 213.8 kB / 0.593 GB, free: 2.289 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008586/0.6143, allocations: 5.172 MB / 0.5981 GB, free: 13.08 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.536e-05/0.6144, allocations: 40 kB / 0.5981 GB, free: 13.04 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.279e-05/0.6144, allocations: 3.938 kB / 0.5981 GB, free: 13.04 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.298e-05/0.6144, allocations: 19.92 kB / 0.5981 GB, free: 13.02 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004331/0.6188, allocations: 2.815 MB / 0.6009 GB, free: 10.25 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.354e-05/0.6188, allocations: 4 kB / 0.6009 GB, free: 10.25 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003176/0.622, allocations: 0.7333 MB / 0.6016 GB, free: 9.516 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.031e-05/0.622, allocations: 12 kB / 0.6016 GB, free: 9.504 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002312/0.6222, allocations: 91.95 kB / 0.6017 GB, free: 9.414 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-05/0.6223, allocations: 12 kB / 0.6017 GB, free: 9.402 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.6223, allocations: 7.938 kB / 0.6017 GB, free: 9.395 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01547/0.6378, allocations: 11.85 MB / 0.6133 GB, free: 13.37 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004934/0.6383, allocations: 314 kB / 0.6136 GB, free: 13.04 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00033/0.6386, allocations: 91.77 kB / 0.6137 GB, free: 12.95 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002905/0.6415, allocations: 295.5 kB / 0.614 GB, free: 12.66 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000592/0.6421, allocations: 310.9 kB / 0.6143 GB, free: 12.36 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004006/0.6425, allocations: 183.9 kB / 0.6144 GB, free: 12.18 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0007676/0.6433, allocations: 0.6785 MB / 0.6151 GB, free: 11.51 MB / 474.7 MB Notification: Performance of sort global known variables: time 2.6e-07/0.6433, allocations: 0 / 0.6151 GB, free: 11.51 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.002519/0.6459, allocations: 1.194 MB / 0.6163 GB, free: 10.31 MB / 474.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.001028/0.6469, allocations: 468.3 kB / 0.6167 GB, free: 9.867 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.006166/0.6531, allocations: 4.278 MB / 0.6209 GB, free: 5.582 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.183e-05/0.6531, allocations: 9 kB / 0.6209 GB, free: 5.57 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003027/0.6561, allocations: 2.259 MB / 0.6231 GB, free: 3.312 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005406/0.6616, allocations: 1.227 MB / 0.6243 GB, free: 2.09 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01292/0.6745, allocations: 9.719 MB / 0.6338 GB, free: 8.312 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001299/0.6758, allocations: 1.963 MB / 0.6357 GB, free: 6.309 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.004975/0.6808, allocations: 1.775 MB / 0.6374 GB, free: 4.527 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009664/0.6818, allocations: 287.3 kB / 0.6377 GB, free: 4.246 MB / 490.7 MB Notification: Performance of SimCode: time 5.01e-07/0.6818, allocations: 0 / 0.6377 GB, free: 4.246 MB / 490.7 MB Notification: Performance of Templates: time 0.1996/0.8813, allocations: 62.97 MB / 0.6992 GB, free: 237 MB / 0.5105 GB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.PsychrometricData.makefile (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) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.PsychrometricData_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/PsychrometricData/PsychrometricData.csv","../files/Modelica_3.2.3_Modelica.Media.Examples.PsychrometricData.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches