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.001175/0.001175, allocations: 97.36 kB / 16.3 MB, free: 5.598 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.001351/0.001352, allocations: 179.7 kB / 17.19 MB, free: 5.535 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.348/1.348, allocations: 223.2 MB / 241.1 MB, free: 336 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002212/0.0002212, allocations: 7.938 kB / 300.7 MB, free: 6.48 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07913/0.07937, allocations: 50.41 MB / 351.1 MB, free: 4.059 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.PsychrometricData): time 0.2648/0.3442, allocations: 127.6 MB / 478.7 MB, free: 5.887 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001188/0.3455, allocations: 0.8657 MB / 479.6 MB, free: 5.02 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.214e-05/0.3455, allocations: 0 / 479.6 MB, free: 5.02 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002655/0.3458, allocations: 59.7 kB / 479.7 MB, free: 4.961 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004098/0.3462, allocations: 227.4 kB / 479.9 MB, free: 4.738 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001753/0.348, allocations: 0.7609 MB / 480.7 MB, free: 3.984 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002635/0.3506, allocations: 3.076 MB / 483.7 MB, free: 0.9023 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002671/0.3509, allocations: 256 kB / 484 MB, free: 0.625 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002397/0.3533, allocations: 1.886 MB / 485.9 MB, free: 14.73 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002376/0.3557, allocations: 1.629 MB / 487.5 MB, free: 13.1 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004837/0.3562, allocations: 144 kB / 487.6 MB, free: 12.96 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002554/0.3588, allocations: 1.342 MB / 489 MB, free: 11.62 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001061/0.3598, allocations: 1.021 MB / 490 MB, free: 10.59 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006862/0.3605, allocations: 0.4928 MB / 490.5 MB, free: 10.09 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003048/0.3636, allocations: 3.15 MB / 493.6 MB, free: 6.941 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.845e-06/0.3636, allocations: 0 / 493.6 MB, free: 6.941 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.3636, allocations: 0 / 493.6 MB, free: 6.941 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.27e-05/0.3637, allocations: 0 / 493.6 MB, free: 6.941 MB / 398.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.007508/0.3712, allocations: 2.887 MB / 496.5 MB, free: 3.996 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.494e-05/0.3712, allocations: 8.031 kB / 496.5 MB, free: 3.988 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001913/0.3732, allocations: 337.2 kB / 496.9 MB, free: 3.656 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003181/0.3764, allocations: 1.304 MB / 498.2 MB, free: 2.305 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001351/0.3765, allocations: 176.9 kB / 498.3 MB, free: 2.129 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004288/0.3769, allocations: 247.9 kB / 498.6 MB, free: 1.887 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006117/0.3831, allocations: 3.776 MB / 0.4906 GB, free: 14.06 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.13e-05/0.3831, allocations: 4 kB / 0.4906 GB, free: 14.06 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003537/0.3835, allocations: 113.8 kB / 0.4907 GB, free: 13.95 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.284e-05/0.3836, allocations: 63.95 kB / 0.4908 GB, free: 13.89 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008264/0.3918, allocations: 5.971 MB / 0.4966 GB, free: 7.898 MB / 414.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.01896/0.4108, allocations: 11.18 MB / 0.5075 GB, free: 11.88 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00646/0.4173, allocations: 5.023 MB / 0.5124 GB, free: 6.836 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005139/0.4178, allocations: 435.3 kB / 0.5128 GB, free: 6.336 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.04e-05/0.4179, allocations: 95.5 kB / 0.5129 GB, free: 6.234 MB / 430.1 MB Notification: Performance of pre-optimization done (n=390): time 4.92e-06/0.4179, allocations: 0 / 0.5129 GB, free: 6.234 MB / 430.1 MB Notification: Performance of matching and sorting (n=390): time 0.008573/0.4265, allocations: 5.788 MB / 0.5186 GB, free: 432 kB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.057e-05/0.4266, allocations: 102.5 kB / 0.5187 GB, free: 316 kB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009735/0.4276, allocations: 0.8557 MB / 0.5195 GB, free: 15.45 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003331/0.4279, allocations: 105.7 kB / 0.5196 GB, free: 15.34 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003163/0.4282, allocations: 0.5149 MB / 0.5201 GB, free: 14.81 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009284/0.4292, allocations: 1.297 MB / 0.5214 GB, free: 13.5 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001745/0.4294, allocations: 72 kB / 0.5214 GB, free: 13.43 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002318/0.4296, allocations: 0.5061 MB / 0.5219 GB, free: 12.91 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002478/0.4321, allocations: 1.724 MB / 0.5236 GB, free: 11.18 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002788/0.4349, allocations: 2.231 MB / 0.5258 GB, free: 8.801 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002962/0.4378, allocations: 2.114 MB / 0.5279 GB, free: 6.676 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.025e-06/0.4379, allocations: 3.938 kB / 0.5279 GB, free: 6.672 MB / 446.1 MB Notification: Performance of matching and sorting (n=450) (initialization): time 0.006583/0.4445, allocations: 4.551 MB / 0.5323 GB, free: 2.094 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.704e-05/0.4445, allocations: 15.98 kB / 0.5323 GB, free: 2.078 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.897e-05/0.4445, allocations: 12 kB / 0.5323 GB, free: 2.066 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.51e-05/0.4446, allocations: 31.95 kB / 0.5324 GB, free: 2.035 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00344/0.448, allocations: 0.788 MB / 0.5331 GB, free: 1.246 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.946e-05/0.4481, allocations: 39.86 kB / 0.5332 GB, free: 1.207 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002355/0.4504, allocations: 432.5 kB / 0.5336 GB, free: 0.7812 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002555/0.4507, allocations: 143.9 kB / 0.5337 GB, free: 0.6406 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[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 initialization (450): * Single equations (assignments): 450 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.1428/0.5935, allocations: 0.7465 MB / 0.5345 GB, free: 160.7 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005687/0.5941, allocations: 210.4 kB / 0.5347 GB, free: 160.7 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008536/0.6026, allocations: 5.175 MB / 0.5397 GB, free: 160.2 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.182e-05/0.6027, allocations: 40.91 kB / 0.5397 GB, free: 160.2 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.252e-05/0.6027, allocations: 3.781 kB / 0.5398 GB, free: 160.2 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.5e-05/0.6028, allocations: 22.11 kB / 0.5398 GB, free: 160.2 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004518/0.6073, allocations: 2.818 MB / 0.5425 GB, free: 159.3 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.083e-05/0.6073, allocations: 0.6562 kB / 0.5425 GB, free: 159.3 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003257/0.6106, allocations: 0.7329 MB / 0.5432 GB, free: 159.2 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.562e-05/0.6106, allocations: 14.66 kB / 0.5433 GB, free: 159.2 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002186/0.6108, allocations: 94.53 kB / 0.5433 GB, free: 159.1 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.913e-05/0.6109, allocations: 13.09 kB / 0.5434 GB, free: 159.1 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.816e-06/0.6109, allocations: 8.531 kB / 0.5434 GB, free: 159.1 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009524/0.6204, allocations: 7.177 MB / 0.5504 GB, free: 156.9 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000538/0.621, allocations: 354.6 kB / 0.5507 GB, free: 156.7 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003324/0.6213, allocations: 78.5 kB / 0.5508 GB, free: 156.6 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002803/0.6241, allocations: 295.6 kB / 0.5511 GB, free: 156.5 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004678/0.6246, allocations: 320.2 kB / 0.5514 GB, free: 156.5 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002895/0.6249, allocations: 179.3 kB / 0.5515 GB, free: 156.5 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0006698/0.6256, allocations: 0.6759 MB / 0.5522 GB, free: 156.2 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.6256, allocations: 3.938 kB / 0.5522 GB, free: 156.2 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001903/0.6275, allocations: 1.079 MB / 0.5533 GB, free: 156.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009362/0.6284, allocations: 450.9 kB / 0.5537 GB, free: 155.8 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00495/0.6334, allocations: 4.245 MB / 0.5578 GB, free: 153 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.651e-06/0.6334, allocations: 9 kB / 0.5578 GB, free: 152.9 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002407/0.6358, allocations: 2.255 MB / 0.56 GB, free: 150.7 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004546/0.6404, allocations: 1.154 MB / 0.5612 GB, free: 149.6 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009923/0.6503, allocations: 7.761 MB / 0.5688 GB, free: 141.8 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009022/0.6512, allocations: 1.888 MB / 0.5706 GB, free: 139.9 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.004407/0.6556, allocations: 1.764 MB / 0.5723 GB, free: 138.1 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008641/0.6565, allocations: 299.3 kB / 0.5726 GB, free: 137.8 MB / 446.1 MB Notification: Performance of SimCode: time 5.21e-07/0.6565, allocations: 0 / 0.5726 GB, free: 137.8 MB / 446.1 MB Notification: Performance of Templates: time 0.0657/0.7222, allocations: 58.13 MB / 0.6294 GB, free: 80.14 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","../files/Modelica_4.0.0_Modelica.Media.Examples.PsychrometricData.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches