Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/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_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T") Notification: Performance of loadModel(Modelica): time 1.688/1.688, allocations: 171.1 MB / 186.7 MB, free: 1.133 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003452/0.0003453, allocations: 8 kB / 233.8 MB, free: 2.406 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08416/0.08453, allocations: 38.78 MB / 272.6 MB, free: 11.55 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.768/1.853, allocations: 0.5851 GB / 0.8513 GB, free: 256 kB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002726/1.853, allocations: 82.05 kB / 0.8514 GB, free: 212 kB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4262/2.279, allocations: 41.74 MB / 0.8921 GB, free: 113.8 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.984e-06/2.279, allocations: 0 / 0.8921 GB, free: 113.8 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.464e-06/2.279, allocations: 0 / 0.8921 GB, free: 113.8 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.0007302/2.28, allocations: 462.8 kB / 0.8926 GB, free: 113.3 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.035e-05/2.28, allocations: 8.031 kB / 0.8926 GB, free: 113.3 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001614/2.282, allocations: 91.86 kB / 0.8927 GB, free: 113.2 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003134/2.282, allocations: 226.8 kB / 0.8929 GB, free: 112.9 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.815e-05/2.282, allocations: 0 / 0.8929 GB, free: 112.9 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.42e-05/2.282, allocations: 11.95 kB / 0.8929 GB, free: 112.9 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002759/2.282, allocations: 91.33 kB / 0.893 GB, free: 112.8 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.132e-05/2.283, allocations: 0 / 0.893 GB, free: 112.8 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.951e-05/2.283, allocations: 3.938 kB / 0.893 GB, free: 112.8 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.171e-06/2.283, allocations: 4 kB / 0.893 GB, free: 112.8 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002705/2.283, allocations: 47.89 kB / 0.893 GB, free: 112.8 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002747/2.283, allocations: 210.8 kB / 0.8932 GB, free: 112.5 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006863/2.284, allocations: 125.2 kB / 0.8933 GB, free: 112.4 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008819/2.285, allocations: 1.384 MB / 0.8947 GB, free: 110.7 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.026e-05/2.285, allocations: 38.56 kB / 0.8947 GB, free: 110.6 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.773e-06/2.285, allocations: 0 / 0.8947 GB, free: 110.6 MB / 362.7 MB Notification: Performance of matching and sorting (n=6): time 0.000713/2.285, allocations: 125.5 kB / 0.8949 GB, free: 110.5 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.429e-05/2.286, allocations: 85.11 kB / 0.8949 GB, free: 110.4 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003054/2.286, allocations: 153.8 kB / 0.8951 GB, free: 110.3 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.124e-05/2.286, allocations: 29.7 kB / 0.8951 GB, free: 110.2 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.841e-05/2.286, allocations: 84.14 kB / 0.8952 GB, free: 110.1 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.574e-05/2.286, allocations: 19.66 kB / 0.8952 GB, free: 110.1 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.432e-05/2.286, allocations: 4 kB / 0.8952 GB, free: 110.1 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.604e-05/2.286, allocations: 318.8 kB / 0.8955 GB, free: 109.8 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001667/2.286, allocations: 27.97 kB / 0.8955 GB, free: 109.8 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001746/2.286, allocations: 55.41 kB / 0.8956 GB, free: 109.7 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001858/2.287, allocations: 39.91 kB / 0.8956 GB, free: 109.7 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/2.287, allocations: 0 / 0.8956 GB, free: 109.7 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004984/2.287, allocations: 117.5 kB / 0.8957 GB, free: 109.5 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.743e-05/2.287, allocations: 12.06 kB / 0.8958 GB, free: 109.5 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/2.287, allocations: 0 / 0.8958 GB, free: 109.5 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.965e-05/2.287, allocations: 0 / 0.8958 GB, free: 109.5 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002356/2.287, allocations: 23.97 kB / 0.8958 GB, free: 109.5 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.586e-06/2.288, allocations: 7.984 kB / 0.8958 GB, free: 109.5 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003179/2.288, allocations: 8 kB / 0.8958 GB, free: 109.5 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.963e-05/2.288, allocations: 7.984 kB / 0.8958 GB, free: 109.5 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 8.291e-05/2.288, allocations: 117.7 kB / 0.8959 GB, free: 109.4 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.615e-05/2.288, allocations: 7.906 kB / 0.8959 GB, free: 109.3 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007567/2.289, allocations: 241.6 kB / 0.8962 GB, free: 109.1 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.685e-06/2.289, allocations: 3.984 kB / 0.8962 GB, free: 109.1 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/2.289, allocations: 0 / 0.8962 GB, free: 109.1 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-06/2.289, allocations: 4 kB / 0.8962 GB, free: 109.1 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002074/2.289, allocations: 214.8 kB / 0.8964 GB, free: 108.8 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/2.289, allocations: 11.98 kB / 0.8964 GB, free: 108.8 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002957/2.289, allocations: 35.88 kB / 0.8964 GB, free: 108.8 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.327e-06/2.289, allocations: 0 / 0.8964 GB, free: 108.8 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.784e-05/2.289, allocations: 0 / 0.8964 GB, free: 108.8 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.306e-06/2.289, allocations: 4 kB / 0.8964 GB, free: 108.8 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/2.289, allocations: 0 / 0.8964 GB, free: 108.8 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000597/2.29, allocations: 181.8 kB / 0.8966 GB, free: 108.6 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.073e-05/2.29, allocations: 97.11 kB / 0.8967 GB, free: 108.5 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.266e-05/2.29, allocations: 4 kB / 0.8967 GB, free: 108.5 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002919/2.291, allocations: 0 / 0.8967 GB, free: 108.5 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.018e-05/2.291, allocations: 7.984 kB / 0.8967 GB, free: 108.5 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.563e-05/2.291, allocations: 4 kB / 0.8967 GB, free: 108.5 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002409/2.291, allocations: 135.8 kB / 0.8968 GB, free: 108.3 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.61e-07/2.291, allocations: 0 / 0.8968 GB, free: 108.3 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001043/2.292, allocations: 227.7 kB / 0.897 GB, free: 108.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 7 * 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.001749/2.294, allocations: 0.833 MB / 0.8979 GB, free: 107.3 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004216/2.294, allocations: 83.81 kB / 0.8979 GB, free: 107.2 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/2.294, allocations: 0 / 0.8979 GB, free: 107.2 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001853/2.294, allocations: 43.91 kB / 0.898 GB, free: 107.1 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002193/2.295, allocations: 19.88 kB / 0.898 GB, free: 107.1 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006947/2.295, allocations: 354 kB / 0.8983 GB, free: 106.7 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001432/2.295, allocations: 0.6926 MB / 0.899 GB, free: 106 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0008286/2.296, allocations: 434.8 kB / 0.8994 GB, free: 105.6 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002252/2.297, allocations: 47.38 kB / 0.8995 GB, free: 105.6 MB / 362.7 MB Notification: Performance of SimCode: time 8.62e-07/2.297, allocations: 0 / 0.8995 GB, free: 105.6 MB / 362.7 MB Notification: Performance of Templates: time 0.02483/2.321, allocations: 12.24 MB / 0.9114 GB, free: 93.3 MB / 362.7 MB