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.001141/0.001141, allocations: 115.9 kB / 18.41 MB, free: 4.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001224/0.001224, allocations: 203.5 kB / 19.36 MB, free: 3.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.309/1.309, allocations: 227.4 MB / 247.5 MB, free: 10.39 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001154/0.001155, allocations: 61.03 kB / 308.4 MB, free: 15.93 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08335/0.08452, allocations: 50.54 MB / 358.9 MB, free: 13.38 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.PsychrometricData): time 0.3526/0.4372, allocations: 154.7 MB / 0.5016 GB, free: 15.91 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00115/0.4384, allocations: 0.7071 MB / 0.5023 GB, free: 15.22 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.11e-05/0.4385, allocations: 0 / 0.5023 GB, free: 15.22 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003547/0.4389, allocations: 75.5 kB / 0.5024 GB, free: 15.15 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005688/0.4395, allocations: 282.7 kB / 0.5026 GB, free: 14.88 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002651/0.4421, allocations: 1.124 MB / 0.5037 GB, free: 13.76 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.004629/0.4468, allocations: 5.605 MB / 0.5092 GB, free: 8.137 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002952/0.4471, allocations: 260.5 kB / 0.5095 GB, free: 7.859 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003037/0.4501, allocations: 2.171 MB / 0.5116 GB, free: 5.684 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00281/0.453, allocations: 1.971 MB / 0.5135 GB, free: 3.707 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006169/0.4536, allocations: 236 kB / 0.5137 GB, free: 3.477 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00358/0.4572, allocations: 1.771 MB / 0.5155 GB, free: 1.703 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001196/0.4584, allocations: 1.224 MB / 0.5167 GB, free: 488 kB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002052/0.4604, allocations: 1.565 MB / 0.5182 GB, free: 14.91 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004476/0.4649, allocations: 4.554 MB / 0.5226 GB, free: 10.34 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.465, allocations: 0 / 0.5226 GB, free: 10.34 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.945e-06/0.465, allocations: 0 / 0.5226 GB, free: 10.34 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.868e-05/0.465, allocations: 7.922 kB / 0.5226 GB, free: 10.33 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.008482/0.4735, allocations: 3.492 MB / 0.526 GB, free: 6.781 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.898e-05/0.4736, allocations: 11.97 kB / 0.5261 GB, free: 6.77 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001845/0.4754, allocations: 330.5 kB / 0.5264 GB, free: 6.445 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003335/0.4788, allocations: 1.343 MB / 0.5277 GB, free: 5.055 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001523/0.4789, allocations: 180.9 kB / 0.5279 GB, free: 4.875 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004128/0.4793, allocations: 239.9 kB / 0.5281 GB, free: 4.641 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005898/0.4852, allocations: 3.823 MB / 0.5318 GB, free: 0.7656 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.836e-05/0.4853, allocations: 0 / 0.5318 GB, free: 0.7656 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003194/0.4856, allocations: 112.9 kB / 0.5319 GB, free: 0.6562 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.986e-05/0.4857, allocations: 60 kB / 0.532 GB, free: 0.5977 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1607/0.6464, allocations: 5.98 MB / 0.5378 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.01964/0.6661, allocations: 11.21 MB / 0.5488 GB, free: 152 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005902/0.672, allocations: 5.031 MB / 0.5537 GB, free: 149.3 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002768/0.6748, allocations: 2.413 MB / 0.556 GB, free: 148.2 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004489/0.6753, allocations: 441.6 kB / 0.5565 GB, free: 147.8 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.337e-05/0.6753, allocations: 101.4 kB / 0.5566 GB, free: 147.7 MB / 446.1 MB Notification: Performance of pre-optimization done (n=390): time 6.091e-06/0.6753, allocations: 0 / 0.5566 GB, free: 147.7 MB / 446.1 MB Notification: Performance of matching and sorting (n=390): time 0.007645/0.683, allocations: 5.815 MB / 0.5622 GB, free: 142.8 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.421e-05/0.6831, allocations: 90.47 kB / 0.5623 GB, free: 142.7 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008126/0.6839, allocations: 0.8635 MB / 0.5632 GB, free: 141.8 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002995/0.6842, allocations: 105.7 kB / 0.5633 GB, free: 141.7 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002033/0.6844, allocations: 0.5179 MB / 0.5638 GB, free: 141.2 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006402/0.685, allocations: 1.305 MB / 0.565 GB, free: 139.9 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007474/0.6858, allocations: 0.622 MB / 0.5657 GB, free: 139.2 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.927e-05/0.6859, allocations: 357.9 kB / 0.566 GB, free: 138.9 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002162/0.688, allocations: 1.748 MB / 0.5677 GB, free: 137.1 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002392/0.6904, allocations: 2.266 MB / 0.5699 GB, free: 134.7 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004883/0.6953, allocations: 4.322 MB / 0.5741 GB, free: 130.3 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.017e-05/0.6954, allocations: 4 kB / 0.5741 GB, free: 130.3 MB / 446.1 MB Notification: Performance of matching and sorting (n=450) (initialization): time 0.005905/0.7013, allocations: 4.594 MB / 0.5786 GB, free: 125.6 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.614e-05/0.7013, allocations: 12 kB / 0.5786 GB, free: 125.6 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.964e-05/0.7013, allocations: 8.781 kB / 0.5786 GB, free: 125.6 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.48e-05/0.7014, allocations: 32.69 kB / 0.5787 GB, free: 125.6 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003349/0.7047, allocations: 0.7917 MB / 0.5795 GB, free: 124.8 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.983e-05/0.7048, allocations: 35.92 kB / 0.5795 GB, free: 124.8 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002147/0.7069, allocations: 360.5 kB / 0.5798 GB, free: 124.4 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002579/0.7072, allocations: 147.5 kB / 0.58 GB, free: 124.3 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.00115/0.7084, allocations: 0.7691 MB / 0.5807 GB, free: 123.5 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004914/0.7089, allocations: 212 kB / 0.5809 GB, free: 123.3 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007077/0.7159, allocations: 5.16 MB / 0.586 GB, free: 118.1 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.13e-05/0.716, allocations: 44 kB / 0.586 GB, free: 118.1 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.081e-05/0.716, allocations: 0 / 0.586 GB, free: 118.1 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.057e-05/0.716, allocations: 23.91 kB / 0.586 GB, free: 118 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003496/0.7195, allocations: 2.823 MB / 0.5888 GB, free: 115.2 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.016e-05/0.7196, allocations: 0 / 0.5888 GB, free: 115.2 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003279/0.7229, allocations: 0.7333 MB / 0.5895 GB, free: 114.4 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.213e-05/0.7229, allocations: 12 kB / 0.5895 GB, free: 114.4 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002195/0.7231, allocations: 87.97 kB / 0.5896 GB, free: 114.3 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.56e-05/0.7231, allocations: 12 kB / 0.5896 GB, free: 114.3 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.7231, allocations: 4 kB / 0.5896 GB, free: 114.3 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00835/0.7315, allocations: 7.226 MB / 0.5967 GB, free: 107 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004425/0.732, allocations: 317.9 kB / 0.597 GB, free: 106.7 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003503/0.7323, allocations: 87.83 kB / 0.5971 GB, free: 106.6 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002604/0.7349, allocations: 219.8 kB / 0.5973 GB, free: 106.4 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004939/0.7354, allocations: 310.9 kB / 0.5976 GB, free: 106.1 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003261/0.7358, allocations: 183.9 kB / 0.5977 GB, free: 105.9 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0006416/0.7364, allocations: 0.6824 MB / 0.5984 GB, free: 105.2 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.7364, allocations: 0 / 0.5984 GB, free: 105.2 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001986/0.7384, allocations: 1.082 MB / 0.5995 GB, free: 104.2 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.0009916/0.7394, allocations: 459.4 kB / 0.5999 GB, free: 103.7 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.005242/0.7447, allocations: 4.297 MB / 0.6041 GB, free: 99.44 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.053e-06/0.7447, allocations: 5.312 kB / 0.6041 GB, free: 99.44 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002584/0.7473, allocations: 2.271 MB / 0.6063 GB, free: 97.17 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004907/0.7522, allocations: 1.243 MB / 0.6075 GB, free: 95.93 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009666/0.7619, allocations: 6.64 MB / 0.614 GB, free: 89.25 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008862/0.7628, allocations: 1.853 MB / 0.6158 GB, free: 87.36 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.004233/0.7671, allocations: 1.771 MB / 0.6176 GB, free: 85.59 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000958/0.768, allocations: 295.3 kB / 0.6178 GB, free: 85.3 MB / 446.1 MB Notification: Performance of SimCode: time 5.51e-07/0.768, allocations: 4 kB / 0.6178 GB, free: 85.29 MB / 446.1 MB Notification: Performance of Templates: time 0.0712/0.8392, allocations: 63.6 MB / 0.6799 GB, free: 21.94 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 -s gbode -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/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_trunk_Modelica.Media.Examples.PsychrometricData.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches