Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_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.00146/0.00146, allocations: 107.5 kB / 18.4 MB, free: 4.699 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.001661/0.001661, allocations: 187.1 kB / 19.33 MB, free: 3.781 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.414/1.414, allocations: 205.1 MB / 225.2 MB, free: 12.23 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001437/0.001437, allocations: 43.94 kB / 329.2 MB, free: 3.312 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09582/0.09727, allocations: 46.63 MB / 375.8 MB, free: 4.578 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.PsychrometricData): time 0.3926/0.4899, allocations: 153.1 MB / 0.5165 GB, free: 5.973 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001871/0.4919, allocations: 0.9605 MB / 0.5175 GB, free: 5.012 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002259/0.4921, allocations: 3.938 kB / 0.5175 GB, free: 5.008 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004732/0.4926, allocations: 79.44 kB / 0.5176 GB, free: 4.93 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008446/0.4935, allocations: 294.7 kB / 0.5178 GB, free: 4.641 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004313/0.4979, allocations: 1.308 MB / 0.5191 GB, free: 3.332 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.005318/0.5032, allocations: 5.593 MB / 0.5246 GB, free: 13.72 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004808/0.5037, allocations: 259.7 kB / 0.5248 GB, free: 13.44 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004314/0.508, allocations: 2.235 MB / 0.527 GB, free: 11.2 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003893/0.512, allocations: 1.971 MB / 0.5289 GB, free: 9.227 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001466/0.5134, allocations: 240 kB / 0.5292 GB, free: 8.992 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005874/0.5193, allocations: 1.931 MB / 0.531 GB, free: 7.059 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002606/0.522, allocations: 1.224 MB / 0.5322 GB, free: 5.832 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004329/0.5263, allocations: 1.561 MB / 0.5338 GB, free: 4.266 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009412/0.5358, allocations: 4.629 MB / 0.5383 GB, free: 15.62 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.616e-06/0.5358, allocations: 0 / 0.5383 GB, free: 15.62 MB / 478.1 MB Notification: Performance of FrontEnd: time 5.401e-06/0.5359, allocations: 0 / 0.5383 GB, free: 15.62 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0001971/0.5361, allocations: 3.938 kB / 0.5383 GB, free: 15.62 MB / 478.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.01285/0.5489, allocations: 3.515 MB / 0.5417 GB, free: 12.05 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.958e-05/0.549, allocations: 8.031 kB / 0.5417 GB, free: 12.04 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002738/0.5517, allocations: 326.2 kB / 0.542 GB, free: 11.72 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003545/0.5553, allocations: 1.339 MB / 0.5433 GB, free: 10.33 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002277/0.5556, allocations: 180.9 kB / 0.5435 GB, free: 10.15 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009391/0.5565, allocations: 243.9 kB / 0.5437 GB, free: 9.914 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00952/0.566, allocations: 3.827 MB / 0.5475 GB, free: 6.039 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.576e-05/0.5662, allocations: 0 / 0.5475 GB, free: 6.039 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008625/0.567, allocations: 112 kB / 0.5476 GB, free: 5.93 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.161e-05/0.5671, allocations: 60 kB / 0.5476 GB, free: 5.871 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2449/0.8121, allocations: 5.984 MB / 0.5535 GB, free: 164.8 MB / 478.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.02683/0.8389, allocations: 11.21 MB / 0.5644 GB, free: 159.4 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009252/0.8482, allocations: 5.036 MB / 0.5694 GB, free: 157.6 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004345/0.8526, allocations: 2.406 MB / 0.5717 GB, free: 156.9 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007967/0.8534, allocations: 444.1 kB / 0.5721 GB, free: 156.5 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001148/0.8536, allocations: 98.19 kB / 0.5722 GB, free: 156.4 MB / 478.1 MB Notification: Performance of pre-optimization done (n=390): time 1.001e-05/0.8536, allocations: 0 / 0.5722 GB, free: 156.4 MB / 478.1 MB Notification: Performance of matching and sorting (n=390): time 0.01312/0.8667, allocations: 5.807 MB / 0.5779 GB, free: 154.1 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.525e-05/0.8669, allocations: 96.03 kB / 0.578 GB, free: 154 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001331/0.8682, allocations: 0.8761 MB / 0.5788 GB, free: 153.6 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007782/0.869, allocations: 101.1 kB / 0.5789 GB, free: 153.5 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003526/0.8694, allocations: 0.5166 MB / 0.5794 GB, free: 153 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001318/0.8707, allocations: 1.304 MB / 0.5807 GB, free: 151.9 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001375/0.8721, allocations: 0.6266 MB / 0.5813 GB, free: 151.6 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001077/0.8722, allocations: 358.4 kB / 0.5817 GB, free: 151.2 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002702/0.8749, allocations: 1.747 MB / 0.5834 GB, free: 150.4 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003048/0.878, allocations: 2.256 MB / 0.5856 GB, free: 149.1 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005897/0.8839, allocations: 4.328 MB / 0.5898 GB, free: 145.4 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-05/0.8839, allocations: 4 kB / 0.5898 GB, free: 145.4 MB / 478.1 MB Notification: Performance of matching and sorting (n=450) (initialization): time 0.007136/0.8911, allocations: 4.597 MB / 0.5943 GB, free: 140.8 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.361e-05/0.8912, allocations: 13.22 kB / 0.5943 GB, free: 140.8 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.605e-05/0.8912, allocations: 12 kB / 0.5943 GB, free: 140.7 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.191e-05/0.8913, allocations: 24 kB / 0.5943 GB, free: 140.7 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00336/0.8946, allocations: 0.7885 MB / 0.5951 GB, free: 139.9 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.702e-05/0.8947, allocations: 39.92 kB / 0.5952 GB, free: 139.9 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002607/0.8973, allocations: 353.6 kB / 0.5955 GB, free: 139.5 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005034/0.8979, allocations: 143.9 kB / 0.5956 GB, free: 139.4 MB / 478.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.002273/0.9001, allocations: 0.7582 MB / 0.5964 GB, free: 138.6 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00133/0.9015, allocations: 213.7 kB / 0.5966 GB, free: 138.4 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009667/0.9112, allocations: 5.172 MB / 0.6016 GB, free: 133.2 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.771e-05/0.9112, allocations: 40 kB / 0.6017 GB, free: 133.2 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.975e-05/0.9113, allocations: 0 / 0.6017 GB, free: 133.2 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.647e-05/0.9113, allocations: 23.92 kB / 0.6017 GB, free: 133.2 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004791/0.9161, allocations: 2.819 MB / 0.6044 GB, free: 130.3 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.244e-05/0.9162, allocations: 1.125 kB / 0.6044 GB, free: 130.3 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003502/0.9197, allocations: 0.7333 MB / 0.6052 GB, free: 129.6 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.697e-05/0.9198, allocations: 16 kB / 0.6052 GB, free: 129.6 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000503/0.9203, allocations: 95.95 kB / 0.6053 GB, free: 129.5 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.885e-05/0.9204, allocations: 16 kB / 0.6053 GB, free: 129.4 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.9204, allocations: 0 / 0.6053 GB, free: 129.4 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01021/0.9306, allocations: 7.217 MB / 0.6123 GB, free: 122.2 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007064/0.9313, allocations: 322 kB / 0.6126 GB, free: 121.8 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000618/0.932, allocations: 81.38 kB / 0.6127 GB, free: 121.8 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003413/0.9354, allocations: 226.6 kB / 0.6129 GB, free: 121.5 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006003/0.936, allocations: 310.9 kB / 0.6132 GB, free: 121.2 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006191/0.9367, allocations: 179.9 kB / 0.6134 GB, free: 121.1 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0008626/0.9375, allocations: 0.6785 MB / 0.6141 GB, free: 120.4 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.9376, allocations: 0 / 0.6141 GB, free: 120.4 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.003058/0.9406, allocations: 1.093 MB / 0.6151 GB, free: 119.3 MB / 478.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.00158/0.9422, allocations: 470.8 kB / 0.6156 GB, free: 118.9 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.006778/0.949, allocations: 4.305 MB / 0.6198 GB, free: 114.6 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.127e-05/0.9491, allocations: 9.188 kB / 0.6198 GB, free: 114.6 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003168/0.9522, allocations: 2.263 MB / 0.622 GB, free: 112.3 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006666/0.9589, allocations: 1.241 MB / 0.6232 GB, free: 111.1 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01268/0.9716, allocations: 6.75 MB / 0.6298 GB, free: 104.3 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001343/0.973, allocations: 1.85 MB / 0.6316 GB, free: 102.4 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002123/0.9752, allocations: 335.3 kB / 0.6319 GB, free: 102.1 MB / 478.1 MB Notification: Performance of SimCode: time 6.81e-07/0.9752, allocations: 0 / 0.6319 GB, free: 102.1 MB / 478.1 MB Notification: Performance of Templates: time 0.0614/1.037, allocations: 47.1 MB / 0.6779 GB, free: 54.82 MB / 478.1 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.PsychrometricData.makefile (rm -f Modelica_3.2.3_Modelica.Media.Examples.PsychrometricData.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.PsychrometricData.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.PsychrometricData.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.PsychrometricData.sim & ./Modelica_3.2.3_Modelica.Media.Examples.PsychrometricData -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.PsychrometricData.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.PsychrometricData_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/PsychrometricData/PsychrometricData.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.PsychrometricData.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches