Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.MoistAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Media.Examples.ReferenceAir.MoistAir,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.MoistAir") translateModel(Modelica.Media.Examples.ReferenceAir.MoistAir,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.MoistAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001577/0.001577, allocations: 109.8 kB / 18.3 MB, free: 4.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001488/0.001488, allocations: 207.9 kB / 19.25 MB, free: 3.898 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.438/1.438, allocations: 227.7 MB / 247.7 MB, free: 10.31 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001964/0.001965, allocations: 68.58 kB / 307.9 MB, free: 0.4922 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1141/0.1161, allocations: 50.54 MB / 358.4 MB, free: 13.94 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir): time 0.2019/0.318, allocations: 26.63 MB / 385.1 MB, free: 7.363 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00262/0.3207, allocations: 2.244 MB / 387.3 MB, free: 5.793 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001032/0.3209, allocations: 1.188 kB / 387.3 MB, free: 5.793 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004018/0.3213, allocations: 68.81 kB / 387.4 MB, free: 5.758 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004446/0.3217, allocations: 163.6 kB / 387.5 MB, free: 5.664 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01907/0.3408, allocations: 6.512 MB / 394 MB, free: 2.273 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005442/0.3414, allocations: 333.5 kB / 394.4 MB, free: 2.102 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.247e-05/0.3415, allocations: 18.27 kB / 394.4 MB, free: 2.09 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002305/0.3417, allocations: 142.5 kB / 394.5 MB, free: 2.02 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002073/0.3419, allocations: 122.7 kB / 394.6 MB, free: 1.953 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.595e-05/0.342, allocations: 11.94 kB / 394.7 MB, free: 1.953 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01884/0.3608, allocations: 9.357 MB / 404 MB, free: 13.06 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001694/0.361, allocations: 72.34 kB / 404.1 MB, free: 13.02 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000219/0.3612, allocations: 104.7 kB / 404.2 MB, free: 12.96 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01375/0.375, allocations: 4.737 MB / 408.9 MB, free: 8.781 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.375, allocations: 0 / 408.9 MB, free: 8.781 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.043e-06/0.3751, allocations: 0 / 408.9 MB, free: 8.781 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.524e-06/0.3751, allocations: 0 / 408.9 MB, free: 8.781 MB / 318.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.003812/0.3789, allocations: 1.143 MB / 410.1 MB, free: 7.59 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.458e-05/0.3789, allocations: 12.03 kB / 410.1 MB, free: 7.578 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001696/0.3791, allocations: 20.75 kB / 410.1 MB, free: 7.559 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003012/0.3794, allocations: 234.7 kB / 410.3 MB, free: 7.289 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.661e-05/0.3795, allocations: 8.328 kB / 410.3 MB, free: 7.281 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.349e-05/0.3795, allocations: 16 kB / 410.4 MB, free: 7.266 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007552/0.3803, allocations: 285.5 kB / 410.6 MB, free: 6.977 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.861e-05/0.3803, allocations: 3.938 kB / 410.6 MB, free: 6.973 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.072e-05/0.3803, allocations: 4 kB / 410.6 MB, free: 6.969 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.012e-05/0.3804, allocations: 8 kB / 410.6 MB, free: 6.961 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008235/0.3812, allocations: 312.6 kB / 411 MB, free: 6.656 MB / 318.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.001617/0.3828, allocations: 0.8363 MB / 411.8 MB, free: 5.738 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007597/0.3836, allocations: 261.1 kB / 412 MB, free: 5.465 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000343/0.384, allocations: 141.3 kB / 412.2 MB, free: 5.324 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01754/0.4015, allocations: 12.84 MB / 425 MB, free: 5.969 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.234e-05/0.4016, allocations: 42.55 kB / 425.1 MB, free: 5.918 MB / 334.1 MB Notification: Performance of pre-optimization done (n=29): time 2.534e-06/0.4016, allocations: 3.938 kB / 425.1 MB, free: 5.914 MB / 334.1 MB Notification: Performance of matching and sorting (n=36): time 0.002999/0.4046, allocations: 0.6917 MB / 425.8 MB, free: 5.219 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.2e-05/0.4047, allocations: 85.11 kB / 425.8 MB, free: 5.117 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001499/0.4048, allocations: 149.5 kB / 426 MB, free: 4.961 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.761e-05/0.4049, allocations: 33.7 kB / 426 MB, free: 4.922 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.302e-05/0.405, allocations: 112.8 kB / 426.1 MB, free: 4.809 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001137/0.4051, allocations: 126.2 kB / 426.3 MB, free: 4.684 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001296/0.4052, allocations: 73.64 kB / 426.3 MB, free: 4.605 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001534/0.4054, allocations: 334.8 kB / 426.7 MB, free: 4.27 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004103/0.4058, allocations: 135.9 kB / 426.8 MB, free: 4.137 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005155/0.4063, allocations: 208.4 kB / 427 MB, free: 3.906 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009797/0.4073, allocations: 361 kB / 427.3 MB, free: 3.527 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.4073, allocations: 0 / 427.3 MB, free: 3.527 MB / 334.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001233/0.4086, allocations: 418.2 kB / 427.8 MB, free: 3.113 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.769e-05/0.4086, allocations: 7.938 kB / 427.8 MB, free: 3.105 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.668e-06/0.4086, allocations: 4 kB / 427.8 MB, free: 3.102 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.992e-05/0.4086, allocations: 4.219 kB / 427.8 MB, free: 3.098 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004861/0.4091, allocations: 91.88 kB / 427.9 MB, free: 3.008 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.357e-05/0.4092, allocations: 13.69 kB / 427.9 MB, free: 2.996 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003324/0.4095, allocations: 31.81 kB / 427.9 MB, free: 2.965 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.584e-05/0.4096, allocations: 19.98 kB / 427.9 MB, free: 2.945 MB / 334.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.0001664/0.4097, allocations: 141.8 kB / 428.1 MB, free: 2.797 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001447/0.4099, allocations: 19.81 kB / 428.1 MB, free: 2.777 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005208/0.4104, allocations: 192.1 kB / 428.3 MB, free: 2.582 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.222e-06/0.4104, allocations: 8 kB / 428.3 MB, free: 2.574 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.796e-06/0.4104, allocations: 7.938 kB / 428.3 MB, free: 2.566 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.885e-06/0.4105, allocations: 7.922 kB / 428.3 MB, free: 2.559 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001838/0.4123, allocations: 0.7698 MB / 429.1 MB, free: 1.719 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.111e-06/0.4123, allocations: 4 kB / 429.1 MB, free: 1.715 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004409/0.4128, allocations: 79.88 kB / 429.1 MB, free: 1.637 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.454e-06/0.4128, allocations: 4.156 kB / 429.1 MB, free: 1.633 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.036e-05/0.4128, allocations: 12 kB / 429.2 MB, free: 1.621 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.28e-06/0.4128, allocations: 4 kB / 429.2 MB, free: 1.617 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.779e-06/0.4128, allocations: 7.734 kB / 429.2 MB, free: 1.613 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001682/0.4145, allocations: 0.7234 MB / 429.9 MB, free: 0.8555 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001534/0.4147, allocations: 124.9 kB / 430 MB, free: 0.7148 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.042e-05/0.4148, allocations: 8 kB / 430 MB, free: 0.707 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003624/0.4151, allocations: 15.98 kB / 430 MB, free: 0.6914 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.364e-05/0.4152, allocations: 27.91 kB / 430.1 MB, free: 0.6641 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.172e-05/0.4152, allocations: 19.98 kB / 430.1 MB, free: 0.6445 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.76e-05/0.4153, allocations: 117.9 kB / 430.2 MB, free: 0.5312 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4153, allocations: 3.938 kB / 430.2 MB, free: 0.5273 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.002969/0.4183, allocations: 0.9487 MB / 431.2 MB, free: 15.58 MB / 350.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 (37): * Single equations (assignments): 37 * 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.004446/0.4228, allocations: 1.26 MB / 432.4 MB, free: 14.32 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001223/0.424, allocations: 358.4 kB / 432.8 MB, free: 13.97 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/0.424, allocations: 4 kB / 432.8 MB, free: 13.96 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005118/0.4246, allocations: 183.6 kB / 432.9 MB, free: 13.79 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007939/0.4254, allocations: 104.3 kB / 433 MB, free: 13.69 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001591/0.427, allocations: 0.6501 MB / 433.7 MB, free: 12.99 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003812/0.4274, allocations: 0.7412 MB / 434.4 MB, free: 12.22 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001963/0.4276, allocations: 55.34 kB / 434.5 MB, free: 12.17 MB / 350.1 MB Notification: Performance of SimCode: time 4e-07/0.4276, allocations: 0 / 434.5 MB, free: 12.17 MB / 350.1 MB Notification: Performance of Templates: time 0.03316/0.4607, allocations: 20.17 MB / 454.7 MB, free: 7.977 MB / 366.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.MoistAir.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.MoistAir.sim & ./Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.MoistAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.MoistAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/ReferenceAir/MoistAir/MoistAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches