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/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_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.526/1.526, allocations: 171.2 MB / 186.8 MB, free: 1.031 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003564/0.0003566, allocations: 8 kB / 233.2 MB, free: 3.012 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06741/0.06779, allocations: 38.78 MB / 272 MB, free: 12.16 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.365/1.433, allocations: 0.5851 GB / 0.8507 GB, free: 6.992 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002098/1.433, allocations: 78.45 kB / 0.8508 GB, free: 6.949 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3228/1.756, allocations: 41.74 MB / 0.8915 GB, free: 120.7 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.011e-06/1.756, allocations: 0 / 0.8915 GB, free: 120.7 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.942e-06/1.756, allocations: 0 / 0.8915 GB, free: 120.7 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.0005815/1.757, allocations: 462.8 kB / 0.892 GB, free: 120.2 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.634e-05/1.757, allocations: 8.031 kB / 0.892 GB, free: 120.2 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001149/1.758, allocations: 95.81 kB / 0.8921 GB, free: 120.1 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002447/1.758, allocations: 210.9 kB / 0.8923 GB, free: 119.8 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.732e-05/1.758, allocations: 8 kB / 0.8923 GB, free: 119.8 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.786e-05/1.758, allocations: 4 kB / 0.8923 GB, free: 119.8 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002277/1.759, allocations: 91.27 kB / 0.8924 GB, free: 119.7 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.129e-05/1.759, allocations: 0 / 0.8924 GB, free: 119.7 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.536e-05/1.759, allocations: 3.938 kB / 0.8924 GB, free: 119.7 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.656e-06/1.759, allocations: 4 kB / 0.8924 GB, free: 119.7 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001949/1.759, allocations: 43.91 kB / 0.8924 GB, free: 119.7 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002282/1.759, allocations: 214.8 kB / 0.8926 GB, free: 119.4 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005219/1.76, allocations: 121.2 kB / 0.8927 GB, free: 119.3 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007051/1.76, allocations: 1.38 MB / 0.8941 GB, free: 117.6 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.496e-05/1.76, allocations: 38.56 kB / 0.8941 GB, free: 117.6 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 2.421e-06/1.76, allocations: 0 / 0.8941 GB, free: 117.6 MB / 362.7 MB Notification: Performance of matching and sorting (n=6): time 0.0005462/1.761, allocations: 133.5 kB / 0.8943 GB, free: 117.4 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.543e-05/1.761, allocations: 81.11 kB / 0.8943 GB, free: 117.3 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002235/1.761, allocations: 144.9 kB / 0.8945 GB, free: 117.2 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.621e-05/1.761, allocations: 25.7 kB / 0.8945 GB, free: 117.1 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.995e-05/1.761, allocations: 154.6 kB / 0.8946 GB, free: 117 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.763e-05/1.761, allocations: 35.53 kB / 0.8947 GB, free: 116.9 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.075e-05/1.761, allocations: 0 / 0.8947 GB, free: 116.9 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 5.021e-05/1.761, allocations: 318.8 kB / 0.895 GB, free: 116.6 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000121/1.762, allocations: 23.98 kB / 0.895 GB, free: 116.6 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001235/1.762, allocations: 51.72 kB / 0.895 GB, free: 116.5 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000137/1.762, allocations: 36.34 kB / 0.8951 GB, free: 116.5 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.716e-06/1.762, allocations: 0 / 0.8951 GB, free: 116.5 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003717/1.762, allocations: 117.5 kB / 0.8952 GB, free: 116.4 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.587e-05/1.762, allocations: 4 kB / 0.8952 GB, free: 116.4 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.694e-06/1.762, allocations: 4 kB / 0.8952 GB, free: 116.4 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.646e-05/1.762, allocations: 7.953 kB / 0.8952 GB, free: 116.4 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001687/1.762, allocations: 27.91 kB / 0.8952 GB, free: 116.3 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.369e-06/1.762, allocations: 4.156 kB / 0.8952 GB, free: 116.3 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002075/1.763, allocations: 7.984 kB / 0.8952 GB, free: 116.3 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.823e-05/1.763, allocations: 12.06 kB / 0.8953 GB, free: 116.3 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 6.937e-05/1.763, allocations: 109.8 kB / 0.8954 GB, free: 116.2 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.081e-05/1.763, allocations: 11.91 kB / 0.8954 GB, free: 116.2 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006003/1.763, allocations: 241.1 kB / 0.8956 GB, free: 115.9 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.379e-06/1.763, allocations: 0 / 0.8956 GB, free: 115.9 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.957e-06/1.764, allocations: 7.953 kB / 0.8956 GB, free: 115.9 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.7e-06/1.764, allocations: 0 / 0.8956 GB, free: 115.9 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001886/1.764, allocations: 219 kB / 0.8958 GB, free: 115.7 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.768e-06/1.764, allocations: 3.938 kB / 0.8958 GB, free: 115.7 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002541/1.764, allocations: 19.97 kB / 0.8958 GB, free: 115.6 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.189e-06/1.764, allocations: 0 / 0.8958 GB, free: 115.6 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.928e-05/1.764, allocations: 11.98 kB / 0.8959 GB, free: 115.6 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.348e-06/1.764, allocations: 3.984 kB / 0.8959 GB, free: 115.6 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.632e-06/1.764, allocations: 3.953 kB / 0.8959 GB, free: 115.6 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005236/1.765, allocations: 187.5 kB / 0.896 GB, free: 115.4 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.985e-05/1.765, allocations: 97.03 kB / 0.8961 GB, free: 115.3 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.856e-05/1.765, allocations: 0 / 0.8961 GB, free: 115.3 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002373/1.765, allocations: 11.94 kB / 0.8961 GB, free: 115.3 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.788e-05/1.765, allocations: 12.05 kB / 0.8962 GB, free: 115.3 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.591e-05/1.765, allocations: 4 kB / 0.8962 GB, free: 115.3 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001816/1.765, allocations: 131.2 kB / 0.8963 GB, free: 115.1 MB / 362.7 MB Notification: Performance of sort global known variables: time 7.22e-07/1.765, allocations: 0 / 0.8963 GB, free: 115.1 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000915/1.766, allocations: 223.7 kB / 0.8965 GB, free: 114.9 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.001447/1.768, allocations: 0.8405 MB / 0.8973 GB, free: 114.1 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003389/1.768, allocations: 71.88 kB / 0.8974 GB, free: 114 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.856e-06/1.768, allocations: 4 kB / 0.8974 GB, free: 114 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000145/1.768, allocations: 40.09 kB / 0.8974 GB, free: 114 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001941/1.768, allocations: 12 kB / 0.8974 GB, free: 114 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005907/1.769, allocations: 387.9 kB / 0.8978 GB, free: 113.5 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001203/1.769, allocations: 0.6926 MB / 0.8985 GB, free: 112.8 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001767/1.769, allocations: 47.33 kB / 0.8985 GB, free: 112.8 MB / 362.7 MB Notification: Performance of SimCode: time 1.392e-06/1.769, allocations: 0 / 0.8985 GB, free: 112.8 MB / 362.7 MB Notification: Performance of Templates: time 0.01123/1.781, allocations: 7.557 MB / 0.9059 GB, free: 105.2 MB / 362.7 MB