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.001136/0.001136, allocations: 104.7 kB / 17.93 MB, free: 5.551 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.001051/0.001051, allocations: 193.8 kB / 18.86 MB, free: 4.629 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.451/1.451, allocations: 205.1 MB / 224.7 MB, free: 12.35 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.001158/0.001158, allocations: 55.92 kB / 280.8 MB, free: 3.477 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09766/0.09883, allocations: 46.62 MB / 327.4 MB, free: 4.789 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.PsychrometricData): time 0.3836/0.4825, allocations: 151 MB / 478.4 MB, free: 408 kB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001785/0.4844, allocations: 0.9639 MB / 479.4 MB, free: 15.45 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001584/0.4845, allocations: 3.938 kB / 479.4 MB, free: 15.45 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004396/0.485, allocations: 67.62 kB / 479.5 MB, free: 15.38 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007199/0.4858, allocations: 274.9 kB / 479.7 MB, free: 15.11 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003775/0.4896, allocations: 1.184 MB / 480.9 MB, free: 13.93 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004842/0.4944, allocations: 5.616 MB / 486.5 MB, free: 8.289 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004007/0.4949, allocations: 264.8 kB / 486.8 MB, free: 8.008 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004223/0.4991, allocations: 2.248 MB / 489 MB, free: 5.754 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00396/0.5031, allocations: 2.088 MB / 491.1 MB, free: 3.66 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009582/0.5041, allocations: 240 kB / 491.3 MB, free: 3.426 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004757/0.5089, allocations: 1.892 MB / 493.2 MB, free: 1.531 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002185/0.5111, allocations: 1.22 MB / 494.5 MB, free: 316 kB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003732/0.5148, allocations: 1.565 MB / 496 MB, free: 14.74 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005154/0.52, allocations: 3.388 MB / 499.4 MB, free: 11.34 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.262e-05/0.5201, allocations: 0 / 499.4 MB, free: 11.34 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.5201, allocations: 4 kB / 499.4 MB, free: 11.34 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0001348/0.5203, allocations: 0 / 499.4 MB, free: 11.34 MB / 398.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.01128/0.5315, allocations: 3.511 MB / 0.4911 GB, free: 7.77 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.002e-05/0.5316, allocations: 8.031 kB / 0.4911 GB, free: 7.762 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002313/0.534, allocations: 326.2 kB / 0.4915 GB, free: 7.441 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00263/0.5366, allocations: 1.324 MB / 0.4928 GB, free: 6.07 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001458/0.5368, allocations: 184.8 kB / 0.4929 GB, free: 5.887 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005235/0.5373, allocations: 240 kB / 0.4932 GB, free: 5.652 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007486/0.5448, allocations: 3.827 MB / 0.4969 GB, free: 1.777 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.029e-05/0.5449, allocations: 4 kB / 0.4969 GB, free: 1.773 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005072/0.5454, allocations: 112 kB / 0.497 GB, free: 1.664 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.276e-05/0.5455, allocations: 60 kB / 0.4971 GB, free: 1.605 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01046/0.556, allocations: 5.982 MB / 0.5029 GB, free: 11.61 MB / 414.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.022/0.578, allocations: 11.18 MB / 0.5138 GB, free: 15.58 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007338/0.5854, allocations: 5.038 MB / 0.5187 GB, free: 10.52 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00381/0.5892, allocations: 2.404 MB / 0.5211 GB, free: 8.109 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006186/0.5899, allocations: 439.3 kB / 0.5215 GB, free: 7.605 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001132/0.59, allocations: 94.62 kB / 0.5216 GB, free: 7.504 MB / 430.1 MB Notification: Performance of pre-optimization done (n=390): time 9.388e-06/0.59, allocations: 0 / 0.5216 GB, free: 7.504 MB / 430.1 MB Notification: Performance of matching and sorting (n=390): time 0.01002/0.6, allocations: 5.816 MB / 0.5273 GB, free: 1.664 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.656e-05/0.6002, allocations: 94.47 kB / 0.5274 GB, free: 1.559 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001106/0.6013, allocations: 0.8751 MB / 0.5282 GB, free: 0.6758 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005756/0.6019, allocations: 105.7 kB / 0.5283 GB, free: 0.5664 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003387/0.6022, allocations: 0.5149 MB / 0.5288 GB, free: 44 kB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001266/0.6035, allocations: 1.305 MB / 0.5301 GB, free: 14.72 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009183/0.6044, allocations: 0.6254 MB / 0.5307 GB, free: 14.09 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001455/0.6046, allocations: 357.9 kB / 0.5311 GB, free: 13.73 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002714/0.6073, allocations: 1.744 MB / 0.5328 GB, free: 11.98 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003503/0.6108, allocations: 2.262 MB / 0.535 GB, free: 9.57 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006906/0.6178, allocations: 4.329 MB / 0.5392 GB, free: 5.066 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.747e-05/0.6178, allocations: 0 / 0.5392 GB, free: 5.066 MB / 446.1 MB Notification: Performance of matching and sorting (n=450) (initialization): time 0.008052/0.6259, allocations: 4.586 MB / 0.5437 GB, free: 464 kB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.113e-05/0.6259, allocations: 12 kB / 0.5437 GB, free: 452 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.523e-05/0.626, allocations: 12.91 kB / 0.5437 GB, free: 440 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.205e-05/0.626, allocations: 27.62 kB / 0.5437 GB, free: 416 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.198/0.824, allocations: 0.7917 MB / 0.5445 GB, free: 177 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001015/0.8242, allocations: 38.53 kB / 0.5445 GB, free: 177 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003376/0.8276, allocations: 420.4 kB / 0.5449 GB, free: 176.9 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006677/0.8282, allocations: 143 kB / 0.5451 GB, free: 176.9 MB / 446.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[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.002149/0.8304, allocations: 0.7595 MB / 0.5458 GB, free: 176.8 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009147/0.8313, allocations: 210.7 kB / 0.546 GB, free: 176.7 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0113/0.8426, allocations: 5.181 MB / 0.5511 GB, free: 175.6 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.059e-05/0.8428, allocations: 41.59 kB / 0.5511 GB, free: 175.6 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.814e-05/0.8428, allocations: 3.75 kB / 0.5511 GB, free: 175.6 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.413e-05/0.8429, allocations: 18.23 kB / 0.5511 GB, free: 175.6 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006429/0.8493, allocations: 2.819 MB / 0.5539 GB, free: 174.7 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.131e-05/0.8494, allocations: 0 / 0.5539 GB, free: 174.7 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003986/0.8534, allocations: 0.7277 MB / 0.5546 GB, free: 174.6 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.628e-05/0.8535, allocations: 15.81 kB / 0.5546 GB, free: 174.6 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005233/0.854, allocations: 94.33 kB / 0.5547 GB, free: 174.6 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.589e-05/0.854, allocations: 14.66 kB / 0.5547 GB, free: 174.6 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.854, allocations: 0 / 0.5547 GB, free: 174.6 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01072/0.8648, allocations: 7.22 MB / 0.5618 GB, free: 172 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006968/0.8655, allocations: 319.5 kB / 0.5621 GB, free: 171.8 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005885/0.8661, allocations: 86.27 kB / 0.5622 GB, free: 171.7 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003138/0.8693, allocations: 296.4 kB / 0.5624 GB, free: 171.6 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006743/0.87, allocations: 308.5 kB / 0.5627 GB, free: 171.4 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004272/0.8704, allocations: 183.4 kB / 0.5629 GB, free: 171.3 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0007557/0.8712, allocations: 0.6833 MB / 0.5636 GB, free: 171 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.8712, allocations: 0 / 0.5636 GB, free: 171 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002949/0.8741, allocations: 1.084 MB / 0.5646 GB, free: 170.3 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 (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.001277/0.8754, allocations: 478.8 kB / 0.5651 GB, free: 169.9 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0232/0.8986, allocations: 15.28 MB / 0.58 GB, free: 154.7 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.17e-05/0.8987, allocations: 8.938 kB / 0.58 GB, free: 154.7 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003215/0.9019, allocations: 2.263 MB / 0.5822 GB, free: 152.4 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006224/0.9082, allocations: 1.251 MB / 0.5835 GB, free: 151.2 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01152/0.9197, allocations: 7.75 MB / 0.591 GB, free: 143.4 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001063/0.9208, allocations: 1.845 MB / 0.5928 GB, free: 141.5 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001715/0.9226, allocations: 335.2 kB / 0.5931 GB, free: 141.2 MB / 446.1 MB Notification: Performance of SimCode: time 1.383e-06/0.9226, allocations: 4 kB / 0.5931 GB, free: 141.2 MB / 446.1 MB Notification: Performance of Templates: time 0.05769/0.9803, allocations: 46.76 MB / 0.6388 GB, free: 94.31 MB / 446.1 MB 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/jenkins1/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