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.001709/0.001709, allocations: 114.4 kB / 17.74 MB, free: 5.355 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.001856/0.001856, allocations: 183.1 kB / 18.66 MB, free: 4.438 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.583/1.583, allocations: 205.1 MB / 224.5 MB, free: 12.29 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.001229/0.001229, allocations: 47.94 kB / 328.5 MB, free: 3.336 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09417/0.09541, allocations: 46.62 MB / 375.1 MB, free: 4.605 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.IdealGasH2O): time 0.3856/0.4811, allocations: 150.4 MB / 0.5132 GB, free: 8.754 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001683/0.4828, allocations: 1.526 MB / 0.5147 GB, free: 7.227 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.927e-05/0.4828, allocations: 0 / 0.5147 GB, free: 7.227 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001649/0.4831, allocations: 27.83 kB / 0.5148 GB, free: 7.199 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009067/0.484, allocations: 318.3 kB / 0.5151 GB, free: 6.887 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002022/0.4842, allocations: 63.73 kB / 0.5151 GB, free: 6.824 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001182/0.4843, allocations: 71.61 kB / 0.5152 GB, free: 6.754 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.234e-05/0.4844, allocations: 7.984 kB / 0.5152 GB, free: 6.746 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001128/0.4845, allocations: 39.78 kB / 0.5152 GB, free: 6.707 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.993e-05/0.4846, allocations: 23.88 kB / 0.5153 GB, free: 6.684 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 8.907e-06/0.4846, allocations: 0 / 0.5153 GB, free: 6.684 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008556/0.4855, allocations: 367.5 kB / 0.5156 GB, free: 6.324 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.327e-05/0.4855, allocations: 0 / 0.5156 GB, free: 6.324 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.461e-05/0.4855, allocations: 39.8 kB / 0.5157 GB, free: 6.285 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004832/0.486, allocations: 290.5 kB / 0.5159 GB, free: 6.004 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.698e-06/0.486, allocations: 4 kB / 0.5159 GB, free: 6 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.305e-06/0.486, allocations: 0 / 0.5159 GB, free: 6 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.793e-06/0.4861, allocations: 4 kB / 0.5159 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.0008786/0.4869, allocations: 438.8 kB / 0.5164 GB, free: 5.52 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.846e-05/0.487, allocations: 12.03 kB / 0.5164 GB, free: 5.508 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005881/0.4929, allocations: 460.7 kB / 0.5168 GB, free: 5.059 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001817/0.4931, allocations: 164.5 kB / 0.517 GB, free: 4.859 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.959e-05/0.4931, allocations: 11.94 kB / 0.517 GB, free: 4.848 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.552e-05/0.4932, allocations: 4 kB / 0.517 GB, free: 4.844 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008246/0.494, allocations: 293.3 kB / 0.5173 GB, free: 4.551 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.617e-05/0.4941, allocations: 3.984 kB / 0.5173 GB, free: 4.547 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.821e-05/0.4941, allocations: 12 kB / 0.5173 GB, free: 4.535 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-06/0.4941, allocations: 0 / 0.5173 GB, free: 4.535 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008332/0.495, allocations: 271.7 kB / 0.5175 GB, free: 4.27 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009852/0.496, allocations: 429.3 kB / 0.5179 GB, free: 3.801 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001016/0.497, allocations: 206.4 kB / 0.5181 GB, free: 3.59 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001965/0.4972, allocations: 72.81 kB / 0.5182 GB, free: 3.516 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.031e-05/0.4973, allocations: 4.234 kB / 0.5182 GB, free: 3.512 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.764e-05/0.4973, allocations: 34.56 kB / 0.5182 GB, free: 3.469 MB / 446.1 MB Notification: Performance of pre-optimization done (n=13): time 1.553e-06/0.4973, allocations: 4 kB / 0.5182 GB, free: 3.465 MB / 446.1 MB Notification: Performance of matching and sorting (n=17): time 0.001794/0.4991, allocations: 425.9 kB / 0.5187 GB, free: 3.043 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.098e-05/0.4992, allocations: 55.34 kB / 0.5187 GB, free: 2.977 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.234e-05/0.4992, allocations: 101.9 kB / 0.5188 GB, free: 2.867 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.846e-05/0.4993, allocations: 29.7 kB / 0.5188 GB, free: 2.832 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.35e-05/0.4993, allocations: 96.59 kB / 0.5189 GB, free: 2.734 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.656e-05/0.4994, allocations: 59.48 kB / 0.519 GB, free: 2.676 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.612e-05/0.4995, allocations: 49.62 kB / 0.519 GB, free: 2.621 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001124/0.4996, allocations: 318.8 kB / 0.5193 GB, free: 2.301 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002628/0.4999, allocations: 75.94 kB / 0.5194 GB, free: 2.227 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002958/0.5002, allocations: 120.2 kB / 0.5195 GB, free: 2.094 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000543/0.5007, allocations: 207.5 kB / 0.5197 GB, free: 1.879 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.5008, allocations: 4 kB / 0.5197 GB, free: 1.875 MB / 446.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0008072/0.5016, allocations: 246.2 kB / 0.52 GB, free: 1.629 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.462e-05/0.5016, allocations: 4 kB / 0.52 GB, free: 1.625 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.052e-05/0.5016, allocations: 8.125 kB / 0.52 GB, free: 1.617 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.941e-05/0.5017, allocations: 0 / 0.52 GB, free: 1.617 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004486/0.5021, allocations: 51.89 kB / 0.52 GB, free: 1.566 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.048e-05/0.5022, allocations: 4 kB / 0.52 GB, free: 1.562 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002525/0.5024, allocations: 15.98 kB / 0.52 GB, free: 1.547 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.062e-05/0.5025, allocations: 11.98 kB / 0.52 GB, free: 1.535 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.0001096/0.5026, allocations: 125.7 kB / 0.5202 GB, free: 1.402 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.753e-05/0.5026, allocations: 11.95 kB / 0.5202 GB, free: 1.391 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008823/0.5035, allocations: 277 kB / 0.5204 GB, free: 1.117 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.524e-06/0.5036, allocations: 4.172 kB / 0.5204 GB, free: 1.113 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-06/0.5036, allocations: 0 / 0.5204 GB, free: 1.113 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.444e-06/0.5036, allocations: 3.984 kB / 0.5204 GB, free: 1.109 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001706/0.5053, allocations: 0.5788 MB / 0.521 GB, free: 480 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.5053, allocations: 0 / 0.521 GB, free: 480 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003248/0.5057, allocations: 43.91 kB / 0.5211 GB, free: 436 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.482e-06/0.5057, allocations: 4 kB / 0.5211 GB, free: 432 kB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.638e-05/0.5057, allocations: 12.05 kB / 0.5211 GB, free: 420 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.895e-06/0.5057, allocations: 4 kB / 0.5211 GB, free: 416 kB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.512e-06/0.5057, allocations: 0 / 0.5211 GB, free: 416 kB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000772/0.5065, allocations: 338.1 kB / 0.5214 GB, free: 56 kB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.041e-05/0.5066, allocations: 85.05 kB / 0.5215 GB, free: 15.95 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.501e-05/0.5066, allocations: 11.94 kB / 0.5215 GB, free: 15.94 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003117/0.5069, allocations: 11.98 kB / 0.5215 GB, free: 15.93 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.637e-05/0.507, allocations: 15.92 kB / 0.5215 GB, free: 15.91 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.651e-05/0.507, allocations: 8 kB / 0.5215 GB, free: 15.91 MB / 462.1 MB Notification: Performance of sorting global known variables: time 4.279e-05/0.5071, allocations: 87.27 kB / 0.5216 GB, free: 15.82 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5071, allocations: 4 kB / 0.5216 GB, free: 15.82 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0003913/0.5075, allocations: 40 kB / 0.5217 GB, free: 15.78 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.0002906/0.5078, allocations: 123.1 kB / 0.5218 GB, free: 15.65 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0006759/0.5085, allocations: 195.8 kB / 0.522 GB, free: 15.46 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.5085, allocations: 0 / 0.522 GB, free: 15.46 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003364/0.5088, allocations: 104.2 kB / 0.5221 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.0004897/0.5093, allocations: 45.05 kB / 0.5221 GB, free: 15.32 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008868/0.5102, allocations: 274.8 kB / 0.5224 GB, free: 15.02 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004415/0.5107, allocations: 0.7005 MB / 0.523 GB, free: 14.29 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0003029/0.511, allocations: 52.75 kB / 0.5231 GB, free: 14.24 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001488/0.5112, allocations: 35.42 kB / 0.5231 GB, free: 14.2 MB / 462.1 MB Notification: Performance of SimCode: time 2.3e-07/0.5112, allocations: 0 / 0.5231 GB, free: 14.2 MB / 462.1 MB Notification: Performance of Templates: time 0.006548/0.5177, allocations: 3.068 MB / 0.5261 GB, free: 11.14 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/IdealGasH2O/IdealGasH2O.csv","/var/lib/jenkins/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