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/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/Complex 3.2.3+maint.om/package.mo): time 0.001218/0.001218, allocations: 187 kB / 17.92 MB, free: 3.855 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.221/1.221, allocations: 205.1 MB / 223.8 MB, free: 8.48 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00101/0.00101, allocations: 102.3 kB / 271.2 MB, free: 8.441 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007261/0.0007261, allocations: 43.94 kB / 327.2 MB, free: 344 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.183/0.1837, allocations: 46.62 MB / 373.8 MB, free: 45.66 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.IdealGasH2O): time 0.3002/0.484, allocations: 148.2 MB / 0.5098 GB, free: 396 kB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001566/0.4856, allocations: 1.577 MB / 0.5113 GB, free: 376 kB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.424e-05/0.4856, allocations: 0 / 0.5113 GB, free: 376 kB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001677/0.4858, allocations: 21.25 kB / 0.5113 GB, free: 372 kB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009647/0.4869, allocations: 273.5 kB / 0.5116 GB, free: 360 kB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002148/0.4871, allocations: 52.05 kB / 0.5116 GB, free: 356 kB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001278/0.4873, allocations: 76.28 kB / 0.5117 GB, free: 356 kB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.984e-05/0.4873, allocations: 3.234 kB / 0.5117 GB, free: 356 kB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001045/0.4874, allocations: 37.42 kB / 0.5118 GB, free: 356 kB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.198e-05/0.4875, allocations: 29.84 kB / 0.5118 GB, free: 356 kB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 9.488e-06/0.4875, allocations: 0 / 0.5118 GB, free: 356 kB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009273/0.4884, allocations: 367.3 kB / 0.5121 GB, free: 348 kB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 1.78e-05/0.4885, allocations: 7.688 kB / 0.5121 GB, free: 348 kB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.455e-05/0.4885, allocations: 30.27 kB / 0.5122 GB, free: 348 kB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007025/0.4892, allocations: 303 kB / 0.5125 GB, free: 332 kB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.4893, allocations: 0 / 0.5125 GB, free: 332 kB / 378.7 MB Notification: Performance of FrontEnd: time 9.81e-07/0.4893, allocations: 0.5 kB / 0.5125 GB, free: 332 kB / 378.7 MB Notification: Performance of Transformations before backend: time 3.817e-06/0.4893, allocations: 0 / 0.5125 GB, free: 332 kB / 378.7 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.0008951/0.4902, allocations: 437.4 kB / 0.5129 GB, free: 15.94 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.175e-05/0.4902, allocations: 9 kB / 0.5129 GB, free: 15.94 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00607/0.4963, allocations: 454.2 kB / 0.5133 GB, free: 15.93 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001162/0.4964, allocations: 176.7 kB / 0.5135 GB, free: 15.73 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.807e-05/0.4965, allocations: 6.75 kB / 0.5135 GB, free: 15.73 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.137e-05/0.4966, allocations: 9 kB / 0.5135 GB, free: 15.73 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006825/0.4973, allocations: 303.9 kB / 0.5138 GB, free: 15.69 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.244e-05/0.4973, allocations: 0 / 0.5138 GB, free: 15.69 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.934e-05/0.4973, allocations: 0 / 0.5138 GB, free: 15.69 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.133e-06/0.4973, allocations: 3.406 kB / 0.5138 GB, free: 15.69 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008119/0.4982, allocations: 276.2 kB / 0.5141 GB, free: 15.69 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000936/0.4991, allocations: 423.8 kB / 0.5145 GB, free: 15.4 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009355/0.5, allocations: 205.3 kB / 0.5147 GB, free: 15.37 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001771/0.5002, allocations: 70.56 kB / 0.5147 GB, free: 15.36 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.857e-05/0.5003, allocations: 9.656 kB / 0.5147 GB, free: 15.36 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.322e-05/0.5003, allocations: 33.56 kB / 0.5148 GB, free: 15.32 MB / 394.7 MB Notification: Performance of pre-optimization done (n=13): time 1.463e-06/0.5003, allocations: 0 / 0.5148 GB, free: 15.32 MB / 394.7 MB Notification: Performance of matching and sorting (n=17): time 0.001694/0.502, allocations: 423.1 kB / 0.5152 GB, free: 15.26 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.793e-05/0.5021, allocations: 53.25 kB / 0.5152 GB, free: 15.2 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.533e-05/0.5022, allocations: 102.5 kB / 0.5153 GB, free: 15.1 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.717e-05/0.5022, allocations: 30.11 kB / 0.5153 GB, free: 15.07 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.124e-05/0.5022, allocations: 102.5 kB / 0.5154 GB, free: 14.97 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.705e-05/0.5023, allocations: 63.42 kB / 0.5155 GB, free: 14.93 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.404e-05/0.5024, allocations: 43.06 kB / 0.5155 GB, free: 14.91 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001037/0.5025, allocations: 318.9 kB / 0.5158 GB, free: 14.6 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002803/0.5028, allocations: 80.05 kB / 0.5159 GB, free: 14.6 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003291/0.5031, allocations: 116.6 kB / 0.516 GB, free: 14.56 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005549/0.5037, allocations: 198.8 kB / 0.5162 GB, free: 14.52 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.5037, allocations: 0.9062 kB / 0.5162 GB, free: 14.52 MB / 394.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0006649/0.5044, allocations: 256.4 kB / 0.5165 GB, free: 14.47 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.671e-05/0.5044, allocations: 6.094 kB / 0.5165 GB, free: 14.47 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/0.5044, allocations: 0.75 kB / 0.5165 GB, free: 14.47 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.441e-05/0.5044, allocations: 3.641 kB / 0.5165 GB, free: 14.47 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003655/0.5048, allocations: 51.19 kB / 0.5165 GB, free: 14.47 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.264e-06/0.5048, allocations: 2.406 kB / 0.5165 GB, free: 14.47 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002524/0.5051, allocations: 13.97 kB / 0.5165 GB, free: 14.47 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.529e-05/0.5051, allocations: 16.86 kB / 0.5166 GB, free: 14.46 MB / 394.7 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.0001228/0.5053, allocations: 123.3 kB / 0.5167 GB, free: 14.35 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.651e-05/0.5053, allocations: 5.469 kB / 0.5167 GB, free: 14.35 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008153/0.5062, allocations: 278 kB / 0.517 GB, free: 14.3 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.681e-06/0.5062, allocations: 2.125 kB / 0.517 GB, free: 14.3 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.5062, allocations: 0.6875 kB / 0.517 GB, free: 14.3 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.177e-06/0.5062, allocations: 0 / 0.517 GB, free: 14.3 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001245/0.5074, allocations: 0.5838 MB / 0.5175 GB, free: 13.97 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.454e-06/0.5075, allocations: 1.344 kB / 0.5175 GB, free: 13.97 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003373/0.5078, allocations: 54.77 kB / 0.5176 GB, free: 13.96 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.701e-06/0.5078, allocations: 3.484 kB / 0.5176 GB, free: 13.96 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.445e-05/0.5078, allocations: 8.953 kB / 0.5176 GB, free: 13.96 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.5079, allocations: 1.438 kB / 0.5176 GB, free: 13.96 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.5079, allocations: 1 kB / 0.5176 GB, free: 13.96 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001208/0.5091, allocations: 0.9645 MB / 0.5185 GB, free: 13.23 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.908e-05/0.5092, allocations: 91.8 kB / 0.5186 GB, free: 13.12 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.192e-05/0.5092, allocations: 6.062 kB / 0.5186 GB, free: 13.12 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002625/0.5095, allocations: 16.17 kB / 0.5186 GB, free: 13.12 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.402e-05/0.5095, allocations: 9.609 kB / 0.5187 GB, free: 13.12 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.699e-05/0.5095, allocations: 10.89 kB / 0.5187 GB, free: 13.12 MB / 394.7 MB Notification: Performance of sorting global known variables: time 5.126e-05/0.5096, allocations: 82.5 kB / 0.5187 GB, free: 13.05 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.5096, allocations: 1.094 kB / 0.5187 GB, free: 13.05 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004482/0.51, allocations: 43.97 kB / 0.5188 GB, free: 13.05 MB / 394.7 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.0002367/0.5103, allocations: 128.5 kB / 0.5189 GB, free: 12.95 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0006529/0.511, allocations: 199.7 kB / 0.5191 GB, free: 12.95 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.796e-06/0.511, allocations: 0 / 0.5191 GB, free: 12.95 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003033/0.5113, allocations: 105.2 kB / 0.5192 GB, free: 12.95 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004204/0.5117, allocations: 49.44 kB / 0.5192 GB, free: 12.93 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008969/0.5126, allocations: 460.5 kB / 0.5197 GB, free: 12.62 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002385/0.5129, allocations: 0.6989 MB / 0.5204 GB, free: 11.93 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0003846/0.5133, allocations: 50.83 kB / 0.5204 GB, free: 11.9 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001496/0.5134, allocations: 35.78 kB / 0.5204 GB, free: 11.89 MB / 394.7 MB Notification: Performance of SimCode: time 2.21e-07/0.5134, allocations: 0 / 0.5204 GB, free: 11.89 MB / 394.7 MB Notification: Performance of Templates: time 0.005783/0.5192, allocations: 3.018 MB / 0.5234 GB, free: 11.7 MB / 394.7 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/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/IdealGasH2O/IdealGasH2O.csv","../files/Modelica_3.2.3_Modelica.Media.Examples.IdealGasH2O.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches