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.001581/0.001588, allocations: 118.2 kB / 17.79 MB, free: 5.281 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002012/0.002013, allocations: 202 kB / 18.73 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.459/1.459, allocations: 227.4 MB / 246.9 MB, free: 10.52 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001135/0.001135, allocations: 63.89 kB / 358.7 MB, free: 12.95 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2268/0.2279, allocations: 50.54 MB / 409.2 MB, free: 1.625 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MoistAir): time 0.37/0.598, allocations: 154.4 MB / 0.5505 GB, free: 0.7109 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.001351/0.5994, allocations: 1.611 MB / 0.552 GB, free: 0.6953 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.227e-05/0.5995, allocations: 0 / 0.552 GB, free: 0.6953 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003073/0.5998, allocations: 65.72 kB / 0.5521 GB, free: 0.6914 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003126/0.6001, allocations: 167.5 kB / 0.5523 GB, free: 0.6914 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002072/0.6022, allocations: 1.031 MB / 0.5533 GB, free: 0.6523 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002967/0.6025, allocations: 351.4 kB / 0.5536 GB, free: 0.6523 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.956e-05/0.6026, allocations: 19.55 kB / 0.5536 GB, free: 0.6484 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001975/0.6028, allocations: 163.1 kB / 0.5538 GB, free: 0.6484 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001886/0.603, allocations: 133.7 kB / 0.5539 GB, free: 0.6484 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 2.539e-05/0.603, allocations: 10.25 kB / 0.5539 GB, free: 0.6484 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002002/0.605, allocations: 1.632 MB / 0.5555 GB, free: 0.6328 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 8.394e-05/0.6051, allocations: 68.81 kB / 0.5556 GB, free: 0.6328 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001055/0.6052, allocations: 103.4 kB / 0.5557 GB, free: 0.6328 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001176/0.6064, allocations: 1.031 MB / 0.5567 GB, free: 0.5742 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.6064, allocations: 0 / 0.5567 GB, free: 0.5742 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.6064, allocations: 0 / 0.5567 GB, free: 0.5742 MB / 462.1 MB Notification: Performance of Transformations before backend: time 5.941e-06/0.6064, allocations: 0 / 0.5567 GB, free: 0.5742 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.001643/0.6081, allocations: 0.7003 MB / 0.5574 GB, free: 16.09 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.413e-05/0.6081, allocations: 8.438 kB / 0.5574 GB, free: 16.09 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001403/0.6083, allocations: 24.75 kB / 0.5574 GB, free: 16.08 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002275/0.6085, allocations: 227.9 kB / 0.5576 GB, free: 15.87 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.46e-05/0.6085, allocations: 14.39 kB / 0.5576 GB, free: 15.87 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.209e-05/0.6086, allocations: 19.19 kB / 0.5576 GB, free: 15.87 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005154/0.6091, allocations: 267.2 kB / 0.5579 GB, free: 15.81 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.459e-05/0.6091, allocations: 0 / 0.5579 GB, free: 15.81 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.297e-05/0.6092, allocations: 5.594 kB / 0.5579 GB, free: 15.81 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.754e-05/0.6092, allocations: 10.73 kB / 0.5579 GB, free: 15.81 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005849/0.6098, allocations: 267.2 kB / 0.5582 GB, free: 15.8 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.001311/0.6111, allocations: 0.7839 MB / 0.5589 GB, free: 15.31 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005577/0.6117, allocations: 230.5 kB / 0.5591 GB, free: 15.26 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002759/0.6119, allocations: 139.3 kB / 0.5593 GB, free: 15.24 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002953/0.6123, allocations: 351.1 kB / 0.5596 GB, free: 14.86 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.239e-05/0.6123, allocations: 41.19 kB / 0.5597 GB, free: 14.82 MB / 478.1 MB Notification: Performance of pre-optimization done (n=29): time 1.463e-06/0.6123, allocations: 0 / 0.5597 GB, free: 14.82 MB / 478.1 MB Notification: Performance of matching and sorting (n=36): time 0.002233/0.6145, allocations: 0.6825 MB / 0.5603 GB, free: 14.74 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.815e-05/0.6146, allocations: 79.36 kB / 0.5604 GB, free: 14.64 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.941e-05/0.6147, allocations: 144.6 kB / 0.5605 GB, free: 14.54 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 4.383e-05/0.6147, allocations: 31.48 kB / 0.5606 GB, free: 14.51 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.62e-05/0.6148, allocations: 116.7 kB / 0.5607 GB, free: 14.41 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.589e-05/0.6149, allocations: 122.5 kB / 0.5608 GB, free: 14.33 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001103/0.615, allocations: 73.53 kB / 0.5609 GB, free: 14.3 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001145/0.6151, allocations: 325.4 kB / 0.5612 GB, free: 13.99 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003406/0.6155, allocations: 140.8 kB / 0.5613 GB, free: 13.99 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003753/0.6159, allocations: 211.2 kB / 0.5615 GB, free: 13.91 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007018/0.6166, allocations: 351.6 kB / 0.5618 GB, free: 13.83 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.6166, allocations: 2.312 kB / 0.5618 GB, free: 13.83 MB / 478.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0008776/0.6175, allocations: 414.7 kB / 0.5622 GB, free: 13.79 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.279e-05/0.6175, allocations: 5.25 kB / 0.5622 GB, free: 13.79 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.6175, allocations: 3.594 kB / 0.5622 GB, free: 13.79 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.386e-05/0.6175, allocations: 6.5 kB / 0.5623 GB, free: 13.78 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004467/0.618, allocations: 91.48 kB / 0.5623 GB, free: 13.78 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.067e-06/0.618, allocations: 4.781 kB / 0.5623 GB, free: 13.78 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002938/0.6183, allocations: 27.75 kB / 0.5624 GB, free: 13.77 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.575e-05/0.6183, allocations: 22.19 kB / 0.5624 GB, free: 13.77 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.0001496/0.6185, allocations: 144.6 kB / 0.5625 GB, free: 13.65 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.79e-05/0.6186, allocations: 30.39 kB / 0.5626 GB, free: 13.63 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003171/0.6189, allocations: 168.8 kB / 0.5627 GB, free: 13.59 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/0.6189, allocations: 5.344 kB / 0.5627 GB, free: 13.59 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.531e-06/0.6189, allocations: 7.938 kB / 0.5627 GB, free: 13.58 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.013e-06/0.6189, allocations: 5.656 kB / 0.5627 GB, free: 13.58 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001545/0.6205, allocations: 0.781 MB / 0.5635 GB, free: 13.21 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.6205, allocations: 0 / 0.5635 GB, free: 13.21 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004261/0.6209, allocations: 78.62 kB / 0.5636 GB, free: 13.21 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.078e-06/0.621, allocations: 3.281 kB / 0.5636 GB, free: 13.21 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.751e-05/0.621, allocations: 15.5 kB / 0.5636 GB, free: 13.21 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.078e-06/0.621, allocations: 5.594 kB / 0.5636 GB, free: 13.21 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.621, allocations: 2.625 kB / 0.5636 GB, free: 13.21 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001255/0.6223, allocations: 0.7246 MB / 0.5643 GB, free: 12.93 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001079/0.6224, allocations: 116.1 kB / 0.5644 GB, free: 12.83 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.811e-05/0.6224, allocations: 12.12 kB / 0.5644 GB, free: 12.83 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003545/0.6228, allocations: 19.94 kB / 0.5645 GB, free: 12.83 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.622e-05/0.6228, allocations: 24.31 kB / 0.5645 GB, free: 12.83 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.807e-05/0.6229, allocations: 13.56 kB / 0.5645 GB, free: 12.83 MB / 478.1 MB Notification: Performance of sorting global known variables: time 6.774e-05/0.623, allocations: 106.5 kB / 0.5646 GB, free: 12.76 MB / 478.1 MB Notification: Performance of sort global known variables: time 2e-07/0.623, allocations: 6.938 kB / 0.5646 GB, free: 12.75 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0005666/0.6235, allocations: 150.2 kB / 0.5647 GB, free: 12.73 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.0004288/0.624, allocations: 245.5 kB / 0.565 GB, free: 12.62 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0008094/0.6248, allocations: 341.3 kB / 0.5653 GB, free: 12.61 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.6248, allocations: 1.641 kB / 0.5653 GB, free: 12.61 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003834/0.6252, allocations: 182.5 kB / 0.5655 GB, free: 12.61 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007106/0.6259, allocations: 104 kB / 0.5656 GB, free: 12.59 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001368/0.6273, allocations: 0.6376 MB / 0.5662 GB, free: 12.24 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003367/0.6276, allocations: 0.7418 MB / 0.5669 GB, free: 11.54 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0003016/0.6279, allocations: 81.84 kB / 0.567 GB, free: 11.5 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001307/0.6281, allocations: 42.47 kB / 0.567 GB, free: 11.5 MB / 478.1 MB Notification: Performance of SimCode: time 2.4e-07/0.6281, allocations: 0 / 0.567 GB, free: 11.5 MB / 478.1 MB Notification: Performance of Templates: time 0.009614/0.6377, allocations: 6.349 MB / 0.5732 GB, free: 11.09 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