Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_Modelica.Media.Examples.MoistAir") translateModel(Modelica.Media.Examples.MoistAir,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_4.0.0_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.001241/0.001241, allocations: 112.7 kB / 17.75 MB, free: 5.332 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.001066/0.001066, allocations: 187 kB / 18.68 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.287/1.287, allocations: 222.9 MB / 242.4 MB, free: 15.18 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009687/0.0009687, allocations: 51.92 kB / 352 MB, free: 3.262 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2003/0.2012, allocations: 49.42 MB / 401.4 MB, free: 8.727 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MoistAir): time 0.1454/0.3467, allocations: 151.5 MB / 0.5399 GB, free: 0.8281 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.1941/0.5408, allocations: 1.583 MB / 0.5414 GB, free: 1.707 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001173/0.5409, allocations: 2.062 kB / 0.5414 GB, free: 1.707 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003309/0.5413, allocations: 61.69 kB / 0.5415 GB, free: 1.707 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003536/0.5417, allocations: 158.6 kB / 0.5416 GB, free: 1.707 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002385/0.5441, allocations: 1.027 MB / 0.5426 GB, free: 1.688 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003579/0.5444, allocations: 329.1 kB / 0.543 GB, free: 1.688 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.324e-05/0.5445, allocations: 10.3 kB / 0.543 GB, free: 1.684 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002357/0.5447, allocations: 155.9 kB / 0.5431 GB, free: 1.684 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002092/0.545, allocations: 121.2 kB / 0.5432 GB, free: 1.684 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 4.153e-05/0.545, allocations: 13.34 kB / 0.5432 GB, free: 1.684 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002144/0.5472, allocations: 1.588 MB / 0.5448 GB, free: 1.668 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 8.531e-05/0.5473, allocations: 70.62 kB / 0.5449 GB, free: 1.668 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001031/0.5474, allocations: 93.31 kB / 0.5449 GB, free: 1.668 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001103/0.5485, allocations: 0.9894 MB / 0.5459 GB, free: 1.621 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.5485, allocations: 5.016 kB / 0.5459 GB, free: 1.621 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.462e-06/0.5485, allocations: 0 / 0.5459 GB, free: 1.621 MB / 462.1 MB Notification: Performance of Transformations before backend: time 4.258e-06/0.5485, allocations: 1 kB / 0.5459 GB, free: 1.621 MB / 462.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.001587/0.5501, allocations: 0.6737 MB / 0.5466 GB, free: 17.15 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.075e-05/0.5501, allocations: 10.88 kB / 0.5466 GB, free: 17.15 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001444/0.5503, allocations: 23.48 kB / 0.5466 GB, free: 17.14 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002276/0.5505, allocations: 206.3 kB / 0.5468 GB, free: 16.95 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.316e-05/0.5505, allocations: 20.92 kB / 0.5468 GB, free: 16.94 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.345e-05/0.5506, allocations: 19.28 kB / 0.5468 GB, free: 16.94 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005201/0.5511, allocations: 266.1 kB / 0.5471 GB, free: 16.89 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.186e-05/0.5511, allocations: 0.875 kB / 0.5471 GB, free: 16.89 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.116e-05/0.5512, allocations: 7.406 kB / 0.5471 GB, free: 16.89 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.754e-05/0.5512, allocations: 5.75 kB / 0.5471 GB, free: 16.89 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005875/0.5518, allocations: 266 kB / 0.5474 GB, free: 16.89 MB / 478.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.001285/0.5531, allocations: 0.7938 MB / 0.5481 GB, free: 16.38 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005737/0.5537, allocations: 218.2 kB / 0.5483 GB, free: 16.34 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002931/0.554, allocations: 141.5 kB / 0.5485 GB, free: 16.32 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003129/0.5543, allocations: 356 kB / 0.5488 GB, free: 15.95 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.231e-05/0.5543, allocations: 38.94 kB / 0.5489 GB, free: 15.9 MB / 478.1 MB Notification: Performance of pre-optimization done (n=29): time 1.693e-06/0.5543, allocations: 6.844 kB / 0.5489 GB, free: 15.9 MB / 478.1 MB Notification: Performance of matching and sorting (n=36): time 0.002334/0.5567, allocations: 0.6707 MB / 0.5495 GB, free: 15.83 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.327e-05/0.5567, allocations: 81.42 kB / 0.5496 GB, free: 15.73 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.808e-05/0.5568, allocations: 122 kB / 0.5497 GB, free: 15.64 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.696e-05/0.5569, allocations: 36.55 kB / 0.5498 GB, free: 15.61 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.415e-05/0.5569, allocations: 106.3 kB / 0.5499 GB, free: 15.51 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.252e-05/0.557, allocations: 130.4 kB / 0.55 GB, free: 15.43 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.888e-05/0.5571, allocations: 70.11 kB / 0.55 GB, free: 15.41 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001059/0.5572, allocations: 323 kB / 0.5504 GB, free: 15.1 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000358/0.5576, allocations: 135.5 kB / 0.5505 GB, free: 15.1 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003748/0.558, allocations: 213.4 kB / 0.5507 GB, free: 15.02 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000738/0.5587, allocations: 363.2 kB / 0.551 GB, free: 14.95 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.5587, allocations: 0 / 0.551 GB, free: 14.95 MB / 478.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0008871/0.5596, allocations: 411.2 kB / 0.5514 GB, free: 14.9 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.142e-05/0.5596, allocations: 3.156 kB / 0.5514 GB, free: 14.9 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.62e-06/0.5596, allocations: 3.844 kB / 0.5514 GB, free: 14.9 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.392e-05/0.5597, allocations: 5.125 kB / 0.5514 GB, free: 14.9 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004752/0.5601, allocations: 94.95 kB / 0.5515 GB, free: 14.89 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.594e-06/0.5602, allocations: 4.094 kB / 0.5515 GB, free: 14.89 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003097/0.5605, allocations: 28.31 kB / 0.5516 GB, free: 14.89 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.157e-05/0.5605, allocations: 17.02 kB / 0.5516 GB, free: 14.89 MB / 478.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.0001292/0.5606, allocations: 143.4 kB / 0.5517 GB, free: 14.77 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.749e-05/0.5607, allocations: 16.5 kB / 0.5517 GB, free: 14.77 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003159/0.5611, allocations: 178.3 kB / 0.5519 GB, free: 14.73 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.391e-06/0.5611, allocations: 3.703 kB / 0.5519 GB, free: 14.73 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.5611, allocations: 3.5 kB / 0.5519 GB, free: 14.73 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001262/0.5612, allocations: 122.6 kB / 0.552 GB, free: 14.62 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.372e-05/0.5613, allocations: 7.656 kB / 0.552 GB, free: 14.62 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003829/0.5616, allocations: 22.55 kB / 0.552 GB, free: 14.62 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.716e-05/0.5617, allocations: 22.19 kB / 0.5521 GB, free: 14.62 MB / 478.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001164/0.5629, allocations: 0.5472 MB / 0.5526 GB, free: 14.43 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001308/0.5642, allocations: 0.7875 MB / 0.5534 GB, free: 14.13 MB / 478.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003697/0.5646, allocations: 166.6 kB / 0.5535 GB, free: 14.13 MB / 478.1 MB Notification: Performance of sorting global known variables: time 5.451e-05/0.5646, allocations: 94.47 kB / 0.5536 GB, free: 14.05 MB / 478.1 MB Notification: Performance of Backend: time 2.21e-07/0.5646, allocations: 0 / 0.5536 GB, free: 14.05 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001723/0.5664, allocations: 0.6412 MB / 0.5542 GB, free: 13.93 MB / 478.1 MB Notification: Performance of SimCode: time 0.0008309/0.5672, allocations: 0.9068 MB / 0.5551 GB, free: 13.24 MB / 478.1 MB Notification: Performance of Templates: time 0.01151/0.5787, allocations: 9.38 MB / 0.5643 GB, free: 12.75 MB / 478.1 MB make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.MoistAir.makefile (rm -f Modelica_4.0.0_Modelica.Media.Examples.MoistAir.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.MoistAir.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.MoistAir.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.MoistAir.sim & ./Modelica_4.0.0_Modelica.Media.Examples.MoistAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.MoistAir.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.MoistAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/MoistAir/MoistAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Media.Examples.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches