Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.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 trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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.MoistAir,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.MoistAir") translateModel(Modelica.Media.Examples.MoistAir,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.MoistAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0011/0.0011, allocations: 118.8 kB / 17.79 MB, free: 5.242 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001194/0.001194, allocations: 201.2 kB / 18.73 MB, free: 4.297 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.321/1.321, allocations: 227.4 MB / 246.9 MB, free: 10.42 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001309/0.001309, allocations: 67.89 kB / 358.7 MB, free: 12.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2354/0.2368, allocations: 50.54 MB / 409.2 MB, free: 1.551 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MoistAir): time 0.373/0.6098, allocations: 154.4 MB / 0.5505 GB, free: 0.7422 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.001358/0.6112, allocations: 1.618 MB / 0.552 GB, free: 0.7227 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.278e-05/0.6113, allocations: 0 / 0.552 GB, free: 0.7227 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003048/0.6116, allocations: 76.2 kB / 0.5521 GB, free: 0.7188 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003156/0.612, allocations: 164.6 kB / 0.5523 GB, free: 0.7188 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002429/0.6144, allocations: 1.032 MB / 0.5533 GB, free: 0.6797 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003961/0.6148, allocations: 352.1 kB / 0.5536 GB, free: 0.6797 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.195e-05/0.6149, allocations: 17.45 kB / 0.5536 GB, free: 0.6758 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002328/0.6151, allocations: 167 kB / 0.5538 GB, free: 0.6758 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002006/0.6153, allocations: 129.8 kB / 0.5539 GB, free: 0.6758 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 2.96e-05/0.6154, allocations: 16.19 kB / 0.5539 GB, free: 0.6758 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002277/0.6176, allocations: 1.619 MB / 0.5555 GB, free: 0.6602 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 8.644e-05/0.6177, allocations: 71.88 kB / 0.5556 GB, free: 0.6602 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00011/0.6179, allocations: 110.8 kB / 0.5557 GB, free: 0.6562 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001193/0.6191, allocations: 1.026 MB / 0.5567 GB, free: 0.6016 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.6191, allocations: 0 / 0.5567 GB, free: 0.6016 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.6191, allocations: 1.094 kB / 0.5567 GB, free: 0.6016 MB / 462.1 MB Notification: Performance of Transformations before backend: time 5.601e-06/0.6191, allocations: 1.812 kB / 0.5567 GB, free: 0.6016 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.001658/0.6208, allocations: 0.699 MB / 0.5574 GB, free: 16.12 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.744e-05/0.6208, allocations: 7.281 kB / 0.5574 GB, free: 16.12 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001456/0.621, allocations: 22.44 kB / 0.5574 GB, free: 16.11 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002495/0.6212, allocations: 225.3 kB / 0.5576 GB, free: 15.9 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.53e-05/0.6212, allocations: 12.55 kB / 0.5576 GB, free: 15.9 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.486e-05/0.6213, allocations: 19.22 kB / 0.5576 GB, free: 15.89 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004914/0.6218, allocations: 268.4 kB / 0.5579 GB, free: 15.84 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.481e-05/0.6218, allocations: 0 / 0.5579 GB, free: 15.84 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.016e-05/0.6218, allocations: 7.156 kB / 0.5579 GB, free: 15.84 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.733e-05/0.6219, allocations: 5.062 kB / 0.5579 GB, free: 15.84 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005731/0.6224, allocations: 276.5 kB / 0.5582 GB, free: 15.83 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.001253/0.6237, allocations: 0.7891 MB / 0.5589 GB, free: 15.34 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005425/0.6243, allocations: 216.2 kB / 0.5591 GB, free: 15.29 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002648/0.6245, allocations: 141.8 kB / 0.5593 GB, free: 15.27 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002944/0.6248, allocations: 353.8 kB / 0.5596 GB, free: 14.89 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.25e-05/0.6249, allocations: 41.19 kB / 0.5597 GB, free: 14.85 MB / 478.1 MB Notification: Performance of pre-optimization done (n=29): time 2.014e-06/0.6249, allocations: 2.125 kB / 0.5597 GB, free: 14.85 MB / 478.1 MB Notification: Performance of matching and sorting (n=36): time 0.002197/0.6271, allocations: 0.6864 MB / 0.5603 GB, free: 14.77 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.557e-05/0.6272, allocations: 82.36 kB / 0.5604 GB, free: 14.67 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001049/0.6273, allocations: 147.1 kB / 0.5605 GB, free: 14.57 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.386e-05/0.6273, allocations: 32.98 kB / 0.5606 GB, free: 14.54 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.166e-05/0.6274, allocations: 109.8 kB / 0.5607 GB, free: 14.43 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.559e-05/0.6275, allocations: 123.1 kB / 0.5608 GB, free: 14.36 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001159/0.6276, allocations: 74.5 kB / 0.5609 GB, free: 14.33 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001255/0.6277, allocations: 334.9 kB / 0.5612 GB, free: 14.02 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003409/0.6281, allocations: 134.3 kB / 0.5613 GB, free: 14.02 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003694/0.6285, allocations: 208 kB / 0.5615 GB, free: 13.94 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007161/0.6292, allocations: 356.3 kB / 0.5619 GB, free: 13.86 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.6292, allocations: 2.531 kB / 0.5619 GB, free: 13.86 MB / 478.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0008434/0.63, allocations: 409.3 kB / 0.5623 GB, free: 13.81 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.476e-05/0.6301, allocations: 9.547 kB / 0.5623 GB, free: 13.81 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.704e-06/0.6301, allocations: 6.125 kB / 0.5623 GB, free: 13.8 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.654e-05/0.6301, allocations: 4.719 kB / 0.5623 GB, free: 13.8 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004651/0.6306, allocations: 93.39 kB / 0.5624 GB, free: 13.8 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.055e-06/0.6306, allocations: 3.375 kB / 0.5624 GB, free: 13.8 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002924/0.6309, allocations: 23.2 kB / 0.5624 GB, free: 13.8 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.835e-05/0.6309, allocations: 23.89 kB / 0.5624 GB, free: 13.79 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.0001299/0.6311, allocations: 150.9 kB / 0.5626 GB, free: 13.67 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.522e-05/0.6312, allocations: 21.81 kB / 0.5626 GB, free: 13.66 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003251/0.6315, allocations: 177.2 kB / 0.5627 GB, free: 13.62 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.947e-06/0.6315, allocations: 6.125 kB / 0.5627 GB, free: 13.61 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.611e-06/0.6315, allocations: 0 / 0.5627 GB, free: 13.61 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.362e-06/0.6315, allocations: 5.891 kB / 0.5628 GB, free: 13.61 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001508/0.633, allocations: 0.7742 MB / 0.5635 GB, free: 13.25 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.476e-06/0.6331, allocations: 2.281 kB / 0.5635 GB, free: 13.25 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004217/0.6335, allocations: 79.73 kB / 0.5636 GB, free: 13.25 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.078e-06/0.6335, allocations: 3.531 kB / 0.5636 GB, free: 13.25 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.148e-05/0.6335, allocations: 15.75 kB / 0.5636 GB, free: 13.24 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.278e-06/0.6335, allocations: 6.453 kB / 0.5636 GB, free: 13.24 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.594e-06/0.6336, allocations: 2.578 kB / 0.5636 GB, free: 13.24 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001271/0.6348, allocations: 0.7213 MB / 0.5643 GB, free: 12.96 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001135/0.635, allocations: 116 kB / 0.5644 GB, free: 12.86 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.935e-05/0.635, allocations: 9.969 kB / 0.5644 GB, free: 12.86 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003586/0.6354, allocations: 18.95 kB / 0.5645 GB, free: 12.86 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.89e-05/0.6354, allocations: 32.92 kB / 0.5645 GB, free: 12.86 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.139e-05/0.6355, allocations: 16.78 kB / 0.5645 GB, free: 12.86 MB / 478.1 MB Notification: Performance of sorting global known variables: time 6.851e-05/0.6355, allocations: 110.7 kB / 0.5646 GB, free: 12.78 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6355, allocations: 0 / 0.5646 GB, free: 12.78 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0005719/0.6361, allocations: 151.7 kB / 0.5648 GB, free: 12.76 MB / 478.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.0004202/0.6365, allocations: 242 kB / 0.565 GB, free: 12.64 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0007749/0.6373, allocations: 346.6 kB / 0.5653 GB, free: 12.64 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.6373, allocations: 448 / 0.5653 GB, free: 12.64 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003671/0.6377, allocations: 185 kB / 0.5655 GB, free: 12.63 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006894/0.6384, allocations: 98.72 kB / 0.5656 GB, free: 12.62 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001319/0.6397, allocations: 0.6331 MB / 0.5662 GB, free: 12.27 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003242/0.6401, allocations: 0.7479 MB / 0.5669 GB, free: 11.57 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0003039/0.6404, allocations: 80.05 kB / 0.567 GB, free: 11.54 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001256/0.6405, allocations: 35.52 kB / 0.567 GB, free: 11.53 MB / 478.1 MB Notification: Performance of SimCode: time 3.21e-07/0.6405, allocations: 0 / 0.567 GB, free: 11.53 MB / 478.1 MB Notification: Performance of Templates: time 0.009663/0.6502, allocations: 6.367 MB / 0.5733 GB, free: 11.11 MB / 478.1 MB make -j1 -f Modelica_trunk_Modelica.Media.Examples.MoistAir.makefile (rm -f Modelica_trunk_Modelica.Media.Examples.MoistAir.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.MoistAir.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.MoistAir.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.MoistAir.sim & ./Modelica_trunk_Modelica.Media.Examples.MoistAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.MoistAir.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.MoistAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/MoistAir/MoistAir.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Media.Examples.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches