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_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.Inverse_sh_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|h1|s1",fileNamePrefix="Modelica_3.2.1_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T") Notification: Performance of loadModel(Modelica): time 1.715/1.715, allocations: 171.3 MB / 179.2 MB, free: 7.594 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 1.591e-05/1.591e-05, allocations: 4 kB / 222.5 MB, free: 8.711 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06815/0.06818, allocations: 38.77 MB / 261.3 MB, free: 1.859 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.515/1.583, allocations: 0.5843 GB / 0.8395 GB, free: 109.5 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000198/1.584, allocations: 71.97 kB / 0.8396 GB, free: 109.4 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1319/1.715, allocations: 41.07 MB / 0.8797 GB, free: 68.24 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.788e-06/1.715, allocations: 0 / 0.8797 GB, free: 68.24 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.372e-06/1.715, allocations: 0 / 0.8797 GB, free: 68.24 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.0005059/1.716, allocations: 442.1 kB / 0.8801 GB, free: 67.76 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.774e-05/1.716, allocations: 8.031 kB / 0.8801 GB, free: 67.75 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001004/1.717, allocations: 95.77 kB / 0.8802 GB, free: 67.66 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001615/1.717, allocations: 187 kB / 0.8804 GB, free: 67.44 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.638e-05/1.717, allocations: 4 kB / 0.8804 GB, free: 67.43 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.217e-05/1.717, allocations: 4 kB / 0.8804 GB, free: 67.43 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.244e-05/1.717, allocations: 27.94 kB / 0.8804 GB, free: 67.4 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001096/1.717, allocations: 75.31 kB / 0.8805 GB, free: 67.32 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.38e-06/1.718, allocations: 0 / 0.8805 GB, free: 67.32 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.234e-05/1.718, allocations: 0 / 0.8805 GB, free: 67.32 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.48e-06/1.718, allocations: 0 / 0.8805 GB, free: 67.32 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001774/1.718, allocations: 175 kB / 0.8806 GB, free: 67.11 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003297/1.718, allocations: 93.31 kB / 0.8807 GB, free: 67 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.996e-05/1.718, allocations: 25.7 kB / 0.8807 GB, free: 66.96 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007092/1.719, allocations: 1.38 MB / 0.8821 GB, free: 65.29 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.756e-05/1.719, allocations: 42.48 kB / 0.8821 GB, free: 65.24 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 2.254e-06/1.719, allocations: 4 kB / 0.8821 GB, free: 65.23 MB / 346.7 MB Notification: Performance of matching and sorting (n=6): time 0.0007485/1.72, allocations: 149.5 kB / 0.8823 GB, free: 65.08 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.204e-05/1.72, allocations: 77.11 kB / 0.8824 GB, free: 64.99 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001104/1.72, allocations: 121 kB / 0.8825 GB, free: 64.86 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.257e-05/1.72, allocations: 25.7 kB / 0.8825 GB, free: 64.83 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.964e-05/1.72, allocations: 150.6 kB / 0.8826 GB, free: 64.68 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.377e-05/1.72, allocations: 27.64 kB / 0.8827 GB, free: 64.66 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.917e-06/1.72, allocations: 0 / 0.8827 GB, free: 64.66 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 4.718e-05/1.72, allocations: 314.8 kB / 0.883 GB, free: 64.34 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.334e-05/1.72, allocations: 16 kB / 0.883 GB, free: 64.32 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.426e-05/1.72, allocations: 43.73 kB / 0.883 GB, free: 64.27 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005392/1.721, allocations: 99.88 kB / 0.8831 GB, free: 64.17 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.794e-06/1.721, allocations: 0 / 0.8831 GB, free: 64.17 MB / 346.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0006692/1.721, allocations: 165.5 kB / 0.8833 GB, free: 64 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.65e-05/1.721, allocations: 7.938 kB / 0.8833 GB, free: 64 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.699e-06/1.721, allocations: 4 kB / 0.8833 GB, free: 63.99 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.443e-05/1.721, allocations: 0 / 0.8833 GB, free: 63.99 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000153/1.722, allocations: 15.98 kB / 0.8833 GB, free: 63.98 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.249e-06/1.722, allocations: 4.156 kB / 0.8833 GB, free: 63.97 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001754/1.722, allocations: 7.984 kB / 0.8833 GB, free: 63.96 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.945e-05/1.722, allocations: 0 / 0.8833 GB, free: 63.96 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 5.754e-05/1.722, allocations: 105 kB / 0.8834 GB, free: 63.86 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.226e-05/1.722, allocations: 15.92 kB / 0.8834 GB, free: 63.84 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007673/1.723, allocations: 185.7 kB / 0.8836 GB, free: 63.65 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.493e-06/1.723, allocations: 0 / 0.8836 GB, free: 63.65 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.772e-06/1.723, allocations: 0 / 0.8836 GB, free: 63.65 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.189e-06/1.723, allocations: 4 kB / 0.8836 GB, free: 63.65 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001281/1.723, allocations: 165.9 kB / 0.8838 GB, free: 63.45 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.383e-06/1.723, allocations: 0 / 0.8838 GB, free: 63.45 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000164/1.723, allocations: 19.98 kB / 0.8838 GB, free: 63.43 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.724e-06/1.723, allocations: 0 / 0.8838 GB, free: 63.43 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.712e-05/1.723, allocations: 11.88 kB / 0.8838 GB, free: 63.42 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.82e-06/1.723, allocations: 7.984 kB / 0.8838 GB, free: 63.41 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.502e-06/1.723, allocations: 0 / 0.8838 GB, free: 63.41 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007309/1.724, allocations: 203.6 kB / 0.884 GB, free: 63.18 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.237e-05/1.724, allocations: 108.9 kB / 0.8841 GB, free: 63.06 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.592e-05/1.724, allocations: 0 / 0.8841 GB, free: 63.06 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001726/1.724, allocations: 7.984 kB / 0.8841 GB, free: 63.05 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.446e-05/1.724, allocations: 64 / 0.8841 GB, free: 63.05 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.704e-05/1.724, allocations: 11.98 kB / 0.8841 GB, free: 63.04 MB / 346.7 MB Notification: Performance of sorting global known variables: time 7.638e-05/1.724, allocations: 111.2 kB / 0.8842 GB, free: 62.93 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.75e-07/1.724, allocations: 0 / 0.8842 GB, free: 62.93 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0007491/1.725, allocations: 207.7 kB / 0.8844 GB, free: 62.73 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 (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.001452/1.727, allocations: 0.9086 MB / 0.8853 GB, free: 61.82 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001544/1.727, allocations: 43.97 kB / 0.8854 GB, free: 61.77 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.593e-06/1.727, allocations: 4.125 kB / 0.8854 GB, free: 61.77 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 5.778e-05/1.727, allocations: 23.94 kB / 0.8854 GB, free: 61.75 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001952/1.727, allocations: 11.98 kB / 0.8854 GB, free: 61.73 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004951/1.728, allocations: 247 kB / 0.8856 GB, free: 61.46 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001113/1.728, allocations: 0.6885 MB / 0.8863 GB, free: 60.74 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001545/1.728, allocations: 35.34 kB / 0.8863 GB, free: 60.71 MB / 346.7 MB Notification: Performance of SimCode: time 1.576e-06/1.728, allocations: 0 / 0.8863 GB, free: 60.71 MB / 346.7 MB Notification: Performance of Templates: time 0.01014/1.738, allocations: 6.682 MB / 0.8929 GB, free: 54.01 MB / 346.7 MB