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.001583/0.001583, allocations: 111.4 kB / 17.98 MB, free: 5.352 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001658/0.001658, allocations: 213.7 kB / 18.92 MB, free: 4.418 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.41/1.41, allocations: 227.7 MB / 247.4 MB, free: 10.52 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.001916/0.001915, allocations: 60.84 kB / 307.4 MB, free: 0.8477 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09508/0.09701, allocations: 50.54 MB / 357.9 MB, free: 14.29 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.PsychrometricData): time 0.3278/0.4249, allocations: 152.6 MB / 0.4986 GB, free: 2.762 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001297/0.4262, allocations: 0.7073 MB / 0.4993 GB, free: 2.066 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.634e-05/0.4263, allocations: 0 / 0.4993 GB, free: 2.066 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003985/0.4268, allocations: 70.25 kB / 0.4994 GB, free: 2 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006022/0.4274, allocations: 274.9 kB / 0.4996 GB, free: 1.73 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003007/0.4304, allocations: 1.021 MB / 0.5006 GB, free: 0.7148 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005843/0.4362, allocations: 5.616 MB / 0.5061 GB, free: 11.08 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004123/0.4367, allocations: 260.2 kB / 0.5063 GB, free: 10.8 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00413/0.4408, allocations: 2.252 MB / 0.5085 GB, free: 8.547 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003987/0.4448, allocations: 2.088 MB / 0.5106 GB, free: 6.453 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001213/0.4461, allocations: 236 kB / 0.5108 GB, free: 6.223 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005098/0.4512, allocations: 1.778 MB / 0.5125 GB, free: 4.441 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002082/0.4533, allocations: 1.228 MB / 0.5137 GB, free: 3.211 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003335/0.4566, allocations: 1.565 MB / 0.5153 GB, free: 1.641 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005169/0.4618, allocations: 3.337 MB / 0.5185 GB, free: 14.3 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.005e-06/0.4619, allocations: 0 / 0.5185 GB, free: 14.3 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.116e-06/0.4619, allocations: 0 / 0.5185 GB, free: 14.3 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001304/0.462, allocations: 4 kB / 0.5185 GB, free: 14.29 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.01125/0.4733, allocations: 3.503 MB / 0.522 GB, free: 10.73 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.318e-05/0.4733, allocations: 12.03 kB / 0.522 GB, free: 10.72 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002068/0.4754, allocations: 323.7 kB / 0.5223 GB, free: 10.4 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00302/0.4785, allocations: 1.327 MB / 0.5236 GB, free: 9.027 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000203/0.4787, allocations: 180.9 kB / 0.5237 GB, free: 8.848 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006168/0.4793, allocations: 239.9 kB / 0.524 GB, free: 8.613 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008209/0.4875, allocations: 3.823 MB / 0.5277 GB, free: 4.742 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.823e-05/0.4876, allocations: 0 / 0.5277 GB, free: 4.742 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004937/0.4881, allocations: 120 kB / 0.5278 GB, free: 4.625 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.1e-05/0.4882, allocations: 60 kB / 0.5279 GB, free: 4.566 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1755/0.6637, allocations: 5.98 MB / 0.5337 GB, free: 157.7 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.0201/0.6838, allocations: 11.17 MB / 0.5446 GB, free: 152 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006528/0.6904, allocations: 5.035 MB / 0.5495 GB, free: 150 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003054/0.6934, allocations: 2.41 MB / 0.5519 GB, free: 148.9 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004767/0.6939, allocations: 445.7 kB / 0.5523 GB, free: 148.5 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.072e-05/0.694, allocations: 94.56 kB / 0.5524 GB, free: 148.4 MB / 446.1 MB Notification: Performance of pre-optimization done (n=390): time 6.042e-06/0.694, allocations: 0 / 0.5524 GB, free: 148.4 MB / 446.1 MB Notification: Performance of matching and sorting (n=390): time 0.00784/0.7019, allocations: 5.818 MB / 0.5581 GB, free: 145.8 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.645e-05/0.702, allocations: 92.16 kB / 0.5582 GB, free: 145.7 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008678/0.7028, allocations: 0.8654 MB / 0.559 GB, free: 145.3 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003726/0.7032, allocations: 104.7 kB / 0.5591 GB, free: 145.2 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002189/0.7034, allocations: 0.5119 MB / 0.5596 GB, free: 144.7 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006891/0.7041, allocations: 1.31 MB / 0.5609 GB, free: 143.6 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007943/0.7049, allocations: 0.6177 MB / 0.5615 GB, free: 143.2 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.129e-05/0.705, allocations: 361.4 kB / 0.5619 GB, free: 142.9 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002111/0.7071, allocations: 1.744 MB / 0.5636 GB, free: 141.1 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002356/0.7095, allocations: 2.265 MB / 0.5658 GB, free: 138.7 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004768/0.7143, allocations: 4.326 MB / 0.57 GB, free: 134.2 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.103e-05/0.7143, allocations: 4 kB / 0.57 GB, free: 134.2 MB / 446.1 MB Notification: Performance of matching and sorting (n=450) (initialization): time 0.005864/0.7202, allocations: 4.586 MB / 0.5745 GB, free: 129.6 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.06e-05/0.7202, allocations: 12 kB / 0.5745 GB, free: 129.6 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.861e-05/0.7202, allocations: 18.5 kB / 0.5745 GB, free: 129.6 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.248e-05/0.7203, allocations: 27.98 kB / 0.5745 GB, free: 129.6 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003331/0.7236, allocations: 0.7879 MB / 0.5753 GB, free: 128.8 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.439e-05/0.7237, allocations: 38.11 kB / 0.5753 GB, free: 128.7 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002425/0.7261, allocations: 424.5 kB / 0.5757 GB, free: 128.3 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002641/0.7264, allocations: 143.9 kB / 0.5759 GB, free: 128.2 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.00132/0.7277, allocations: 0.7582 MB / 0.5766 GB, free: 127.4 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005725/0.7283, allocations: 209.8 kB / 0.5768 GB, free: 127.2 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007173/0.7355, allocations: 5.179 MB / 0.5819 GB, free: 122 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.314e-05/0.7355, allocations: 40 kB / 0.5819 GB, free: 122 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.325e-05/0.7355, allocations: 4 kB / 0.5819 GB, free: 122 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.328e-05/0.7356, allocations: 19.92 kB / 0.5819 GB, free: 121.9 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004387/0.74, allocations: 2.821 MB / 0.5847 GB, free: 119.1 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.868e-06/0.74, allocations: 0 / 0.5847 GB, free: 119.1 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003174/0.7432, allocations: 0.7371 MB / 0.5854 GB, free: 118.3 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.767e-05/0.7432, allocations: 12 kB / 0.5854 GB, free: 118.3 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002181/0.7434, allocations: 91.95 kB / 0.5855 GB, free: 118.2 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.426e-05/0.7435, allocations: 20 kB / 0.5855 GB, free: 118.2 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.7435, allocations: 0 / 0.5855 GB, free: 118.2 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008553/0.752, allocations: 7.214 MB / 0.5926 GB, free: 110.9 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006001/0.7527, allocations: 321.9 kB / 0.5929 GB, free: 110.6 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003971/0.7531, allocations: 92.64 kB / 0.593 GB, free: 110.5 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002952/0.756, allocations: 287.5 kB / 0.5932 GB, free: 110.2 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005065/0.7565, allocations: 314.9 kB / 0.5935 GB, free: 109.9 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003367/0.7569, allocations: 175.9 kB / 0.5937 GB, free: 109.8 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0006574/0.7575, allocations: 0.6864 MB / 0.5944 GB, free: 109.1 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.7576, allocations: 0 / 0.5944 GB, free: 109.1 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002108/0.7597, allocations: 1.089 MB / 0.5954 GB, free: 108 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.001077/0.7608, allocations: 460.4 kB / 0.5959 GB, free: 107.6 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.02334/0.7841, allocations: 15.28 MB / 0.6108 GB, free: 92.34 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 8.827e-06/0.7841, allocations: 5.875 kB / 0.6108 GB, free: 92.34 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002581/0.7867, allocations: 2.263 MB / 0.613 GB, free: 90.08 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005111/0.7919, allocations: 1.254 MB / 0.6143 GB, free: 88.84 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01001/0.8019, allocations: 7.752 MB / 0.6218 GB, free: 81.04 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008503/0.8028, allocations: 1.852 MB / 0.6236 GB, free: 79.15 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001493/0.8043, allocations: 335.3 kB / 0.6239 GB, free: 78.82 MB / 446.1 MB Notification: Performance of SimCode: time 1.022e-06/0.8043, allocations: 0 / 0.6239 GB, free: 78.82 MB / 446.1 MB Notification: Performance of Templates: time 0.04918/0.8535, allocations: 46.71 MB / 0.6696 GB, free: 32.24 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