Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_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_4.1.0-beta.om_Modelica.Media.Examples.PsychrometricData") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001505/0.001505, allocations: 109.8 kB / 18.3 MB, free: 4.883 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002067/0.002067, allocations: 207.8 kB / 19.25 MB, free: 3.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.443/1.443, allocations: 227.7 MB / 247.7 MB, free: 10.36 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001964/0.001964, allocations: 68.86 kB / 307.9 MB, free: 0.5156 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09974/0.1017, allocations: 50.53 MB / 358.4 MB, free: 13.96 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.PsychrometricData): time 0.3404/0.4422, allocations: 154.7 MB / 0.5011 GB, free: 224 kB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001238/0.4435, allocations: 0.6969 MB / 0.5018 GB, free: 15.54 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.495e-05/0.4436, allocations: 11.94 kB / 0.5018 GB, free: 15.53 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003952/0.444, allocations: 78.48 kB / 0.5019 GB, free: 15.45 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000602/0.4446, allocations: 285.5 kB / 0.5022 GB, free: 15.18 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002916/0.4476, allocations: 1.129 MB / 0.5033 GB, free: 14.05 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.00552/0.4531, allocations: 5.601 MB / 0.5087 GB, free: 8.434 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003925/0.4535, allocations: 259.5 kB / 0.509 GB, free: 8.16 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003785/0.4573, allocations: 2.156 MB / 0.5111 GB, free: 6 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003408/0.4608, allocations: 1.967 MB / 0.513 GB, free: 4.027 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008419/0.4616, allocations: 244 kB / 0.5133 GB, free: 3.789 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00404/0.4657, allocations: 1.732 MB / 0.5149 GB, free: 2.055 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001527/0.4672, allocations: 1.22 MB / 0.5161 GB, free: 0.832 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002663/0.4699, allocations: 1.565 MB / 0.5177 GB, free: 15.26 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006791/0.4767, allocations: 4.52 MB / 0.5221 GB, free: 10.73 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.562e-06/0.4767, allocations: 3.938 kB / 0.5221 GB, free: 10.73 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.4767, allocations: 0 / 0.5221 GB, free: 10.73 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.000111/0.4769, allocations: 0 / 0.5221 GB, free: 10.73 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.01033/0.4872, allocations: 3.503 MB / 0.5255 GB, free: 7.164 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.027e-05/0.4873, allocations: 8.031 kB / 0.5255 GB, free: 7.156 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001983/0.4893, allocations: 330.5 kB / 0.5258 GB, free: 6.832 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003111/0.4924, allocations: 1.315 MB / 0.5271 GB, free: 5.469 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000167/0.4926, allocations: 188.8 kB / 0.5273 GB, free: 5.281 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005479/0.4931, allocations: 247.9 kB / 0.5275 GB, free: 5.039 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007637/0.5008, allocations: 3.815 MB / 0.5313 GB, free: 1.172 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.561e-05/0.5009, allocations: 0 / 0.5313 GB, free: 1.172 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004801/0.5013, allocations: 116 kB / 0.5314 GB, free: 1.059 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.368e-05/0.5014, allocations: 60 kB / 0.5314 GB, free: 1 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1715/0.6729, allocations: 5.977 MB / 0.5373 GB, free: 158.2 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.02041/0.6933, allocations: 11.24 MB / 0.5482 GB, free: 151.9 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007241/0.7006, allocations: 5.045 MB / 0.5532 GB, free: 149.3 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003359/0.704, allocations: 2.403 MB / 0.5555 GB, free: 148.2 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000539/0.7046, allocations: 444.2 kB / 0.5559 GB, free: 147.7 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.997e-05/0.7047, allocations: 90.41 kB / 0.556 GB, free: 147.7 MB / 446.1 MB Notification: Performance of pre-optimization done (n=390): time 5.381e-06/0.7047, allocations: 3.625 kB / 0.556 GB, free: 147.7 MB / 446.1 MB Notification: Performance of matching and sorting (n=390): time 0.008439/0.7131, allocations: 5.815 MB / 0.5617 GB, free: 143.1 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.696e-05/0.7132, allocations: 90.47 kB / 0.5618 GB, free: 143 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009118/0.7141, allocations: 0.8674 MB / 0.5626 GB, free: 142.1 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000389/0.7145, allocations: 105.2 kB / 0.5627 GB, free: 142 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002258/0.7148, allocations: 0.5185 MB / 0.5632 GB, free: 141.5 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007262/0.7155, allocations: 1.305 MB / 0.5645 GB, free: 140.2 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007399/0.7163, allocations: 0.6216 MB / 0.5651 GB, free: 139.5 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.511e-05/0.7163, allocations: 357.9 kB / 0.5655 GB, free: 139.2 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002283/0.7186, allocations: 1.743 MB / 0.5672 GB, free: 137.4 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002627/0.7213, allocations: 2.263 MB / 0.5694 GB, free: 135 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005537/0.7268, allocations: 4.325 MB / 0.5736 GB, free: 130.5 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.357e-05/0.7269, allocations: 4 kB / 0.5736 GB, free: 130.5 MB / 446.1 MB Notification: Performance of matching and sorting (n=450) (initialization): time 0.006508/0.7334, allocations: 4.594 MB / 0.5781 GB, free: 125.9 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.958e-05/0.7334, allocations: 12 kB / 0.5781 GB, free: 125.9 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.923e-05/0.7335, allocations: 12 kB / 0.5781 GB, free: 125.9 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.028e-05/0.7335, allocations: 27.94 kB / 0.5781 GB, free: 125.9 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003404/0.7369, allocations: 0.7924 MB / 0.5789 GB, free: 125.1 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.149e-05/0.737, allocations: 35.94 kB / 0.5789 GB, free: 125 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002478/0.7395, allocations: 364.5 kB / 0.5793 GB, free: 124.7 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003728/0.7399, allocations: 143.9 kB / 0.5794 GB, free: 124.5 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.001365/0.7412, allocations: 0.7543 MB / 0.5802 GB, free: 123.8 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006175/0.7419, allocations: 213.7 kB / 0.5804 GB, free: 123.6 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007453/0.7493, allocations: 5.174 MB / 0.5854 GB, free: 118.4 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-05/0.7494, allocations: 41 kB / 0.5855 GB, free: 118.3 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.211e-05/0.7494, allocations: 4 kB / 0.5855 GB, free: 118.3 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.314e-05/0.7495, allocations: 19.92 kB / 0.5855 GB, free: 118.3 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003809/0.7533, allocations: 2.823 MB / 0.5882 GB, free: 115.4 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.07e-05/0.7533, allocations: 3.938 kB / 0.5882 GB, free: 115.4 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003126/0.7564, allocations: 0.7333 MB / 0.589 GB, free: 114.7 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.627e-05/0.7565, allocations: 12 kB / 0.589 GB, free: 114.7 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002302/0.7567, allocations: 92.83 kB / 0.5891 GB, free: 114.6 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.459e-05/0.7567, allocations: 16 kB / 0.5891 GB, free: 114.6 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.7567, allocations: 0 / 0.5891 GB, free: 114.6 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008659/0.7654, allocations: 7.214 MB / 0.5961 GB, free: 107.3 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005124/0.766, allocations: 325.9 kB / 0.5964 GB, free: 107 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005133/0.7665, allocations: 83.84 kB / 0.5965 GB, free: 106.9 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00289/0.7694, allocations: 224.6 kB / 0.5967 GB, free: 106.7 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005962/0.77, allocations: 314.9 kB / 0.597 GB, free: 106.4 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003709/0.7704, allocations: 179.9 kB / 0.5972 GB, free: 106.2 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0006707/0.7711, allocations: 0.6863 MB / 0.5979 GB, free: 105.5 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.7711, allocations: 0 / 0.5979 GB, free: 105.5 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002099/0.7732, allocations: 1.085 MB / 0.5989 GB, free: 104.4 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.001041/0.7742, allocations: 459.1 kB / 0.5994 GB, free: 104 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.02198/0.7962, allocations: 15.28 MB / 0.6143 GB, free: 88.77 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 9.578e-06/0.7963, allocations: 9.688 kB / 0.6143 GB, free: 88.77 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002664/0.7989, allocations: 2.263 MB / 0.6165 GB, free: 86.5 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005404/0.8043, allocations: 1.255 MB / 0.6177 GB, free: 85.26 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01035/0.8147, allocations: 6.795 MB / 0.6244 GB, free: 78.42 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009127/0.8157, allocations: 1.852 MB / 0.6262 GB, free: 76.53 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001615/0.8173, allocations: 335.3 kB / 0.6265 GB, free: 76.2 MB / 446.1 MB Notification: Performance of SimCode: time 6.61e-07/0.8173, allocations: 0 / 0.6265 GB, free: 76.2 MB / 446.1 MB Notification: Performance of Templates: time 0.05151/0.8688, allocations: 46.72 MB / 0.6721 GB, free: 29.61 MB / 446.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Media.Examples.PsychrometricData.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Media.Examples.PsychrometricData.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Media.Examples.PsychrometricData.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Media.Examples.PsychrometricData.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Media.Examples.PsychrometricData.sim & ./Modelica_4.1.0-beta.om_Modelica.Media.Examples.PsychrometricData -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Media.Examples.PsychrometricData.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Media.Examples.PsychrometricData_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/PsychrometricData/PsychrometricData.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Media.Examples.PsychrometricData.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches