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.SolveOneNonlinearEquation.Inverse_sh_T.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.SolveOneNonlinearEquation.Inverse_sh_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|h1|s1",fileNamePrefix="Modelica_3.2.1_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T") Notification: Performance of loadModel(Modelica): time 1.578/1.578, allocations: 171.2 MB / 184.2 MB, free: 11.96 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.614e-05/2.626e-05, allocations: 4 kB / 228.8 MB, free: 15.33 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2056/0.2056, allocations: 38.77 MB / 267.6 MB, free: 9.43 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.514/1.72, allocations: 0.585 GB / 0.8463 GB, free: 59.04 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002287/1.72, allocations: 72.05 kB / 0.8464 GB, free: 59 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1414/1.861, allocations: 41.65 MB / 0.887 GB, free: 22.8 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.802e-06/1.861, allocations: 0 / 0.887 GB, free: 22.8 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.568e-06/1.861, allocations: 0 / 0.887 GB, free: 22.8 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005348/1.862, allocations: 450.1 kB / 0.8875 GB, free: 22.31 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.02e-05/1.862, allocations: 8.031 kB / 0.8875 GB, free: 22.3 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00103/1.863, allocations: 91.77 kB / 0.8876 GB, free: 22.21 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001643/1.863, allocations: 194.9 kB / 0.8877 GB, free: 21.98 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.064e-05/1.863, allocations: 8 kB / 0.8878 GB, free: 21.98 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.226e-05/1.863, allocations: 0 / 0.8878 GB, free: 21.98 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001338/1.863, allocations: 75.33 kB / 0.8878 GB, free: 21.89 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.15e-06/1.864, allocations: 4 kB / 0.8878 GB, free: 21.89 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.327e-05/1.864, allocations: 0 / 0.8878 GB, free: 21.89 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.668e-06/1.864, allocations: 0 / 0.8878 GB, free: 21.89 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.659e-05/1.864, allocations: 31.92 kB / 0.8879 GB, free: 21.86 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001959/1.864, allocations: 194.4 kB / 0.888 GB, free: 21.61 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003684/1.864, allocations: 97.28 kB / 0.8881 GB, free: 21.5 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.135e-05/1.864, allocations: 25.72 kB / 0.8882 GB, free: 21.47 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007145/1.865, allocations: 1.387 MB / 0.8895 GB, free: 19.79 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.438e-05/1.865, allocations: 30.56 kB / 0.8895 GB, free: 19.75 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 2.391e-06/1.865, allocations: 0 / 0.8895 GB, free: 19.75 MB / 362.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002345/1.865, allocations: 81.5 kB / 0.8896 GB, free: 19.66 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.916e-05/1.865, allocations: 85.11 kB / 0.8897 GB, free: 19.56 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001339/1.866, allocations: 117 kB / 0.8898 GB, free: 19.44 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.335e-05/1.866, allocations: 25.7 kB / 0.8898 GB, free: 19.41 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.948e-05/1.866, allocations: 154.6 kB / 0.89 GB, free: 19.25 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.768e-05/1.866, allocations: 23.66 kB / 0.89 GB, free: 19.23 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.554e-06/1.866, allocations: 0 / 0.89 GB, free: 19.23 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 4.971e-05/1.866, allocations: 314.8 kB / 0.8903 GB, free: 18.91 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.383e-05/1.866, allocations: 19.98 kB / 0.8903 GB, free: 18.89 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.239e-05/1.866, allocations: 43.44 kB / 0.8904 GB, free: 18.84 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.654e-05/1.866, allocations: 23.94 kB / 0.8904 GB, free: 18.82 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.719e-06/1.866, allocations: 0 / 0.8904 GB, free: 18.82 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000204/1.866, allocations: 93.67 kB / 0.8905 GB, free: 18.72 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.635e-05/1.866, allocations: 4 kB / 0.8905 GB, free: 18.71 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.429e-06/1.866, allocations: 4.062 kB / 0.8905 GB, free: 18.71 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.542e-05/1.866, allocations: 8.031 kB / 0.8905 GB, free: 18.7 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001626/1.866, allocations: 19.98 kB / 0.8905 GB, free: 18.68 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.895e-06/1.866, allocations: 3.938 kB / 0.8905 GB, free: 18.68 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001774/1.867, allocations: 11.92 kB / 0.8905 GB, free: 18.67 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.101e-05/1.867, allocations: 4.469 kB / 0.8905 GB, free: 18.66 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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 6.83e-05/1.867, allocations: 112.9 kB / 0.8906 GB, free: 18.55 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.199e-05/1.867, allocations: 7.906 kB / 0.8907 GB, free: 18.54 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000288/1.867, allocations: 113.5 kB / 0.8908 GB, free: 18.42 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.606e-06/1.867, allocations: 0 / 0.8908 GB, free: 18.42 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.572e-06/1.867, allocations: 0 / 0.8908 GB, free: 18.42 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.243e-06/1.867, allocations: 4 kB / 0.8908 GB, free: 18.42 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001357/1.867, allocations: 193.7 kB / 0.8909 GB, free: 18.18 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.408e-06/1.867, allocations: 0 / 0.8909 GB, free: 18.18 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001659/1.867, allocations: 15.98 kB / 0.891 GB, free: 18.16 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.669e-06/1.867, allocations: 0 / 0.891 GB, free: 18.16 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.8e-05/1.868, allocations: 11.98 kB / 0.891 GB, free: 18.15 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.699e-06/1.868, allocations: 0 / 0.891 GB, free: 18.15 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.894e-06/1.868, allocations: 3.938 kB / 0.891 GB, free: 18.15 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002682/1.868, allocations: 139.6 kB / 0.8911 GB, free: 17.98 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.897e-05/1.868, allocations: 97.02 kB / 0.8912 GB, free: 17.87 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.677e-05/1.868, allocations: 4 kB / 0.8912 GB, free: 17.87 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001695/1.868, allocations: 8.047 kB / 0.8912 GB, free: 17.86 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.622e-05/1.868, allocations: 7.984 kB / 0.8912 GB, free: 17.85 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.474e-05/1.868, allocations: 4 kB / 0.8912 GB, free: 17.85 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.594e-05/1.868, allocations: 107.3 kB / 0.8913 GB, free: 17.74 MB / 362.7 MB Notification: Performance of sort global known variables: time 9.07e-07/1.868, allocations: 0 / 0.8913 GB, free: 17.74 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000828/1.869, allocations: 211.7 kB / 0.8915 GB, free: 17.54 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (s1,h1) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * 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.001448/1.871, allocations: 0.823 MB / 0.8923 GB, free: 16.71 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001967/1.871, allocations: 51.91 kB / 0.8924 GB, free: 16.66 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/1.871, allocations: 0 / 0.8924 GB, free: 16.66 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 6.766e-05/1.871, allocations: 28 kB / 0.8924 GB, free: 16.63 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000195/1.871, allocations: 23.31 kB / 0.8924 GB, free: 16.61 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005174/1.872, allocations: 255.8 kB / 0.8927 GB, free: 16.32 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001243/1.872, allocations: 0.6887 MB / 0.8933 GB, free: 15.61 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001465/1.872, allocations: 27.41 kB / 0.8934 GB, free: 15.58 MB / 362.7 MB Notification: Performance of SimCode: time 2.547e-06/1.872, allocations: 4 kB / 0.8934 GB, free: 15.58 MB / 362.7 MB Notification: Performance of Templates: time 0.01031/1.882, allocations: 6.669 MB / 0.8999 GB, free: 8.898 MB / 362.7 MB