Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Media.Examples.IdealGasH2O.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/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.2_Modelica.Media.Examples.IdealGasH2O") Notification: Performance of loadModel(Modelica): time 2.055/2.055, allocations: 194.9 MB / 211.7 MB, free: 2.996 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003583/0.0003583, allocations: 8 kB / 264.5 MB, free: 12.95 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09869/0.09907, allocations: 44.5 MB / 309 MB, free: 388 kB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.404/1.504, allocations: 438.1 MB / 0.7296 GB, free: 100 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002451/1.504, allocations: 71.34 kB / 0.7297 GB, free: 100 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08607/1.59, allocations: 24.92 MB / 0.754 GB, free: 79.01 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.934e-06/1.59, allocations: 8 kB / 0.754 GB, free: 79 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.961e-06/1.59, allocations: 0 / 0.754 GB, free: 79 MB / 410.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.001115/1.591, allocations: 430.2 kB / 0.7544 GB, free: 78.54 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.674e-05/1.591, allocations: 8.031 kB / 0.7544 GB, free: 78.54 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009953/1.601, allocations: 463.7 kB / 0.7549 GB, free: 78.12 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001027/1.601, allocations: 167 kB / 0.755 GB, free: 77.91 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.412e-05/1.601, allocations: 4 kB / 0.755 GB, free: 77.91 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001323/1.602, allocations: 7.75 kB / 0.7551 GB, free: 77.91 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001237/1.603, allocations: 302.7 kB / 0.7553 GB, free: 77.67 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.551e-05/1.603, allocations: 0 / 0.7553 GB, free: 77.67 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.056e-05/1.603, allocations: 7.391 kB / 0.7554 GB, free: 77.67 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.032e-06/1.603, allocations: 4 kB / 0.7554 GB, free: 77.66 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001382/1.604, allocations: 279.4 kB / 0.7556 GB, free: 77.47 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001423/1.606, allocations: 417.7 kB / 0.756 GB, free: 77.06 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00168/1.607, allocations: 221.6 kB / 0.7562 GB, free: 76.88 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.716e-05/1.607, allocations: 0 / 0.7562 GB, free: 76.88 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.875e-05/1.608, allocations: 38.56 kB / 0.7563 GB, free: 76.84 MB / 410.7 MB Notification: Performance of pre-optimization done (n=13): time 1.873e-06/1.608, allocations: 0 / 0.7563 GB, free: 76.84 MB / 410.7 MB Notification: Performance of matching and sorting (n=17): time 0.002873/1.61, allocations: 421 kB / 0.7567 GB, free: 76.52 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.244e-05/1.61, allocations: 58.72 kB / 0.7567 GB, free: 76.45 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.839e-05/1.611, allocations: 109.5 kB / 0.7568 GB, free: 76.34 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.194e-05/1.611, allocations: 25.7 kB / 0.7569 GB, free: 76.3 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.579e-05/1.611, allocations: 95.83 kB / 0.7569 GB, free: 76.21 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.382e-05/1.611, allocations: 66.08 kB / 0.757 GB, free: 76.15 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.732e-05/1.611, allocations: 0 / 0.757 GB, free: 76.15 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.193e-05/1.611, allocations: 322.7 kB / 0.7573 GB, free: 75.83 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000437/1.611, allocations: 77.44 kB / 0.7574 GB, free: 75.77 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004575/1.612, allocations: 116.8 kB / 0.7575 GB, free: 75.67 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004591/1.612, allocations: 79.97 kB / 0.7576 GB, free: 75.62 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/1.612, allocations: 3.938 kB / 0.7576 GB, free: 75.62 MB / 410.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001084/1.613, allocations: 242.5 kB / 0.7578 GB, free: 75.43 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.111e-05/1.613, allocations: 11.98 kB / 0.7578 GB, free: 75.42 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/1.613, allocations: 0 / 0.7578 GB, free: 75.42 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.96e-05/1.613, allocations: 4 kB / 0.7578 GB, free: 75.41 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006233/1.614, allocations: 55.64 kB / 0.7579 GB, free: 75.36 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.197e-06/1.614, allocations: 3.938 kB / 0.7579 GB, free: 75.36 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004128/1.615, allocations: 15.94 kB / 0.7579 GB, free: 75.34 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.852e-05/1.615, allocations: 15.56 kB / 0.7579 GB, free: 75.33 MB / 410.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001229/1.615, allocations: 121.5 kB / 0.758 GB, free: 75.21 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.738e-05/1.615, allocations: 11.89 kB / 0.758 GB, free: 75.2 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001314/1.616, allocations: 270.3 kB / 0.7583 GB, free: 75 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.951e-06/1.616, allocations: 3.984 kB / 0.7583 GB, free: 74.99 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/1.616, allocations: 4 kB / 0.7583 GB, free: 74.99 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.96e-06/1.616, allocations: 0 / 0.7583 GB, free: 74.99 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001769/1.618, allocations: 0.5743 MB / 0.7589 GB, free: 74.44 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/1.618, allocations: 4 kB / 0.7589 GB, free: 74.43 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005552/1.619, allocations: 51.97 kB / 0.7589 GB, free: 74.38 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.852e-06/1.619, allocations: 0 / 0.7589 GB, free: 74.38 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.467e-05/1.619, allocations: 7.375 kB / 0.7589 GB, free: 74.38 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.449e-06/1.619, allocations: 0 / 0.7589 GB, free: 74.38 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.075e-06/1.619, allocations: 4 kB / 0.7589 GB, free: 74.38 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001027/1.62, allocations: 331.9 kB / 0.7592 GB, free: 74.08 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.143e-05/1.62, allocations: 81.11 kB / 0.7593 GB, free: 73.98 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.624e-05/1.62, allocations: 7.703 kB / 0.7593 GB, free: 73.98 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004154/1.62, allocations: 11.98 kB / 0.7593 GB, free: 73.97 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.42e-05/1.62, allocations: 11.61 kB / 0.7594 GB, free: 73.96 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.919e-05/1.62, allocations: 15.98 kB / 0.7594 GB, free: 73.95 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.824e-05/1.62, allocations: 79.28 kB / 0.7594 GB, free: 73.87 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.7e-07/1.62, allocations: 3.938 kB / 0.7595 GB, free: 73.86 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00064/1.621, allocations: 81.11 kB / 0.7595 GB, free: 73.81 MB / 410.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00079/1.622, allocations: 0.5151 MB / 0.76 GB, free: 73.29 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001029/1.623, allocations: 193.9 kB / 0.7602 GB, free: 73.15 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/1.623, allocations: 0 / 0.7602 GB, free: 73.15 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000471/1.623, allocations: 104.6 kB / 0.7603 GB, free: 73.07 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004662/1.624, allocations: 39.27 kB / 0.7604 GB, free: 73.04 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001158/1.625, allocations: 321.4 kB / 0.7607 GB, free: 72.71 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001514/1.625, allocations: 0.6935 MB / 0.7613 GB, free: 71.99 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0006671/1.626, allocations: 56.59 kB / 0.7614 GB, free: 71.94 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002539/1.626, allocations: 31.11 kB / 0.7614 GB, free: 71.91 MB / 410.7 MB Notification: Performance of SimCode: time 1.302e-06/1.626, allocations: 0 / 0.7614 GB, free: 71.91 MB / 410.7 MB Notification: Performance of Templates: time 0.02003/1.646, allocations: 9.078 MB / 0.7703 GB, free: 62.84 MB / 410.7 MB