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_TX.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_TX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|h1|s1",fileNamePrefix="Modelica_3.2.1_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX") Notification: Performance of loadModel(Modelica): time 1.66/1.66, allocations: 171.1 MB / 186.7 MB, free: 1.133 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005256/0.000526, allocations: 8 kB / 233.2 MB, free: 3.027 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.107/0.1076, allocations: 38.77 MB / 272 MB, free: 12.18 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.824/1.931, allocations: 0.7308 GB / 0.9964 GB, free: 0.6328 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002183/1.931, allocations: 69.34 kB / 0.9965 GB, free: 0.5977 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4909/2.422, allocations: 77.54 MB / 1.072 GB, free: 77.68 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.302e-06/2.422, allocations: 0 / 1.072 GB, free: 77.68 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.104e-06/2.422, allocations: 4 kB / 1.072 GB, free: 77.67 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.0007368/2.423, allocations: 490.8 kB / 1.073 GB, free: 77.14 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.471e-05/2.423, allocations: 8.031 kB / 1.073 GB, free: 77.14 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003347/2.424, allocations: 35.86 kB / 1.073 GB, free: 77.1 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001532/2.424, allocations: 195 kB / 1.073 GB, free: 76.87 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.69e-05/2.424, allocations: 4 kB / 1.073 GB, free: 76.87 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.346e-05/2.424, allocations: 3.906 kB / 1.073 GB, free: 76.86 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001691/2.424, allocations: 87.25 kB / 1.073 GB, free: 76.77 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.321e-06/2.424, allocations: 0 / 1.073 GB, free: 76.77 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.231e-05/2.424, allocations: 0 / 1.073 GB, free: 76.77 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.472e-06/2.424, allocations: 0 / 1.073 GB, free: 76.77 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001392/2.424, allocations: 47.94 kB / 1.073 GB, free: 76.72 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001919/2.424, allocations: 194.5 kB / 1.073 GB, free: 76.48 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003836/2.425, allocations: 125.2 kB / 1.073 GB, free: 76.34 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000403/2.425, allocations: 133.2 kB / 1.073 GB, free: 76.19 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.674e-05/2.425, allocations: 34.5 kB / 1.073 GB, free: 76.14 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 2.688e-06/2.425, allocations: 4 kB / 1.073 GB, free: 76.14 MB / 362.7 MB Notification: Performance of matching and sorting (n=6): time 0.0004462/2.426, allocations: 133.6 kB / 1.074 GB, free: 76 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.587e-05/2.426, allocations: 77.11 kB / 1.074 GB, free: 75.91 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001118/2.426, allocations: 125 kB / 1.074 GB, free: 75.78 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.268e-05/2.426, allocations: 29.7 kB / 1.074 GB, free: 75.75 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.208e-05/2.426, allocations: 150.6 kB / 1.074 GB, free: 75.6 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.366e-05/2.426, allocations: 15.81 kB / 1.074 GB, free: 75.58 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.397e-06/2.426, allocations: 7.938 kB / 1.074 GB, free: 75.57 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 5.058e-05/2.426, allocations: 318.8 kB / 1.074 GB, free: 75.25 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.13e-05/2.426, allocations: 23.97 kB / 1.074 GB, free: 75.23 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.741e-05/2.426, allocations: 51.41 kB / 1.074 GB, free: 75.17 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.933e-05/2.426, allocations: 27.98 kB / 1.074 GB, free: 75.14 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.961e-06/2.426, allocations: 4 kB / 1.074 GB, free: 75.14 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002967/2.427, allocations: 117.4 kB / 1.075 GB, free: 75.02 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.704e-05/2.427, allocations: 4 kB / 1.075 GB, free: 75.01 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.557e-06/2.427, allocations: 160 / 1.075 GB, free: 75.01 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.548e-05/2.427, allocations: 4 kB / 1.075 GB, free: 75.01 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.607e-05/2.427, allocations: 19.98 kB / 1.075 GB, free: 74.99 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.026e-06/2.427, allocations: 7.984 kB / 1.075 GB, free: 74.98 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.982e-05/2.427, allocations: 3.938 kB / 1.075 GB, free: 74.98 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.437e-05/2.427, allocations: 12.05 kB / 1.075 GB, free: 74.96 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 () * 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.904e-05/2.427, allocations: 121.8 kB / 1.075 GB, free: 74.84 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.62e-05/2.427, allocations: 7.859 kB / 1.075 GB, free: 74.83 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003501/2.428, allocations: 129.8 kB / 1.075 GB, free: 74.7 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.492e-06/2.428, allocations: 7.922 kB / 1.075 GB, free: 74.69 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.058e-06/2.428, allocations: 4 kB / 1.075 GB, free: 74.68 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.551e-06/2.428, allocations: 0 / 1.075 GB, free: 74.68 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001302/2.428, allocations: 185.6 kB / 1.075 GB, free: 74.45 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.321e-06/2.428, allocations: 4 kB / 1.075 GB, free: 74.45 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001126/2.428, allocations: 12 kB / 1.075 GB, free: 74.44 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.918e-06/2.428, allocations: 3.953 kB / 1.075 GB, free: 74.43 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.512e-05/2.428, allocations: 7.984 kB / 1.075 GB, free: 74.43 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.642e-06/2.428, allocations: 0 / 1.075 GB, free: 74.43 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.829e-06/2.428, allocations: 0 / 1.075 GB, free: 74.43 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004179/2.428, allocations: 183.5 kB / 1.075 GB, free: 74.22 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.479e-05/2.429, allocations: 109 kB / 1.075 GB, free: 74.09 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.705e-05/2.429, allocations: 432 / 1.075 GB, free: 74.09 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.37e-05/2.429, allocations: 4 kB / 1.075 GB, free: 74.09 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.281e-05/2.429, allocations: 3.984 kB / 1.075 GB, free: 74.09 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.568e-05/2.429, allocations: 8 kB / 1.075 GB, free: 74.08 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.254e-05/2.429, allocations: 103.3 kB / 1.075 GB, free: 73.98 MB / 362.7 MB Notification: Performance of sort global known variables: time 6.79e-07/2.429, allocations: 0 / 1.075 GB, free: 73.98 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.00102/2.43, allocations: 267.6 kB / 1.076 GB, free: 73.71 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 () * 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.00197/2.432, allocations: 0.9711 MB / 1.077 GB, free: 72.75 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002535/2.432, allocations: 67.89 kB / 1.077 GB, free: 72.68 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/2.432, allocations: 0 / 1.077 GB, free: 72.68 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 9.245e-05/2.432, allocations: 35.92 kB / 1.077 GB, free: 72.64 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002506/2.432, allocations: 19.94 kB / 1.077 GB, free: 72.62 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005709/2.433, allocations: 390.1 kB / 1.077 GB, free: 72.2 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001219/2.433, allocations: 0.6926 MB / 1.078 GB, free: 71.48 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.469e-05/2.433, allocations: 23.44 kB / 1.078 GB, free: 71.46 MB / 362.7 MB Notification: Performance of SimCode: time 1.44e-06/2.433, allocations: 0 / 1.078 GB, free: 71.46 MB / 362.7 MB Notification: Performance of Templates: time 0.01236/2.446, allocations: 8.09 MB / 1.086 GB, free: 63.36 MB / 362.7 MB