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.001128/0.001128, allocations: 110 kB / 17.06 MB, free: 6.02 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.001116/0.001116, allocations: 191 kB / 18 MB, free: 5.109 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.322/1.322, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009591/0.0009591, allocations: 43.94 kB / 351.3 MB, free: 3.262 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2427/0.2436, allocations: 49.44 MB / 400.7 MB, free: 8.758 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.PsychrometricData): time 0.1534/0.3971, allocations: 151.8 MB / 0.5396 GB, free: 448 kB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.2483/0.6455, allocations: 0.6845 MB / 0.5403 GB, free: 1.668 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002123/0.6457, allocations: 4.438 kB / 0.5403 GB, free: 1.668 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003964/0.6461, allocations: 80.2 kB / 0.5404 GB, free: 1.668 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007061/0.6469, allocations: 296.1 kB / 0.5406 GB, free: 1.668 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00284/0.6498, allocations: 1.121 MB / 0.5417 GB, free: 1.637 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.004094/0.6539, allocations: 5.605 MB / 0.5472 GB, free: 1.613 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003118/0.6542, allocations: 259.7 kB / 0.5475 GB, free: 1.547 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003176/0.6574, allocations: 2.234 MB / 0.5496 GB, free: 1.547 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003157/0.6605, allocations: 1.965 MB / 0.5516 GB, free: 1.547 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006799/0.6612, allocations: 237.5 kB / 0.5518 GB, free: 1.547 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003631/0.6649, allocations: 1.736 MB / 0.5535 GB, free: 1.531 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001305/0.6662, allocations: 1.223 MB / 0.5547 GB, free: 1.523 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002772/0.669, allocations: 1.564 MB / 0.5562 GB, free: 1.52 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004776/0.6738, allocations: 4.533 MB / 0.5606 GB, free: 1.055 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.101e-06/0.6738, allocations: 2.281 kB / 0.5606 GB, free: 1.055 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.6738, allocations: 0.875 kB / 0.5606 GB, free: 1.055 MB / 462.1 MB Notification: Performance of Transformations before backend: time 8.639e-05/0.6739, allocations: 0 / 0.5606 GB, free: 1.055 MB / 462.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.008752/0.6827, allocations: 3.49 MB / 0.564 GB, free: 16.01 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.838e-05/0.6827, allocations: 11.72 kB / 0.5641 GB, free: 16.01 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001842/0.6846, allocations: 322.8 kB / 0.5644 GB, free: 15.9 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002416/0.687, allocations: 1.342 MB / 0.5657 GB, free: 15.55 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001043/0.6871, allocations: 183.3 kB / 0.5659 GB, free: 15.55 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003692/0.6875, allocations: 236.8 kB / 0.5661 GB, free: 15.55 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005672/0.6932, allocations: 3.827 MB / 0.5698 GB, free: 15.41 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.727e-05/0.6932, allocations: 0 / 0.5698 GB, free: 15.41 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000343/0.6936, allocations: 108.7 kB / 0.5699 GB, free: 15.41 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.788e-05/0.6936, allocations: 59.41 kB / 0.57 GB, free: 15.41 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00816/0.7018, allocations: 5.989 MB / 0.5758 GB, free: 15.38 MB / 478.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.01825/0.7201, allocations: 11.21 MB / 0.5868 GB, free: 7.625 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006373/0.7265, allocations: 5.037 MB / 0.5917 GB, free: 4.238 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003247/0.7297, allocations: 2.403 MB / 0.594 GB, free: 2.465 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005454/0.7303, allocations: 437.2 kB / 0.5945 GB, free: 2 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.4e-05/0.7304, allocations: 94.22 kB / 0.5945 GB, free: 1.934 MB / 478.1 MB Notification: Performance of pre-optimization done (n=390): time 6.632e-06/0.7304, allocations: 1 kB / 0.5945 GB, free: 1.934 MB / 478.1 MB Notification: Performance of matching and sorting (n=390): time 0.009282/0.7397, allocations: 5.814 MB / 0.6002 GB, free: 13.23 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.593e-05/0.7398, allocations: 91.5 kB / 0.6003 GB, free: 13.12 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001044/0.7408, allocations: 0.879 MB / 0.6012 GB, free: 12.24 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003397/0.7412, allocations: 98.7 kB / 0.6013 GB, free: 12.14 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003307/0.7415, allocations: 0.5252 MB / 0.6018 GB, free: 11.61 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009737/0.7425, allocations: 1.307 MB / 0.6031 GB, free: 10.32 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009312/0.7434, allocations: 0.6254 MB / 0.6037 GB, free: 9.684 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001371/0.7436, allocations: 358.9 kB / 0.604 GB, free: 9.328 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002712/0.7463, allocations: 1.745 MB / 0.6057 GB, free: 7.582 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002966/0.7493, allocations: 2.259 MB / 0.6079 GB, free: 5.188 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006257/0.7555, allocations: 4.331 MB / 0.6121 GB, free: 0.7539 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.859e-06/0.7556, allocations: 4 kB / 0.6121 GB, free: 0.75 MB / 494.1 MB Notification: Performance of matching and sorting (n=450) (initialization): time 0.007694/0.7633, allocations: 4.587 MB / 0.6166 GB, free: 12.21 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.213e-05/0.7633, allocations: 12 kB / 0.6166 GB, free: 12.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.286e-05/0.7633, allocations: 12 kB / 0.6167 GB, free: 12.19 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.001e-05/0.7634, allocations: 25.41 kB / 0.6167 GB, free: 12.16 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003631/0.767, allocations: 0.7917 MB / 0.6174 GB, free: 11.42 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.322e-05/0.7671, allocations: 31.78 kB / 0.6175 GB, free: 11.39 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002281/0.7694, allocations: 361.9 kB / 0.6178 GB, free: 11.04 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003361/0.7697, allocations: 147.9 kB / 0.618 GB, free: 10.9 MB / 0.4981 GB 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.001413/0.7711, allocations: 0.7634 MB / 0.6187 GB, free: 10.17 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005765/0.7717, allocations: 210.9 kB / 0.6189 GB, free: 9.965 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009282/0.781, allocations: 5.163 MB / 0.624 GB, free: 4.797 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.129e-05/0.7811, allocations: 40.94 kB / 0.624 GB, free: 4.758 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.421e-05/0.7811, allocations: 4 kB / 0.624 GB, free: 4.754 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.795e-05/0.7811, allocations: 27.84 kB / 0.624 GB, free: 4.727 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004549/0.7857, allocations: 2.811 MB / 0.6268 GB, free: 1.961 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.248e-06/0.7857, allocations: 0 / 0.6268 GB, free: 1.961 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003402/0.7891, allocations: 0.7322 MB / 0.6275 GB, free: 1.273 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-05/0.7892, allocations: 12 kB / 0.6275 GB, free: 1.262 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002385/0.7894, allocations: 91.97 kB / 0.6276 GB, free: 1.172 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.858e-05/0.7894, allocations: 16.59 kB / 0.6276 GB, free: 1.156 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.7894, allocations: 0.9062 kB / 0.6276 GB, free: 1.156 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01043/0.7999, allocations: 7.224 MB / 0.6347 GB, free: 9.891 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005058/0.8004, allocations: 319 kB / 0.635 GB, free: 9.559 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003389/0.8007, allocations: 83.83 kB / 0.635 GB, free: 9.477 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002687/0.8034, allocations: 218.8 kB / 0.6352 GB, free: 9.27 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006413/0.8041, allocations: 315.6 kB / 0.6355 GB, free: 8.965 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003944/0.8045, allocations: 179.9 kB / 0.6357 GB, free: 8.789 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0009066/0.8054, allocations: 0.6832 MB / 0.6364 GB, free: 8.109 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8054, allocations: 0.9062 kB / 0.6364 GB, free: 8.109 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.002469/0.8079, allocations: 1.077 MB / 0.6374 GB, free: 7.031 MB / 0.5137 GB 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.001049/0.8089, allocations: 457.8 kB / 0.6379 GB, free: 6.645 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.006752/0.8157, allocations: 4.301 MB / 0.6421 GB, free: 2.406 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 7.414e-06/0.8157, allocations: 5.875 kB / 0.6421 GB, free: 2.402 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.003513/0.8192, allocations: 2.267 MB / 0.6443 GB, free: 224 kB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005031/0.8243, allocations: 1.251 MB / 0.6455 GB, free: 15 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01129/0.8356, allocations: 6.649 MB / 0.652 GB, free: 8.328 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001284/0.8369, allocations: 1.845 MB / 0.6538 GB, free: 6.445 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.004753/0.8417, allocations: 1.768 MB / 0.6555 GB, free: 4.672 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00103/0.8427, allocations: 291.3 kB / 0.6558 GB, free: 4.387 MB / 0.5294 GB Notification: Performance of SimCode: time 7.92e-07/0.8427, allocations: 0 / 0.6558 GB, free: 4.387 MB / 0.5294 GB Notification: Performance of Templates: time 0.09073/0.9335, allocations: 64.27 MB / 0.7186 GB, free: 4.645 MB / 0.5919 GB 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