Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Running command: translateModel(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|h1|s1",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX") Notification: Performance of loadModel(Modelica): time 1.984/1.984, allocations: 194.9 MB / 211.7 MB, free: 2.98 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003781/0.0003782, allocations: 16 kB / 263.9 MB, free: 13.57 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07963/0.08003, allocations: 44.5 MB / 308.4 MB, free: 0.9922 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.794/1.874, allocations: 0.7439 GB / 1.045 GB, free: 134.7 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002183/1.875, allocations: 70.14 kB / 1.045 GB, free: 134.7 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.233/2.108, allocations: 78.07 MB / 1.121 GB, free: 55.73 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.753e-06/2.108, allocations: 4 kB / 1.121 GB, free: 55.73 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.121e-06/2.108, allocations: 0 / 1.121 GB, free: 55.73 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.000664/2.108, allocations: 486.7 kB / 1.122 GB, free: 55.21 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.383e-05/2.108, allocations: 12.03 kB / 1.122 GB, free: 55.2 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003343/2.109, allocations: 35.84 kB / 1.122 GB, free: 55.16 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001445/2.109, allocations: 202.9 kB / 1.122 GB, free: 54.92 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.711e-05/2.109, allocations: 0 / 1.122 GB, free: 54.92 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.232e-05/2.109, allocations: 8 kB / 1.122 GB, free: 54.91 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001669/2.109, allocations: 75.36 kB / 1.122 GB, free: 54.83 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.144e-06/2.109, allocations: 0 / 1.122 GB, free: 54.83 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.37e-05/2.109, allocations: 4 kB / 1.122 GB, free: 54.82 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.156e-06/2.109, allocations: 0 / 1.122 GB, free: 54.82 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001325/2.109, allocations: 47.84 kB / 1.122 GB, free: 54.78 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001876/2.11, allocations: 194.6 kB / 1.122 GB, free: 54.54 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003637/2.11, allocations: 117.2 kB / 1.123 GB, free: 54.4 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003868/2.11, allocations: 141.2 kB / 1.123 GB, free: 54.25 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.967e-05/2.11, allocations: 30.56 kB / 1.123 GB, free: 54.21 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 2.114e-06/2.11, allocations: 3.938 kB / 1.123 GB, free: 54.2 MB / 410.7 MB Notification: Performance of matching and sorting (n=6): time 0.0004258/2.111, allocations: 125.5 kB / 1.123 GB, free: 54.07 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.322e-05/2.111, allocations: 77.11 kB / 1.123 GB, free: 53.98 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001032/2.111, allocations: 129 kB / 1.123 GB, free: 53.85 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.228e-05/2.111, allocations: 29.7 kB / 1.123 GB, free: 53.81 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.105e-05/2.111, allocations: 150.6 kB / 1.123 GB, free: 53.66 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.353e-05/2.111, allocations: 27.64 kB / 1.123 GB, free: 53.64 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.561e-06/2.111, allocations: 0 / 1.123 GB, free: 53.64 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.88e-05/2.111, allocations: 318.8 kB / 1.124 GB, free: 53.32 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.23e-05/2.111, allocations: 23.97 kB / 1.124 GB, free: 53.29 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.257e-05/2.111, allocations: 63.33 kB / 1.124 GB, free: 53.22 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001076/2.111, allocations: 32.34 kB / 1.124 GB, free: 53.19 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.608e-06/2.111, allocations: 0 / 1.124 GB, free: 53.19 MB / 410.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002892/2.112, allocations: 109.5 kB / 1.124 GB, free: 53.07 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/2.112, allocations: 4 kB / 1.124 GB, free: 53.07 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.847e-06/2.112, allocations: 8 kB / 1.124 GB, free: 53.06 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.295e-05/2.112, allocations: 0 / 1.124 GB, free: 53.06 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.242e-05/2.112, allocations: 27.98 kB / 1.124 GB, free: 53.04 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.92e-06/2.112, allocations: 4 kB / 1.124 GB, free: 53.03 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.739e-05/2.112, allocations: 3.906 kB / 1.124 GB, free: 53.03 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.16e-05/2.112, allocations: 8 kB / 1.124 GB, free: 53.02 MB / 410.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 () * Number of clocked 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.352e-05/2.112, allocations: 117.8 kB / 1.124 GB, free: 52.89 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.668e-05/2.112, allocations: 7.984 kB / 1.124 GB, free: 52.89 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003397/2.113, allocations: 129.7 kB / 1.124 GB, free: 52.75 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.543e-06/2.113, allocations: 8 kB / 1.124 GB, free: 52.74 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.249e-06/2.113, allocations: 0 / 1.124 GB, free: 52.74 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.942e-06/2.113, allocations: 0 / 1.124 GB, free: 52.74 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001283/2.113, allocations: 189.5 kB / 1.124 GB, free: 52.5 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.173e-06/2.113, allocations: 0 / 1.124 GB, free: 52.5 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001094/2.113, allocations: 19.92 kB / 1.124 GB, free: 52.48 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.37e-06/2.113, allocations: 0 / 1.124 GB, free: 52.48 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.395e-05/2.113, allocations: 4 kB / 1.124 GB, free: 52.48 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.028e-06/2.113, allocations: 0 / 1.124 GB, free: 52.48 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.692e-06/2.113, allocations: 3.938 kB / 1.124 GB, free: 52.48 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004653/2.113, allocations: 191.4 kB / 1.124 GB, free: 52.26 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.831e-05/2.114, allocations: 97.11 kB / 1.125 GB, free: 52.15 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.614e-05/2.114, allocations: 0 / 1.125 GB, free: 52.15 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.59e-05/2.114, allocations: 4 kB / 1.125 GB, free: 52.14 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.766e-05/2.114, allocations: 7.984 kB / 1.125 GB, free: 52.14 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.39e-05/2.114, allocations: 4.062 kB / 1.125 GB, free: 52.13 MB / 410.7 MB Notification: Performance of sorting global known variables: time 7.181e-05/2.114, allocations: 115.2 kB / 1.125 GB, free: 52.02 MB / 410.7 MB Notification: Performance of sort global known variables: time 6.87e-07/2.114, allocations: 0 / 1.125 GB, free: 52.02 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008806/2.115, allocations: 259.7 kB / 1.125 GB, free: 51.77 MB / 410.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 () * Number of clocked 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.001782/2.116, allocations: 0.96 MB / 1.126 GB, free: 50.82 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002306/2.117, allocations: 59.91 kB / 1.126 GB, free: 50.76 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.803e-06/2.117, allocations: 0 / 1.126 GB, free: 50.76 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 9.439e-05/2.117, allocations: 36.25 kB / 1.126 GB, free: 50.72 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002344/2.117, allocations: 32.14 kB / 1.126 GB, free: 50.69 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005205/2.118, allocations: 401.3 kB / 1.126 GB, free: 50.26 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001193/2.118, allocations: 0.6887 MB / 1.127 GB, free: 49.54 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.267e-05/2.118, allocations: 23.42 kB / 1.127 GB, free: 49.52 MB / 410.7 MB Notification: Performance of SimCode: time 1.405e-06/2.118, allocations: 0 / 1.127 GB, free: 49.52 MB / 410.7 MB Notification: Performance of Templates: time 0.01178/2.13, allocations: 8.075 MB / 1.135 GB, free: 41.44 MB / 410.7 MB