Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.PsychrometricData.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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.0.0_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.0.0_Modelica.Media.Examples.PsychrometricData") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00118/0.00118, allocations: 107.4 kB / 16.92 MB, free: 5.773 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001194/0.001194, allocations: 191.3 kB / 17.85 MB, free: 5.168 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.399/1.399, allocations: 222.9 MB / 241.5 MB, free: 15.21 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001294/0.001294, allocations: 43.08 kB / 300.6 MB, free: 5.902 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08673/0.08805, allocations: 49.44 MB / 350 MB, free: 4.438 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.PsychrometricData): time 0.2986/0.3867, allocations: 151.8 MB / 0.4901 GB, free: 12.83 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001214/0.388, allocations: 0.6936 MB / 0.4908 GB, free: 12.15 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001479/0.3881, allocations: 4 kB / 0.4908 GB, free: 12.14 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000351/0.3885, allocations: 83.48 kB / 0.4909 GB, free: 12.06 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006301/0.3892, allocations: 287.9 kB / 0.4912 GB, free: 11.79 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002711/0.3919, allocations: 1.113 MB / 0.4922 GB, free: 10.68 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004373/0.3963, allocations: 5.605 MB / 0.4977 GB, free: 5.059 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003122/0.3966, allocations: 260.8 kB / 0.498 GB, free: 4.777 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002965/0.3996, allocations: 2.156 MB / 0.5001 GB, free: 2.617 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002966/0.4025, allocations: 1.967 MB / 0.502 GB, free: 0.6445 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007145/0.4033, allocations: 236 kB / 0.5022 GB, free: 424 kB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003587/0.4069, allocations: 1.693 MB / 0.5039 GB, free: 14.72 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001321/0.4082, allocations: 1.22 MB / 0.5051 GB, free: 13.5 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002243/0.4105, allocations: 1.568 MB / 0.5066 GB, free: 11.92 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005477/0.416, allocations: 4.496 MB / 0.511 GB, free: 7.414 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.783e-06/0.416, allocations: 3.938 kB / 0.511 GB, free: 7.41 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.416, allocations: 0 / 0.511 GB, free: 7.41 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.598e-05/0.4161, allocations: 0 / 0.511 GB, free: 7.41 MB / 430.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.008841/0.4249, allocations: 3.484 MB / 0.5144 GB, free: 3.867 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.843e-05/0.425, allocations: 12.03 kB / 0.5144 GB, free: 3.855 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001771/0.4267, allocations: 328.5 kB / 0.5147 GB, free: 3.535 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00241/0.4292, allocations: 1.331 MB / 0.516 GB, free: 2.156 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001255/0.4293, allocations: 180.9 kB / 0.5162 GB, free: 1.977 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003909/0.4297, allocations: 243.9 kB / 0.5164 GB, free: 1.738 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005875/0.4356, allocations: 3.816 MB / 0.5201 GB, free: 13.87 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.787e-05/0.4356, allocations: 0 / 0.5201 GB, free: 13.87 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003466/0.436, allocations: 124 kB / 0.5203 GB, free: 13.75 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.777e-05/0.436, allocations: 56 kB / 0.5203 GB, free: 13.69 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008202/0.4443, allocations: 5.986 MB / 0.5262 GB, free: 7.688 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.1778/0.622, allocations: 11.22 MB / 0.5371 GB, free: 161.8 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007052/0.6291, allocations: 5.038 MB / 0.542 GB, free: 159.9 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003475/0.6326, allocations: 2.407 MB / 0.5444 GB, free: 159.3 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004968/0.6331, allocations: 444.9 kB / 0.5448 GB, free: 158.9 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.602e-05/0.6332, allocations: 101.8 kB / 0.5449 GB, free: 158.8 MB / 446.1 MB Notification: Performance of pre-optimization done (n=390): time 6.832e-06/0.6333, allocations: 0 / 0.5449 GB, free: 158.8 MB / 446.1 MB Notification: Performance of matching and sorting (n=390): time 0.009272/0.6425, allocations: 5.807 MB / 0.5506 GB, free: 156.9 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.941e-05/0.6427, allocations: 94.19 kB / 0.5507 GB, free: 156.8 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009574/0.6436, allocations: 0.8757 MB / 0.5515 GB, free: 156.3 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003805/0.644, allocations: 100.8 kB / 0.5516 GB, free: 156.2 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002204/0.6442, allocations: 0.5202 MB / 0.5521 GB, free: 155.8 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006919/0.6449, allocations: 1.3 MB / 0.5534 GB, free: 154.7 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008029/0.6457, allocations: 0.6271 MB / 0.554 GB, free: 154.3 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.643e-05/0.6458, allocations: 359.4 kB / 0.5544 GB, free: 154 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002192/0.648, allocations: 1.746 MB / 0.5561 GB, free: 153.2 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002407/0.6505, allocations: 2.258 MB / 0.5583 GB, free: 151.9 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004939/0.6554, allocations: 4.332 MB / 0.5625 GB, free: 148.1 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.129e-05/0.6554, allocations: 6.969 kB / 0.5625 GB, free: 148.1 MB / 446.1 MB Notification: Performance of matching and sorting (n=450) (initialization): time 0.00606/0.6615, allocations: 4.584 MB / 0.567 GB, free: 143.5 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.195e-05/0.6616, allocations: 18.91 kB / 0.567 GB, free: 143.5 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.265e-05/0.6616, allocations: 12.55 kB / 0.567 GB, free: 143.5 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.645e-05/0.6617, allocations: 24 kB / 0.567 GB, free: 143.5 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003435/0.6651, allocations: 0.792 MB / 0.5678 GB, free: 142.7 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.817e-05/0.6652, allocations: 38.61 kB / 0.5678 GB, free: 142.7 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002381/0.6676, allocations: 352.4 kB / 0.5682 GB, free: 142.3 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002594/0.6678, allocations: 143.9 kB / 0.5683 GB, free: 142.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.00141/0.6693, allocations: 0.7636 MB / 0.5691 GB, free: 141.4 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006234/0.6699, allocations: 213.7 kB / 0.5693 GB, free: 141.2 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007618/0.6775, allocations: 5.167 MB / 0.5743 GB, free: 136 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.618e-05/0.6776, allocations: 47.98 kB / 0.5744 GB, free: 136 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.14e-05/0.6776, allocations: 0 / 0.5744 GB, free: 136 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-05/0.6776, allocations: 20.61 kB / 0.5744 GB, free: 135.9 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004066/0.6817, allocations: 2.819 MB / 0.5771 GB, free: 133.1 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.166e-05/0.6817, allocations: 4 kB / 0.5771 GB, free: 133.1 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003163/0.6849, allocations: 0.7333 MB / 0.5779 GB, free: 132.4 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.688e-05/0.685, allocations: 15.94 kB / 0.5779 GB, free: 132.4 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002648/0.6852, allocations: 95.91 kB / 0.578 GB, free: 132.3 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-05/0.6853, allocations: 16 kB / 0.578 GB, free: 132.3 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.6853, allocations: 0 / 0.578 GB, free: 132.3 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008653/0.6939, allocations: 7.222 MB / 0.585 GB, free: 125 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000485/0.6944, allocations: 321.9 kB / 0.5853 GB, free: 124.7 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003744/0.6948, allocations: 83.83 kB / 0.5854 GB, free: 124.6 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002823/0.6976, allocations: 219.8 kB / 0.5856 GB, free: 124.4 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005261/0.6982, allocations: 314.9 kB / 0.5859 GB, free: 124.1 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003502/0.6985, allocations: 175.9 kB / 0.5861 GB, free: 123.9 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000672/0.6992, allocations: 0.6863 MB / 0.5868 GB, free: 123.2 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6992, allocations: 0 / 0.5868 GB, free: 123.2 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002138/0.7014, allocations: 1.075 MB / 0.5878 GB, free: 122.1 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.001028/0.7024, allocations: 455.7 kB / 0.5882 GB, free: 121.7 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.02249/0.7249, allocations: 15.29 MB / 0.6032 GB, free: 106.5 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 9.829e-06/0.725, allocations: 5 kB / 0.6032 GB, free: 106.5 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002698/0.7277, allocations: 2.259 MB / 0.6054 GB, free: 104.2 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005481/0.7332, allocations: 1.255 MB / 0.6066 GB, free: 103 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009981/0.7432, allocations: 6.694 MB / 0.6131 GB, free: 96.24 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008781/0.7441, allocations: 1.841 MB / 0.6149 GB, free: 94.36 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.005451/0.7495, allocations: 1.756 MB / 0.6167 GB, free: 92.6 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009628/0.7505, allocations: 291.3 kB / 0.6169 GB, free: 92.32 MB / 446.1 MB Notification: Performance of SimCode: time 1.223e-06/0.7505, allocations: 0 / 0.6169 GB, free: 92.32 MB / 446.1 MB Notification: Performance of Templates: time 0.07366/0.8242, allocations: 63.5 MB / 0.6789 GB, free: 29.23 MB / 446.1 MB make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.PsychrometricData.makefile (rm -f Modelica_4.0.0_Modelica.Media.Examples.PsychrometricData.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.PsychrometricData.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.PsychrometricData.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.PsychrometricData.sim & ./Modelica_4.0.0_Modelica.Media.Examples.PsychrometricData -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.PsychrometricData.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Media.Examples.PsychrometricData.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches