Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.PsychrometricData.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008729/0.0008729, allocations: 176 kB / 17.36 MB, free: 4.445 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.215/1.215, allocations: 205.6 MB / 223.7 MB, free: 8.93 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008575/0.0008577, allocations: 91.73 kB / 272.1 MB, free: 8.117 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002238/0.0002238, allocations: 8 kB / 329 MB, free: 15.07 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1871/0.1873, allocations: 47.58 MB / 376.6 MB, free: 45.57 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.PsychrometricData): time 0.2957/0.483, allocations: 142.5 MB / 0.5069 GB, free: 3.285 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001306/0.4844, allocations: 1.422 MB / 0.5083 GB, free: 2.691 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.078e-05/0.4845, allocations: 2.531 kB / 0.5083 GB, free: 2.691 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003304/0.4848, allocations: 64.81 kB / 0.5084 GB, free: 2.691 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004826/0.4853, allocations: 281.5 kB / 0.5087 GB, free: 2.672 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002749/0.4881, allocations: 1.134 MB / 0.5098 GB, free: 2.613 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.00543/0.4935, allocations: 7.169 MB / 0.5168 GB, free: 2.324 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003664/0.4939, allocations: 259.4 kB / 0.517 GB, free: 2.215 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003625/0.4976, allocations: 1.939 MB / 0.5189 GB, free: 2.074 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003331/0.5009, allocations: 1.955 MB / 0.5208 GB, free: 2.023 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004939/0.5014, allocations: 140.5 kB / 0.521 GB, free: 2.023 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003728/0.5051, allocations: 1.794 MB / 0.5227 GB, free: 1.637 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001073/0.5062, allocations: 1.072 MB / 0.5238 GB, free: 1.254 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00227/0.5085, allocations: 1.442 MB / 0.5252 GB, free: 1.031 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009212/0.5177, allocations: 4.745 MB / 0.5298 GB, free: 0 / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.035e-05/0.5178, allocations: 128 / 0.5298 GB, free: 0 / 378.7 MB Notification: Performance of FrontEnd: time 3.286e-06/0.5178, allocations: 64 / 0.5298 GB, free: 0 / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001625/0.518, allocations: 0 / 0.5298 GB, free: 0 / 378.7 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.008184/0.5262, allocations: 2.913 MB / 0.5326 GB, free: 14.37 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.998e-05/0.5262, allocations: 7.938 kB / 0.5327 GB, free: 14.37 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002069/0.5283, allocations: 331.5 kB / 0.533 GB, free: 14.23 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002431/0.5308, allocations: 1.328 MB / 0.5343 GB, free: 13.63 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001054/0.5309, allocations: 183.5 kB / 0.5344 GB, free: 13.62 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003623/0.5312, allocations: 240.7 kB / 0.5347 GB, free: 13.62 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005638/0.5369, allocations: 3.803 MB / 0.5384 GB, free: 12.46 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.018e-05/0.537, allocations: 0 / 0.5384 GB, free: 12.46 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003381/0.5373, allocations: 110.9 kB / 0.5385 GB, free: 12.46 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.319e-05/0.5373, allocations: 62.19 kB / 0.5386 GB, free: 12.46 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008441/0.5458, allocations: 5.974 MB / 0.5444 GB, free: 10.06 MB / 394.7 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.01873/0.5645, allocations: 11.2 MB / 0.5553 GB, free: 15.67 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006413/0.571, allocations: 5.015 MB / 0.5602 GB, free: 12.28 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003223/0.5743, allocations: 2.39 MB / 0.5626 GB, free: 10.51 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005535/0.5748, allocations: 436.5 kB / 0.563 GB, free: 10.05 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001008/0.5749, allocations: 98.56 kB / 0.5631 GB, free: 9.977 MB / 410.7 MB Notification: Performance of pre-optimization done (n=390): time 5.159e-06/0.575, allocations: 0 / 0.5631 GB, free: 9.977 MB / 410.7 MB Notification: Performance of matching and sorting (n=390): time 0.008634/0.5836, allocations: 5.777 MB / 0.5687 GB, free: 5.523 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.234e-05/0.5837, allocations: 90.47 kB / 0.5688 GB, free: 5.422 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009976/0.5847, allocations: 0.871 MB / 0.5696 GB, free: 4.73 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003775/0.5851, allocations: 101.5 kB / 0.5697 GB, free: 4.676 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000317/0.5854, allocations: 0.5206 MB / 0.5702 GB, free: 4.281 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001006/0.5864, allocations: 1.3 MB / 0.5715 GB, free: 3.168 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000172/0.5866, allocations: 71.75 kB / 0.5716 GB, free: 3.152 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002309/0.5868, allocations: 0.495 MB / 0.5721 GB, free: 2.723 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002497/0.5893, allocations: 1.731 MB / 0.5738 GB, free: 1.402 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002674/0.592, allocations: 2.246 MB / 0.576 GB, free: 15.48 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005555/0.5976, allocations: 4.32 MB / 0.5802 GB, free: 12.14 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.031e-05/0.5976, allocations: 4 kB / 0.5802 GB, free: 12.14 MB / 426.7 MB Notification: Performance of matching and sorting (n=450) (initialization): time 0.006658/0.6043, allocations: 4.559 MB / 0.5846 GB, free: 8.625 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.905e-05/0.6043, allocations: 14.8 kB / 0.5846 GB, free: 8.613 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.003e-05/0.6044, allocations: 12 kB / 0.5847 GB, free: 8.602 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.556e-05/0.6044, allocations: 24 kB / 0.5847 GB, free: 8.578 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003442/0.6079, allocations: 0.7924 MB / 0.5854 GB, free: 7.812 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.3e-05/0.6079, allocations: 39.86 kB / 0.5855 GB, free: 7.773 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002357/0.6103, allocations: 423.9 kB / 0.5859 GB, free: 7.41 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002722/0.6106, allocations: 146.7 kB / 0.586 GB, free: 7.297 MB / 426.7 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00124/0.6118, allocations: 0.7546 MB / 0.5868 GB, free: 6.715 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004014/0.6122, allocations: 209.8 kB / 0.587 GB, free: 6.508 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008201/0.6204, allocations: 5.156 MB / 0.592 GB, free: 2.75 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-05/0.6205, allocations: 40 kB / 0.592 GB, free: 2.711 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.283e-05/0.6205, allocations: 3.938 kB / 0.592 GB, free: 2.707 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.505e-05/0.6205, allocations: 25.89 kB / 0.5921 GB, free: 2.684 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004421/0.625, allocations: 2.812 MB / 0.5948 GB, free: 0.5234 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.987e-06/0.625, allocations: 0 / 0.5948 GB, free: 0.5234 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003438/0.6285, allocations: 0.7329 MB / 0.5955 GB, free: 15.82 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.882e-05/0.6285, allocations: 13.86 kB / 0.5955 GB, free: 15.8 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002317/0.6287, allocations: 92.45 kB / 0.5956 GB, free: 15.77 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.862e-05/0.6288, allocations: 20 kB / 0.5957 GB, free: 15.75 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/0.6288, allocations: 3.938 kB / 0.5957 GB, free: 15.74 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00942/0.6382, allocations: 7.186 MB / 0.6027 GB, free: 10.34 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005992/0.6388, allocations: 354 kB / 0.603 GB, free: 9.977 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003016/0.6391, allocations: 75.3 kB / 0.6031 GB, free: 9.957 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002673/0.6418, allocations: 301.9 kB / 0.6034 GB, free: 9.719 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006078/0.6424, allocations: 319.7 kB / 0.6037 GB, free: 9.438 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003556/0.6428, allocations: 173.6 kB / 0.6038 GB, free: 9.305 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.000781/0.6436, allocations: 0.6765 MB / 0.6045 GB, free: 8.789 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.6436, allocations: 0 / 0.6045 GB, free: 8.789 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002214/0.6458, allocations: 1.088 MB / 0.6056 GB, free: 7.82 MB / 442.7 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.001029/0.6468, allocations: 475 kB / 0.606 GB, free: 7.438 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.005807/0.6527, allocations: 4.252 MB / 0.6102 GB, free: 4.09 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 8.416e-06/0.6527, allocations: 9 kB / 0.6102 GB, free: 4.082 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0028/0.6555, allocations: 2.25 MB / 0.6124 GB, free: 2.328 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004892/0.6604, allocations: 1.231 MB / 0.6136 GB, free: 1.328 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01111/0.6715, allocations: 7.975 MB / 0.6214 GB, free: 9.91 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001184/0.6727, allocations: 1.849 MB / 0.6232 GB, free: 8.098 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.005288/0.678, allocations: 1.764 MB / 0.6249 GB, free: 6.328 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009617/0.679, allocations: 291.6 kB / 0.6252 GB, free: 6.066 MB / 458.7 MB Notification: Performance of SimCode: time 6.21e-07/0.679, allocations: 4 kB / 0.6252 GB, free: 6.062 MB / 458.7 MB Notification: Performance of Templates: time 0.2468/0.9259, allocations: 60.5 MB / 0.6843 GB, free: 233.5 MB / 0.4948 GB 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/PsychrometricData/PsychrometricData.csv","../files/Modelica_3.2.3_Modelica.Media.Examples.PsychrometricData.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches