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.001873/0.001873, allocations: 104 kB / 17.59 MB, free: 5.559 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.001851/0.001851, allocations: 191.5 kB / 18.51 MB, free: 4.641 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.366/1.366, allocations: 222.9 MB / 242.2 MB, free: 15.21 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001147/0.001147, allocations: 55.05 kB / 301.3 MB, free: 5.887 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1014/0.1026, allocations: 49.44 MB / 350.7 MB, free: 4.438 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.PsychrometricData): time 0.3896/0.4923, allocations: 151.9 MB / 0.4908 GB, free: 12.82 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001576/0.4939, allocations: 0.6967 MB / 0.4915 GB, free: 12.13 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002326/0.4941, allocations: 0 / 0.4915 GB, free: 12.13 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004812/0.4946, allocations: 80.36 kB / 0.4915 GB, free: 12.05 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008733/0.4955, allocations: 295.8 kB / 0.4918 GB, free: 11.77 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003703/0.4993, allocations: 1.11 MB / 0.4929 GB, free: 10.67 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005098/0.5044, allocations: 5.609 MB / 0.4984 GB, free: 5.043 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000397/0.5048, allocations: 259.7 kB / 0.4986 GB, free: 4.766 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00409/0.5089, allocations: 2.16 MB / 0.5007 GB, free: 2.602 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004154/0.5131, allocations: 1.956 MB / 0.5027 GB, free: 0.6406 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00112/0.5142, allocations: 244 kB / 0.5029 GB, free: 412 kB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004989/0.5192, allocations: 1.7 MB / 0.5045 GB, free: 14.7 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002004/0.5213, allocations: 1.216 MB / 0.5057 GB, free: 13.48 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00374/0.525, allocations: 1.564 MB / 0.5073 GB, free: 11.91 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007807/0.5329, allocations: 4.5 MB / 0.5117 GB, free: 7.402 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.434e-06/0.5329, allocations: 3.938 kB / 0.5117 GB, free: 7.398 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.5329, allocations: 4 kB / 0.5117 GB, free: 7.395 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001434/0.5331, allocations: 0 / 0.5117 GB, free: 7.395 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.01084/0.5439, allocations: 3.484 MB / 0.5151 GB, free: 3.852 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.836e-05/0.544, allocations: 8.031 kB / 0.5151 GB, free: 3.844 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001964/0.546, allocations: 334.5 kB / 0.5154 GB, free: 3.516 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0029/0.5489, allocations: 1.323 MB / 0.5167 GB, free: 2.145 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001847/0.5491, allocations: 181.4 kB / 0.5169 GB, free: 1.965 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005501/0.5497, allocations: 239.9 kB / 0.5171 GB, free: 1.73 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008345/0.558, allocations: 3.827 MB / 0.5208 GB, free: 13.85 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.138e-05/0.5581, allocations: 0 / 0.5208 GB, free: 13.85 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005712/0.5587, allocations: 112 kB / 0.5209 GB, free: 13.74 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.201e-05/0.5588, allocations: 60 kB / 0.521 GB, free: 13.68 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01105/0.5698, allocations: 5.982 MB / 0.5268 GB, free: 7.68 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.2139/0.7837, allocations: 11.23 MB / 0.5378 GB, free: 161.7 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008679/0.7925, allocations: 5.04 MB / 0.5427 GB, free: 159.9 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00429/0.7968, allocations: 2.402 MB / 0.5451 GB, free: 159.2 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006357/0.7975, allocations: 442.3 kB / 0.5455 GB, free: 158.8 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.265e-05/0.7976, allocations: 97.38 kB / 0.5456 GB, free: 158.7 MB / 446.1 MB Notification: Performance of pre-optimization done (n=390): time 5.59e-06/0.7976, allocations: 1.156 kB / 0.5456 GB, free: 158.7 MB / 446.1 MB Notification: Performance of matching and sorting (n=390): time 0.009854/0.8075, allocations: 5.817 MB / 0.5513 GB, free: 156.8 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.069e-05/0.8075, allocations: 96.59 kB / 0.5513 GB, free: 156.7 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001003/0.8086, allocations: 0.8676 MB / 0.5522 GB, free: 156.2 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005366/0.8091, allocations: 104.8 kB / 0.5523 GB, free: 156.2 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00025/0.8094, allocations: 0.516 MB / 0.5528 GB, free: 155.7 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008545/0.8102, allocations: 1.3 MB / 0.5541 GB, free: 154.6 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008246/0.8111, allocations: 0.6272 MB / 0.5547 GB, free: 154.3 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.193e-05/0.8112, allocations: 357 kB / 0.555 GB, free: 153.9 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002747/0.8139, allocations: 1.748 MB / 0.5567 GB, free: 153.1 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002687/0.8166, allocations: 2.262 MB / 0.5589 GB, free: 151.8 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005456/0.8221, allocations: 4.333 MB / 0.5632 GB, free: 148.1 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.585e-05/0.8221, allocations: 0 / 0.5632 GB, free: 148.1 MB / 446.1 MB Notification: Performance of matching and sorting (n=450) (initialization): time 0.006668/0.8288, allocations: 4.592 MB / 0.5677 GB, free: 143.5 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.189e-05/0.8289, allocations: 12 kB / 0.5677 GB, free: 143.5 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.988e-05/0.8289, allocations: 12 kB / 0.5677 GB, free: 143.5 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.073e-05/0.829, allocations: 24 kB / 0.5677 GB, free: 143.5 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003418/0.8324, allocations: 0.7949 MB / 0.5685 GB, free: 142.7 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.814e-05/0.8324, allocations: 31.94 kB / 0.5685 GB, free: 142.6 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00243/0.8349, allocations: 357.9 kB / 0.5688 GB, free: 142.3 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002899/0.8352, allocations: 143.9 kB / 0.569 GB, free: 142.1 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.001392/0.8366, allocations: 0.7619 MB / 0.5697 GB, free: 141.4 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006112/0.8372, allocations: 213.7 kB / 0.5699 GB, free: 141.2 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007725/0.8449, allocations: 5.176 MB / 0.575 GB, free: 136 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-05/0.845, allocations: 44 kB / 0.575 GB, free: 135.9 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.127e-05/0.845, allocations: 0 / 0.575 GB, free: 135.9 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.506e-05/0.8451, allocations: 19.92 kB / 0.575 GB, free: 135.9 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004215/0.8493, allocations: 2.817 MB / 0.5778 GB, free: 133.1 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.002e-05/0.8493, allocations: 7.938 kB / 0.5778 GB, free: 133.1 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00331/0.8526, allocations: 0.7294 MB / 0.5785 GB, free: 132.3 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.476e-05/0.8527, allocations: 12 kB / 0.5785 GB, free: 132.3 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003054/0.853, allocations: 95.95 kB / 0.5786 GB, free: 132.2 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.464e-05/0.853, allocations: 16 kB / 0.5786 GB, free: 132.2 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.853, allocations: 0 / 0.5786 GB, free: 132.2 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008912/0.862, allocations: 7.218 MB / 0.5857 GB, free: 125 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005519/0.8626, allocations: 321.9 kB / 0.586 GB, free: 124.6 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004604/0.863, allocations: 83.83 kB / 0.5861 GB, free: 124.5 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002948/0.866, allocations: 222.8 kB / 0.5863 GB, free: 124.3 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000636/0.8667, allocations: 310.9 kB / 0.5866 GB, free: 124 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004511/0.8671, allocations: 183.9 kB / 0.5868 GB, free: 123.8 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0007565/0.8679, allocations: 0.6785 MB / 0.5874 GB, free: 123.2 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.343e-06/0.8679, allocations: 4 kB / 0.5874 GB, free: 123.2 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002574/0.8705, allocations: 1.08 MB / 0.5885 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.001127/0.8716, allocations: 451.2 kB / 0.5889 GB, free: 121.7 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.02332/0.895, allocations: 15.27 MB / 0.6038 GB, free: 106.4 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.074e-05/0.895, allocations: 5 kB / 0.6038 GB, free: 106.4 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002997/0.898, allocations: 2.271 MB / 0.606 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.005803/0.9038, allocations: 1.257 MB / 0.6073 GB, free: 102.9 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01074/0.9146, allocations: 6.806 MB / 0.6139 GB, free: 96.09 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009126/0.9156, allocations: 1.849 MB / 0.6157 GB, free: 94.21 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001605/0.9172, allocations: 331.3 kB / 0.616 GB, free: 93.88 MB / 446.1 MB Notification: Performance of SimCode: time 7.62e-07/0.9172, allocations: 4 kB / 0.616 GB, free: 93.88 MB / 446.1 MB Notification: Performance of Templates: time 0.05407/0.9713, allocations: 46.57 MB / 0.6615 GB, free: 47.41 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/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