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.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 3.2.3+maint.om/package.mo", uses=false) 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.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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00101/0.001014, allocations: 98.31 kB / 16.94 MB, free: 6.441 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.0009088/0.0009088, allocations: 189.8 kB / 17.83 MB, free: 6.008 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.301/1.301, allocations: 205.4 MB / 224 MB, free: 13.18 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004426/0.0004427, allocations: 12 kB / 280.7 MB, free: 3.77 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07616/0.07662, allocations: 47.59 MB / 328.3 MB, free: 4.117 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.PsychrometricData): time 0.2742/0.3509, allocations: 127.6 MB / 455.9 MB, free: 9.051 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002163/0.3531, allocations: 1.764 MB / 457.7 MB, free: 7.285 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.394e-05/0.3532, allocations: 0 / 457.7 MB, free: 7.285 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002841/0.3535, allocations: 59.7 kB / 457.8 MB, free: 7.227 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005131/0.354, allocations: 227.4 kB / 458 MB, free: 7.004 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001998/0.356, allocations: 0.7804 MB / 458.8 MB, free: 6.223 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002957/0.359, allocations: 3.08 MB / 461.8 MB, free: 3.133 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003176/0.3593, allocations: 263.1 kB / 462.1 MB, free: 2.855 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003163/0.3625, allocations: 1.882 MB / 464 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002948/0.3655, allocations: 1.621 MB / 465.6 MB, free: 15.34 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005365/0.366, allocations: 148 kB / 465.7 MB, free: 15.2 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00345/0.3695, allocations: 1.365 MB / 467.1 MB, free: 13.83 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001518/0.371, allocations: 1.013 MB / 468.1 MB, free: 12.82 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009716/0.372, allocations: 0.4967 MB / 468.6 MB, free: 12.31 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00395/0.376, allocations: 3.15 MB / 471.8 MB, free: 9.16 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.376, allocations: 0 / 471.8 MB, free: 9.16 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.376, allocations: 4 kB / 471.8 MB, free: 9.156 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001024/0.3761, allocations: 0 / 471.8 MB, free: 9.156 MB / 366.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.008191/0.3843, allocations: 2.891 MB / 474.7 MB, free: 6.207 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.861e-05/0.3844, allocations: 8.031 kB / 474.7 MB, free: 6.199 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002262/0.3867, allocations: 325.2 kB / 475 MB, free: 5.879 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003393/0.3901, allocations: 1.312 MB / 476.3 MB, free: 4.52 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001481/0.3902, allocations: 184.8 kB / 476.5 MB, free: 4.336 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005359/0.3908, allocations: 239.9 kB / 476.7 MB, free: 4.102 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006083/0.3969, allocations: 3.784 MB / 480.5 MB, free: 276 kB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.084e-05/0.397, allocations: 3.984 kB / 480.5 MB, free: 272 kB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003536/0.3973, allocations: 120 kB / 480.6 MB, free: 152 kB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.25e-05/0.3974, allocations: 56 kB / 480.7 MB, free: 96 kB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008699/0.4061, allocations: 5.967 MB / 486.6 MB, free: 10.11 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.02229/0.4284, allocations: 11.2 MB / 497.8 MB, free: 14.07 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007746/0.4362, allocations: 5.011 MB / 0.4911 GB, free: 9.043 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007165/0.4369, allocations: 437.3 kB / 0.4915 GB, free: 8.543 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.668e-05/0.4371, allocations: 98.62 kB / 0.4916 GB, free: 8.438 MB / 398.1 MB Notification: Performance of pre-optimization done (n=390): time 4.869e-06/0.4371, allocations: 0 / 0.4916 GB, free: 8.438 MB / 398.1 MB Notification: Performance of matching and sorting (n=390): time 0.009839/0.4469, allocations: 5.785 MB / 0.4972 GB, free: 2.629 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.28e-05/0.447, allocations: 90.47 kB / 0.4973 GB, free: 2.527 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001134/0.4482, allocations: 0.8712 MB / 0.4982 GB, free: 1.648 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004305/0.4486, allocations: 105.7 kB / 0.4983 GB, free: 1.539 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003033/0.4489, allocations: 0.5072 MB / 0.4988 GB, free: 1.023 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001044/0.45, allocations: 1.301 MB / 0.5 GB, free: 15.7 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001844/0.4502, allocations: 76 kB / 0.5001 GB, free: 15.62 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002438/0.4504, allocations: 0.498 MB / 0.5006 GB, free: 15.12 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002596/0.453, allocations: 1.724 MB / 0.5023 GB, free: 13.39 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002955/0.456, allocations: 2.234 MB / 0.5045 GB, free: 11.01 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003037/0.459, allocations: 2.107 MB / 0.5065 GB, free: 8.891 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.702e-05/0.4591, allocations: 4 kB / 0.5065 GB, free: 8.887 MB / 414.1 MB Notification: Performance of matching and sorting (n=450) (initialization): time 0.007154/0.4662, allocations: 4.558 MB / 0.511 GB, free: 4.301 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.17e-05/0.4663, allocations: 8 kB / 0.511 GB, free: 4.293 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.218e-05/0.4663, allocations: 12.84 kB / 0.511 GB, free: 4.281 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.97e-05/0.4664, allocations: 31.98 kB / 0.511 GB, free: 4.25 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003387/0.4698, allocations: 0.7918 MB / 0.5118 GB, free: 3.457 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.707e-05/0.4698, allocations: 35.92 kB / 0.5118 GB, free: 3.422 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002439/0.4723, allocations: 428.4 kB / 0.5122 GB, free: 3 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002931/0.4726, allocations: 143.9 kB / 0.5124 GB, free: 2.859 MB / 414.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.001323/0.4739, allocations: 0.7621 MB / 0.5131 GB, free: 2.086 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004934/0.4744, allocations: 205.8 kB / 0.5133 GB, free: 1.883 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008386/0.4828, allocations: 5.174 MB / 0.5184 GB, free: 12.67 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.867e-05/0.4829, allocations: 40 kB / 0.5184 GB, free: 12.63 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.179e-05/0.4829, allocations: 4 kB / 0.5184 GB, free: 12.62 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.719e-05/0.483, allocations: 19.92 kB / 0.5184 GB, free: 12.61 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004885/0.4878, allocations: 2.826 MB / 0.5212 GB, free: 9.727 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.364e-05/0.4879, allocations: 0 / 0.5212 GB, free: 9.727 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003481/0.4914, allocations: 0.7333 MB / 0.5219 GB, free: 8.992 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.059e-05/0.4914, allocations: 12 kB / 0.5219 GB, free: 8.98 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002753/0.4917, allocations: 95.95 kB / 0.522 GB, free: 8.887 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.849e-05/0.4918, allocations: 16 kB / 0.522 GB, free: 8.871 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.4918, allocations: 3.938 kB / 0.522 GB, free: 8.867 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01044/0.5022, allocations: 7.175 MB / 0.529 GB, free: 1.645 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007905/0.5031, allocations: 353.8 kB / 0.5294 GB, free: 1.277 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004519/0.5035, allocations: 79.98 kB / 0.5294 GB, free: 1.199 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003014/0.5065, allocations: 307.4 kB / 0.5297 GB, free: 0.8984 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005409/0.5071, allocations: 306.9 kB / 0.53 GB, free: 0.5977 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003682/0.5075, allocations: 179.9 kB / 0.5302 GB, free: 432 kB / 430.1 MB Notification: Performance of sorting global known variables: time 0.1654/0.6729, allocations: 0.6712 MB / 0.5309 GB, free: 160.1 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.323e-06/0.673, allocations: 0 / 0.5309 GB, free: 160.1 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.003557/0.6765, allocations: 1.089 MB / 0.5319 GB, free: 160.1 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 (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.001149/0.6777, allocations: 456.6 kB / 0.5324 GB, free: 160 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.006968/0.6847, allocations: 4.251 MB / 0.5365 GB, free: 159.7 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.414e-05/0.6847, allocations: 7.25 kB / 0.5365 GB, free: 159.7 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003361/0.6881, allocations: 2.258 MB / 0.5387 GB, free: 159.1 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005244/0.6934, allocations: 1.163 MB / 0.5399 GB, free: 158.8 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01086/0.7042, allocations: 7.76 MB / 0.5474 GB, free: 155.5 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009986/0.7053, allocations: 1.884 MB / 0.5493 GB, free: 154.7 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.005114/0.7104, allocations: 1.768 MB / 0.551 GB, free: 153.8 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009262/0.7113, allocations: 295.3 kB / 0.5513 GB, free: 153.5 MB / 430.1 MB Notification: Performance of SimCode: time 1.062e-06/0.7114, allocations: 0 / 0.5513 GB, free: 153.5 MB / 430.1 MB Notification: Performance of Templates: time 0.06675/0.7781, allocations: 58.26 MB / 0.6082 GB, free: 95.2 MB / 430.1 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.PsychrometricData.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: 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","../files/Modelica_3.2.3_Modelica.Media.Examples.PsychrometricData.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches