Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.IdealGasH2O.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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.IdealGasH2O,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|smoothState.p|der_p|der_T",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.IdealGasH2O") translateModel(Modelica.Media.Examples.IdealGasH2O,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|smoothState.p|der_p|der_T",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.IdealGasH2O") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001263/0.001263, allocations: 104.4 kB / 18.39 MB, free: 4.703 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.00133/0.00133, allocations: 192.1 kB / 19.33 MB, free: 3.781 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.421/1.421, allocations: 205.1 MB / 225.2 MB, free: 12.23 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001297/0.001297, allocations: 43.94 kB / 329.2 MB, free: 3.34 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09539/0.0967, allocations: 46.62 MB / 375.8 MB, free: 4.605 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.IdealGasH2O): time 0.3713/0.4681, allocations: 150.4 MB / 0.5139 GB, free: 8.746 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001885/0.47, allocations: 1.516 MB / 0.5154 GB, free: 7.23 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.421e-05/0.4701, allocations: 3.938 kB / 0.5154 GB, free: 7.227 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001781/0.4703, allocations: 35.81 kB / 0.5154 GB, free: 7.191 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001073/0.4714, allocations: 319.9 kB / 0.5157 GB, free: 6.879 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002341/0.4717, allocations: 55.75 kB / 0.5158 GB, free: 6.824 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001437/0.4718, allocations: 83.59 kB / 0.5159 GB, free: 6.742 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.593e-05/0.4719, allocations: 0 / 0.5159 GB, free: 6.742 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001224/0.472, allocations: 37.48 kB / 0.5159 GB, free: 6.707 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.28e-05/0.4721, allocations: 31.84 kB / 0.5159 GB, free: 6.676 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.097e-05/0.4721, allocations: 4 kB / 0.5159 GB, free: 6.672 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008322/0.4729, allocations: 355.5 kB / 0.5163 GB, free: 6.324 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.957e-05/0.473, allocations: 7.938 kB / 0.5163 GB, free: 6.316 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.662e-05/0.473, allocations: 31.86 kB / 0.5163 GB, free: 6.285 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006236/0.4736, allocations: 295 kB / 0.5166 GB, free: 6 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.94e-06/0.4737, allocations: 0 / 0.5166 GB, free: 6 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.364e-06/0.4737, allocations: 4 kB / 0.5166 GB, free: 5.996 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.011e-05/0.4737, allocations: 0 / 0.5166 GB, free: 5.996 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0009256/0.4746, allocations: 431.3 kB / 0.517 GB, free: 5.527 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.069e-05/0.4747, allocations: 8.031 kB / 0.517 GB, free: 5.52 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006231/0.4809, allocations: 461.3 kB / 0.5175 GB, free: 5.07 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001267/0.4811, allocations: 180.4 kB / 0.5176 GB, free: 4.855 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.402e-05/0.4811, allocations: 7.938 kB / 0.5176 GB, free: 4.848 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001054/0.4812, allocations: 4 kB / 0.5176 GB, free: 4.844 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007924/0.482, allocations: 297.3 kB / 0.5179 GB, free: 4.547 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.484e-05/0.4821, allocations: 0 / 0.5179 GB, free: 4.547 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.004e-05/0.4821, allocations: 4 kB / 0.5179 GB, free: 4.543 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.192e-06/0.4821, allocations: 4 kB / 0.5179 GB, free: 4.539 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007947/0.4829, allocations: 279.7 kB / 0.5182 GB, free: 4.266 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001071/0.484, allocations: 432.7 kB / 0.5186 GB, free: 3.793 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009879/0.485, allocations: 202.4 kB / 0.5188 GB, free: 3.586 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002/0.4852, allocations: 64.83 kB / 0.5189 GB, free: 3.52 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.048e-05/0.4853, allocations: 7.984 kB / 0.5189 GB, free: 3.512 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.192e-05/0.4853, allocations: 30.56 kB / 0.5189 GB, free: 3.473 MB / 446.1 MB Notification: Performance of pre-optimization done (n=13): time 2.054e-06/0.4853, allocations: 0 / 0.5189 GB, free: 3.473 MB / 446.1 MB Notification: Performance of matching and sorting (n=17): time 0.001753/0.4871, allocations: 421.8 kB / 0.5193 GB, free: 3.055 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.342e-05/0.4871, allocations: 55.41 kB / 0.5194 GB, free: 2.988 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.439e-05/0.4872, allocations: 105.8 kB / 0.5195 GB, free: 2.875 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.8e-05/0.4873, allocations: 29.7 kB / 0.5195 GB, free: 2.84 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.469e-05/0.4873, allocations: 100.5 kB / 0.5196 GB, free: 2.738 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.521e-05/0.4874, allocations: 59.12 kB / 0.5196 GB, free: 2.68 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.377e-05/0.4875, allocations: 41.7 kB / 0.5197 GB, free: 2.633 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001028/0.4876, allocations: 322.8 kB / 0.52 GB, free: 2.309 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002677/0.4879, allocations: 79.94 kB / 0.5201 GB, free: 2.23 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002859/0.4882, allocations: 112.2 kB / 0.5202 GB, free: 2.105 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005496/0.4887, allocations: 207.3 kB / 0.5204 GB, free: 1.891 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.4887, allocations: 0 / 0.5204 GB, free: 1.891 MB / 446.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0006885/0.4894, allocations: 253.3 kB / 0.5206 GB, free: 1.637 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.901e-05/0.4895, allocations: 8 kB / 0.5206 GB, free: 1.629 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.622e-06/0.4895, allocations: 0 / 0.5206 GB, free: 1.629 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.787e-05/0.4895, allocations: 4 kB / 0.5206 GB, free: 1.625 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003864/0.4899, allocations: 52.08 kB / 0.5207 GB, free: 1.574 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.019e-05/0.4899, allocations: 3.938 kB / 0.5207 GB, free: 1.57 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002598/0.4902, allocations: 15.98 kB / 0.5207 GB, free: 1.555 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.746e-05/0.4902, allocations: 8 kB / 0.5207 GB, free: 1.547 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (21): * Single equations (assignments): 21 * 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.0001206/0.4903, allocations: 125.8 kB / 0.5208 GB, free: 1.414 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.703e-05/0.4904, allocations: 7.906 kB / 0.5208 GB, free: 1.406 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007982/0.4912, allocations: 283.1 kB / 0.5211 GB, free: 1.125 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.659e-06/0.4912, allocations: 0 / 0.5211 GB, free: 1.125 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.524e-06/0.4912, allocations: 4 kB / 0.5211 GB, free: 1.121 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.4912, allocations: 0 / 0.5211 GB, free: 1.121 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001259/0.4925, allocations: 0.5751 MB / 0.5217 GB, free: 496 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.909e-06/0.4925, allocations: 4 kB / 0.5217 GB, free: 492 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003482/0.4929, allocations: 54.52 kB / 0.5217 GB, free: 440 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.3e-06/0.4929, allocations: 0 / 0.5217 GB, free: 440 kB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.612e-05/0.4929, allocations: 11.98 kB / 0.5217 GB, free: 428 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/0.4929, allocations: 0 / 0.5217 GB, free: 428 kB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.053e-06/0.4929, allocations: 4.062 kB / 0.5217 GB, free: 424 kB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006821/0.4936, allocations: 333.5 kB / 0.522 GB, free: 68 kB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.33e-05/0.4937, allocations: 88.95 kB / 0.5221 GB, free: 15.96 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.762e-05/0.4938, allocations: 4 kB / 0.5221 GB, free: 15.96 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002728/0.494, allocations: 11.98 kB / 0.5221 GB, free: 15.95 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.833e-05/0.4941, allocations: 23.91 kB / 0.5222 GB, free: 15.92 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.789e-05/0.4941, allocations: 8 kB / 0.5222 GB, free: 15.91 MB / 462.1 MB Notification: Performance of sorting global known variables: time 4.225e-05/0.4942, allocations: 79.28 kB / 0.5223 GB, free: 15.84 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.4942, allocations: 4 kB / 0.5223 GB, free: 15.83 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0003523/0.4945, allocations: 47.98 kB / 0.5223 GB, free: 15.79 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 simulation (18): * Single equations (assignments): 18 * 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.0002404/0.4948, allocations: 119.2 kB / 0.5224 GB, free: 15.66 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.000649/0.4954, allocations: 203.6 kB / 0.5226 GB, free: 15.46 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.566e-06/0.4954, allocations: 0 / 0.5226 GB, free: 15.46 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002862/0.4957, allocations: 99.88 kB / 0.5227 GB, free: 15.36 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004737/0.4962, allocations: 36.97 kB / 0.5227 GB, free: 15.33 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000844/0.4971, allocations: 302 kB / 0.523 GB, free: 15 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002572/0.4973, allocations: 0.6928 MB / 0.5237 GB, free: 14.28 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000181/0.4975, allocations: 35.56 kB / 0.5237 GB, free: 14.24 MB / 462.1 MB Notification: Performance of SimCode: time 4.31e-07/0.4975, allocations: 0 / 0.5237 GB, free: 14.24 MB / 462.1 MB Notification: Performance of Templates: time 0.004572/0.5021, allocations: 2.357 MB / 0.526 GB, free: 11.89 MB / 462.1 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.IdealGasH2O.makefile (rm -f Modelica_3.2.3_Modelica.Media.Examples.IdealGasH2O.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.IdealGasH2O.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.IdealGasH2O.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.IdealGasH2O.sim & ./Modelica_3.2.3_Modelica.Media.Examples.IdealGasH2O -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.IdealGasH2O.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.IdealGasH2O_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/IdealGasH2O/IdealGasH2O.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.IdealGasH2O.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches