Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.IdealGasH2O.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00153/0.00153, allocations: 174 kB / 17.36 MB, free: 4.316 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.277/1.277, allocations: 205.6 MB / 223.7 MB, free: 8.938 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007276/0.0007277, allocations: 90.53 kB / 272.1 MB, free: 8.109 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002287/0.0002287, allocations: 4 kB / 329 MB, free: 15.06 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1936/0.1939, allocations: 47.58 MB / 376.6 MB, free: 45.57 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.IdealGasH2O): time 0.3057/0.4996, allocations: 138.6 MB / 0.5032 GB, free: 2.25 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001624/0.5013, allocations: 2.484 MB / 0.5056 GB, free: 17.01 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.705e-05/0.5013, allocations: 0 / 0.5056 GB, free: 17.01 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001321/0.5014, allocations: 19.98 kB / 0.5056 GB, free: 17.01 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006057/0.5021, allocations: 268.9 kB / 0.5059 GB, free: 17 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000124/0.5022, allocations: 58.12 kB / 0.5059 GB, free: 17 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 7.283e-05/0.5023, allocations: 73.88 kB / 0.506 GB, free: 17 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.688e-05/0.5023, allocations: 2.531 kB / 0.506 GB, free: 17 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.965e-05/0.5024, allocations: 33.67 kB / 0.506 GB, free: 17 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.392e-05/0.5025, allocations: 29.22 kB / 0.506 GB, free: 17 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 9.278e-06/0.5025, allocations: 3.062 kB / 0.506 GB, free: 17 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005714/0.5031, allocations: 362.1 kB / 0.5064 GB, free: 16.99 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 1.151e-05/0.5031, allocations: 9.938 kB / 0.5064 GB, free: 16.99 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 4.744e-05/0.5031, allocations: 53.05 kB / 0.5065 GB, free: 16.96 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004015/0.5036, allocations: 302.2 kB / 0.5067 GB, free: 16.94 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.5036, allocations: 0 / 0.5067 GB, free: 16.94 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.353e-06/0.5036, allocations: 0 / 0.5067 GB, free: 16.94 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.048e-06/0.5036, allocations: 1.312 kB / 0.5067 GB, free: 16.94 MB / 394.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.0007204/0.5043, allocations: 428.3 kB / 0.5072 GB, free: 16.56 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.562e-05/0.5044, allocations: 8.562 kB / 0.5072 GB, free: 16.56 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005458/0.5098, allocations: 451.7 kB / 0.5076 GB, free: 16.55 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.977e-05/0.5099, allocations: 169.4 kB / 0.5078 GB, free: 16.35 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.497e-05/0.51, allocations: 10.78 kB / 0.5078 GB, free: 16.35 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.083e-05/0.51, allocations: 9.312 kB / 0.5078 GB, free: 16.35 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006445/0.5107, allocations: 310.5 kB / 0.5081 GB, free: 16.3 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.172e-05/0.5107, allocations: 0 / 0.5081 GB, free: 16.3 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.202e-05/0.5108, allocations: 3.188 kB / 0.5081 GB, free: 16.3 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.01e-06/0.5108, allocations: 1.75 kB / 0.5081 GB, free: 16.3 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006895/0.5115, allocations: 273.6 kB / 0.5083 GB, free: 16.3 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008585/0.5123, allocations: 430.1 kB / 0.5087 GB, free: 16.01 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000867/0.5132, allocations: 205.7 kB / 0.5089 GB, free: 15.98 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001651/0.5134, allocations: 73.02 kB / 0.509 GB, free: 15.97 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.172e-05/0.5134, allocations: 7.188 kB / 0.509 GB, free: 15.96 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.15e-05/0.5135, allocations: 37.62 kB / 0.5091 GB, free: 15.92 MB / 394.7 MB Notification: Performance of pre-optimization done (n=13): time 2.215e-06/0.5135, allocations: 0 / 0.5091 GB, free: 15.92 MB / 394.7 MB Notification: Performance of matching and sorting (n=17): time 0.001466/0.5149, allocations: 422.7 kB / 0.5095 GB, free: 15.86 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.484e-05/0.515, allocations: 58.02 kB / 0.5095 GB, free: 15.8 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.722e-05/0.5151, allocations: 98.61 kB / 0.5096 GB, free: 15.7 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.427e-05/0.5151, allocations: 25.7 kB / 0.5096 GB, free: 15.67 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.83e-05/0.5151, allocations: 102.4 kB / 0.5097 GB, free: 15.58 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.51e-05/0.5152, allocations: 58.69 kB / 0.5098 GB, free: 15.54 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.682e-05/0.5152, allocations: 4 kB / 0.5098 GB, free: 15.54 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.733e-05/0.5153, allocations: 320.1 kB / 0.5101 GB, free: 15.22 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002247/0.5155, allocations: 81.03 kB / 0.5102 GB, free: 15.22 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002273/0.5158, allocations: 117.3 kB / 0.5103 GB, free: 15.18 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004399/0.5162, allocations: 194.2 kB / 0.5105 GB, free: 15.14 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.5162, allocations: 3.188 kB / 0.5105 GB, free: 15.14 MB / 394.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0005711/0.5168, allocations: 249.1 kB / 0.5107 GB, free: 15.09 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.341e-05/0.5168, allocations: 6.469 kB / 0.5107 GB, free: 15.09 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.5168, allocations: 0 / 0.5107 GB, free: 15.09 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.582e-05/0.5169, allocations: 1.969 kB / 0.5107 GB, free: 15.09 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003496/0.5172, allocations: 58.55 kB / 0.5108 GB, free: 15.09 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.282e-06/0.5172, allocations: 0 / 0.5108 GB, free: 15.09 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000238/0.5175, allocations: 14.11 kB / 0.5108 GB, free: 15.09 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.24e-05/0.5175, allocations: 12.56 kB / 0.5108 GB, free: 15.09 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.0001003/0.5176, allocations: 129.7 kB / 0.5109 GB, free: 14.97 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.524e-05/0.5177, allocations: 11.38 kB / 0.5109 GB, free: 14.96 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007247/0.5184, allocations: 274.8 kB / 0.5112 GB, free: 14.92 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.5184, allocations: 2.188 kB / 0.5112 GB, free: 14.92 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.5184, allocations: 0 / 0.5112 GB, free: 14.92 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.5184, allocations: 0 / 0.5112 GB, free: 14.92 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001155/0.5196, allocations: 0.5867 MB / 0.5118 GB, free: 14.59 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.5196, allocations: 1.25 kB / 0.5118 GB, free: 14.59 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003276/0.5199, allocations: 51.94 kB / 0.5118 GB, free: 14.58 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.038e-06/0.5199, allocations: 5.891 kB / 0.5118 GB, free: 14.58 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.147e-05/0.52, allocations: 7.375 kB / 0.5118 GB, free: 14.58 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.395e-06/0.52, allocations: 1.781 kB / 0.5118 GB, free: 14.58 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/0.52, allocations: 0 / 0.5118 GB, free: 14.58 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005759/0.5206, allocations: 334.9 kB / 0.5122 GB, free: 14.42 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.877e-05/0.5206, allocations: 81.02 kB / 0.5122 GB, free: 14.32 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.229e-05/0.5207, allocations: 7.062 kB / 0.5122 GB, free: 14.32 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000257/0.5209, allocations: 15.66 kB / 0.5123 GB, free: 14.32 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.177e-05/0.521, allocations: 16.97 kB / 0.5123 GB, free: 14.32 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.44e-05/0.521, allocations: 20.05 kB / 0.5123 GB, free: 14.31 MB / 394.7 MB Notification: Performance of sorting global known variables: time 3.666e-05/0.521, allocations: 80.47 kB / 0.5124 GB, free: 14.23 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.521, allocations: 0 / 0.5124 GB, free: 14.23 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002928/0.5213, allocations: 48.86 kB / 0.5124 GB, free: 14.23 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.0001906/0.5215, allocations: 129 kB / 0.5125 GB, free: 14.13 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0005373/0.5221, allocations: 192.3 kB / 0.5127 GB, free: 14.13 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.5221, allocations: 0 / 0.5127 GB, free: 14.13 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002422/0.5223, allocations: 106.3 kB / 0.5128 GB, free: 14.13 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003893/0.5227, allocations: 38.55 kB / 0.5129 GB, free: 14.12 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007004/0.5234, allocations: 320.6 kB / 0.5132 GB, free: 13.94 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002335/0.5237, allocations: 0.6928 MB / 0.5138 GB, free: 13.25 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0003795/0.5241, allocations: 55.73 kB / 0.5139 GB, free: 13.21 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001446/0.5242, allocations: 36.09 kB / 0.5139 GB, free: 13.21 MB / 394.7 MB Notification: Performance of SimCode: time 2.41e-07/0.5242, allocations: 0 / 0.5139 GB, free: 13.21 MB / 394.7 MB Notification: Performance of Templates: time 0.005723/0.53, allocations: 2.919 MB / 0.5168 GB, free: 13.02 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/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