Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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.672/1.672, allocations: 171.2 MB / 187.3 MB, free: 1.121 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004799/0.0004802, allocations: 8 kB / 233.8 MB, free: 3.074 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0861/0.0866, allocations: 38.75 MB / 272.5 MB, free: 12.24 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.263/1.349, allocations: 432.3 MB / 0.6883 GB, free: 24.71 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000213/1.35, allocations: 71.22 kB / 0.6884 GB, free: 24.67 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08573/1.435, allocations: 24.92 MB / 0.7127 GB, free: 3.172 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.354e-06/1.435, allocations: 0 / 0.7127 GB, free: 3.172 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.785e-06/1.435, allocations: 4 kB / 0.7128 GB, free: 3.168 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.001077/1.436, allocations: 439 kB / 0.7132 GB, free: 2.691 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.926e-05/1.437, allocations: 8.031 kB / 0.7132 GB, free: 2.684 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01023/1.447, allocations: 467.7 kB / 0.7136 GB, free: 2.227 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001099/1.447, allocations: 167 kB / 0.7138 GB, free: 2.023 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.414e-05/1.447, allocations: 8 kB / 0.7138 GB, free: 2.016 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001311/1.447, allocations: 4 kB / 0.7138 GB, free: 2.012 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00134/1.448, allocations: 302.4 kB / 0.7141 GB, free: 1.711 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.865e-05/1.449, allocations: 0 / 0.7141 GB, free: 1.711 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.836e-05/1.449, allocations: 0 / 0.7141 GB, free: 1.711 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.063e-06/1.449, allocations: 7.938 kB / 0.7141 GB, free: 1.703 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001416/1.45, allocations: 283.6 kB / 0.7144 GB, free: 1.426 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001463/1.452, allocations: 424.6 kB / 0.7148 GB, free: 0.9609 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00174/1.453, allocations: 214.5 kB / 0.715 GB, free: 0.7422 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.695e-05/1.453, allocations: 256 / 0.715 GB, free: 0.7422 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.941e-05/1.453, allocations: 38.56 kB / 0.715 GB, free: 0.6953 MB / 362.7 MB Notification: Performance of pre-optimization done (n=13): time 1.994e-06/1.453, allocations: 0 / 0.715 GB, free: 0.6953 MB / 362.7 MB Notification: Performance of matching and sorting (n=17): time 0.003092/1.456, allocations: 431.7 kB / 0.7154 GB, free: 276 kB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.981e-05/1.457, allocations: 55.34 kB / 0.7155 GB, free: 208 kB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.579e-05/1.457, allocations: 101.8 kB / 0.7156 GB, free: 96 kB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.926e-05/1.457, allocations: 33.7 kB / 0.7156 GB, free: 56 kB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.227/1.684, allocations: 158.2 kB / 0.7158 GB, free: 120.8 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000121/1.684, allocations: 58.67 kB / 0.7158 GB, free: 120.8 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.363e-05/1.684, allocations: 3.375 kB / 0.7158 GB, free: 120.8 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.755e-05/1.684, allocations: 322.3 kB / 0.7161 GB, free: 120.5 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000538/1.685, allocations: 76.98 kB / 0.7162 GB, free: 120.5 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005369/1.685, allocations: 120.6 kB / 0.7163 GB, free: 120.4 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005379/1.686, allocations: 82.56 kB / 0.7164 GB, free: 120.4 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/1.686, allocations: 0 / 0.7164 GB, free: 120.4 MB / 362.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001253/1.687, allocations: 246 kB / 0.7166 GB, free: 120.4 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.187e-05/1.687, allocations: 7.5 kB / 0.7166 GB, free: 120.4 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.336e-06/1.687, allocations: 3.344 kB / 0.7166 GB, free: 120.4 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.517e-05/1.687, allocations: 2.5 kB / 0.7166 GB, free: 120.4 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006671/1.688, allocations: 51.92 kB / 0.7167 GB, free: 120.4 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.152e-05/1.688, allocations: 3.453 kB / 0.7167 GB, free: 120.4 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004337/1.688, allocations: 18.34 kB / 0.7167 GB, free: 120.4 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.731e-05/1.688, allocations: 13.16 kB / 0.7167 GB, free: 120.4 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 () * 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.0001343/1.688, allocations: 119.1 kB / 0.7168 GB, free: 120.3 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.152e-05/1.689, allocations: 7.812 kB / 0.7168 GB, free: 120.3 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001481/1.69, allocations: 279.5 kB / 0.7171 GB, free: 120.2 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.494e-06/1.69, allocations: 4.984 kB / 0.7171 GB, free: 120.2 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.269e-06/1.69, allocations: 0 / 0.7171 GB, free: 120.2 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.98e-06/1.69, allocations: 1.375 kB / 0.7171 GB, free: 120.2 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001977/1.692, allocations: 0.5689 MB / 0.7177 GB, free: 119.9 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.414e-06/1.692, allocations: 2.078 kB / 0.7177 GB, free: 119.9 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005914/1.693, allocations: 47.11 kB / 0.7177 GB, free: 119.9 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.614e-06/1.693, allocations: 2.359 kB / 0.7177 GB, free: 119.9 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.189e-05/1.693, allocations: 10.78 kB / 0.7177 GB, free: 119.9 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.482e-06/1.693, allocations: 2.172 kB / 0.7177 GB, free: 119.9 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/1.693, allocations: 1.594 kB / 0.7177 GB, free: 119.9 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001138/1.694, allocations: 334.6 kB / 0.718 GB, free: 119.8 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.177e-05/1.694, allocations: 88.64 kB / 0.7181 GB, free: 119.7 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.274e-05/1.694, allocations: 4.984 kB / 0.7181 GB, free: 119.7 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004368/1.695, allocations: 13.78 kB / 0.7181 GB, free: 119.7 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.258e-05/1.695, allocations: 17.77 kB / 0.7182 GB, free: 119.7 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.7e-05/1.695, allocations: 14.02 kB / 0.7182 GB, free: 119.7 MB / 362.7 MB Notification: Performance of sorting global known variables: time 3.655e-05/1.695, allocations: 78.8 kB / 0.7183 GB, free: 119.6 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.4e-07/1.695, allocations: 0 / 0.7183 GB, free: 119.6 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0006471/1.695, allocations: 79.98 kB / 0.7183 GB, free: 119.6 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 () * 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.0009995/1.696, allocations: 0.5166 MB / 0.7188 GB, free: 119.5 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001238/1.698, allocations: 194.3 kB / 0.719 GB, free: 119.5 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.1e-06/1.698, allocations: 0 / 0.719 GB, free: 119.5 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000562/1.698, allocations: 104.7 kB / 0.7191 GB, free: 119.5 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005497/1.699, allocations: 40.86 kB / 0.7192 GB, free: 119.5 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001377/1.7, allocations: 341.5 kB / 0.7195 GB, free: 119.3 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001944/1.7, allocations: 0.6994 MB / 0.7202 GB, free: 118.6 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003555/1.701, allocations: 35.06 kB / 0.7202 GB, free: 118.6 MB / 362.7 MB Notification: Performance of SimCode: time 1.343e-06/1.701, allocations: 0.5312 kB / 0.7202 GB, free: 118.6 MB / 362.7 MB Notification: Performance of Templates: time 0.01273/1.714, allocations: 4.834 MB / 0.7249 GB, free: 118.2 MB / 362.7 MB