Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_cpp_Modelica.Media.Examples.IdealGasH2O.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/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.1_cpp_Modelica.Media.Examples.IdealGasH2O") Notification: Performance of loadModel(Modelica): time 1.709/1.709, allocations: 171.2 MB / 184.2 MB, free: 12.07 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.267e-05/2.285e-05, allocations: 0 / 228.8 MB, free: 15.45 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2051/0.2052, allocations: 38.77 MB / 267.6 MB, free: 9.453 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.066/1.271, allocations: 432.3 MB / 0.6834 GB, free: 96.16 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001917/1.271, allocations: 67.34 kB / 0.6835 GB, free: 96.09 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07621/1.348, allocations: 24.83 MB / 0.7078 GB, free: 71.17 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.893e-06/1.348, allocations: 8 kB / 0.7078 GB, free: 71.16 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.53e-06/1.348, allocations: 0 / 0.7078 GB, free: 71.16 MB / 362.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.0007644/1.348, allocations: 430.1 kB / 0.7082 GB, free: 70.7 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.994e-05/1.348, allocations: 8.031 kB / 0.7082 GB, free: 70.69 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006354/1.355, allocations: 467.2 kB / 0.7086 GB, free: 70.23 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.639e-05/1.355, allocations: 167 kB / 0.7088 GB, free: 70.03 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.068e-05/1.355, allocations: 8 kB / 0.7088 GB, free: 70.02 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.495e-05/1.355, allocations: 11.94 kB / 0.7088 GB, free: 70.01 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006234/1.356, allocations: 258.5 kB / 0.7091 GB, free: 69.75 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.353e-05/1.356, allocations: 0 / 0.7091 GB, free: 69.75 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.036e-05/1.356, allocations: 8 kB / 0.7091 GB, free: 69.75 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.521e-06/1.356, allocations: 7.922 kB / 0.7091 GB, free: 69.74 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006258/1.357, allocations: 235.8 kB / 0.7093 GB, free: 69.51 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001029/1.358, allocations: 420.9 kB / 0.7097 GB, free: 69.05 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009381/1.359, allocations: 194.5 kB / 0.7099 GB, free: 68.85 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000144/1.359, allocations: 60.84 kB / 0.7099 GB, free: 68.79 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.227e-05/1.359, allocations: 7.938 kB / 0.7099 GB, free: 68.78 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.602e-05/1.359, allocations: 34.81 kB / 0.71 GB, free: 68.73 MB / 362.7 MB Notification: Performance of pre-optimization done (n=13): time 2.926e-06/1.359, allocations: 0 / 0.71 GB, free: 68.73 MB / 362.7 MB Notification: Performance of matching and sorting (n=17): time 0.001318/1.36, allocations: 311.3 kB / 0.7103 GB, free: 68.43 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.761e-05/1.36, allocations: 55.41 kB / 0.7103 GB, free: 68.36 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.032e-05/1.36, allocations: 96.98 kB / 0.7104 GB, free: 68.26 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.696e-05/1.36, allocations: 25.7 kB / 0.7104 GB, free: 68.23 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.035e-05/1.36, allocations: 174.3 kB / 0.7106 GB, free: 68.05 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.044e-05/1.36, allocations: 51.2 kB / 0.7107 GB, free: 68 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.304e-05/1.36, allocations: 4 kB / 0.7107 GB, free: 68 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 5.275e-05/1.36, allocations: 322.8 kB / 0.711 GB, free: 67.68 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001612/1.361, allocations: 68.36 kB / 0.711 GB, free: 67.61 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001755/1.361, allocations: 93.03 kB / 0.7111 GB, free: 67.5 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001689/1.361, allocations: 63.92 kB / 0.7112 GB, free: 67.44 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.119e-06/1.361, allocations: 4 kB / 0.7112 GB, free: 67.43 MB / 362.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004793/1.362, allocations: 207.7 kB / 0.7114 GB, free: 67.23 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.647e-05/1.362, allocations: 4 kB / 0.7114 GB, free: 67.22 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.016e-06/1.362, allocations: 4 kB / 0.7114 GB, free: 67.22 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.882e-05/1.362, allocations: 0 / 0.7114 GB, free: 67.22 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004586/1.362, allocations: 55.89 kB / 0.7114 GB, free: 67.16 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.15e-05/1.362, allocations: 7.984 kB / 0.7115 GB, free: 67.16 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003013/1.362, allocations: 16.11 kB / 0.7115 GB, free: 67.14 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.473e-05/1.362, allocations: 15.94 kB / 0.7115 GB, free: 67.12 MB / 362.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 () * 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 8.68e-05/1.363, allocations: 112.9 kB / 0.7116 GB, free: 67.01 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.035e-05/1.363, allocations: 11.91 kB / 0.7116 GB, free: 67 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007032/1.363, allocations: 237.8 kB / 0.7118 GB, free: 66.75 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.837e-06/1.363, allocations: 0 / 0.7118 GB, free: 66.75 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.365e-06/1.363, allocations: 0 / 0.7118 GB, free: 66.75 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.87e-06/1.363, allocations: 0 / 0.7118 GB, free: 66.75 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001034/1.364, allocations: 0.5428 MB / 0.7124 GB, free: 66.15 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.749e-06/1.364, allocations: 0 / 0.7124 GB, free: 66.15 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004054/1.365, allocations: 43.95 kB / 0.7124 GB, free: 66.11 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.019e-06/1.365, allocations: 0 / 0.7124 GB, free: 66.11 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.025e-05/1.365, allocations: 11.94 kB / 0.7124 GB, free: 66.09 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.101e-06/1.365, allocations: 4 kB / 0.7124 GB, free: 66.09 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.39e-06/1.365, allocations: 7.938 kB / 0.7124 GB, free: 66.08 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004495/1.365, allocations: 315.3 kB / 0.7127 GB, free: 65.74 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.79e-05/1.365, allocations: 89.02 kB / 0.7128 GB, free: 65.64 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.182e-05/1.366, allocations: 7.953 kB / 0.7128 GB, free: 65.63 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003049/1.366, allocations: 11.98 kB / 0.7128 GB, free: 65.62 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.584e-05/1.366, allocations: 19.97 kB / 0.7129 GB, free: 65.6 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.269e-05/1.366, allocations: 8 kB / 0.7129 GB, free: 65.59 MB / 362.7 MB Notification: Performance of sorting global known variables: time 3.018e-05/1.366, allocations: 79.28 kB / 0.7129 GB, free: 65.51 MB / 362.7 MB Notification: Performance of sort global known variables: time 7.06e-07/1.366, allocations: 0 / 0.7129 GB, free: 65.51 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005632/1.367, allocations: 79.98 kB / 0.713 GB, free: 65.43 MB / 362.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 () * 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.0006541/1.367, allocations: 0.5097 MB / 0.7135 GB, free: 64.92 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004081/1.368, allocations: 151.9 kB / 0.7137 GB, free: 64.77 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.065e-06/1.368, allocations: 0 / 0.7137 GB, free: 64.77 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001863/1.368, allocations: 91.84 kB / 0.7137 GB, free: 64.68 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003857/1.368, allocations: 33.44 kB / 0.7138 GB, free: 64.65 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00064/1.369, allocations: 196.7 kB / 0.714 GB, free: 64.43 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001308/1.369, allocations: 0.6935 MB / 0.7146 GB, free: 63.7 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002402/1.369, allocations: 39.39 kB / 0.7147 GB, free: 63.66 MB / 362.7 MB Notification: Performance of SimCode: time 1.589e-06/1.369, allocations: 4 kB / 0.7147 GB, free: 63.66 MB / 362.7 MB Notification: Performance of Templates: time 0.007431/1.377, allocations: 4.822 MB / 0.7194 GB, free: 58.83 MB / 362.7 MB