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.001215/0.001215, allocations: 113.3 kB / 18.4 MB, free: 4.699 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.001056/0.001056, allocations: 189.2 kB / 19.33 MB, free: 3.781 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.372/1.372, allocations: 205.1 MB / 225.2 MB, free: 12.23 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.001358/0.001359, allocations: 47.92 kB / 329.2 MB, free: 3.332 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08369/0.08506, allocations: 46.62 MB / 375.8 MB, free: 4.605 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MoistAir): time 0.3659/0.451, allocations: 152.7 MB / 0.5161 GB, free: 6.406 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009378/0.452, allocations: 0.61 MB / 0.5167 GB, free: 5.801 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.873e-05/0.4521, allocations: 4 kB / 0.5167 GB, free: 5.797 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000362/0.4525, allocations: 59.64 kB / 0.5168 GB, free: 5.738 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004219/0.4529, allocations: 155.1 kB / 0.5169 GB, free: 5.586 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003401/0.4563, allocations: 1.072 MB / 0.518 GB, free: 4.512 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004309/0.4568, allocations: 322.9 kB / 0.5183 GB, free: 4.195 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.804e-05/0.4569, allocations: 21.42 kB / 0.5183 GB, free: 4.172 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003271/0.4572, allocations: 159.2 kB / 0.5184 GB, free: 4.02 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002605/0.4575, allocations: 119.6 kB / 0.5186 GB, free: 3.902 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.366e-05/0.4575, allocations: 12 kB / 0.5186 GB, free: 3.891 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00289/0.4604, allocations: 1.61 MB / 0.5201 GB, free: 2.277 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001108/0.4605, allocations: 63.86 kB / 0.5202 GB, free: 2.215 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000129/0.4607, allocations: 99.62 kB / 0.5203 GB, free: 2.117 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002056/0.4627, allocations: 0.9978 MB / 0.5213 GB, free: 1.117 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.4628, allocations: 4 kB / 0.5213 GB, free: 1.113 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.4628, allocations: 4 kB / 0.5213 GB, free: 1.109 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.103e-06/0.4628, allocations: 0 / 0.5213 GB, free: 1.109 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.001894/0.4647, allocations: 0.6715 MB / 0.5219 GB, free: 400 kB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.014e-05/0.4647, allocations: 15.97 kB / 0.522 GB, free: 384 kB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000158/0.4649, allocations: 16.75 kB / 0.522 GB, free: 368 kB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000254/0.4652, allocations: 219.9 kB / 0.5222 GB, free: 108 kB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.512e-05/0.4652, allocations: 8.328 kB / 0.5222 GB, free: 100 kB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.028e-05/0.4652, allocations: 20 kB / 0.5222 GB, free: 80 kB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005913/0.4658, allocations: 265.4 kB / 0.5225 GB, free: 15.81 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.326e-05/0.4659, allocations: 0 / 0.5225 GB, free: 15.81 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.469e-05/0.4659, allocations: 4 kB / 0.5225 GB, free: 15.8 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.106e-05/0.4659, allocations: 11.94 kB / 0.5225 GB, free: 15.79 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006379/0.4666, allocations: 267.7 kB / 0.5227 GB, free: 15.53 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.001566/0.4681, allocations: 0.7937 MB / 0.5235 GB, free: 14.66 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006428/0.4688, allocations: 217.9 kB / 0.5237 GB, free: 14.43 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003181/0.4691, allocations: 133.6 kB / 0.5238 GB, free: 14.29 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003482/0.4695, allocations: 368.3 kB / 0.5242 GB, free: 13.86 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.663e-05/0.4695, allocations: 34.5 kB / 0.5242 GB, free: 13.82 MB / 462.1 MB Notification: Performance of pre-optimization done (n=29): time 2.074e-06/0.4695, allocations: 4 kB / 0.5242 GB, free: 13.81 MB / 462.1 MB Notification: Performance of matching and sorting (n=36): time 0.002495/0.472, allocations: 0.674 MB / 0.5249 GB, free: 13.13 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.45e-05/0.4721, allocations: 85.11 kB / 0.525 GB, free: 13.03 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001012/0.4722, allocations: 121.8 kB / 0.5251 GB, free: 12.9 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.618e-05/0.4723, allocations: 29.7 kB / 0.5251 GB, free: 12.87 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.212e-05/0.4724, allocations: 108.8 kB / 0.5252 GB, free: 12.76 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001018/0.4725, allocations: 126.1 kB / 0.5253 GB, free: 12.63 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001299/0.4726, allocations: 69.64 kB / 0.5254 GB, free: 12.56 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001068/0.4727, allocations: 326.8 kB / 0.5257 GB, free: 12.23 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000379/0.4731, allocations: 138.5 kB / 0.5258 GB, free: 12.1 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004348/0.4735, allocations: 207.5 kB / 0.526 GB, free: 11.87 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008127/0.4744, allocations: 363.5 kB / 0.5264 GB, free: 11.48 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/0.4744, allocations: 3.938 kB / 0.5264 GB, free: 11.48 MB / 462.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0009843/0.4754, allocations: 405.2 kB / 0.5268 GB, free: 11.08 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.909e-05/0.4754, allocations: 8 kB / 0.5268 GB, free: 11.07 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/0.4754, allocations: 384 / 0.5268 GB, free: 11.07 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.976e-05/0.4754, allocations: 8.219 kB / 0.5268 GB, free: 11.06 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005063/0.4759, allocations: 91.86 kB / 0.5269 GB, free: 10.97 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.196e-05/0.476, allocations: 7.984 kB / 0.5269 GB, free: 10.96 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003272/0.4763, allocations: 27.83 kB / 0.5269 GB, free: 10.94 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.448e-05/0.4764, allocations: 16 kB / 0.5269 GB, free: 10.92 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.0001535/0.4765, allocations: 145.7 kB / 0.5271 GB, free: 10.77 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.917e-05/0.4766, allocations: 19.81 kB / 0.5271 GB, free: 10.75 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003717/0.477, allocations: 175 kB / 0.5273 GB, free: 10.57 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.262e-06/0.477, allocations: 8 kB / 0.5273 GB, free: 10.57 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.477, allocations: 0 / 0.5273 GB, free: 10.57 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/0.477, allocations: 0 / 0.5273 GB, free: 10.57 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001684/0.4787, allocations: 0.763 MB / 0.528 GB, free: 9.734 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.38e-06/0.4787, allocations: 3.938 kB / 0.528 GB, free: 9.73 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004333/0.4792, allocations: 75.83 kB / 0.5281 GB, free: 9.656 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.705e-06/0.4792, allocations: 4.156 kB / 0.5281 GB, free: 9.652 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.991e-05/0.4792, allocations: 19.98 kB / 0.5281 GB, free: 9.633 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.861e-06/0.4793, allocations: 4.875 kB / 0.5281 GB, free: 9.629 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.569e-06/0.4793, allocations: 4 kB / 0.5281 GB, free: 9.625 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001411/0.4807, allocations: 0.7041 MB / 0.5288 GB, free: 8.891 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001238/0.4808, allocations: 124.8 kB / 0.5289 GB, free: 8.75 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.651e-05/0.4809, allocations: 11.98 kB / 0.5289 GB, free: 8.738 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000362/0.4812, allocations: 15.98 kB / 0.529 GB, free: 8.723 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.855e-05/0.4813, allocations: 23.97 kB / 0.529 GB, free: 8.699 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.439e-05/0.4813, allocations: 22.92 kB / 0.529 GB, free: 8.68 MB / 462.1 MB Notification: Performance of sorting global known variables: time 5.991e-05/0.4814, allocations: 95.33 kB / 0.5291 GB, free: 8.586 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4814, allocations: 0 / 0.5291 GB, free: 8.586 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.000623/0.482, allocations: 135.9 kB / 0.5292 GB, free: 8.453 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.0005105/0.4825, allocations: 243 kB / 0.5295 GB, free: 8.207 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0009002/0.4835, allocations: 347.9 kB / 0.5298 GB, free: 7.867 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 7.113e-06/0.4835, allocations: 0 / 0.5298 GB, free: 7.867 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004132/0.4839, allocations: 179.6 kB / 0.53 GB, free: 7.691 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007223/0.4846, allocations: 102.3 kB / 0.5301 GB, free: 7.598 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001537/0.4862, allocations: 0.6391 MB / 0.5307 GB, free: 6.914 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003355/0.4865, allocations: 0.7338 MB / 0.5314 GB, free: 6.156 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001641/0.4867, allocations: 39.41 kB / 0.5314 GB, free: 6.117 MB / 462.1 MB Notification: Performance of SimCode: time 3.61e-07/0.4867, allocations: 0 / 0.5314 GB, free: 6.117 MB / 462.1 MB Notification: Performance of Templates: time 0.007603/0.4943, allocations: 4.469 MB / 0.5358 GB, free: 1.645 MB / 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/MoistAir/MoistAir.csv","/var/lib/jenkins1/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