Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.MoistAir.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.MoistAir,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.MoistAir") translateModel(Modelica.Media.Examples.MoistAir,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.MoistAir") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008634/0.0008635, allocations: 177.9 kB / 17.36 MB, free: 4.195 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.205/1.205, allocations: 205.6 MB / 223.7 MB, free: 8.941 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.0006902/0.0006902, allocations: 90.92 kB / 272.1 MB, free: 8.125 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002209/0.0002209, allocations: 8 kB / 329 MB, free: 15.07 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1905/0.1907, allocations: 47.58 MB / 376.6 MB, free: 45.59 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MoistAir): time 0.3027/0.4934, allocations: 142.2 MB / 0.5066 GB, free: 3.371 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007719/0.4942, allocations: 0.8944 MB / 0.5075 GB, free: 2.977 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.345e-05/0.4943, allocations: 0 / 0.5075 GB, free: 2.977 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003057/0.4946, allocations: 55.12 kB / 0.5075 GB, free: 2.977 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002856/0.4949, allocations: 151.8 kB / 0.5077 GB, free: 2.969 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00255/0.4975, allocations: 0.9341 MB / 0.5086 GB, free: 2.926 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003787/0.4978, allocations: 482.8 kB / 0.509 GB, free: 2.926 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.033e-05/0.4979, allocations: 9.938 kB / 0.509 GB, free: 2.926 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002103/0.4981, allocations: 153.7 kB / 0.5092 GB, free: 2.918 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000199/0.4983, allocations: 125.5 kB / 0.5093 GB, free: 2.918 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.765e-05/0.4984, allocations: 11.27 kB / 0.5093 GB, free: 2.918 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002303/0.5007, allocations: 1.646 MB / 0.5109 GB, free: 2.902 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 8.577e-05/0.5008, allocations: 64.88 kB / 0.511 GB, free: 2.898 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001004/0.5009, allocations: 116.7 kB / 0.5111 GB, free: 2.867 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001508/0.5024, allocations: 1.035 MB / 0.5121 GB, free: 2.816 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.5024, allocations: 0.5 kB / 0.5121 GB, free: 2.816 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.535e-06/0.5024, allocations: 0.5 kB / 0.5121 GB, free: 2.816 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.539e-06/0.5024, allocations: 0 / 0.5121 GB, free: 2.816 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.001589/0.504, allocations: 0.6377 MB / 0.5127 GB, free: 2.348 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.005e-05/0.5041, allocations: 9.562 kB / 0.5128 GB, free: 2.348 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000139/0.5042, allocations: 22.48 kB / 0.5128 GB, free: 2.34 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002125/0.5044, allocations: 210.8 kB / 0.513 GB, free: 2.133 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.737e-05/0.5045, allocations: 12.3 kB / 0.513 GB, free: 2.133 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.471e-05/0.5045, allocations: 27.94 kB / 0.513 GB, free: 2.125 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005075/0.505, allocations: 254.7 kB / 0.5133 GB, free: 2.074 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.346e-05/0.5051, allocations: 3.875 kB / 0.5133 GB, free: 2.074 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.928e-05/0.5051, allocations: 7.188 kB / 0.5133 GB, free: 2.074 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.955e-05/0.5051, allocations: 10.09 kB / 0.5133 GB, free: 2.074 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005642/0.5057, allocations: 267.7 kB / 0.5135 GB, free: 2.066 MB / 378.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.001222/0.5069, allocations: 0.7908 MB / 0.5143 GB, free: 1.562 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005402/0.5075, allocations: 214.5 kB / 0.5145 GB, free: 1.516 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002726/0.5078, allocations: 137.7 kB / 0.5146 GB, free: 1.496 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002641/0.508, allocations: 360.8 kB / 0.515 GB, free: 1.117 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.182e-05/0.5081, allocations: 39.77 kB / 0.515 GB, free: 1.078 MB / 378.7 MB Notification: Performance of pre-optimization done (n=29): time 1.573e-06/0.5081, allocations: 0.5625 kB / 0.515 GB, free: 1.078 MB / 378.7 MB Notification: Performance of matching and sorting (n=36): time 0.002147/0.5102, allocations: 0.6744 MB / 0.5157 GB, free: 0.9922 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.341e-05/0.5103, allocations: 80.02 kB / 0.5158 GB, free: 0.8984 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.902e-05/0.5103, allocations: 124.9 kB / 0.5159 GB, free: 0.8008 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.469e-05/0.5104, allocations: 32.39 kB / 0.5159 GB, free: 0.7695 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.178e-05/0.5104, allocations: 108.4 kB / 0.516 GB, free: 0.6719 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.266e-05/0.5105, allocations: 123.3 kB / 0.5161 GB, free: 0.5938 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.138e-05/0.5105, allocations: 3.25 kB / 0.5161 GB, free: 0.5938 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.592e-05/0.5106, allocations: 336.3 kB / 0.5165 GB, free: 284 kB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003429/0.5109, allocations: 133.3 kB / 0.5166 GB, free: 280 kB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003902/0.5113, allocations: 203.6 kB / 0.5168 GB, free: 200 kB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007501/0.5121, allocations: 357.2 kB / 0.5171 GB, free: 116 kB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.5121, allocations: 0.9375 kB / 0.5171 GB, free: 116 kB / 378.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0008852/0.513, allocations: 410.2 kB / 0.5175 GB, free: 64 kB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.595e-05/0.513, allocations: 9.188 kB / 0.5175 GB, free: 60 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/0.513, allocations: 2.188 kB / 0.5175 GB, free: 60 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.024e-05/0.513, allocations: 6.766 kB / 0.5175 GB, free: 60 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004814/0.5135, allocations: 85.84 kB / 0.5176 GB, free: 60 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.117e-06/0.5135, allocations: 3.906 kB / 0.5176 GB, free: 60 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003122/0.5139, allocations: 34.67 kB / 0.5176 GB, free: 52 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.88e-05/0.5139, allocations: 13.38 kB / 0.5177 GB, free: 52 kB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 43 * 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.0001446/0.5141, allocations: 149.3 kB / 0.5178 GB, free: 15.93 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.854e-05/0.5141, allocations: 18.25 kB / 0.5178 GB, free: 15.92 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003614/0.5145, allocations: 175.8 kB / 0.518 GB, free: 15.87 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.795e-06/0.5145, allocations: 7.469 kB / 0.518 GB, free: 15.87 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.071e-06/0.5145, allocations: 0 / 0.518 GB, free: 15.87 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.981e-06/0.5145, allocations: 1.656 kB / 0.518 GB, free: 15.87 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001613/0.5162, allocations: 0.7581 MB / 0.5187 GB, free: 15.51 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.879e-06/0.5162, allocations: 2.5 kB / 0.5187 GB, free: 15.51 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004454/0.5166, allocations: 84.05 kB / 0.5188 GB, free: 15.51 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.474e-06/0.5166, allocations: 3.219 kB / 0.5188 GB, free: 15.51 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.312e-05/0.5167, allocations: 13.22 kB / 0.5188 GB, free: 15.51 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.437e-06/0.5167, allocations: 7.406 kB / 0.5188 GB, free: 15.5 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.518e-06/0.5167, allocations: 7.172 kB / 0.5188 GB, free: 15.5 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001305/0.518, allocations: 0.7034 MB / 0.5195 GB, free: 15.23 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001221/0.5182, allocations: 120.8 kB / 0.5196 GB, free: 15.12 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.431e-05/0.5182, allocations: 11.97 kB / 0.5197 GB, free: 15.12 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003511/0.5186, allocations: 25.36 kB / 0.5197 GB, free: 15.12 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.225e-05/0.5186, allocations: 25.48 kB / 0.5197 GB, free: 15.12 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.564e-05/0.5187, allocations: 16.89 kB / 0.5197 GB, free: 15.12 MB / 394.7 MB Notification: Performance of sorting global known variables: time 6.065e-05/0.5187, allocations: 96.81 kB / 0.5198 GB, free: 15.04 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.5187, allocations: 0 / 0.5198 GB, free: 15.04 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0006231/0.5194, allocations: 146.4 kB / 0.52 GB, free: 15.02 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (medium.p,medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 38 * 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.0005089/0.5199, allocations: 239 kB / 0.5202 GB, free: 14.91 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0008585/0.5207, allocations: 343 kB / 0.5205 GB, free: 14.89 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.098e-06/0.5208, allocations: 0.6875 kB / 0.5205 GB, free: 14.89 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003872/0.5212, allocations: 181.6 kB / 0.5207 GB, free: 14.89 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006902/0.5219, allocations: 97.92 kB / 0.5208 GB, free: 14.88 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001485/0.5233, allocations: 0.7428 MB / 0.5215 GB, free: 14.46 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003285/0.5237, allocations: 0.7399 MB / 0.5222 GB, free: 13.76 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0004573/0.5242, allocations: 76.59 kB / 0.5223 GB, free: 13.73 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001391/0.5243, allocations: 31.34 kB / 0.5223 GB, free: 13.73 MB / 394.7 MB Notification: Performance of SimCode: time 2.31e-07/0.5243, allocations: 0 / 0.5223 GB, free: 13.73 MB / 394.7 MB Notification: Performance of Templates: time 0.009491/0.5338, allocations: 5.846 MB / 0.528 GB, free: 11.26 MB / 394.7 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.MoistAir.makefile (rm -f Modelica_3.2.3_Modelica.Media.Examples.MoistAir.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.MoistAir.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.MoistAir.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.MoistAir.sim & ./Modelica_3.2.3_Modelica.Media.Examples.MoistAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.MoistAir.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.MoistAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/MoistAir/MoistAir.csv","../files/Modelica_3.2.3_Modelica.Media.Examples.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches