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/ModelicaServices trunk/package.mo", uses=false) 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) 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices trunk/package.mo): time 0.001168/0.001168, allocations: 104.4 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001312/0.001312, allocations: 214.4 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.375/1.375, allocations: 227.4 MB / 246.8 MB, free: 10.59 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001841/0.001841, allocations: 62.7 kB / 306.9 MB, free: 0.6602 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09397/0.09583, allocations: 50.54 MB / 357.5 MB, free: 14.12 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.PsychrometricData): time 0.2954/0.3912, allocations: 154.7 MB / 0.5002 GB, free: 472 kB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001103/0.3924, allocations: 0.6864 MB / 0.5009 GB, free: 15.79 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.742e-05/0.3925, allocations: 3.938 kB / 0.5009 GB, free: 15.79 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003661/0.3929, allocations: 79.48 kB / 0.5009 GB, free: 15.71 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005616/0.3934, allocations: 295.9 kB / 0.5012 GB, free: 15.43 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002537/0.396, allocations: 1.123 MB / 0.5023 GB, free: 14.31 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.004296/0.4003, allocations: 5.601 MB / 0.5078 GB, free: 8.688 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003047/0.4006, allocations: 266.7 kB / 0.5081 GB, free: 8.41 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002473/0.4031, allocations: 2.16 MB / 0.5102 GB, free: 6.246 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002444/0.4056, allocations: 1.971 MB / 0.5121 GB, free: 4.27 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006206/0.4062, allocations: 236 kB / 0.5123 GB, free: 4.039 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003216/0.4094, allocations: 1.736 MB / 0.514 GB, free: 2.301 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001197/0.4106, allocations: 1.228 MB / 0.5152 GB, free: 1.07 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001965/0.4126, allocations: 1.565 MB / 0.5167 GB, free: 15.5 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004439/0.417, allocations: 4.516 MB / 0.5211 GB, free: 10.97 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.4171, allocations: 3.938 kB / 0.5211 GB, free: 10.97 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.4171, allocations: 0 / 0.5211 GB, free: 10.97 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.284e-05/0.4171, allocations: 1.406 kB / 0.5211 GB, free: 10.97 MB / 446.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.008493/0.4256, allocations: 3.503 MB / 0.5246 GB, free: 7.406 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.074e-05/0.4257, allocations: 8.031 kB / 0.5246 GB, free: 7.398 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001739/0.4274, allocations: 322.5 kB / 0.5249 GB, free: 7.082 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002369/0.4298, allocations: 1.323 MB / 0.5262 GB, free: 5.711 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001319/0.4299, allocations: 184.9 kB / 0.5264 GB, free: 5.527 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003764/0.4303, allocations: 247.9 kB / 0.5266 GB, free: 5.285 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005846/0.4362, allocations: 3.815 MB / 0.5303 GB, free: 1.418 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.835e-05/0.4362, allocations: 4 kB / 0.5303 GB, free: 1.414 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003449/0.4366, allocations: 116 kB / 0.5304 GB, free: 1.301 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.886e-05/0.4366, allocations: 56 kB / 0.5305 GB, free: 1.246 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1588/0.5955, allocations: 5.978 MB / 0.5363 GB, free: 158.4 MB / 446.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.01789/0.6134, allocations: 11.24 MB / 0.5473 GB, free: 152.1 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006256/0.6197, allocations: 5.038 MB / 0.5522 GB, free: 149.5 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002858/0.6226, allocations: 2.407 MB / 0.5546 GB, free: 148.4 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004496/0.6231, allocations: 436.9 kB / 0.555 GB, free: 147.9 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.035e-05/0.6232, allocations: 100.7 kB / 0.5551 GB, free: 147.9 MB / 446.1 MB Notification: Performance of pre-optimization done (n=390): time 5.14e-06/0.6232, allocations: 0 / 0.5551 GB, free: 147.9 MB / 446.1 MB Notification: Performance of matching and sorting (n=390): time 0.007743/0.6309, allocations: 5.814 MB / 0.5608 GB, free: 143.5 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.491e-05/0.631, allocations: 96.11 kB / 0.5608 GB, free: 143.4 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008104/0.6318, allocations: 0.8635 MB / 0.5617 GB, free: 142.5 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003094/0.6321, allocations: 105.7 kB / 0.5618 GB, free: 142.4 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002025/0.6323, allocations: 0.5183 MB / 0.5623 GB, free: 141.9 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006232/0.633, allocations: 1.308 MB / 0.5636 GB, free: 140.6 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007351/0.6337, allocations: 0.6216 MB / 0.5642 GB, free: 139.9 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.9e-05/0.6338, allocations: 353.9 kB / 0.5645 GB, free: 139.6 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002128/0.6359, allocations: 1.744 MB / 0.5662 GB, free: 137.8 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002364/0.6383, allocations: 2.268 MB / 0.5684 GB, free: 135.4 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004866/0.6432, allocations: 4.323 MB / 0.5727 GB, free: 130.9 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.043e-05/0.6432, allocations: 0 / 0.5727 GB, free: 130.9 MB / 446.1 MB Notification: Performance of matching and sorting (n=450) (initialization): time 0.005979/0.6492, allocations: 4.598 MB / 0.5771 GB, free: 126.3 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.087e-05/0.6493, allocations: 12 kB / 0.5772 GB, free: 126.3 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.864e-05/0.6493, allocations: 12 kB / 0.5772 GB, free: 126.3 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.444e-05/0.6493, allocations: 24 kB / 0.5772 GB, free: 126.3 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003255/0.6526, allocations: 0.7957 MB / 0.578 GB, free: 125.5 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.559e-05/0.6526, allocations: 31.94 kB / 0.578 GB, free: 125.4 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002174/0.6548, allocations: 364.5 kB / 0.5784 GB, free: 125.1 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002375/0.6551, allocations: 147.9 kB / 0.5785 GB, free: 124.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.001215/0.6563, allocations: 0.7582 MB / 0.5792 GB, free: 124.2 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005029/0.6568, allocations: 209.8 kB / 0.5794 GB, free: 124 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007118/0.6639, allocations: 5.18 MB / 0.5845 GB, free: 118.8 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.162e-05/0.664, allocations: 40 kB / 0.5845 GB, free: 118.7 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.858e-06/0.664, allocations: 4 kB / 0.5845 GB, free: 118.7 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.164e-05/0.664, allocations: 19.92 kB / 0.5846 GB, free: 118.7 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00341/0.6674, allocations: 2.819 MB / 0.5873 GB, free: 115.8 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.857e-06/0.6674, allocations: 0 / 0.5873 GB, free: 115.8 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00316/0.6706, allocations: 0.7333 MB / 0.588 GB, free: 115.1 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.003e-05/0.6706, allocations: 12 kB / 0.588 GB, free: 115.1 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002077/0.6709, allocations: 92.83 kB / 0.5881 GB, free: 115 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.32e-05/0.6709, allocations: 16 kB / 0.5881 GB, free: 115 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.6709, allocations: 0 / 0.5881 GB, free: 115 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008283/0.6792, allocations: 7.225 MB / 0.5952 GB, free: 107.7 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003921/0.6796, allocations: 325.9 kB / 0.5955 GB, free: 107.4 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000351/0.6799, allocations: 83.84 kB / 0.5956 GB, free: 107.3 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002715/0.6827, allocations: 225.1 kB / 0.5958 GB, free: 107.1 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005021/0.6832, allocations: 306.9 kB / 0.5961 GB, free: 106.8 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000298/0.6835, allocations: 183.9 kB / 0.5963 GB, free: 106.6 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0006314/0.6841, allocations: 0.6824 MB / 0.5969 GB, free: 105.9 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6841, allocations: 0 / 0.5969 GB, free: 105.9 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001888/0.686, allocations: 1.089 MB / 0.598 GB, free: 104.8 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.0009246/0.687, allocations: 451.3 kB / 0.5984 GB, free: 104.4 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.02286/0.7098, allocations: 15.28 MB / 0.6133 GB, free: 89.16 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.201e-05/0.7099, allocations: 14.44 kB / 0.6134 GB, free: 89.15 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003139/0.713, allocations: 2.255 MB / 0.6156 GB, free: 86.9 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00594/0.719, allocations: 1.251 MB / 0.6168 GB, free: 85.66 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01061/0.7296, allocations: 6.688 MB / 0.6233 GB, free: 78.93 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009492/0.7306, allocations: 1.853 MB / 0.6251 GB, free: 77.04 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.005068/0.7357, allocations: 1.756 MB / 0.6268 GB, free: 75.28 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001087/0.7368, allocations: 295.3 kB / 0.6271 GB, free: 74.99 MB / 446.1 MB Notification: Performance of SimCode: time 5.41e-07/0.7368, allocations: 0 / 0.6271 GB, free: 74.99 MB / 446.1 MB Notification: Performance of Templates: time 0.0715/0.8083, allocations: 63.63 MB / 0.6893 GB, free: 11.61 MB / 446.1 MB 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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/PsychrometricData/PsychrometricData.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Media.Examples.PsychrometricData.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches