Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.PsychrometricData.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009143/0.0009143, allocations: 182.6 kB / 16.71 MB, free: 4.961 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.237/1.237, allocations: 225.7 MB / 243.2 MB, free: 8.508 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007593/0.0007593, allocations: 85.38 kB / 294.3 MB, free: 9.516 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002384/0.0002385, allocations: 15.92 kB / 354.1 MB, free: 13.66 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1806/0.1809, allocations: 50.42 MB / 404.6 MB, free: 31.34 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.PsychrometricData): time 0.2903/0.4713, allocations: 141.4 MB / 0.5331 GB, free: 15.94 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.001214/0.4725, allocations: 1.074 MB / 0.5342 GB, free: 15.4 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001243/0.4727, allocations: 0 / 0.5342 GB, free: 15.4 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003169/0.473, allocations: 72.86 kB / 0.5342 GB, free: 15.39 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005134/0.4735, allocations: 272.3 kB / 0.5345 GB, free: 15.33 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002245/0.4758, allocations: 0.9468 MB / 0.5354 GB, free: 15.18 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.005061/0.4808, allocations: 7.167 MB / 0.5424 GB, free: 13.21 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003075/0.4812, allocations: 261.4 kB / 0.5427 GB, free: 13.1 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002812/0.484, allocations: 1.94 MB / 0.5446 GB, free: 12.67 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00297/0.487, allocations: 1.954 MB / 0.5465 GB, free: 12.16 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004333/0.4874, allocations: 143.3 kB / 0.5466 GB, free: 12.16 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003353/0.4908, allocations: 1.642 MB / 0.5482 GB, free: 11.72 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001119/0.4919, allocations: 1.077 MB / 0.5493 GB, free: 11.34 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002018/0.4939, allocations: 1.443 MB / 0.5507 GB, free: 11.11 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004845/0.4988, allocations: 4.387 MB / 0.555 GB, free: 9.172 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.672e-06/0.4988, allocations: 0 / 0.555 GB, free: 9.172 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.994e-06/0.4988, allocations: 0 / 0.555 GB, free: 9.172 MB / 394.7 MB Notification: Performance of Transformations before backend: time 8.067e-05/0.4989, allocations: 0 / 0.555 GB, free: 9.172 MB / 394.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.007492/0.5064, allocations: 2.883 MB / 0.5578 GB, free: 7.555 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.672e-05/0.5065, allocations: 9.281 kB / 0.5578 GB, free: 7.555 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001825/0.5083, allocations: 330.4 kB / 0.5581 GB, free: 7.418 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002302/0.5106, allocations: 1.326 MB / 0.5594 GB, free: 6.82 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001097/0.5107, allocations: 179.9 kB / 0.5596 GB, free: 6.812 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000373/0.5111, allocations: 244.5 kB / 0.5598 GB, free: 6.805 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005714/0.5168, allocations: 3.803 MB / 0.5635 GB, free: 4.652 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.689e-05/0.5169, allocations: 0 / 0.5635 GB, free: 4.652 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003066/0.5172, allocations: 115 kB / 0.5636 GB, free: 4.621 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.149e-05/0.5173, allocations: 60 kB / 0.5637 GB, free: 4.562 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00787/0.5251, allocations: 5.967 MB / 0.5695 GB, free: 15.75 MB / 410.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.01736/0.5425, allocations: 11.19 MB / 0.5804 GB, free: 5.352 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006405/0.5489, allocations: 5.015 MB / 0.5853 GB, free: 1.961 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003233/0.5522, allocations: 2.395 MB / 0.5877 GB, free: 196 kB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005224/0.5528, allocations: 435.3 kB / 0.5881 GB, free: 15.73 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.059e-05/0.5529, allocations: 94.44 kB / 0.5882 GB, free: 15.66 MB / 426.7 MB Notification: Performance of pre-optimization done (n=390): time 5.1e-06/0.5529, allocations: 0 / 0.5882 GB, free: 15.66 MB / 426.7 MB Notification: Performance of matching and sorting (n=390): time 0.008562/0.5614, allocations: 5.784 MB / 0.5938 GB, free: 11.2 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.826e-05/0.5615, allocations: 101.7 kB / 0.5939 GB, free: 11.09 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009202/0.5624, allocations: 0.8637 MB / 0.5948 GB, free: 10.41 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002716/0.5627, allocations: 105.3 kB / 0.5949 GB, free: 10.35 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002842/0.563, allocations: 0.5095 MB / 0.5954 GB, free: 9.965 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008955/0.5639, allocations: 1.306 MB / 0.5966 GB, free: 8.844 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001657/0.5641, allocations: 73.88 kB / 0.5967 GB, free: 8.828 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002256/0.5643, allocations: 0.4984 MB / 0.5972 GB, free: 8.395 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002359/0.5667, allocations: 1.728 MB / 0.5989 GB, free: 7.078 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002737/0.5695, allocations: 2.24 MB / 0.6011 GB, free: 5.16 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005553/0.575, allocations: 4.321 MB / 0.6053 GB, free: 1.82 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.196e-05/0.575, allocations: 4 kB / 0.6053 GB, free: 1.816 MB / 426.7 MB Notification: Performance of matching and sorting (n=450) (initialization): time 0.006417/0.5815, allocations: 4.563 MB / 0.6098 GB, free: 14.3 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.505e-05/0.5815, allocations: 8 kB / 0.6098 GB, free: 14.29 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.867e-05/0.5815, allocations: 12 kB / 0.6098 GB, free: 14.28 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.052e-05/0.5816, allocations: 35.97 kB / 0.6098 GB, free: 14.25 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003386/0.585, allocations: 0.7877 MB / 0.6106 GB, free: 13.48 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.067e-05/0.585, allocations: 35.92 kB / 0.6106 GB, free: 13.45 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002377/0.5874, allocations: 431.9 kB / 0.611 GB, free: 13.08 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002728/0.5877, allocations: 146.7 kB / 0.6112 GB, free: 12.96 MB / 442.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.001261/0.589, allocations: 0.7616 MB / 0.6119 GB, free: 12.38 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004418/0.5894, allocations: 205.8 kB / 0.6121 GB, free: 12.18 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007768/0.5972, allocations: 5.144 MB / 0.6171 GB, free: 8.426 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.01e-05/0.5972, allocations: 43.94 kB / 0.6172 GB, free: 8.383 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.041e-05/0.5973, allocations: 7.938 kB / 0.6172 GB, free: 8.375 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-05/0.5973, allocations: 19.92 kB / 0.6172 GB, free: 8.355 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004038/0.6013, allocations: 2.815 MB / 0.6199 GB, free: 6.191 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.157e-06/0.6014, allocations: 0 / 0.6199 GB, free: 6.191 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003244/0.6046, allocations: 0.7329 MB / 0.6207 GB, free: 5.484 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.163e-05/0.6046, allocations: 15.94 kB / 0.6207 GB, free: 5.469 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002111/0.6049, allocations: 101.9 kB / 0.6208 GB, free: 5.422 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.878e-05/0.6049, allocations: 19.94 kB / 0.6208 GB, free: 5.402 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.6049, allocations: 0 / 0.6208 GB, free: 5.402 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009283/0.6142, allocations: 7.173 MB / 0.6278 GB, free: 8 kB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005963/0.6148, allocations: 354.2 kB / 0.6281 GB, free: 15.65 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003289/0.6151, allocations: 78.98 kB / 0.6282 GB, free: 15.62 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002715/0.6179, allocations: 303.8 kB / 0.6285 GB, free: 15.39 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005861/0.6185, allocations: 305.7 kB / 0.6288 GB, free: 15.12 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003748/0.6188, allocations: 176.9 kB / 0.629 GB, free: 14.98 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0007952/0.6197, allocations: 0.6834 MB / 0.6296 GB, free: 14.46 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.6197, allocations: 0 / 0.6296 GB, free: 14.46 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.002339/0.622, allocations: 1.082 MB / 0.6307 GB, free: 13.5 MB / 458.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.0009813/0.623, allocations: 461.7 kB / 0.6311 GB, free: 13.12 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.00577/0.6288, allocations: 4.256 MB / 0.6353 GB, free: 9.77 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 7.343e-06/0.6288, allocations: 9 kB / 0.6353 GB, free: 9.762 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002833/0.6316, allocations: 2.245 MB / 0.6375 GB, free: 8.012 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004807/0.6365, allocations: 1.223 MB / 0.6387 GB, free: 7.023 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01119/0.6477, allocations: 7.975 MB / 0.6465 GB, free: 15.6 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001204/0.6489, allocations: 1.853 MB / 0.6483 GB, free: 13.78 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.005087/0.654, allocations: 1.76 MB / 0.65 GB, free: 12.02 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009513/0.6549, allocations: 296.3 kB / 0.6503 GB, free: 11.75 MB / 474.7 MB Notification: Performance of SimCode: time 6.21e-07/0.655, allocations: 0 / 0.6503 GB, free: 11.75 MB / 474.7 MB Notification: Performance of Templates: time 0.3489/1.004, allocations: 60.18 MB / 0.709 GB, free: 181.7 MB / 490.8 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