Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.MoistAir.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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001587/0.001587, allocations: 114.5 kB / 17.73 MB, free: 5.32 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.001641/0.001641, allocations: 179 kB / 18.66 MB, free: 4.398 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.345/1.345, allocations: 205.1 MB / 224.5 MB, free: 12.24 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0012/0.0012, allocations: 51.92 kB / 328.5 MB, free: 3.309 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09728/0.09849, allocations: 46.61 MB / 375.1 MB, free: 4.59 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MoistAir): time 0.3255/0.424, allocations: 152.7 MB / 0.5155 GB, free: 6.52 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008525/0.4249, allocations: 0.6047 MB / 0.516 GB, free: 5.914 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.37e-05/0.425, allocations: 4 kB / 0.5161 GB, free: 5.91 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00038/0.4254, allocations: 63.64 kB / 0.5161 GB, free: 5.848 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003926/0.4258, allocations: 159.1 kB / 0.5163 GB, free: 5.691 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003305/0.4292, allocations: 1.082 MB / 0.5173 GB, free: 4.609 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003569/0.4295, allocations: 326.8 kB / 0.5176 GB, free: 4.289 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.373e-05/0.4296, allocations: 13.39 kB / 0.5176 GB, free: 4.273 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002346/0.4298, allocations: 159.3 kB / 0.5178 GB, free: 4.121 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002022/0.43, allocations: 123.6 kB / 0.5179 GB, free: 4 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.591e-05/0.4301, allocations: 12 kB / 0.5179 GB, free: 3.988 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002504/0.4326, allocations: 1.618 MB / 0.5195 GB, free: 2.367 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001035/0.4327, allocations: 67.83 kB / 0.5196 GB, free: 2.301 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001148/0.4328, allocations: 91.66 kB / 0.5197 GB, free: 2.211 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00138/0.4342, allocations: 0.9978 MB / 0.5206 GB, free: 1.211 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.4342, allocations: 0 / 0.5206 GB, free: 1.211 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.4342, allocations: 4 kB / 0.5206 GB, free: 1.207 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.931e-06/0.4342, allocations: 0 / 0.5206 GB, free: 1.207 MB / 446.1 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.001746/0.436, allocations: 0.6793 MB / 0.5213 GB, free: 492 kB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.814e-05/0.436, allocations: 8.031 kB / 0.5213 GB, free: 484 kB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001496/0.4362, allocations: 24.73 kB / 0.5213 GB, free: 460 kB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002498/0.4365, allocations: 208 kB / 0.5215 GB, free: 212 kB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.639e-05/0.4365, allocations: 12.33 kB / 0.5215 GB, free: 200 kB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.875e-05/0.4365, allocations: 12 kB / 0.5216 GB, free: 188 kB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000593/0.4371, allocations: 265.4 kB / 0.5218 GB, free: 15.91 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.721e-05/0.4372, allocations: 3.938 kB / 0.5218 GB, free: 15.91 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.49e-05/0.4372, allocations: 12 kB / 0.5218 GB, free: 15.9 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.07e-05/0.4372, allocations: 7.984 kB / 0.5218 GB, free: 15.89 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006618/0.4379, allocations: 272.6 kB / 0.5221 GB, free: 15.62 MB / 462.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.00142/0.4393, allocations: 0.789 MB / 0.5229 GB, free: 14.76 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00064/0.44, allocations: 221.2 kB / 0.5231 GB, free: 14.52 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003276/0.4403, allocations: 137.6 kB / 0.5232 GB, free: 14.38 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003214/0.4407, allocations: 356.3 kB / 0.5235 GB, free: 13.96 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3e-05/0.4407, allocations: 45.06 kB / 0.5236 GB, free: 13.91 MB / 462.1 MB Notification: Performance of pre-optimization done (n=29): time 1.613e-06/0.4407, allocations: 0 / 0.5236 GB, free: 13.91 MB / 462.1 MB Notification: Performance of matching and sorting (n=36): time 0.002502/0.4432, allocations: 0.677 MB / 0.5242 GB, free: 13.23 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.181e-05/0.4433, allocations: 81.11 kB / 0.5243 GB, free: 13.13 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.64e-05/0.4434, allocations: 121.8 kB / 0.5244 GB, free: 13 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.665e-05/0.4434, allocations: 34.08 kB / 0.5245 GB, free: 12.96 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.976e-05/0.4435, allocations: 108.8 kB / 0.5246 GB, free: 12.85 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.088e-05/0.4436, allocations: 126.1 kB / 0.5247 GB, free: 12.73 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000114/0.4437, allocations: 73.64 kB / 0.5248 GB, free: 12.65 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001111/0.4438, allocations: 326.8 kB / 0.5251 GB, free: 12.32 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003827/0.4442, allocations: 135.9 kB / 0.5252 GB, free: 12.19 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004344/0.4447, allocations: 207.5 kB / 0.5254 GB, free: 11.96 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008316/0.4455, allocations: 359.4 kB / 0.5257 GB, free: 11.58 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.4455, allocations: 0 / 0.5257 GB, free: 11.58 MB / 462.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0009802/0.4465, allocations: 417.2 kB / 0.5261 GB, free: 11.16 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.602e-05/0.4465, allocations: 4 kB / 0.5261 GB, free: 11.16 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.114e-06/0.4465, allocations: 4 kB / 0.5262 GB, free: 11.16 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.54e-05/0.4466, allocations: 4 kB / 0.5262 GB, free: 11.15 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004994/0.4471, allocations: 92.09 kB / 0.5262 GB, free: 11.06 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.268e-06/0.4471, allocations: 4 kB / 0.5262 GB, free: 11.06 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003103/0.4474, allocations: 19.89 kB / 0.5263 GB, free: 11.04 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.525e-05/0.4474, allocations: 19.98 kB / 0.5263 GB, free: 11.02 MB / 462.1 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.0001426/0.4476, allocations: 149.6 kB / 0.5264 GB, free: 10.86 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.804e-05/0.4477, allocations: 15.81 kB / 0.5264 GB, free: 10.85 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003608/0.448, allocations: 173.4 kB / 0.5266 GB, free: 10.68 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.36e-06/0.4481, allocations: 4 kB / 0.5266 GB, free: 10.67 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.4481, allocations: 0 / 0.5266 GB, free: 10.67 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.886e-06/0.4481, allocations: 7.984 kB / 0.5266 GB, free: 10.66 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00168/0.4498, allocations: 0.7637 MB / 0.5274 GB, free: 9.828 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/0.4498, allocations: 3.984 kB / 0.5274 GB, free: 9.824 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004521/0.4503, allocations: 83.81 kB / 0.5275 GB, free: 9.742 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.4503, allocations: 0 / 0.5275 GB, free: 9.742 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.248e-05/0.4503, allocations: 17.03 kB / 0.5275 GB, free: 9.727 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.835e-06/0.4503, allocations: 4 kB / 0.5275 GB, free: 9.723 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.4503, allocations: 4 kB / 0.5275 GB, free: 9.719 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001383/0.4517, allocations: 0.7064 MB / 0.5282 GB, free: 8.984 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001215/0.4518, allocations: 128.8 kB / 0.5283 GB, free: 8.84 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.512e-05/0.4519, allocations: 8 kB / 0.5283 GB, free: 8.832 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003661/0.4523, allocations: 23.05 kB / 0.5283 GB, free: 8.812 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.025e-05/0.4523, allocations: 23.97 kB / 0.5283 GB, free: 8.789 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.027e-05/0.4524, allocations: 15.98 kB / 0.5284 GB, free: 8.773 MB / 462.1 MB Notification: Performance of sorting global known variables: time 6.43e-05/0.4524, allocations: 99.2 kB / 0.5285 GB, free: 8.676 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.4524, allocations: 4 kB / 0.5285 GB, free: 8.672 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0005641/0.453, allocations: 139.9 kB / 0.5286 GB, free: 8.535 MB / 462.1 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.0004395/0.4534, allocations: 231 kB / 0.5288 GB, free: 8.301 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0009067/0.4544, allocations: 348 kB / 0.5291 GB, free: 7.961 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.796e-06/0.4544, allocations: 0 / 0.5291 GB, free: 7.961 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004307/0.4548, allocations: 183.6 kB / 0.5293 GB, free: 7.781 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000709/0.4555, allocations: 95.83 kB / 0.5294 GB, free: 7.691 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001359/0.4569, allocations: 0.609 MB / 0.53 GB, free: 7.043 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002848/0.4572, allocations: 0.7299 MB / 0.5307 GB, free: 6.289 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0003166/0.4575, allocations: 81.83 kB / 0.5308 GB, free: 6.207 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001282/0.4577, allocations: 35.42 kB / 0.5308 GB, free: 6.172 MB / 462.1 MB Notification: Performance of SimCode: time 2.9e-07/0.4577, allocations: 0 / 0.5308 GB, free: 6.172 MB / 462.1 MB Notification: Performance of Templates: time 0.009997/0.4677, allocations: 6.113 MB / 0.5368 GB, free: 56 kB / 462.1 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches