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.001672/0.001672, allocations: 113.2 kB / 17.73 MB, free: 5.336 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.001886/0.001886, allocations: 188.2 kB / 18.67 MB, free: 4.402 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.435/1.435, 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.001268/0.001268, allocations: 47.94 kB / 328.5 MB, free: 3.324 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09004/0.09132, allocations: 46.63 MB / 375.1 MB, free: 4.59 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MoistAir): time 0.3756/0.4669, allocations: 152.7 MB / 0.5155 GB, free: 6.359 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008228/0.4678, allocations: 0.6003 MB / 0.5161 GB, free: 5.758 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.796e-05/0.4679, allocations: 0 / 0.5161 GB, free: 5.758 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003382/0.4683, allocations: 63.64 kB / 0.5161 GB, free: 5.695 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003646/0.4686, allocations: 159.1 kB / 0.5163 GB, free: 5.539 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003033/0.4717, allocations: 1.071 MB / 0.5173 GB, free: 4.465 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004284/0.4721, allocations: 326.8 kB / 0.5176 GB, free: 4.145 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.151e-05/0.4722, allocations: 17.44 kB / 0.5176 GB, free: 4.125 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002656/0.4724, allocations: 150.9 kB / 0.5178 GB, free: 3.98 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003093/0.4728, allocations: 119.6 kB / 0.5179 GB, free: 3.863 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.346e-05/0.4728, allocations: 16 kB / 0.5179 GB, free: 3.848 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002764/0.4756, allocations: 1.614 MB / 0.5195 GB, free: 2.23 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001042/0.4757, allocations: 67.78 kB / 0.5196 GB, free: 2.164 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001365/0.4758, allocations: 99.64 kB / 0.5197 GB, free: 2.066 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001844/0.4777, allocations: 1.005 MB / 0.5206 GB, free: 1.059 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.4777, allocations: 4 kB / 0.5206 GB, free: 1.055 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.4777, allocations: 0 / 0.5206 GB, free: 1.055 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.79e-06/0.4777, allocations: 0 / 0.5206 GB, free: 1.055 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.001839/0.4796, allocations: 0.6889 MB / 0.5213 GB, free: 324 kB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.35e-05/0.4796, allocations: 8.031 kB / 0.5213 GB, free: 316 kB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001449/0.4798, allocations: 20.84 kB / 0.5213 GB, free: 296 kB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000274/0.4801, allocations: 215.9 kB / 0.5215 GB, free: 40 kB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.102e-05/0.4801, allocations: 12.33 kB / 0.5216 GB, free: 28 kB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.697e-05/0.4802, allocations: 15.98 kB / 0.5216 GB, free: 12 kB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000583/0.4808, allocations: 265.4 kB / 0.5218 GB, free: 15.74 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.483e-05/0.4808, allocations: 0 / 0.5218 GB, free: 15.74 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.169e-05/0.4808, allocations: 8 kB / 0.5218 GB, free: 15.73 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.106e-05/0.4809, allocations: 7.938 kB / 0.5218 GB, free: 15.73 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006716/0.4816, allocations: 271.7 kB / 0.5221 GB, free: 15.46 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.001513/0.4831, allocations: 0.7978 MB / 0.5229 GB, free: 14.59 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006576/0.4837, allocations: 217.2 kB / 0.5231 GB, free: 14.36 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003269/0.4841, allocations: 133.6 kB / 0.5232 GB, free: 14.22 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003771/0.4845, allocations: 364.3 kB / 0.5236 GB, free: 13.79 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.556e-05/0.4845, allocations: 38.56 kB / 0.5236 GB, free: 13.74 MB / 462.1 MB Notification: Performance of pre-optimization done (n=29): time 1.533e-06/0.4845, allocations: 3.938 kB / 0.5236 GB, free: 13.74 MB / 462.1 MB Notification: Performance of matching and sorting (n=36): time 0.002692/0.4872, allocations: 0.6658 MB / 0.5243 GB, free: 13.07 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.199e-05/0.4873, allocations: 85.11 kB / 0.5243 GB, free: 12.96 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001245/0.4875, allocations: 125.8 kB / 0.5245 GB, free: 12.83 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.703e-05/0.4875, allocations: 37.7 kB / 0.5245 GB, free: 12.79 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.83e-05/0.4876, allocations: 100.9 kB / 0.5246 GB, free: 12.69 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001015/0.4877, allocations: 130.9 kB / 0.5247 GB, free: 12.56 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000121/0.4878, allocations: 73.59 kB / 0.5248 GB, free: 12.48 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001152/0.4879, allocations: 326.8 kB / 0.5251 GB, free: 12.15 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003827/0.4883, allocations: 138.8 kB / 0.5252 GB, free: 12.02 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000417/0.4887, allocations: 207.6 kB / 0.5254 GB, free: 11.79 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008342/0.4896, allocations: 355.4 kB / 0.5258 GB, free: 11.41 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.4896, allocations: 3.938 kB / 0.5258 GB, free: 11.41 MB / 462.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001012/0.4906, allocations: 417.3 kB / 0.5262 GB, free: 11 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.269e-05/0.4906, allocations: 7.938 kB / 0.5262 GB, free: 10.99 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.036e-05/0.4907, allocations: 4 kB / 0.5262 GB, free: 10.98 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.839e-05/0.4907, allocations: 8.219 kB / 0.5262 GB, free: 10.98 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005853/0.4913, allocations: 83.88 kB / 0.5263 GB, free: 10.89 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.2e-05/0.4913, allocations: 4 kB / 0.5263 GB, free: 10.89 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003251/0.4916, allocations: 27.91 kB / 0.5263 GB, free: 10.86 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.844e-05/0.4917, allocations: 12 kB / 0.5263 GB, free: 10.85 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.0001402/0.4918, allocations: 145.7 kB / 0.5264 GB, free: 10.7 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.672e-05/0.4919, allocations: 19.91 kB / 0.5265 GB, free: 10.68 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003896/0.4923, allocations: 179.3 kB / 0.5266 GB, free: 10.5 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.064e-05/0.4923, allocations: 4 kB / 0.5266 GB, free: 10.5 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.4924, allocations: 4 kB / 0.5266 GB, free: 10.49 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.961e-06/0.4924, allocations: 0 / 0.5266 GB, free: 10.49 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001705/0.4941, allocations: 0.7605 MB / 0.5274 GB, free: 9.66 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.537e-06/0.4941, allocations: 0 / 0.5274 GB, free: 9.66 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005307/0.4946, allocations: 91.75 kB / 0.5275 GB, free: 9.57 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.571e-06/0.4947, allocations: 160 / 0.5275 GB, free: 9.57 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.397e-05/0.4947, allocations: 19.98 kB / 0.5275 GB, free: 9.551 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.699e-06/0.4947, allocations: 0.875 kB / 0.5275 GB, free: 9.551 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.497e-06/0.4947, allocations: 4 kB / 0.5275 GB, free: 9.547 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001559/0.4963, allocations: 0.7078 MB / 0.5282 GB, free: 8.809 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000129/0.4964, allocations: 120.9 kB / 0.5283 GB, free: 8.672 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.182e-05/0.4965, allocations: 12 kB / 0.5283 GB, free: 8.66 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003585/0.4968, allocations: 23.97 kB / 0.5283 GB, free: 8.637 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.796e-05/0.4969, allocations: 23.97 kB / 0.5284 GB, free: 8.613 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.664e-05/0.4969, allocations: 10.88 kB / 0.5284 GB, free: 8.605 MB / 462.1 MB Notification: Performance of sorting global known variables: time 5.841e-05/0.497, allocations: 99.33 kB / 0.5285 GB, free: 8.508 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.497, allocations: 0 / 0.5285 GB, free: 8.508 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0006161/0.4976, allocations: 147.7 kB / 0.5286 GB, free: 8.363 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.0004984/0.4981, allocations: 231 kB / 0.5288 GB, free: 8.129 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0009847/0.4991, allocations: 349.3 kB / 0.5292 GB, free: 7.789 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.506e-06/0.4992, allocations: 0 / 0.5292 GB, free: 7.789 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004471/0.4996, allocations: 182.9 kB / 0.5293 GB, free: 7.613 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007062/0.5003, allocations: 106.2 kB / 0.5294 GB, free: 7.516 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001455/0.5018, allocations: 0.62 MB / 0.53 GB, free: 6.855 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003477/0.5022, allocations: 0.7377 MB / 0.5308 GB, free: 6.094 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0003415/0.5025, allocations: 73.91 kB / 0.5308 GB, free: 6.02 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001355/0.5027, allocations: 31.42 kB / 0.5309 GB, free: 5.988 MB / 462.1 MB Notification: Performance of SimCode: time 4.61e-07/0.5027, allocations: 0 / 0.5309 GB, free: 5.988 MB / 462.1 MB Notification: Performance of Templates: time 0.01104/0.5137, allocations: 6.111 MB / 0.5368 GB, free: 15.87 MB / 478.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