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.00117/0.00117, allocations: 104.5 kB / 17.85 MB, free: 5.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001254/0.001254, allocations: 205.8 kB / 18.79 MB, free: 4.727 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.38/1.38, allocations: 227.4 MB / 246.9 MB, free: 10.72 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001328/0.001328, allocations: 68.5 kB / 306.9 MB, free: 1.07 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09438/0.09573, allocations: 50.53 MB / 357.4 MB, free: 14.53 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MoistAir): time 0.3655/0.4612, allocations: 152.3 MB / 0.4978 GB, free: 3.41 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001883/0.4632, allocations: 1.614 MB / 0.4994 GB, free: 1.805 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.669e-05/0.4633, allocations: 0 / 0.4994 GB, free: 1.805 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003987/0.4637, allocations: 62.58 kB / 0.4994 GB, free: 1.746 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003875/0.4641, allocations: 165.5 kB / 0.4996 GB, free: 1.59 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002711/0.4668, allocations: 0.888 MB / 0.5005 GB, free: 0.7148 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005058/0.4673, allocations: 0.5021 MB / 0.5009 GB, free: 216 kB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.811e-05/0.4674, allocations: 9.562 kB / 0.501 GB, free: 208 kB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000254/0.4677, allocations: 147.5 kB / 0.5011 GB, free: 60 kB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000239/0.4679, allocations: 143.5 kB / 0.5012 GB, free: 15.92 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 3.51e-05/0.468, allocations: 8 kB / 0.5012 GB, free: 15.91 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002649/0.4706, allocations: 1.681 MB / 0.5029 GB, free: 14.23 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001097/0.4707, allocations: 71.78 kB / 0.503 GB, free: 14.16 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001218/0.4709, allocations: 95.64 kB / 0.503 GB, free: 14.06 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001043/0.4719, allocations: 0.7173 MB / 0.5037 GB, free: 13.34 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.4719, allocations: 7.938 kB / 0.5038 GB, free: 13.34 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.4719, allocations: 0 / 0.5038 GB, free: 13.34 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.34e-06/0.472, allocations: 0 / 0.5038 GB, free: 13.34 MB / 430.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.001795/0.4738, allocations: 0.6986 MB / 0.5044 GB, free: 12.59 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.49e-05/0.4738, allocations: 16.02 kB / 0.5044 GB, free: 12.57 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001459/0.474, allocations: 20.75 kB / 0.5045 GB, free: 12.55 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002437/0.4742, allocations: 219.4 kB / 0.5047 GB, free: 12.3 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.445e-05/0.4742, allocations: 8.328 kB / 0.5047 GB, free: 12.29 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.653e-05/0.4743, allocations: 16 kB / 0.5047 GB, free: 12.28 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005708/0.4749, allocations: 269.4 kB / 0.505 GB, free: 12 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.246e-05/0.4749, allocations: 0 / 0.505 GB, free: 12 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.276e-05/0.4749, allocations: 8 kB / 0.505 GB, free: 12 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.144e-05/0.475, allocations: 8 kB / 0.505 GB, free: 11.99 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006307/0.4756, allocations: 268.8 kB / 0.5052 GB, free: 11.73 MB / 430.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.001443/0.477, allocations: 0.7937 MB / 0.506 GB, free: 10.85 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006242/0.4777, allocations: 225.1 kB / 0.5062 GB, free: 10.61 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003019/0.478, allocations: 133.6 kB / 0.5063 GB, free: 10.48 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003314/0.4783, allocations: 364.4 kB / 0.5067 GB, free: 10.05 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.138e-05/0.4784, allocations: 43.58 kB / 0.5067 GB, free: 9.996 MB / 430.1 MB Notification: Performance of pre-optimization done (n=29): time 1.814e-06/0.4784, allocations: 0 / 0.5067 GB, free: 9.996 MB / 430.1 MB Notification: Performance of matching and sorting (n=36): time 0.002384/0.4808, allocations: 0.6713 MB / 0.5074 GB, free: 9.324 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.391e-05/0.4808, allocations: 85.11 kB / 0.5075 GB, free: 9.223 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001134/0.481, allocations: 145.7 kB / 0.5076 GB, free: 9.07 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.189e-05/0.481, allocations: 33.7 kB / 0.5076 GB, free: 9.031 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.242e-05/0.4811, allocations: 104.9 kB / 0.5077 GB, free: 8.926 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001023/0.4812, allocations: 130 kB / 0.5079 GB, free: 8.797 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001174/0.4813, allocations: 81.56 kB / 0.5079 GB, free: 8.711 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000109/0.4814, allocations: 326.8 kB / 0.5083 GB, free: 8.383 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000364/0.4818, allocations: 131.9 kB / 0.5084 GB, free: 8.254 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004015/0.4822, allocations: 219.2 kB / 0.5086 GB, free: 8.016 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007537/0.483, allocations: 358.9 kB / 0.5089 GB, free: 7.641 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-06/0.483, allocations: 0 / 0.5089 GB, free: 7.641 MB / 430.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.000915/0.4839, allocations: 409.1 kB / 0.5093 GB, free: 7.234 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.892e-05/0.4839, allocations: 4 kB / 0.5093 GB, free: 7.23 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.437e-06/0.4839, allocations: 4.703 kB / 0.5093 GB, free: 7.227 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.657e-05/0.484, allocations: 8.219 kB / 0.5093 GB, free: 7.219 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004885/0.4845, allocations: 83.88 kB / 0.5094 GB, free: 7.137 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.011e-05/0.4845, allocations: 4 kB / 0.5094 GB, free: 7.133 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003345/0.4848, allocations: 31.83 kB / 0.5095 GB, free: 7.102 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.606e-05/0.4849, allocations: 19.92 kB / 0.5095 GB, free: 7.082 MB / 430.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.00015/0.485, allocations: 149.7 kB / 0.5096 GB, free: 6.926 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.706e-05/0.4851, allocations: 15.81 kB / 0.5096 GB, free: 6.91 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003787/0.4855, allocations: 173 kB / 0.5098 GB, free: 6.73 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.093e-06/0.4855, allocations: 4 kB / 0.5098 GB, free: 6.727 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.592e-06/0.4855, allocations: 0 / 0.5098 GB, free: 6.727 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.153e-05/0.4855, allocations: 8.859 kB / 0.5098 GB, free: 6.719 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001725/0.4873, allocations: 0.7814 MB / 0.5106 GB, free: 5.867 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.33e-06/0.4873, allocations: 0 / 0.5106 GB, free: 5.867 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004602/0.4878, allocations: 84.03 kB / 0.5107 GB, free: 5.785 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.047e-06/0.4878, allocations: 4 kB / 0.5107 GB, free: 5.781 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.363e-05/0.4878, allocations: 8 kB / 0.5107 GB, free: 5.773 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.047e-05/0.4878, allocations: 9.734 kB / 0.5107 GB, free: 5.766 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.701e-06/0.4878, allocations: 11.88 kB / 0.5107 GB, free: 5.754 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00144/0.4893, allocations: 0.7062 MB / 0.5114 GB, free: 5.012 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001382/0.4894, allocations: 124.8 kB / 0.5115 GB, free: 4.871 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.025e-05/0.4895, allocations: 8 kB / 0.5115 GB, free: 4.863 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004041/0.4899, allocations: 23.97 kB / 0.5115 GB, free: 4.84 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.917e-05/0.49, allocations: 23.91 kB / 0.5115 GB, free: 4.816 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.184e-05/0.49, allocations: 24.05 kB / 0.5116 GB, free: 4.793 MB / 430.1 MB Notification: Performance of sorting global known variables: time 8.554e-05/0.4901, allocations: 103.3 kB / 0.5117 GB, free: 4.691 MB / 430.1 MB Notification: Performance of sort global known variables: time 3.41e-07/0.4901, allocations: 0 / 0.5117 GB, free: 4.691 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000676/0.4908, allocations: 151.9 kB / 0.5118 GB, free: 4.543 MB / 430.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.0006072/0.4914, allocations: 242.9 kB / 0.512 GB, free: 4.297 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0009143/0.4923, allocations: 345.7 kB / 0.5124 GB, free: 3.965 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.4924, allocations: 4 kB / 0.5124 GB, free: 3.961 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004144/0.4928, allocations: 178 kB / 0.5125 GB, free: 3.789 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000756/0.4935, allocations: 104.1 kB / 0.5126 GB, free: 3.688 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001569/0.4951, allocations: 0.7423 MB / 0.5134 GB, free: 2.898 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003209/0.4955, allocations: 0.7455 MB / 0.5141 GB, free: 2.129 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001786/0.4956, allocations: 35.42 kB / 0.5141 GB, free: 2.094 MB / 430.1 MB Notification: Performance of SimCode: time 4.51e-07/0.4956, allocations: 0 / 0.5141 GB, free: 2.094 MB / 430.1 MB Notification: Performance of Templates: time 0.008036/0.5037, allocations: 4.758 MB / 0.5188 GB, free: 13.34 MB / 446.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/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_trunk_Modelica.Media.Examples.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches