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.001479/0.001479, allocations: 102 kB / 17.2 MB, free: 6.293 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001788/0.001788, allocations: 209.8 kB / 18.14 MB, free: 5.371 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 / 246.3 MB, free: 9.117 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001092/0.001092, allocations: 57.59 kB / 306.2 MB, free: 0.8281 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08166/0.08277, allocations: 50.53 MB / 356.8 MB, free: 14.29 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.PsychrometricData): time 0.3254/0.4082, allocations: 152.6 MB / 0.4975 GB, free: 2.949 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001087/0.4093, allocations: 0.7186 MB / 0.4982 GB, free: 2.246 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.513e-05/0.4094, allocations: 3.938 kB / 0.4982 GB, free: 2.242 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003327/0.4097, allocations: 70.62 kB / 0.4982 GB, free: 2.176 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004787/0.4103, allocations: 273.7 kB / 0.4985 GB, free: 1.918 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002327/0.4126, allocations: 0.949 MB / 0.4994 GB, free: 0.9727 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005235/0.4178, allocations: 7.161 MB / 0.5064 GB, free: 9.789 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002869/0.4181, allocations: 264.2 kB / 0.5067 GB, free: 9.512 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002684/0.4208, allocations: 1.901 MB / 0.5085 GB, free: 7.605 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00245/0.4233, allocations: 1.959 MB / 0.5104 GB, free: 5.641 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005163/0.4238, allocations: 144 kB / 0.5106 GB, free: 5.5 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003172/0.427, allocations: 1.723 MB / 0.5122 GB, free: 3.777 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001078/0.4281, allocations: 1.079 MB / 0.5133 GB, free: 2.695 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001846/0.43, allocations: 1.424 MB / 0.5147 GB, free: 1.266 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004468/0.4344, allocations: 4.422 MB / 0.519 GB, free: 12.83 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.4344, allocations: 0 / 0.519 GB, free: 12.83 MB / 446.1 MB Notification: Performance of FrontEnd: time 8.71e-07/0.4345, allocations: 0 / 0.519 GB, free: 12.83 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.064e-05/0.4345, allocations: 0 / 0.519 GB, free: 12.83 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.008738/0.4432, allocations: 3.503 MB / 0.5224 GB, free: 9.27 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.672e-05/0.4433, allocations: 8.031 kB / 0.5224 GB, free: 9.262 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001833/0.4451, allocations: 330.5 kB / 0.5228 GB, free: 8.938 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002346/0.4475, allocations: 1.319 MB / 0.524 GB, free: 7.57 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000125/0.4476, allocations: 180.9 kB / 0.5242 GB, free: 7.391 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000382/0.448, allocations: 243.9 kB / 0.5244 GB, free: 7.152 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006059/0.4541, allocations: 3.823 MB / 0.5282 GB, free: 3.281 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.769e-05/0.4541, allocations: 0 / 0.5282 GB, free: 3.281 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003421/0.4545, allocations: 116 kB / 0.5283 GB, free: 3.168 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.46e-05/0.4545, allocations: 60 kB / 0.5283 GB, free: 3.109 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1569/0.6114, allocations: 5.98 MB / 0.5342 GB, free: 157.8 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.01901/0.6305, allocations: 11.18 MB / 0.5451 GB, free: 151.8 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006374/0.6369, allocations: 5.035 MB / 0.55 GB, free: 149.5 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003122/0.64, allocations: 2.406 MB / 0.5524 GB, free: 148.4 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004727/0.6405, allocations: 450.1 kB / 0.5528 GB, free: 147.9 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.012e-05/0.6406, allocations: 98.22 kB / 0.5529 GB, free: 147.9 MB / 446.1 MB Notification: Performance of pre-optimization done (n=390): time 5.28e-06/0.6406, allocations: 0 / 0.5529 GB, free: 147.9 MB / 446.1 MB Notification: Performance of matching and sorting (n=390): time 0.008061/0.6487, allocations: 5.812 MB / 0.5586 GB, free: 145.2 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.233e-05/0.6487, allocations: 89.94 kB / 0.5587 GB, free: 145.2 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008816/0.6496, allocations: 0.8684 MB / 0.5595 GB, free: 144.5 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000313/0.65, allocations: 101.7 kB / 0.5596 GB, free: 144.4 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000202/0.6502, allocations: 0.5224 MB / 0.5601 GB, free: 143.8 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006488/0.6508, allocations: 1.305 MB / 0.5614 GB, free: 142.5 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000754/0.6516, allocations: 0.6254 MB / 0.562 GB, free: 141.9 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.06e-05/0.6516, allocations: 357.9 kB / 0.5623 GB, free: 141.5 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002239/0.6539, allocations: 1.74 MB / 0.564 GB, free: 139.8 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002468/0.6564, allocations: 2.261 MB / 0.5662 GB, free: 137.4 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005042/0.6614, allocations: 4.326 MB / 0.5705 GB, free: 132.9 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.009e-05/0.6614, allocations: 4 kB / 0.5705 GB, free: 132.9 MB / 446.1 MB Notification: Performance of matching and sorting (n=450) (initialization): time 0.006064/0.6675, allocations: 4.595 MB / 0.575 GB, free: 128.3 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.385e-05/0.6676, allocations: 12 kB / 0.575 GB, free: 128.3 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.615e-05/0.6676, allocations: 8 kB / 0.575 GB, free: 128.3 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.153e-05/0.6676, allocations: 30.81 kB / 0.575 GB, free: 128.2 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003441/0.6711, allocations: 0.792 MB / 0.5758 GB, free: 127.4 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.365e-05/0.6711, allocations: 31.92 kB / 0.5758 GB, free: 127.4 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002415/0.6735, allocations: 424.5 kB / 0.5762 GB, free: 127 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002497/0.6738, allocations: 147.9 kB / 0.5764 GB, free: 126.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.001183/0.675, allocations: 0.7659 MB / 0.5771 GB, free: 126.1 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005091/0.6755, allocations: 213.7 kB / 0.5773 GB, free: 125.9 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00729/0.6828, allocations: 5.174 MB / 0.5824 GB, free: 120.7 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-05/0.6828, allocations: 40 kB / 0.5824 GB, free: 120.6 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.768e-06/0.6828, allocations: 0 / 0.5824 GB, free: 120.6 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.961e-05/0.6829, allocations: 19.92 kB / 0.5824 GB, free: 120.6 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003771/0.6866, allocations: 2.82 MB / 0.5852 GB, free: 117.7 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.506e-06/0.6867, allocations: 0 / 0.5852 GB, free: 117.7 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003235/0.6899, allocations: 0.7372 MB / 0.5859 GB, free: 117 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-05/0.6899, allocations: 12 kB / 0.5859 GB, free: 117 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002148/0.6902, allocations: 91.95 kB / 0.586 GB, free: 116.9 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-05/0.6902, allocations: 16 kB / 0.586 GB, free: 116.9 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.522e-06/0.6902, allocations: 0 / 0.586 GB, free: 116.9 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008477/0.6987, allocations: 7.218 MB / 0.5931 GB, free: 109.6 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004023/0.6991, allocations: 322 kB / 0.5934 GB, free: 109.3 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000345/0.6995, allocations: 87.78 kB / 0.5934 GB, free: 109.2 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002809/0.7023, allocations: 295.5 kB / 0.5937 GB, free: 108.9 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005299/0.7028, allocations: 314.9 kB / 0.594 GB, free: 108.6 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003126/0.7031, allocations: 171.9 kB / 0.5942 GB, free: 108.4 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0006531/0.7038, allocations: 0.6863 MB / 0.5949 GB, free: 107.7 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.7038, allocations: 0 / 0.5949 GB, free: 107.7 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001975/0.7058, allocations: 1.093 MB / 0.5959 GB, free: 106.7 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.0009745/0.7068, allocations: 444.7 kB / 0.5964 GB, free: 106.2 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.005309/0.7121, allocations: 4.281 MB / 0.6005 GB, free: 102 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.961e-06/0.7121, allocations: 8.938 kB / 0.6005 GB, free: 102 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002573/0.7147, allocations: 2.263 MB / 0.6028 GB, free: 99.69 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004837/0.7195, allocations: 1.243 MB / 0.604 GB, free: 98.45 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009886/0.7294, allocations: 7.635 MB / 0.6114 GB, free: 90.79 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000862/0.7303, allocations: 1.845 MB / 0.6132 GB, free: 88.9 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.004833/0.7351, allocations: 1.775 MB / 0.615 GB, free: 87.12 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001011/0.7362, allocations: 295.3 kB / 0.6152 GB, free: 86.83 MB / 446.1 MB Notification: Performance of SimCode: time 6.51e-07/0.7362, allocations: 0 / 0.6152 GB, free: 86.83 MB / 446.1 MB Notification: Performance of Templates: time 0.06685/0.803, allocations: 60.88 MB / 0.6747 GB, free: 26.2 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