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/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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.648/1.648, allocations: 171.3 MB / 179.2 MB, free: 7.566 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.31e-05/2.323e-05, allocations: 0 / 222.5 MB, free: 8.719 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07137/0.07143, allocations: 38.77 MB / 261.3 MB, free: 1.859 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.159/1.23, allocations: 431.6 MB / 0.6766 GB, free: 126.1 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001916/1.231, allocations: 64.27 kB / 0.6767 GB, free: 126.1 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07593/1.307, allocations: 24.35 MB / 0.7005 GB, free: 108.1 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.922e-06/1.307, allocations: 0 / 0.7005 GB, free: 108.1 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.69e-06/1.307, allocations: 0 / 0.7005 GB, free: 108.1 MB / 346.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.0007703/1.307, allocations: 434.1 kB / 0.7009 GB, free: 107.6 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.725e-05/1.307, allocations: 8.031 kB / 0.7009 GB, free: 107.6 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006155/1.314, allocations: 459.8 kB / 0.7013 GB, free: 107.2 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.379e-05/1.314, allocations: 174.9 kB / 0.7015 GB, free: 106.9 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.723e-05/1.314, allocations: 4 kB / 0.7015 GB, free: 106.9 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001015/1.314, allocations: 4 kB / 0.7015 GB, free: 106.9 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005791/1.314, allocations: 223.9 kB / 0.7017 GB, free: 106.7 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002213/1.315, allocations: 109.6 kB / 0.7018 GB, free: 106.6 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.597e-05/1.315, allocations: 3.984 kB / 0.7018 GB, free: 106.6 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.362e-05/1.315, allocations: 0 / 0.7018 GB, free: 106.6 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.706e-06/1.315, allocations: 7.984 kB / 0.7018 GB, free: 106.6 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009897/1.316, allocations: 389.1 kB / 0.7022 GB, free: 106.2 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008461/1.317, allocations: 194.4 kB / 0.7024 GB, free: 106 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001192/1.317, allocations: 52.81 kB / 0.7024 GB, free: 105.9 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.126e-05/1.317, allocations: 11.94 kB / 0.7024 GB, free: 105.9 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.632e-05/1.317, allocations: 38.48 kB / 0.7025 GB, free: 105.9 MB / 346.7 MB Notification: Performance of pre-optimization done (n=13): time 2.591e-06/1.317, allocations: 0 / 0.7025 GB, free: 105.9 MB / 346.7 MB Notification: Performance of matching and sorting (n=17): time 0.001222/1.318, allocations: 296.6 kB / 0.7028 GB, free: 105.6 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.059e-05/1.318, allocations: 55.41 kB / 0.7028 GB, free: 105.5 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.561e-05/1.318, allocations: 96.91 kB / 0.7029 GB, free: 105.4 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.784e-05/1.318, allocations: 25.7 kB / 0.7029 GB, free: 105.4 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.45e-05/1.318, allocations: 162.4 kB / 0.7031 GB, free: 105.2 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.948e-05/1.318, allocations: 59.11 kB / 0.7031 GB, free: 105.2 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.118e-05/1.318, allocations: 4 kB / 0.7032 GB, free: 105.2 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.209e-05/1.318, allocations: 318.8 kB / 0.7035 GB, free: 104.8 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001271/1.319, allocations: 56.36 kB / 0.7035 GB, free: 104.8 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001436/1.319, allocations: 88.84 kB / 0.7036 GB, free: 104.7 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001408/1.319, allocations: 67.91 kB / 0.7037 GB, free: 104.6 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.152e-06/1.319, allocations: 0 / 0.7037 GB, free: 104.6 MB / 346.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004134/1.319, allocations: 197.3 kB / 0.7038 GB, free: 104.4 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.539e-05/1.319, allocations: 4 kB / 0.7039 GB, free: 104.4 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.496e-06/1.319, allocations: 4 kB / 0.7039 GB, free: 104.4 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.001e-05/1.319, allocations: 0 / 0.7039 GB, free: 104.4 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004389/1.32, allocations: 51.89 kB / 0.7039 GB, free: 104.3 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.059e-06/1.32, allocations: 4 kB / 0.7039 GB, free: 104.3 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000271/1.32, allocations: 12.11 kB / 0.7039 GB, free: 104.3 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.408e-05/1.32, allocations: 12 kB / 0.7039 GB, free: 104.3 MB / 346.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.597e-05/1.32, allocations: 109 kB / 0.704 GB, free: 104.2 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.697e-05/1.32, allocations: 7.953 kB / 0.704 GB, free: 104.2 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006295/1.321, allocations: 233.9 kB / 0.7043 GB, free: 104 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.535e-06/1.321, allocations: 0 / 0.7043 GB, free: 104 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.973e-06/1.321, allocations: 3.984 kB / 0.7043 GB, free: 104 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.269e-06/1.321, allocations: 0 / 0.7043 GB, free: 104 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009513/1.322, allocations: 0.5003 MB / 0.7048 GB, free: 103.4 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.877e-06/1.322, allocations: 4 kB / 0.7048 GB, free: 103.4 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003877/1.322, allocations: 47.89 kB / 0.7048 GB, free: 103.4 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.629e-06/1.322, allocations: 0 / 0.7048 GB, free: 103.4 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.853e-05/1.323, allocations: 4 kB / 0.7048 GB, free: 103.4 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/1.323, allocations: 0 / 0.7048 GB, free: 103.4 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.991e-06/1.323, allocations: 0 / 0.7048 GB, free: 103.4 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003983/1.323, allocations: 312.6 kB / 0.7051 GB, free: 103 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.873e-05/1.323, allocations: 81.02 kB / 0.7052 GB, free: 102.9 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.853e-05/1.323, allocations: 4 kB / 0.7052 GB, free: 102.9 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002995/1.323, allocations: 7.984 kB / 0.7052 GB, free: 102.9 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.731e-05/1.323, allocations: 23.88 kB / 0.7052 GB, free: 102.9 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.543e-05/1.323, allocations: 15.98 kB / 0.7052 GB, free: 102.9 MB / 346.7 MB Notification: Performance of sorting global known variables: time 2.889e-05/1.323, allocations: 83.28 kB / 0.7053 GB, free: 102.8 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.42e-07/1.324, allocations: 3.938 kB / 0.7053 GB, free: 102.8 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000529/1.324, allocations: 63.98 kB / 0.7054 GB, free: 102.7 MB / 346.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.000717/1.325, allocations: 0.5909 MB / 0.706 GB, free: 102.1 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.000357/1.325, allocations: 147.8 kB / 0.7061 GB, free: 102 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.173e-06/1.325, allocations: 0 / 0.7061 GB, free: 102 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001564/1.325, allocations: 79.92 kB / 0.7062 GB, free: 101.9 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003751/1.326, allocations: 32.33 kB / 0.7062 GB, free: 101.9 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005818/1.326, allocations: 179.8 kB / 0.7064 GB, free: 101.7 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001287/1.326, allocations: 0.6971 MB / 0.7071 GB, free: 100.9 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002458/1.327, allocations: 35.41 kB / 0.7071 GB, free: 100.9 MB / 346.7 MB Notification: Performance of SimCode: time 1.458e-06/1.327, allocations: 0 / 0.7071 GB, free: 100.9 MB / 346.7 MB Notification: Performance of Templates: time 0.007338/1.334, allocations: 4.766 MB / 0.7117 GB, free: 96.13 MB / 346.7 MB