Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Media.Examples.IdealGasH2O.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 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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.IdealGasH2O,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|smoothState.p|der_p|der_T",fileNamePrefix="Modelica_4.1.0-beta.om_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_4.1.0-beta.om_Modelica.Media.Examples.IdealGasH2O") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001399/0.001399, allocations: 109.8 kB / 18.3 MB, free: 4.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001371/0.001371, allocations: 207.9 kB / 19.25 MB, free: 3.898 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.433/1.433, allocations: 227.7 MB / 247.7 MB, free: 10.32 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001922/0.001922, allocations: 67.5 kB / 307.9 MB, free: 0.5039 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1306/0.1325, allocations: 50.54 MB / 358.4 MB, free: 13.96 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.IdealGasH2O): time 0.3554/0.488, allocations: 152.2 MB / 0.4987 GB, free: 2.832 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002925/0.491, allocations: 2.528 MB / 0.5011 GB, free: 308 kB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.295e-05/0.4911, allocations: 0 / 0.5011 GB, free: 308 kB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001711/0.4913, allocations: 34.95 kB / 0.5012 GB, free: 276 kB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009432/0.4922, allocations: 331 kB / 0.5015 GB, free: 15.95 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001956/0.4925, allocations: 74.05 kB / 0.5016 GB, free: 15.88 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001341/0.4926, allocations: 99.36 kB / 0.5016 GB, free: 15.78 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.241e-05/0.4927, allocations: 11.97 kB / 0.5017 GB, free: 15.77 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000121/0.4928, allocations: 39.8 kB / 0.5017 GB, free: 15.73 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.606e-05/0.4929, allocations: 35.86 kB / 0.5017 GB, free: 15.7 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.321e-05/0.4929, allocations: 4 kB / 0.5017 GB, free: 15.69 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007556/0.4936, allocations: 367.5 kB / 0.5021 GB, free: 15.33 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 2.022e-05/0.4937, allocations: 11.94 kB / 0.5021 GB, free: 15.32 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 6.218e-05/0.4937, allocations: 39.84 kB / 0.5021 GB, free: 15.28 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005112/0.4943, allocations: 324.6 kB / 0.5024 GB, free: 14.96 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.4943, allocations: 0 / 0.5024 GB, free: 14.96 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.4943, allocations: 0 / 0.5024 GB, free: 14.96 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.21e-06/0.4943, allocations: 3 kB / 0.5024 GB, free: 14.96 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0009724/0.4953, allocations: 455.8 kB / 0.5029 GB, free: 14.47 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.702e-05/0.4953, allocations: 8.031 kB / 0.5029 GB, free: 14.46 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006551/0.5019, allocations: 464.6 kB / 0.5033 GB, free: 14.01 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000169/0.5021, allocations: 175.5 kB / 0.5035 GB, free: 13.8 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.899e-05/0.5021, allocations: 8 kB / 0.5035 GB, free: 13.79 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.274e-05/0.5022, allocations: 4 kB / 0.5035 GB, free: 13.79 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008112/0.503, allocations: 309.2 kB / 0.5038 GB, free: 13.48 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.278e-05/0.503, allocations: 0 / 0.5038 GB, free: 13.48 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.827e-05/0.5031, allocations: 0 / 0.5038 GB, free: 13.48 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.144e-06/0.5031, allocations: 4 kB / 0.5038 GB, free: 13.48 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008752/0.504, allocations: 271.8 kB / 0.5041 GB, free: 13.21 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003392/0.5043, allocations: 254.2 kB / 0.5043 GB, free: 12.91 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004392/0.5048, allocations: 162.7 kB / 0.5045 GB, free: 12.75 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002293/0.505, allocations: 80.86 kB / 0.5045 GB, free: 12.66 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.567e-05/0.505, allocations: 11.98 kB / 0.5046 GB, free: 12.65 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.272e-05/0.5051, allocations: 34.56 kB / 0.5046 GB, free: 12.61 MB / 430.1 MB Notification: Performance of pre-optimization done (n=17): time 1.262e-06/0.5051, allocations: 0 / 0.5046 GB, free: 12.61 MB / 430.1 MB Notification: Performance of matching and sorting (n=24): time 0.002274/0.5074, allocations: 0.573 MB / 0.5051 GB, free: 12.03 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.822e-05/0.5074, allocations: 59.34 kB / 0.5052 GB, free: 11.96 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001142/0.5076, allocations: 106.8 kB / 0.5053 GB, free: 11.85 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.599e-05/0.5076, allocations: 33.7 kB / 0.5053 GB, free: 11.81 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.879e-05/0.5077, allocations: 84.58 kB / 0.5054 GB, free: 11.72 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.493e-05/0.5078, allocations: 82.75 kB / 0.5055 GB, free: 11.64 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001137/0.5079, allocations: 41.7 kB / 0.5055 GB, free: 11.59 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001497/0.508, allocations: 326.8 kB / 0.5059 GB, free: 11.27 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003169/0.5084, allocations: 103.9 kB / 0.506 GB, free: 11.16 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003088/0.5087, allocations: 100.8 kB / 0.506 GB, free: 11.07 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006427/0.5093, allocations: 228.3 kB / 0.5063 GB, free: 10.84 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.5093, allocations: 0 / 0.5063 GB, free: 10.84 MB / 430.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0007794/0.5101, allocations: 281.3 kB / 0.5065 GB, free: 10.56 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.819e-05/0.5102, allocations: 8 kB / 0.5065 GB, free: 10.55 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.166e-06/0.5102, allocations: 3.938 kB / 0.5065 GB, free: 10.55 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.671e-05/0.5102, allocations: 3.938 kB / 0.5065 GB, free: 10.55 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004656/0.5107, allocations: 63.83 kB / 0.5066 GB, free: 10.48 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.282e-06/0.5107, allocations: 0 / 0.5066 GB, free: 10.48 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002835/0.511, allocations: 15.98 kB / 0.5066 GB, free: 10.47 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.566e-05/0.511, allocations: 12 kB / 0.5066 GB, free: 10.46 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (24): * Single equations (assignments): 24 * 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.0001284/0.5112, allocations: 125.8 kB / 0.5068 GB, free: 10.32 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.793e-05/0.5112, allocations: 7.906 kB / 0.5068 GB, free: 10.32 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001032/0.5122, allocations: 354.3 kB / 0.5071 GB, free: 9.969 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.921e-06/0.5123, allocations: 3.938 kB / 0.5071 GB, free: 9.965 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.5123, allocations: 0 / 0.5071 GB, free: 9.965 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.192e-06/0.5123, allocations: 7.984 kB / 0.5071 GB, free: 9.957 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001645/0.5139, allocations: 0.7311 MB / 0.5078 GB, free: 9.156 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.514, allocations: 0 / 0.5078 GB, free: 9.156 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004321/0.5144, allocations: 59.89 kB / 0.5079 GB, free: 9.098 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.047e-06/0.5144, allocations: 0 / 0.5079 GB, free: 9.098 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.527e-05/0.5145, allocations: 12 kB / 0.5079 GB, free: 9.086 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.936e-06/0.5145, allocations: 0 / 0.5079 GB, free: 9.086 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.471e-06/0.5145, allocations: 7.984 kB / 0.5079 GB, free: 9.078 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008369/0.5153, allocations: 415.6 kB / 0.5083 GB, free: 8.641 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.592e-05/0.5154, allocations: 85.02 kB / 0.5084 GB, free: 8.539 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.144e-05/0.5154, allocations: 4 kB / 0.5084 GB, free: 8.535 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003192/0.5158, allocations: 15.98 kB / 0.5084 GB, free: 8.52 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.485e-05/0.5158, allocations: 23.91 kB / 0.5084 GB, free: 8.496 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.174e-05/0.5159, allocations: 15.94 kB / 0.5084 GB, free: 8.484 MB / 430.1 MB Notification: Performance of sorting global known variables: time 5.538e-05/0.5159, allocations: 91.27 kB / 0.5085 GB, free: 8.395 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.5159, allocations: 0 / 0.5085 GB, free: 8.395 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003651/0.5163, allocations: 56 kB / 0.5086 GB, free: 8.34 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (26): * Single equations (assignments): 26 * 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.0002628/0.5166, allocations: 139 kB / 0.5087 GB, free: 8.195 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0007894/0.5174, allocations: 259.3 kB / 0.509 GB, free: 7.945 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.5174, allocations: 0 / 0.509 GB, free: 7.945 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003683/0.5178, allocations: 140.1 kB / 0.5091 GB, free: 7.809 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005787/0.5183, allocations: 64.34 kB / 0.5092 GB, free: 7.746 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009964/0.5194, allocations: 372.3 kB / 0.5095 GB, free: 7.336 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003605/0.5197, allocations: 0.7008 MB / 0.5102 GB, free: 6.609 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002072/0.5199, allocations: 39.41 kB / 0.5102 GB, free: 6.57 MB / 430.1 MB Notification: Performance of SimCode: time 3.11e-07/0.5199, allocations: 0 / 0.5102 GB, free: 6.57 MB / 430.1 MB Notification: Performance of Templates: time 0.005524/0.5255, allocations: 2.908 MB / 0.5131 GB, free: 3.66 MB / 430.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Media.Examples.IdealGasH2O.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Media.Examples.IdealGasH2O.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Media.Examples.IdealGasH2O.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Media.Examples.IdealGasH2O.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Media.Examples.IdealGasH2O.sim & ./Modelica_4.1.0-beta.om_Modelica.Media.Examples.IdealGasH2O -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Media.Examples.IdealGasH2O.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Media.Examples.IdealGasH2O_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/IdealGasH2O/IdealGasH2O.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Media.Examples.IdealGasH2O.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches