Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.1_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.conf.json Using package ModelicaServices with version 1.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 1.0/package.mo) Using package Modelica with version 3.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/package.mo) Running command: translateModel(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T") Notification: Performance of loadModel(Modelica): time 0.9954/0.9954, allocations: 111.1 MB / 126.7 MB, free: 6.117 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002662/0.0002664, allocations: 4 kB / 158.3 MB, free: 15.18 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.04481/0.0451, allocations: 25.17 MB / 183.5 MB, free: 5.977 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9158/0.961, allocations: 362.4 MB / 0.5331 GB, free: 34.65 MB / 234.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001714/0.9612, allocations: 63.97 kB / 0.5331 GB, free: 34.59 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3015/1.263, allocations: 48.63 MB / 0.5806 GB, free: 58.76 MB / 234.7 MB Notification: Performance of FrontEnd: time 3.125e-06/1.263, allocations: 0 / 0.5806 GB, free: 58.76 MB / 234.7 MB Notification: Performance of Transformations before backend: time 8.945e-06/1.263, allocations: 0 / 0.5806 GB, free: 58.76 MB / 234.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.0008643/1.264, allocations: 451.5 kB / 0.581 GB, free: 58.36 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.918e-05/1.264, allocations: 9.625 kB / 0.581 GB, free: 58.36 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.151e-05/1.264, allocations: 5.312 kB / 0.5811 GB, free: 58.36 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001632/1.264, allocations: 188.5 kB / 0.5812 GB, free: 58.16 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.315e-05/1.264, allocations: 1.375 kB / 0.5812 GB, free: 58.16 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.018e-05/1.264, allocations: 4.938 kB / 0.5812 GB, free: 58.16 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002364/1.264, allocations: 71.42 kB / 0.5813 GB, free: 58.11 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.283e-05/1.264, allocations: 3.516 kB / 0.5813 GB, free: 58.11 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.335e-05/1.264, allocations: 1.312 kB / 0.5813 GB, free: 58.11 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.453e-06/1.264, allocations: 1.312 kB / 0.5813 GB, free: 58.11 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002484/1.265, allocations: 33.25 kB / 0.5813 GB, free: 58.11 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002207/1.265, allocations: 173.9 kB / 0.5815 GB, free: 57.91 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004508/1.265, allocations: 85.91 kB / 0.5816 GB, free: 57.86 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001238/1.267, allocations: 1.624 MB / 0.5832 GB, free: 56.08 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.418e-05/1.267, allocations: 37.56 kB / 0.5832 GB, free: 56.04 MB / 234.7 MB Notification: Performance of pre-optimization done (n=6): time 3.995e-06/1.267, allocations: 0 / 0.5832 GB, free: 56.04 MB / 234.7 MB Notification: Performance of matching and sorting (n=6): time 0.0005231/1.267, allocations: 91.83 kB / 0.5833 GB, free: 56 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.732e-05/1.267, allocations: 78.48 kB / 0.5834 GB, free: 55.91 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.942e-05/1.267, allocations: 113.3 kB / 0.5835 GB, free: 55.82 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 1.153e-05/1.267, allocations: 26.95 kB / 0.5835 GB, free: 55.79 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.203e-05/1.267, allocations: 150.6 kB / 0.5837 GB, free: 55.64 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.145e-05/1.268, allocations: 20.61 kB / 0.5837 GB, free: 55.63 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.476e-06/1.268, allocations: 1.625 kB / 0.5837 GB, free: 55.63 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 5.22e-05/1.268, allocations: 316.8 kB / 0.584 GB, free: 55.32 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.332e-05/1.268, allocations: 11.67 kB / 0.584 GB, free: 55.32 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.208e-05/1.268, allocations: 28 kB / 0.584 GB, free: 55.3 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.845e-05/1.268, allocations: 18.27 kB / 0.584 GB, free: 55.3 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.882e-06/1.268, allocations: 1.188 kB / 0.584 GB, free: 55.3 MB / 234.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002652/1.268, allocations: 77.78 kB / 0.5841 GB, free: 55.27 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.122e-05/1.268, allocations: 8.625 kB / 0.5841 GB, free: 55.27 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.266e-06/1.268, allocations: 5.25 kB / 0.5841 GB, free: 55.26 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.46e-05/1.268, allocations: 1.031 kB / 0.5841 GB, free: 55.26 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001071/1.268, allocations: 14.94 kB / 0.5841 GB, free: 55.26 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.04e-06/1.268, allocations: 3.062 kB / 0.5841 GB, free: 55.26 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.144e-05/1.269, allocations: 8.625 kB / 0.5841 GB, free: 55.26 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.633e-05/1.269, allocations: 3 kB / 0.5842 GB, free: 55.26 MB / 234.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (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 prepare postOptimizeDAE: time 6.735e-05/1.269, allocations: 117.6 kB / 0.5843 GB, free: 55.14 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.183e-05/1.269, allocations: 9.453 kB / 0.5843 GB, free: 55.14 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000438/1.269, allocations: 130.8 kB / 0.5844 GB, free: 55.09 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.077e-05/1.269, allocations: 4.5 kB / 0.5844 GB, free: 55.09 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.771e-06/1.269, allocations: 0 / 0.5844 GB, free: 55.09 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.314e-06/1.269, allocations: 1.094 kB / 0.5844 GB, free: 55.09 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001338/1.269, allocations: 171.2 kB / 0.5846 GB, free: 54.9 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.42e-06/1.269, allocations: 0 / 0.5846 GB, free: 54.9 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.88e-05/1.269, allocations: 12.83 kB / 0.5846 GB, free: 54.9 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.65e-06/1.269, allocations: 13.06 kB / 0.5846 GB, free: 54.9 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.27e-05/1.27, allocations: 3.156 kB / 0.5846 GB, free: 54.9 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.979e-06/1.27, allocations: 1.094 kB / 0.5846 GB, free: 54.9 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.388e-06/1.27, allocations: 1.062 kB / 0.5846 GB, free: 54.9 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003051/1.27, allocations: 135.4 kB / 0.5847 GB, free: 54.81 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.34e-05/1.27, allocations: 94.83 kB / 0.5848 GB, free: 54.71 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.795e-05/1.27, allocations: 11.58 kB / 0.5848 GB, free: 54.71 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.16e-05/1.27, allocations: 5.156 kB / 0.5848 GB, free: 54.71 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.004e-05/1.27, allocations: 7.984 kB / 0.5848 GB, free: 54.71 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.394e-05/1.27, allocations: 4.875 kB / 0.5848 GB, free: 54.71 MB / 234.7 MB Notification: Performance of sorting global known variables: time 6.063e-05/1.27, allocations: 96.19 kB / 0.5849 GB, free: 54.63 MB / 234.7 MB Notification: Performance of sort global known variables: time 7.3e-07/1.27, allocations: 0 / 0.5849 GB, free: 54.63 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0009595/1.271, allocations: 208.5 kB / 0.5851 GB, free: 54.59 MB / 234.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 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.001626/1.273, allocations: 0.8018 MB / 0.5859 GB, free: 54.39 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.0003082/1.273, allocations: 50.98 kB / 0.586 GB, free: 54.39 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 3.024e-06/1.273, allocations: 3.75 kB / 0.586 GB, free: 54.39 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001287/1.273, allocations: 24 kB / 0.586 GB, free: 54.39 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002793/1.274, allocations: 29.86 kB / 0.586 GB, free: 54.39 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004776/1.274, allocations: 237 kB / 0.5862 GB, free: 54.21 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001238/1.274, allocations: 0.6877 MB / 0.5869 GB, free: 53.52 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001142/1.274, allocations: 22.67 kB / 0.5869 GB, free: 53.51 MB / 234.7 MB Notification: Performance of SimCode: time 1.685e-06/1.274, allocations: 3.406 kB / 0.5869 GB, free: 53.51 MB / 234.7 MB Notification: Performance of Templates: time 0.01086/1.285, allocations: 6.597 MB / 0.5934 GB, free: 52.64 MB / 234.7 MB