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.64/1.64, allocations: 171.2 MB / 184.2 MB, free: 11.95 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.765e-05/2.776e-05, allocations: 0 / 228.8 MB, free: 15.33 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2063/0.2063, allocations: 38.78 MB / 267.6 MB, free: 9.434 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.701/1.908, allocations: 0.7307 GB / 0.992 GB, free: 50.15 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002047/1.908, allocations: 69.47 kB / 0.992 GB, free: 50.12 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4602/2.368, allocations: 77.49 MB / 1.068 GB, free: 118.6 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.116e-06/2.368, allocations: 0 / 1.068 GB, free: 118.6 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.377e-06/2.368, allocations: 0 / 1.068 GB, free: 118.6 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.0007454/2.369, allocations: 465.2 kB / 1.068 GB, free: 118.2 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.716e-05/2.369, allocations: 7.75 kB / 1.068 GB, free: 118.2 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003489/2.369, allocations: 40.34 kB / 1.068 GB, free: 118.2 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001551/2.37, allocations: 196.2 kB / 1.068 GB, free: 118 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.624e-05/2.37, allocations: 0 / 1.068 GB, free: 118 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.358e-05/2.37, allocations: 3.906 kB / 1.068 GB, free: 118 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001322/2.37, allocations: 78.2 kB / 1.068 GB, free: 118 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1e-05/2.37, allocations: 0.75 kB / 1.068 GB, free: 118 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.17e-05/2.37, allocations: 3.938 kB / 1.068 GB, free: 117.9 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/2.37, allocations: 0 / 1.068 GB, free: 117.9 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001026/2.37, allocations: 48.02 kB / 1.069 GB, free: 117.9 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001959/2.37, allocations: 198.8 kB / 1.069 GB, free: 117.7 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003414/2.371, allocations: 111 kB / 1.069 GB, free: 117.7 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.742e-05/2.371, allocations: 39.06 kB / 1.069 GB, free: 117.7 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00042/2.371, allocations: 130.6 kB / 1.069 GB, free: 117.6 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.606e-05/2.371, allocations: 38.38 kB / 1.069 GB, free: 117.6 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 2.481e-06/2.371, allocations: 0.8438 kB / 1.069 GB, free: 117.6 MB / 362.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002833/2.371, allocations: 93.84 kB / 1.069 GB, free: 117.5 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.067e-05/2.371, allocations: 80.67 kB / 1.069 GB, free: 117.4 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001144/2.372, allocations: 129.9 kB / 1.069 GB, free: 117.3 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.395e-05/2.372, allocations: 25.7 kB / 1.069 GB, free: 117.3 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.344e-05/2.372, allocations: 154.5 kB / 1.069 GB, free: 117.1 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.929e-05/2.372, allocations: 26.73 kB / 1.07 GB, free: 117.1 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.374e-06/2.372, allocations: 0 / 1.07 GB, free: 117.1 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 5.197e-05/2.372, allocations: 322.1 kB / 1.07 GB, free: 116.8 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.287e-05/2.372, allocations: 25.88 kB / 1.07 GB, free: 116.8 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.248e-05/2.372, allocations: 47.64 kB / 1.07 GB, free: 116.8 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.429e-05/2.372, allocations: 32.23 kB / 1.07 GB, free: 116.8 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/2.372, allocations: 3.594 kB / 1.07 GB, free: 116.8 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000243/2.372, allocations: 102.2 kB / 1.07 GB, free: 116.8 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.679e-05/2.372, allocations: 3.969 kB / 1.07 GB, free: 116.8 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.805e-06/2.372, allocations: 0 / 1.07 GB, free: 116.8 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.443e-05/2.372, allocations: 3.281 kB / 1.07 GB, free: 116.8 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001145/2.372, allocations: 18.7 kB / 1.07 GB, free: 116.8 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.775e-06/2.373, allocations: 0 / 1.07 GB, free: 116.8 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.257e-05/2.373, allocations: 11.5 kB / 1.07 GB, free: 116.8 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.437e-05/2.373, allocations: 13.75 kB / 1.07 GB, free: 116.8 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 5.411e-05/2.373, allocations: 108.8 kB / 1.07 GB, free: 116.6 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.788e-05/2.373, allocations: 7.188 kB / 1.07 GB, free: 116.6 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002827/2.373, allocations: 117.5 kB / 1.07 GB, free: 116.6 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.223e-06/2.373, allocations: 3.5 kB / 1.07 GB, free: 116.6 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.017e-06/2.373, allocations: 7.625 kB / 1.07 GB, free: 116.6 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.291e-06/2.373, allocations: 2.25 kB / 1.07 GB, free: 116.6 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001368/2.373, allocations: 186.1 kB / 1.07 GB, free: 116.4 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.47e-06/2.373, allocations: 3.75 kB / 1.07 GB, free: 116.4 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000123/2.373, allocations: 11.34 kB / 1.07 GB, free: 116.4 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.763e-06/2.373, allocations: 0 / 1.07 GB, free: 116.4 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.569e-05/2.373, allocations: 7.422 kB / 1.07 GB, free: 116.4 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.728e-06/2.373, allocations: 0 / 1.07 GB, free: 116.4 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.018e-06/2.374, allocations: 0 / 1.07 GB, free: 116.4 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003268/2.374, allocations: 181.5 kB / 1.071 GB, free: 116.3 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.305e-05/2.374, allocations: 100.4 kB / 1.071 GB, free: 116.2 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.743e-05/2.374, allocations: 3.281 kB / 1.071 GB, free: 116.2 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.746e-05/2.374, allocations: 0 / 1.071 GB, free: 116.2 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.548e-05/2.374, allocations: 10.64 kB / 1.071 GB, free: 116.2 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.434e-05/2.374, allocations: 6.656 kB / 1.071 GB, free: 116.2 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.824e-05/2.374, allocations: 108.7 kB / 1.071 GB, free: 116.1 MB / 362.7 MB Notification: Performance of sort global known variables: time 8.42e-07/2.374, allocations: 0 / 1.071 GB, free: 116.1 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001036/2.375, allocations: 273.2 kB / 1.071 GB, free: 116.1 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.001966/2.377, allocations: 0.9512 MB / 1.072 GB, free: 115.9 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001845/2.377, allocations: 58.08 kB / 1.072 GB, free: 115.9 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.062e-06/2.377, allocations: 0 / 1.072 GB, free: 115.9 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.867e-05/2.378, allocations: 32.22 kB / 1.072 GB, free: 115.9 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002798/2.378, allocations: 34.75 kB / 1.072 GB, free: 115.8 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004629/2.378, allocations: 258.8 kB / 1.072 GB, free: 115.7 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001316/2.378, allocations: 0.6957 MB / 1.073 GB, free: 115 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.5e-05/2.379, allocations: 16.22 kB / 1.073 GB, free: 115 MB / 362.7 MB Notification: Performance of SimCode: time 1.528e-06/2.379, allocations: 0 / 1.073 GB, free: 115 MB / 362.7 MB Notification: Performance of Templates: time 0.01307/2.392, allocations: 8.063 MB / 1.081 GB, free: 111.5 MB / 362.7 MB