Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX") Notification: Performance of loadModel(Modelica): time 1.96/1.96, allocations: 194.9 MB / 211.7 MB, free: 2.992 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003652/0.0003656, allocations: 11.94 kB / 264.5 MB, free: 12.94 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09701/0.0974, allocations: 44.5 MB / 309 MB, free: 380 kB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.388/2.485, allocations: 0.7439 GB / 1.046 GB, free: 94.86 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003458/2.486, allocations: 80.53 kB / 1.046 GB, free: 94.81 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2917/2.778, allocations: 78.09 MB / 1.122 GB, free: 23.63 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.044e-06/2.778, allocations: 0 / 1.122 GB, free: 23.63 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.063e-06/2.778, allocations: 0 / 1.122 GB, free: 23.63 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.0009766/2.779, allocations: 494.7 kB / 1.122 GB, free: 23.1 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.121e-05/2.779, allocations: 8.031 kB / 1.122 GB, free: 23.09 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000405/2.779, allocations: 35.91 kB / 1.123 GB, free: 23.05 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001804/2.779, allocations: 194.9 kB / 1.123 GB, free: 22.82 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.957e-05/2.779, allocations: 0 / 1.123 GB, free: 22.82 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.795e-05/2.779, allocations: 4 kB / 1.123 GB, free: 22.82 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000213/2.78, allocations: 71.38 kB / 1.123 GB, free: 22.74 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/2.78, allocations: 0 / 1.123 GB, free: 22.74 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.601e-05/2.78, allocations: 11.98 kB / 1.123 GB, free: 22.73 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.75e-06/2.78, allocations: 0 / 1.123 GB, free: 22.73 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001728/2.78, allocations: 55.83 kB / 1.123 GB, free: 22.67 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002256/2.78, allocations: 190.6 kB / 1.123 GB, free: 22.43 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004581/2.781, allocations: 121.2 kB / 1.123 GB, free: 22.3 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005866/2.781, allocations: 133.2 kB / 1.123 GB, free: 22.15 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.762e-05/2.781, allocations: 30.56 kB / 1.123 GB, free: 22.11 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 1.814e-06/2.781, allocations: 0 / 1.123 GB, free: 22.11 MB / 410.7 MB Notification: Performance of matching and sorting (n=6): time 0.0005314/2.782, allocations: 133.4 kB / 1.123 GB, free: 21.97 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.23e-05/2.782, allocations: 81.05 kB / 1.123 GB, free: 21.88 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001351/2.782, allocations: 141.8 kB / 1.124 GB, free: 21.73 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.36e-05/2.782, allocations: 29.64 kB / 1.124 GB, free: 21.69 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.258e-05/2.782, allocations: 88.12 kB / 1.124 GB, free: 21.6 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.041e-05/2.782, allocations: 27.64 kB / 1.124 GB, free: 21.57 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.015e-06/2.782, allocations: 0 / 1.124 GB, free: 21.57 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.078e-05/2.782, allocations: 330.8 kB / 1.124 GB, free: 21.24 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001142/2.782, allocations: 23.97 kB / 1.124 GB, free: 21.22 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001442/2.782, allocations: 51.34 kB / 1.124 GB, free: 21.16 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001307/2.783, allocations: 31.97 kB / 1.124 GB, free: 21.12 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/2.783, allocations: 0 / 1.124 GB, free: 21.12 MB / 410.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003917/2.783, allocations: 117.5 kB / 1.124 GB, free: 21 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.805e-05/2.783, allocations: 4 kB / 1.124 GB, free: 21 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/2.783, allocations: 0 / 1.124 GB, free: 21 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.869e-05/2.783, allocations: 7.984 kB / 1.124 GB, free: 20.99 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001276/2.783, allocations: 15.94 kB / 1.124 GB, free: 20.98 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.534e-06/2.783, allocations: 0 / 1.124 GB, free: 20.98 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.448e-05/2.783, allocations: 7.984 kB / 1.124 GB, free: 20.97 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.523e-05/2.783, allocations: 4 kB / 1.124 GB, free: 20.96 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 7.557e-05/2.783, allocations: 121.9 kB / 1.124 GB, free: 20.84 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.08e-05/2.783, allocations: 7.906 kB / 1.124 GB, free: 20.83 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004264/2.784, allocations: 130.4 kB / 1.125 GB, free: 20.69 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/2.784, allocations: 0 / 1.125 GB, free: 20.69 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/2.784, allocations: 0 / 1.125 GB, free: 20.69 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.591e-06/2.784, allocations: 4 kB / 1.125 GB, free: 20.69 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001549/2.784, allocations: 185.6 kB / 1.125 GB, free: 20.46 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/2.784, allocations: 3.984 kB / 1.125 GB, free: 20.45 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001441/2.784, allocations: 15.98 kB / 1.125 GB, free: 20.44 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/2.784, allocations: 4 kB / 1.125 GB, free: 20.43 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.451e-05/2.784, allocations: 0 / 1.125 GB, free: 20.43 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.818e-06/2.784, allocations: 4 kB / 1.125 GB, free: 20.43 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.995e-06/2.784, allocations: 3.938 kB / 1.125 GB, free: 20.43 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005015/2.785, allocations: 169.8 kB / 1.125 GB, free: 20.24 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.989e-05/2.785, allocations: 108.9 kB / 1.125 GB, free: 20.11 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.361e-05/2.785, allocations: 4.062 kB / 1.125 GB, free: 20.11 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.462e-05/2.785, allocations: 0 / 1.125 GB, free: 20.11 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.338e-05/2.785, allocations: 7.984 kB / 1.125 GB, free: 20.1 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.625e-05/2.785, allocations: 4 kB / 1.125 GB, free: 20.1 MB / 410.7 MB Notification: Performance of sorting global known variables: time 8.576e-05/2.785, allocations: 111.2 kB / 1.125 GB, free: 19.99 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.21e-07/2.785, allocations: 0 / 1.125 GB, free: 19.99 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001179/2.786, allocations: 263.7 kB / 1.125 GB, free: 19.73 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.002365/2.789, allocations: 0.9576 MB / 1.126 GB, free: 18.77 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003355/2.789, allocations: 59.89 kB / 1.126 GB, free: 18.71 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.526e-06/2.789, allocations: 12.06 kB / 1.126 GB, free: 18.7 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001111/2.789, allocations: 27.98 kB / 1.126 GB, free: 18.67 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003173/2.79, allocations: 27.92 kB / 1.126 GB, free: 18.64 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006894/2.79, allocations: 364 kB / 1.127 GB, free: 18.25 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001408/2.791, allocations: 0.6926 MB / 1.128 GB, free: 17.54 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001122/2.791, allocations: 16.27 kB / 1.128 GB, free: 17.52 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.861e-05/2.791, allocations: 23.42 kB / 1.128 GB, free: 17.5 MB / 410.7 MB Notification: Performance of SimCode: time 8.11e-07/2.791, allocations: 3.938 kB / 1.128 GB, free: 17.49 MB / 410.7 MB Notification: Performance of Templates: time 0.02748/2.818, allocations: 13.07 MB / 1.14 GB, free: 4.414 MB / 410.7 MB