Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.PsychrometricData.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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_4.0.0_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_4.0.0_Modelica.Media.Examples.PsychrometricData") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007945/0.0007945, allocations: 89.11 kB / 16.32 MB, free: 6.449 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0007893/0.0007893, allocations: 178.7 kB / 17.21 MB, free: 6.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.312/1.312, allocations: 223.3 MB / 241.2 MB, free: 5.367 MB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002285/0.0002285, allocations: 5.875 kB / 300.8 MB, free: 6.027 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08069/0.08093, allocations: 50.43 MB / 351.2 MB, free: 11.67 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.PsychrometricData): time 0.356/0.4369, allocations: 137.7 MB / 489 MB, free: 8.422 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001174/0.4382, allocations: 0.6836 MB / 489.6 MB, free: 8.148 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000146/0.4383, allocations: 0 / 489.6 MB, free: 8.148 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002846/0.4386, allocations: 59.64 kB / 489.7 MB, free: 8.102 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006542/0.4393, allocations: 274.5 kB / 490 MB, free: 7.949 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002285/0.4416, allocations: 0.8448 MB / 490.8 MB, free: 7.504 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.00458/0.4462, allocations: 5.98 MB / 496.8 MB, free: 5.285 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004279/0.4466, allocations: 263.3 kB / 497 MB, free: 5.172 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00349/0.4501, allocations: 1.926 MB / 499 MB, free: 4.574 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003575/0.4537, allocations: 2.045 MB / 0.4893 GB, free: 3.727 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009225/0.4547, allocations: 140 kB / 0.4894 GB, free: 3.59 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00445/0.4591, allocations: 1.384 MB / 0.4908 GB, free: 2.422 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002039/0.4612, allocations: 1.104 MB / 0.4918 GB, free: 1.539 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00139/0.4626, allocations: 0.4973 MB / 0.4923 GB, free: 1.117 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004578/0.4672, allocations: 3.217 MB / 0.4955 GB, free: 14.09 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.985e-06/0.4672, allocations: 3.984 kB / 0.4955 GB, free: 14.08 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.764e-06/0.4672, allocations: 0 / 0.4955 GB, free: 14.08 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001369/0.4673, allocations: 0 / 0.4955 GB, free: 14.08 MB / 382.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.008477/0.4758, allocations: 2.909 MB / 0.4983 GB, free: 11.27 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.803e-05/0.4759, allocations: 8.031 kB / 0.4983 GB, free: 11.26 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002714/0.4786, allocations: 336.4 kB / 0.4986 GB, free: 10.93 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002965/0.4816, allocations: 1.302 MB / 0.4999 GB, free: 9.73 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001881/0.4818, allocations: 184.8 kB / 0.5001 GB, free: 9.625 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007549/0.4826, allocations: 238.8 kB / 0.5003 GB, free: 9.469 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006967/0.4895, allocations: 3.804 MB / 0.504 GB, free: 6.547 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.16e-05/0.4896, allocations: 0 / 0.504 GB, free: 6.547 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003773/0.49, allocations: 114.5 kB / 0.5041 GB, free: 6.516 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.768e-05/0.4901, allocations: 59.95 kB / 0.5042 GB, free: 6.457 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008818/0.4989, allocations: 5.969 MB / 0.51 GB, free: 1.23 MB / 382.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.01866/0.5176, allocations: 11.18 MB / 0.5209 GB, free: 5.207 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007037/0.5246, allocations: 5.023 MB / 0.5258 GB, free: 164 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003457/0.5281, allocations: 2.385 MB / 0.5282 GB, free: 13.77 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005754/0.5287, allocations: 449.9 kB / 0.5286 GB, free: 13.25 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.127e-05/0.5288, allocations: 94.62 kB / 0.5287 GB, free: 13.15 MB / 414.1 MB Notification: Performance of pre-optimization done (n=390): time 5.37e-06/0.5288, allocations: 4 kB / 0.5287 GB, free: 13.15 MB / 414.1 MB Notification: Performance of matching and sorting (n=390): time 0.009612/0.5384, allocations: 5.784 MB / 0.5343 GB, free: 7.34 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.227e-05/0.5385, allocations: 90.47 kB / 0.5344 GB, free: 7.238 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001174/0.5397, allocations: 0.8635 MB / 0.5353 GB, free: 6.367 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003576/0.5401, allocations: 101.7 kB / 0.5354 GB, free: 6.262 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003707/0.5404, allocations: 0.5188 MB / 0.5359 GB, free: 5.734 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001129/0.5416, allocations: 1.305 MB / 0.5372 GB, free: 4.41 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002173/0.5418, allocations: 72 kB / 0.5372 GB, free: 4.34 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002761/0.5421, allocations: 0.4905 MB / 0.5377 GB, free: 3.84 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002849/0.5449, allocations: 1.732 MB / 0.5394 GB, free: 2.105 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003396/0.5483, allocations: 2.258 MB / 0.5416 GB, free: 15.7 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003504/0.5519, allocations: 2.099 MB / 0.5436 GB, free: 13.59 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.177e-05/0.5519, allocations: 0 / 0.5436 GB, free: 13.59 MB / 430.1 MB Notification: Performance of matching and sorting (n=450) (initialization): time 0.007473/0.5594, allocations: 4.559 MB / 0.5481 GB, free: 9 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.749e-05/0.5594, allocations: 12 kB / 0.5481 GB, free: 8.988 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.52e-05/0.5594, allocations: 12 kB / 0.5481 GB, free: 8.977 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.76e-05/0.5595, allocations: 31.95 kB / 0.5482 GB, free: 8.945 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003648/0.5632, allocations: 0.7932 MB / 0.5489 GB, free: 8.152 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.512e-05/0.5632, allocations: 31.94 kB / 0.549 GB, free: 8.121 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002515/0.5658, allocations: 428.5 kB / 0.5494 GB, free: 7.699 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003564/0.5661, allocations: 143.9 kB / 0.5495 GB, free: 7.559 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[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 initialization (450): * Single equations (assignments): 450 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001511/0.5677, allocations: 0.7582 MB / 0.5502 GB, free: 6.789 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007431/0.5684, allocations: 213.7 kB / 0.5504 GB, free: 6.578 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00973/0.5782, allocations: 5.166 MB / 0.5555 GB, free: 1.375 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.259e-05/0.5782, allocations: 43.95 kB / 0.5555 GB, free: 1.332 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.26e-05/0.5782, allocations: 0 / 0.5555 GB, free: 1.332 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.968e-05/0.5783, allocations: 19.92 kB / 0.5556 GB, free: 1.312 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005036/0.5833, allocations: 2.827 MB / 0.5583 GB, free: 14.43 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.83e-05/0.5834, allocations: 3.938 kB / 0.5583 GB, free: 14.43 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003733/0.5871, allocations: 0.7372 MB / 0.559 GB, free: 13.69 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.334e-05/0.5872, allocations: 12 kB / 0.559 GB, free: 13.68 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003996/0.5876, allocations: 91.95 kB / 0.5591 GB, free: 13.59 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.372e-05/0.5876, allocations: 12 kB / 0.5591 GB, free: 13.57 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.5876, allocations: 3.953 kB / 0.5592 GB, free: 13.57 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01108/0.5987, allocations: 7.189 MB / 0.5662 GB, free: 6.336 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008173/0.5995, allocations: 353.8 kB / 0.5665 GB, free: 5.969 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008066/0.6004, allocations: 71.98 kB / 0.5666 GB, free: 5.898 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003319/0.6037, allocations: 299.5 kB / 0.5669 GB, free: 5.605 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007408/0.6045, allocations: 318.8 kB / 0.5672 GB, free: 5.293 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000484/0.605, allocations: 183.8 kB / 0.5673 GB, free: 5.113 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0009223/0.6059, allocations: 0.6746 MB / 0.568 GB, free: 4.445 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.6059, allocations: 0 / 0.568 GB, free: 4.445 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002696/0.6086, allocations: 1.089 MB / 0.5691 GB, free: 3.355 MB / 446.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00124/0.6099, allocations: 437.6 kB / 0.5695 GB, free: 2.93 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.007254/0.6171, allocations: 4.25 MB / 0.5736 GB, free: 14.67 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.066e-05/0.6172, allocations: 9 kB / 0.5736 GB, free: 14.66 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003444/0.6206, allocations: 2.245 MB / 0.5758 GB, free: 12.42 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0057/0.6263, allocations: 1.241 MB / 0.577 GB, free: 11.18 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01311/0.6395, allocations: 7.78 MB / 0.5846 GB, free: 3.359 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001493/0.641, allocations: 1.851 MB / 0.5864 GB, free: 1.473 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.1635/0.8045, allocations: 1.76 MB / 0.5882 GB, free: 170.4 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001366/0.8059, allocations: 295.3 kB / 0.5884 GB, free: 170.4 MB / 462.1 MB Notification: Performance of SimCode: time 9.12e-07/0.8059, allocations: 0 / 0.5884 GB, free: 170.4 MB / 462.1 MB Notification: Performance of Templates: time 0.07359/0.8795, allocations: 58.22 MB / 0.6453 GB, free: 128.5 MB / 462.1 MB make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.PsychrometricData.makefile (rm -f Modelica_4.0.0_Modelica.Media.Examples.PsychrometricData.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.PsychrometricData.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.PsychrometricData.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.PsychrometricData.sim & ./Modelica_4.0.0_Modelica.Media.Examples.PsychrometricData -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.PsychrometricData.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.PsychrometricData_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/PsychrometricData/PsychrometricData.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Media.Examples.PsychrometricData.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches