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.0009587/0.0009588, allocations: 90.84 kB / 17.31 MB, free: 5.59 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.001049/0.001049, allocations: 183.5 kB / 18.21 MB, free: 5.191 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.282/1.282, allocations: 223.3 MB / 242.3 MB, free: 14.47 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002575/0.0002576, allocations: 8 kB / 302.1 MB, free: 5.906 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09577/0.09605, allocations: 50.41 MB / 352.5 MB, free: 3.48 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.PsychrometricData): time 0.3253/0.4214, allocations: 147.8 MB / 0.4885 GB, free: 1.848 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001345/0.4228, allocations: 0.7059 MB / 0.4892 GB, free: 1.152 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001831/0.423, allocations: 0 / 0.4892 GB, free: 1.152 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004181/0.4235, allocations: 70 kB / 0.4893 GB, free: 1.086 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007232/0.4242, allocations: 286.5 kB / 0.4895 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003052/0.4273, allocations: 0.9483 MB / 0.4905 GB, free: 15.87 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.006098/0.4334, allocations: 7.157 MB / 0.4975 GB, free: 8.695 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004471/0.4339, allocations: 260 kB / 0.4977 GB, free: 8.418 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003742/0.4376, allocations: 1.897 MB / 0.4996 GB, free: 6.516 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003802/0.4415, allocations: 1.967 MB / 0.5015 GB, free: 4.543 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001267/0.4428, allocations: 143.9 kB / 0.5016 GB, free: 4.402 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004728/0.4475, allocations: 1.68 MB / 0.5033 GB, free: 2.723 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002168/0.4497, allocations: 1.083 MB / 0.5043 GB, free: 1.637 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003572/0.4533, allocations: 1.439 MB / 0.5057 GB, free: 192 kB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005184/0.4585, allocations: 3.282 MB / 0.5089 GB, free: 12.9 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.4586, allocations: 0 / 0.5089 GB, free: 12.9 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.215e-06/0.4586, allocations: 0 / 0.5089 GB, free: 12.9 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001698/0.4587, allocations: 0 / 0.5089 GB, free: 12.9 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.01012/0.4689, allocations: 2.887 MB / 0.5117 GB, free: 9.953 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.729e-05/0.4689, allocations: 8.031 kB / 0.5117 GB, free: 9.945 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00266/0.4716, allocations: 330.5 kB / 0.5121 GB, free: 9.621 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003323/0.475, allocations: 1.323 MB / 0.5134 GB, free: 8.25 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002273/0.4752, allocations: 180.9 kB / 0.5135 GB, free: 8.07 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009765/0.4762, allocations: 247.9 kB / 0.5138 GB, free: 7.828 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009073/0.4853, allocations: 3.819 MB / 0.5175 GB, free: 3.961 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.732e-05/0.4854, allocations: 3.938 kB / 0.5175 GB, free: 3.957 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008928/0.4863, allocations: 116 kB / 0.5176 GB, free: 3.844 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.728e-05/0.4864, allocations: 56.88 kB / 0.5177 GB, free: 3.789 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2005/0.6869, allocations: 5.983 MB / 0.5235 GB, free: 147.8 MB / 430.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.02336/0.7103, allocations: 11.19 MB / 0.5344 GB, free: 141.9 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008034/0.7183, allocations: 5.039 MB / 0.5394 GB, free: 139.6 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003799/0.7222, allocations: 2.409 MB / 0.5417 GB, free: 138.5 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006206/0.7228, allocations: 439.9 kB / 0.5421 GB, free: 138 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.435e-05/0.7229, allocations: 102.2 kB / 0.5422 GB, free: 138 MB / 430.1 MB Notification: Performance of pre-optimization done (n=390): time 5.25e-06/0.7229, allocations: 0 / 0.5422 GB, free: 138 MB / 430.1 MB Notification: Performance of matching and sorting (n=390): time 0.009645/0.7326, allocations: 5.811 MB / 0.5479 GB, free: 134.9 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.088e-05/0.7327, allocations: 90.47 kB / 0.548 GB, free: 134.8 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001022/0.7337, allocations: 0.8752 MB / 0.5488 GB, free: 133.9 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004906/0.7342, allocations: 101.7 kB / 0.5489 GB, free: 133.8 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002533/0.7345, allocations: 0.5184 MB / 0.5494 GB, free: 133.3 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009363/0.7354, allocations: 1.305 MB / 0.5507 GB, free: 132 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004577/0.7359, allocations: 285.2 kB / 0.551 GB, free: 131.7 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 7.529e-05/0.736, allocations: 357.9 kB / 0.5513 GB, free: 131.3 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002534/0.7385, allocations: 1.748 MB / 0.553 GB, free: 129.6 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002759/0.7413, allocations: 2.258 MB / 0.5552 GB, free: 127.2 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005674/0.747, allocations: 4.335 MB / 0.5595 GB, free: 122.7 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.509e-05/0.747, allocations: 8 kB / 0.5595 GB, free: 122.7 MB / 430.1 MB Notification: Performance of matching and sorting (n=450) (initialization): time 0.006733/0.7538, allocations: 4.578 MB / 0.564 GB, free: 118.1 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.159e-05/0.7538, allocations: 8 kB / 0.564 GB, free: 118.1 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.373e-05/0.7539, allocations: 12 kB / 0.564 GB, free: 118.1 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.973e-05/0.7539, allocations: 28 kB / 0.564 GB, free: 118 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003313/0.7572, allocations: 0.797 MB / 0.5648 GB, free: 117.2 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.964e-05/0.7573, allocations: 32.69 kB / 0.5648 GB, free: 117.2 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00268/0.76, allocations: 432.5 kB / 0.5652 GB, free: 116.8 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003975/0.7604, allocations: 143.9 kB / 0.5654 GB, free: 116.6 MB / 430.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.00147/0.7619, allocations: 0.7544 MB / 0.5661 GB, free: 115.9 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006888/0.7626, allocations: 213.7 kB / 0.5663 GB, free: 115.7 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008535/0.7711, allocations: 5.174 MB / 0.5714 GB, free: 110.4 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.682e-05/0.7712, allocations: 40 kB / 0.5714 GB, free: 110.4 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.706e-05/0.7712, allocations: 3.938 kB / 0.5714 GB, free: 110.4 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.117e-05/0.7713, allocations: 25.48 kB / 0.5714 GB, free: 110.4 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004691/0.776, allocations: 2.811 MB / 0.5742 GB, free: 107.6 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.454e-05/0.776, allocations: 0 / 0.5742 GB, free: 107.6 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003201/0.7792, allocations: 0.7372 MB / 0.5749 GB, free: 106.9 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.689e-05/0.7793, allocations: 15.94 kB / 0.5749 GB, free: 106.9 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003005/0.7796, allocations: 87.97 kB / 0.575 GB, free: 106.8 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.482e-05/0.7796, allocations: 16 kB / 0.575 GB, free: 106.8 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.7796, allocations: 7.922 kB / 0.575 GB, free: 106.8 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009358/0.789, allocations: 7.214 MB / 0.5821 GB, free: 99.49 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007657/0.7898, allocations: 357.7 kB / 0.5824 GB, free: 99.12 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004703/0.7903, allocations: 79.98 kB / 0.5825 GB, free: 99.04 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00328/0.7936, allocations: 300.4 kB / 0.5828 GB, free: 98.75 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005893/0.7942, allocations: 314.9 kB / 0.5831 GB, free: 98.44 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005114/0.7947, allocations: 179.8 kB / 0.5832 GB, free: 98.27 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0007994/0.7955, allocations: 0.6863 MB / 0.5839 GB, free: 97.59 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.7955, allocations: 0 / 0.5839 GB, free: 97.59 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002612/0.7982, allocations: 1.08 MB / 0.585 GB, free: 96.52 MB / 430.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.001318/0.7995, allocations: 451.9 kB / 0.5854 GB, free: 96.11 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.006205/0.8057, allocations: 4.269 MB / 0.5896 GB, free: 91.83 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 8.967e-06/0.8057, allocations: 5 kB / 0.5896 GB, free: 91.83 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003048/0.8088, allocations: 2.271 MB / 0.5918 GB, free: 89.56 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006938/0.8158, allocations: 1.231 MB / 0.593 GB, free: 88.33 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01311/0.8289, allocations: 8.084 MB / 0.6009 GB, free: 80.19 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00126/0.8302, allocations: 1.849 MB / 0.6027 GB, free: 78.3 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002029/0.8323, allocations: 331.3 kB / 0.603 GB, free: 77.98 MB / 430.1 MB Notification: Performance of SimCode: time 1.243e-06/0.8323, allocations: 0 / 0.603 GB, free: 77.98 MB / 430.1 MB Notification: Performance of Templates: time 0.05522/0.8875, allocations: 46.31 MB / 0.6482 GB, free: 31.78 MB / 430.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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/PsychrometricData/PsychrometricData.csv","/var/lib/jenkins1/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