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.InverseIncompressible_sh_T.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Running command: translateModel(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|h1|s1",fileNamePrefix="Modelica_3.2.1_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T") Notification: Performance of loadModel(Modelica): time 1.689/1.689, allocations: 171.3 MB / 179.2 MB, free: 7.504 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 1.526e-05/1.527e-05, allocations: 0 / 222.5 MB, free: 8.707 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06996/0.07, allocations: 38.78 MB / 261.3 MB, free: 1.844 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5946/0.6646, allocations: 181 MB / 442.3 MB, free: 94.35 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001877/0.6649, allocations: 74.3 kB / 442.4 MB, free: 94.35 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1193/0.7842, allocations: 36.08 MB / 478.5 MB, free: 73.12 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.185e-06/0.7842, allocations: 4 kB / 478.5 MB, free: 73.12 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.366e-06/0.7842, allocations: 0 / 478.5 MB, free: 73.12 MB / 346.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.0006196/0.7849, allocations: 493.9 kB / 479 MB, free: 72.59 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.585e-05/0.7849, allocations: 8.031 kB / 479 MB, free: 72.59 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.539e-05/0.785, allocations: 7.906 kB / 479 MB, free: 72.58 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001737/0.7851, allocations: 190.9 kB / 479.2 MB, free: 72.35 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.428e-05/0.7852, allocations: 0 / 479.2 MB, free: 72.35 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.904e-05/0.7852, allocations: 7.953 kB / 479.2 MB, free: 72.34 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.015e-05/0.7853, allocations: 15.98 kB / 479.2 MB, free: 72.33 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.266e-05/0.7854, allocations: 51.41 kB / 479.2 MB, free: 72.27 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.536e-06/0.7854, allocations: 0 / 479.2 MB, free: 72.27 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.363e-06/0.7854, allocations: 0 / 479.2 MB, free: 72.27 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.225e-06/0.7854, allocations: 0 / 479.2 MB, free: 72.27 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001334/0.7856, allocations: 155.2 kB / 479.4 MB, free: 72.07 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002335/0.7858, allocations: 73.23 kB / 479.5 MB, free: 71.98 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.319e-05/0.7859, allocations: 17.78 kB / 479.5 MB, free: 71.96 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008683/0.7867, allocations: 1.813 MB / 481.3 MB, free: 69.74 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.539e-05/0.7868, allocations: 38.52 kB / 481.3 MB, free: 69.7 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 3.707e-06/0.7868, allocations: 0 / 481.3 MB, free: 69.7 MB / 346.7 MB Notification: Performance of matching and sorting (n=6): time 0.0007359/0.7875, allocations: 129.4 kB / 481.5 MB, free: 69.56 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.014e-05/0.7876, allocations: 77.11 kB / 481.5 MB, free: 69.47 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.521e-05/0.7877, allocations: 101 kB / 481.6 MB, free: 69.36 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 9.53e-06/0.7877, allocations: 29.7 kB / 481.7 MB, free: 69.33 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.816e-05/0.7877, allocations: 154.6 kB / 481.8 MB, free: 69.18 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.022e-05/0.7878, allocations: 19.66 kB / 481.8 MB, free: 69.16 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.679e-06/0.7878, allocations: 0 / 481.8 MB, free: 69.16 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 4.792e-05/0.7878, allocations: 318.8 kB / 482.1 MB, free: 68.84 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.712e-05/0.7879, allocations: 12 kB / 482.2 MB, free: 68.82 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.617e-05/0.7879, allocations: 31.38 kB / 482.2 MB, free: 68.78 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005696/0.7885, allocations: 79.91 kB / 482.3 MB, free: 68.7 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.712e-06/0.7885, allocations: 0 / 482.3 MB, free: 68.7 MB / 346.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000651/0.7892, allocations: 129.6 kB / 482.4 MB, free: 68.57 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.558e-05/0.7892, allocations: 4 kB / 482.4 MB, free: 68.57 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.034e-06/0.7892, allocations: 4.062 kB / 482.4 MB, free: 68.56 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.661e-05/0.7892, allocations: 7.953 kB / 482.4 MB, free: 68.55 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.241e-05/0.7893, allocations: 23.92 kB / 482.4 MB, free: 68.53 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.432e-06/0.7894, allocations: 3.938 kB / 482.4 MB, free: 68.53 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.192e-05/0.7894, allocations: 8 kB / 482.4 MB, free: 68.52 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.663e-05/0.7895, allocations: 4 kB / 482.4 MB, free: 68.52 MB / 346.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 4.898e-05/0.7895, allocations: 104.9 kB / 482.5 MB, free: 68.41 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.928e-05/0.7896, allocations: 7.906 kB / 482.6 MB, free: 68.4 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007986/0.7904, allocations: 173.8 kB / 482.7 MB, free: 68.22 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.127e-06/0.7904, allocations: 0 / 482.7 MB, free: 68.22 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.132e-06/0.7904, allocations: 3.953 kB / 482.7 MB, free: 68.22 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.707e-06/0.7904, allocations: 0 / 482.7 MB, free: 68.22 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001077/0.7905, allocations: 158 kB / 482.9 MB, free: 68.03 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.406e-06/0.7906, allocations: 0 / 482.9 MB, free: 68.03 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001045/0.7907, allocations: 11.98 kB / 482.9 MB, free: 68.02 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.291e-06/0.7907, allocations: 8 kB / 482.9 MB, free: 68.01 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.164e-05/0.7907, allocations: 0 / 482.9 MB, free: 68.01 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.379e-06/0.7907, allocations: 0 / 482.9 MB, free: 68.01 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.485e-06/0.7907, allocations: 4 kB / 482.9 MB, free: 68 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007308/0.7915, allocations: 195.5 kB / 483.1 MB, free: 67.79 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.937e-05/0.7915, allocations: 97.02 kB / 483.2 MB, free: 67.67 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.046e-05/0.7916, allocations: 64 / 483.2 MB, free: 67.67 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.791e-05/0.7916, allocations: 8 kB / 483.2 MB, free: 67.66 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.366e-05/0.7917, allocations: 11.94 kB / 483.2 MB, free: 67.65 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.093e-05/0.7917, allocations: 0 / 483.2 MB, free: 67.65 MB / 346.7 MB Notification: Performance of sorting global known variables: time 3.524e-05/0.7918, allocations: 87.28 kB / 483.3 MB, free: 67.57 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.02e-07/0.7918, allocations: 0 / 483.3 MB, free: 67.57 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0006526/0.7924, allocations: 183.7 kB / 483.5 MB, free: 67.39 MB / 346.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 (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.000799/0.7932, allocations: 381.8 kB / 483.8 MB, free: 67.01 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001164/0.7934, allocations: 40.8 kB / 483.9 MB, free: 66.97 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.842e-06/0.7934, allocations: 0 / 483.9 MB, free: 66.97 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 5.613e-05/0.7935, allocations: 20.19 kB / 483.9 MB, free: 66.95 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001782/0.7937, allocations: 15.3 kB / 483.9 MB, free: 66.94 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000397/0.7941, allocations: 262.9 kB / 484.2 MB, free: 66.64 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001115/0.7942, allocations: 0.6885 MB / 484.9 MB, free: 65.93 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.296e-05/0.7943, allocations: 27.42 kB / 484.9 MB, free: 65.91 MB / 346.7 MB Notification: Performance of SimCode: time 1.405e-06/0.7943, allocations: 0 / 484.9 MB, free: 65.91 MB / 346.7 MB Notification: Performance of Templates: time 0.006673/0.801, allocations: 3.764 MB / 488.7 MB, free: 62.14 MB / 346.7 MB