Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.PsychrometricData.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_Modelica.Media.Examples.PsychrometricData") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001382/0.001381, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.425/1.425, allocations: 226.7 MB / 245.5 MB, free: 6.984 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001005/0.001005, allocations: 117 kB / 296.7 MB, free: 6.457 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009449/0.0009451, allocations: 47.92 kB / 356.6 MB, free: 10.61 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2124/0.2134, allocations: 50.46 MB / 407 MB, free: 27.8 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.PsychrometricData): time 0.3375/0.5509, allocations: 149.7 MB / 0.5437 GB, free: 11.73 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.001143/0.5521, allocations: 0.71 MB / 0.5444 GB, free: 11.68 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.472e-05/0.5522, allocations: 0 / 0.5444 GB, free: 11.68 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003408/0.5526, allocations: 71.08 kB / 0.5445 GB, free: 11.66 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004821/0.5531, allocations: 277.7 kB / 0.5448 GB, free: 11.55 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002421/0.5555, allocations: 0.9436 MB / 0.5457 GB, free: 11.2 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.004902/0.5604, allocations: 7.173 MB / 0.5527 GB, free: 8.988 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003284/0.5608, allocations: 260.9 kB / 0.5529 GB, free: 8.875 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002881/0.5637, allocations: 1.925 MB / 0.5548 GB, free: 8.398 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002639/0.5663, allocations: 1.962 MB / 0.5567 GB, free: 7.707 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004998/0.5668, allocations: 142.8 kB / 0.5569 GB, free: 7.707 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003164/0.57, allocations: 1.715 MB / 0.5585 GB, free: 7.25 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001053/0.5711, allocations: 1.088 MB / 0.5596 GB, free: 6.777 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001924/0.573, allocations: 1.415 MB / 0.561 GB, free: 6.277 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004652/0.5777, allocations: 4.421 MB / 0.5653 GB, free: 3.113 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.5777, allocations: 2.344 kB / 0.5653 GB, free: 3.113 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.5777, allocations: 0 / 0.5653 GB, free: 3.113 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.936e-05/0.5778, allocations: 0 / 0.5653 GB, free: 3.113 MB / 394.7 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.00866/0.5864, allocations: 3.503 MB / 0.5687 GB, free: 15.92 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.144e-05/0.5865, allocations: 8.031 kB / 0.5687 GB, free: 15.91 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001753/0.5883, allocations: 325.6 kB / 0.569 GB, free: 15.59 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003043/0.5913, allocations: 1.324 MB / 0.5703 GB, free: 14.38 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001108/0.5914, allocations: 183.4 kB / 0.5705 GB, free: 14.28 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003693/0.5918, allocations: 246.5 kB / 0.5707 GB, free: 14.11 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005886/0.5977, allocations: 3.817 MB / 0.5745 GB, free: 10.54 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.728e-05/0.5978, allocations: 4.562 kB / 0.5745 GB, free: 10.54 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003317/0.5981, allocations: 116 kB / 0.5746 GB, free: 10.43 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.971e-05/0.5982, allocations: 60 kB / 0.5746 GB, free: 10.37 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008894/0.6071, allocations: 5.978 MB / 0.5805 GB, free: 4.371 MB / 410.7 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.01926/0.6264, allocations: 11.18 MB / 0.5914 GB, free: 8.469 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00676/0.6331, allocations: 5.041 MB / 0.5963 GB, free: 3.398 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003488/0.6367, allocations: 2.404 MB / 0.5987 GB, free: 0.9844 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005961/0.6373, allocations: 443.2 kB / 0.5991 GB, free: 0.4961 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.205e-05/0.6374, allocations: 87.62 kB / 0.5992 GB, free: 412 kB / 426.7 MB Notification: Performance of pre-optimization done (n=390): time 5.269e-06/0.6374, allocations: 0 / 0.5992 GB, free: 412 kB / 426.7 MB Notification: Performance of matching and sorting (n=390): time 0.009774/0.6472, allocations: 5.812 MB / 0.6049 GB, free: 10.57 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.313e-05/0.6473, allocations: 98.34 kB / 0.6049 GB, free: 10.46 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001073/0.6484, allocations: 0.8712 MB / 0.6058 GB, free: 9.578 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003514/0.6487, allocations: 105.7 kB / 0.6059 GB, free: 9.469 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003247/0.6491, allocations: 0.5201 MB / 0.6064 GB, free: 8.945 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001026/0.6501, allocations: 1.306 MB / 0.6077 GB, free: 7.652 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009175/0.651, allocations: 0.6293 MB / 0.6083 GB, free: 7.016 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.000141/0.6512, allocations: 353.9 kB / 0.6086 GB, free: 6.664 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002673/0.6539, allocations: 1.74 MB / 0.6103 GB, free: 4.922 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003067/0.6569, allocations: 2.262 MB / 0.6125 GB, free: 2.508 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00618/0.6631, allocations: 4.329 MB / 0.6168 GB, free: 14 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.011e-05/0.6632, allocations: 0 / 0.6168 GB, free: 14 MB / 458.7 MB Notification: Performance of matching and sorting (n=450) (initialization): time 0.007162/0.6703, allocations: 4.59 MB / 0.6213 GB, free: 9.383 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.869e-05/0.6704, allocations: 14.66 kB / 0.6213 GB, free: 9.371 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.257e-05/0.6704, allocations: 12 kB / 0.6213 GB, free: 9.359 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.468e-05/0.6705, allocations: 24 kB / 0.6213 GB, free: 9.336 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003552/0.674, allocations: 0.8038 MB / 0.6221 GB, free: 8.531 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.517e-05/0.6741, allocations: 31.94 kB / 0.6221 GB, free: 8.5 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002469/0.6766, allocations: 420.5 kB / 0.6225 GB, free: 8.086 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002799/0.6768, allocations: 143.9 kB / 0.6227 GB, free: 7.945 MB / 458.7 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.001291/0.6781, allocations: 0.7636 MB / 0.6234 GB, free: 7.172 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005354/0.6787, allocations: 217.7 kB / 0.6236 GB, free: 6.957 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008883/0.6876, allocations: 5.159 MB / 0.6286 GB, free: 1.762 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.842e-05/0.6877, allocations: 51.92 kB / 0.6287 GB, free: 1.711 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.072e-05/0.6877, allocations: 3.938 kB / 0.6287 GB, free: 1.707 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.56e-05/0.6877, allocations: 19.92 kB / 0.6287 GB, free: 1.688 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004694/0.6924, allocations: 2.818 MB / 0.6315 GB, free: 14.92 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.114e-05/0.6924, allocations: 4 kB / 0.6315 GB, free: 14.91 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003412/0.6959, allocations: 0.7294 MB / 0.6322 GB, free: 14.18 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.803e-05/0.6959, allocations: 12 kB / 0.6322 GB, free: 14.17 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002453/0.6962, allocations: 95.95 kB / 0.6323 GB, free: 14.08 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.902e-05/0.6962, allocations: 23.88 kB / 0.6323 GB, free: 14.05 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.6962, allocations: 0 / 0.6323 GB, free: 14.05 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01676/0.713, allocations: 11.84 MB / 0.6439 GB, free: 2.039 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005253/0.7135, allocations: 322 kB / 0.6442 GB, free: 1.703 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003963/0.7139, allocations: 79.92 kB / 0.6443 GB, free: 1.625 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002974/0.7169, allocations: 303.4 kB / 0.6446 GB, free: 1.328 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006096/0.7175, allocations: 310.9 kB / 0.6448 GB, free: 1.023 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003669/0.7179, allocations: 183.9 kB / 0.645 GB, free: 0.8438 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0007928/0.7187, allocations: 0.6785 MB / 0.6457 GB, free: 176 kB / 474.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.7187, allocations: 4 kB / 0.6457 GB, free: 172 kB / 474.7 MB Notification: Performance of remove unused functions: time 0.002479/0.7212, allocations: 1.179 MB / 0.6468 GB, free: 14.99 MB / 490.7 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.001056/0.7223, allocations: 464.4 kB / 0.6473 GB, free: 14.55 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.006697/0.729, allocations: 4.27 MB / 0.6515 GB, free: 10.27 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.58e-05/0.729, allocations: 5 kB / 0.6515 GB, free: 10.27 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003428/0.7325, allocations: 2.271 MB / 0.6537 GB, free: 7.996 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005935/0.7384, allocations: 1.224 MB / 0.6549 GB, free: 6.77 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01449/0.7529, allocations: 9.716 MB / 0.6644 GB, free: 13 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001508/0.7545, allocations: 1.959 MB / 0.6663 GB, free: 11 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.00558/0.76, allocations: 1.771 MB / 0.668 GB, free: 9.219 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001072/0.7611, allocations: 295.3 kB / 0.6683 GB, free: 8.93 MB / 0.4948 GB Notification: Performance of SimCode: time 2.124e-06/0.7611, allocations: 0 / 0.6683 GB, free: 8.93 MB / 0.4948 GB Notification: Performance of Templates: time 0.2389/1, allocations: 62.78 MB / 0.7296 GB, free: 203.5 MB / 0.5105 GB make -j1 -f Modelica_trunk_Modelica.Media.Examples.PsychrometricData.makefile (rm -f Modelica_trunk_Modelica.Media.Examples.PsychrometricData.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.PsychrometricData.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.PsychrometricData.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.PsychrometricData.sim & ./Modelica_trunk_Modelica.Media.Examples.PsychrometricData -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.PsychrometricData.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.PsychrometricData_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/PsychrometricData/PsychrometricData.csv","../files/Modelica_trunk_Modelica.Media.Examples.PsychrometricData.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches