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.001525/0.001525, allocations: 115.7 kB / 17.74 MB, free: 5.297 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.001769/0.001769, allocations: 189.6 kB / 18.67 MB, free: 4.375 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.357/1.357, allocations: 222.9 MB / 242.4 MB, free: 15.06 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001135/0.001135, allocations: 47.92 kB / 352 MB, free: 3.219 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2859/0.287, allocations: 49.44 MB / 401.4 MB, free: 8.707 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.PsychrometricData): time 0.1665/0.4536, allocations: 151.8 MB / 0.5403 GB, free: 408 kB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.2941/0.7478, allocations: 0.695 MB / 0.541 GB, free: 1.691 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002106/0.748, allocations: 2.344 kB / 0.541 GB, free: 1.691 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004525/0.7485, allocations: 78.75 kB / 0.541 GB, free: 1.691 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009115/0.7495, allocations: 293.4 kB / 0.5413 GB, free: 1.691 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003456/0.7529, allocations: 1.11 MB / 0.5424 GB, free: 1.664 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.004863/0.7578, allocations: 5.599 MB / 0.5479 GB, free: 1.641 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004341/0.7583, allocations: 258.2 kB / 0.5481 GB, free: 1.574 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004658/0.7629, allocations: 2.233 MB / 0.5503 GB, free: 1.574 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004535/0.7675, allocations: 1.97 MB / 0.5522 GB, free: 1.574 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001029/0.7686, allocations: 240.9 kB / 0.5524 GB, free: 1.574 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004848/0.7734, allocations: 1.728 MB / 0.5541 GB, free: 1.559 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001672/0.7751, allocations: 1.223 MB / 0.5553 GB, free: 1.551 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004152/0.7793, allocations: 1.562 MB / 0.5569 GB, free: 1.547 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007466/0.7868, allocations: 4.543 MB / 0.5613 GB, free: 1.078 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.7868, allocations: 0.9688 kB / 0.5613 GB, free: 1.078 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.7868, allocations: 0 / 0.5613 GB, free: 1.078 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.000161/0.787, allocations: 0 / 0.5613 GB, free: 1.078 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.01113/0.7982, allocations: 3.487 MB / 0.5647 GB, free: 16.03 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.475e-05/0.7982, allocations: 9.375 kB / 0.5647 GB, free: 16.03 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001913/0.8001, allocations: 321.8 kB / 0.565 GB, free: 15.92 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002437/0.8026, allocations: 1.346 MB / 0.5663 GB, free: 15.57 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001114/0.8027, allocations: 184.2 kB / 0.5665 GB, free: 15.57 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003804/0.8031, allocations: 238.8 kB / 0.5667 GB, free: 15.57 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006682/0.8098, allocations: 3.82 MB / 0.5705 GB, free: 15.43 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.148e-05/0.8099, allocations: 0 / 0.5705 GB, free: 15.43 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004413/0.8103, allocations: 113.5 kB / 0.5706 GB, free: 15.43 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.943e-05/0.8104, allocations: 59.16 kB / 0.5706 GB, free: 15.43 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00905/0.8194, allocations: 5.986 MB / 0.5765 GB, free: 15.4 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.02378/0.8432, allocations: 11.21 MB / 0.5874 GB, free: 7.648 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008497/0.8518, allocations: 5.034 MB / 0.5923 GB, free: 4.266 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004473/0.8563, allocations: 2.408 MB / 0.5947 GB, free: 2.488 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008165/0.8571, allocations: 436.9 kB / 0.5951 GB, free: 2.023 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001229/0.8573, allocations: 93.5 kB / 0.5952 GB, free: 1.957 MB / 478.1 MB Notification: Performance of pre-optimization done (n=390): time 8.897e-06/0.8573, allocations: 1.156 kB / 0.5952 GB, free: 1.957 MB / 478.1 MB Notification: Performance of matching and sorting (n=390): time 0.01297/0.8703, allocations: 5.817 MB / 0.6009 GB, free: 13.21 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.639e-05/0.8704, allocations: 94.31 kB / 0.601 GB, free: 13.11 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001458/0.8719, allocations: 0.8756 MB / 0.6018 GB, free: 12.22 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000698/0.8726, allocations: 106.5 kB / 0.6019 GB, free: 12.11 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003906/0.873, allocations: 0.5181 MB / 0.6024 GB, free: 11.59 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001485/0.8745, allocations: 1.301 MB / 0.6037 GB, free: 10.3 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001433/0.876, allocations: 0.6263 MB / 0.6043 GB, free: 9.668 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001658/0.8761, allocations: 361.9 kB / 0.6047 GB, free: 9.309 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003171/0.8793, allocations: 1.742 MB / 0.6064 GB, free: 7.566 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003719/0.883, allocations: 2.259 MB / 0.6086 GB, free: 5.172 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007364/0.8904, allocations: 4.326 MB / 0.6128 GB, free: 0.7383 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.718e-05/0.8905, allocations: 4.906 kB / 0.6128 GB, free: 0.7344 MB / 494.1 MB Notification: Performance of matching and sorting (n=450) (initialization): time 0.009636/0.9002, allocations: 4.586 MB / 0.6173 GB, free: 12.2 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.965e-05/0.9002, allocations: 8.906 kB / 0.6173 GB, free: 12.19 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.626e-05/0.9003, allocations: 12 kB / 0.6173 GB, free: 12.18 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.465e-05/0.9004, allocations: 28.84 kB / 0.6173 GB, free: 12.15 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004926/0.9053, allocations: 0.7921 MB / 0.6181 GB, free: 11.41 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.373e-05/0.9054, allocations: 34.22 kB / 0.6181 GB, free: 11.38 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003325/0.9087, allocations: 362.1 kB / 0.6185 GB, free: 11.03 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007499/0.9095, allocations: 147.9 kB / 0.6186 GB, free: 10.88 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.002558/0.9121, allocations: 0.7556 MB / 0.6194 GB, free: 10.16 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001254/0.9134, allocations: 206.7 kB / 0.6196 GB, free: 9.961 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01211/0.9255, allocations: 5.167 MB / 0.6246 GB, free: 4.789 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.191e-05/0.9256, allocations: 40.75 kB / 0.6246 GB, free: 4.75 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.637e-05/0.9256, allocations: 3.938 kB / 0.6246 GB, free: 4.746 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.033e-05/0.9257, allocations: 24.05 kB / 0.6247 GB, free: 4.727 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006221/0.9319, allocations: 2.819 MB / 0.6274 GB, free: 1.957 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.516e-05/0.932, allocations: 0.9688 kB / 0.6274 GB, free: 1.957 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003757/0.9357, allocations: 0.7239 MB / 0.6281 GB, free: 1.273 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.778e-05/0.9358, allocations: 19.75 kB / 0.6281 GB, free: 1.258 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005187/0.9363, allocations: 91.95 kB / 0.6282 GB, free: 1.168 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.218e-05/0.9364, allocations: 17.09 kB / 0.6282 GB, free: 1.152 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.027e-06/0.9364, allocations: 3.938 kB / 0.6282 GB, free: 1.148 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01451/0.9509, allocations: 7.222 MB / 0.6353 GB, free: 9.883 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009063/0.9519, allocations: 314 kB / 0.6356 GB, free: 9.555 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009745/0.9529, allocations: 87.83 kB / 0.6357 GB, free: 9.469 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003811/0.9567, allocations: 227 kB / 0.6359 GB, free: 9.254 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00102/0.9578, allocations: 319.8 kB / 0.6362 GB, free: 8.945 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008708/0.9587, allocations: 175.9 kB / 0.6364 GB, free: 8.773 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001148/0.9598, allocations: 0.6902 MB / 0.637 GB, free: 8.09 MB / 0.5137 GB Notification: Performance of sort global known variables: time 4.41e-07/0.9598, allocations: 0 / 0.637 GB, free: 8.09 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.003963/0.9638, allocations: 1.074 MB / 0.6381 GB, free: 7.016 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.001736/0.9656, allocations: 449.2 kB / 0.6385 GB, free: 6.633 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.008456/0.974, allocations: 4.302 MB / 0.6427 GB, free: 2.395 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.403e-05/0.9741, allocations: 9.812 kB / 0.6427 GB, free: 2.387 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.004285/0.9784, allocations: 2.267 MB / 0.6449 GB, free: 208 kB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007404/0.9858, allocations: 1.253 MB / 0.6462 GB, free: 14.98 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01473/1.001, allocations: 6.742 MB / 0.6528 GB, free: 8.207 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001683/1.002, allocations: 1.855 MB / 0.6546 GB, free: 6.316 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002307/1.005, allocations: 331.3 kB / 0.6549 GB, free: 5.992 MB / 0.5294 GB Notification: Performance of SimCode: time 9.31e-07/1.005, allocations: 0 / 0.6549 GB, free: 5.992 MB / 0.5294 GB Notification: Performance of Templates: time 0.07011/1.075, allocations: 46.9 MB / 0.7007 GB, free: 7.258 MB / 0.5762 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/PsychrometricData/PsychrometricData.csv","/var/lib/jenkins1/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