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.9429/0.9429, allocations: 111.2 MB / 124.3 MB, free: 11.16 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 2.221e-05/2.228e-05, allocations: 0 / 154.3 MB, free: 13.15 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.138/0.138, allocations: 25.14 MB / 179.4 MB, free: 0.8125 MB / 138.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9227/1.061, allocations: 362.3 MB / 0.529 GB, free: 64.16 MB / 234.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001594/1.061, allocations: 60.03 kB / 0.529 GB, free: 64.16 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1561/1.217, allocations: 48.52 MB / 0.5764 GB, free: 21.55 MB / 234.7 MB Notification: Performance of FrontEnd: time 2.266e-06/1.217, allocations: 0 / 0.5764 GB, free: 21.55 MB / 234.7 MB Notification: Performance of Transformations before backend: time 7.221e-06/1.217, allocations: 0 / 0.5764 GB, free: 21.55 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.0004947/1.218, allocations: 430.2 kB / 0.5768 GB, free: 21.09 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.828e-05/1.218, allocations: 12.03 kB / 0.5769 GB, free: 21.07 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.22e-05/1.218, allocations: 7.906 kB / 0.5769 GB, free: 21.07 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001181/1.218, allocations: 171.1 kB / 0.577 GB, free: 20.86 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.781e-05/1.218, allocations: 11.94 kB / 0.577 GB, free: 20.85 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.151e-05/1.218, allocations: 4 kB / 0.577 GB, free: 20.84 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001067/1.218, allocations: 63.34 kB / 0.5771 GB, free: 20.77 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.043e-06/1.218, allocations: 0 / 0.5771 GB, free: 20.77 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.811e-06/1.218, allocations: 0 / 0.5771 GB, free: 20.77 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.515e-06/1.218, allocations: 4 kB / 0.5771 GB, free: 20.77 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.691e-05/1.218, allocations: 23.92 kB / 0.5771 GB, free: 20.74 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001514/1.218, allocations: 178.5 kB / 0.5773 GB, free: 20.52 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002406/1.219, allocations: 77.36 kB / 0.5774 GB, free: 20.42 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.763e-05/1.219, allocations: 21.66 kB / 0.5774 GB, free: 20.39 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008163/1.22, allocations: 1.63 MB / 0.579 GB, free: 18.41 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.554e-05/1.22, allocations: 34.55 kB / 0.579 GB, free: 18.37 MB / 234.7 MB Notification: Performance of pre-optimization done (n=6): time 2.272e-06/1.22, allocations: 4 kB / 0.579 GB, free: 18.37 MB / 234.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002071/1.22, allocations: 65.53 kB / 0.5791 GB, free: 18.3 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.113e-05/1.22, allocations: 81.11 kB / 0.5792 GB, free: 18.2 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.528e-05/1.22, allocations: 108.9 kB / 0.5793 GB, free: 18.09 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 1.115e-05/1.22, allocations: 25.7 kB / 0.5793 GB, free: 18.05 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.736e-05/1.22, allocations: 158.5 kB / 0.5794 GB, free: 17.9 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.789e-05/1.22, allocations: 15.72 kB / 0.5795 GB, free: 17.88 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.352e-06/1.22, allocations: 0 / 0.5795 GB, free: 17.88 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 4.692e-05/1.22, allocations: 322.8 kB / 0.5798 GB, free: 17.56 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.514e-05/1.22, allocations: 8 kB / 0.5798 GB, free: 17.55 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.917e-05/1.22, allocations: 21.72 kB / 0.5798 GB, free: 17.52 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.938e-05/1.22, allocations: 11.98 kB / 0.5798 GB, free: 17.51 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.233e-06/1.22, allocations: 0 / 0.5798 GB, free: 17.51 MB / 234.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001384/1.22, allocations: 69.7 kB / 0.5799 GB, free: 17.44 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.354e-05/1.221, allocations: 4 kB / 0.5799 GB, free: 17.43 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.678e-06/1.221, allocations: 4 kB / 0.5799 GB, free: 17.43 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.186e-05/1.221, allocations: 4 kB / 0.5799 GB, free: 17.43 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.822e-05/1.221, allocations: 11.98 kB / 0.5799 GB, free: 17.41 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.738e-06/1.221, allocations: 0 / 0.5799 GB, free: 17.41 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.79e-05/1.221, allocations: 7.938 kB / 0.5799 GB, free: 17.41 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.504e-05/1.221, allocations: 7.984 kB / 0.5799 GB, free: 17.4 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 () * 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 4.709e-05/1.221, allocations: 108.9 kB / 0.58 GB, free: 17.29 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.314e-05/1.221, allocations: 11.86 kB / 0.58 GB, free: 17.27 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000264/1.221, allocations: 113.5 kB / 0.5801 GB, free: 17.16 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.252e-06/1.221, allocations: 0 / 0.5801 GB, free: 17.16 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.147e-06/1.221, allocations: 3.984 kB / 0.5801 GB, free: 17.15 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/1.221, allocations: 0 / 0.5801 GB, free: 17.15 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001102/1.221, allocations: 169.7 kB / 0.5803 GB, free: 16.94 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.203e-06/1.221, allocations: 0 / 0.5803 GB, free: 16.94 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.889e-05/1.221, allocations: 15.98 kB / 0.5803 GB, free: 16.92 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.427e-06/1.221, allocations: 3.953 kB / 0.5803 GB, free: 16.92 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.051e-05/1.221, allocations: 4 kB / 0.5803 GB, free: 16.91 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.395e-06/1.221, allocations: 4 kB / 0.5803 GB, free: 16.91 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.566e-06/1.222, allocations: 0 / 0.5803 GB, free: 16.91 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001665/1.222, allocations: 127.5 kB / 0.5804 GB, free: 16.76 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.065e-05/1.222, allocations: 96.95 kB / 0.5805 GB, free: 16.64 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.24e-05/1.222, allocations: 128 / 0.5805 GB, free: 16.64 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.343e-05/1.222, allocations: 15.98 kB / 0.5806 GB, free: 16.63 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.186e-05/1.222, allocations: 7.984 kB / 0.5806 GB, free: 16.62 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.189e-05/1.222, allocations: 4 kB / 0.5806 GB, free: 16.62 MB / 234.7 MB Notification: Performance of sorting global known variables: time 5.088e-05/1.222, allocations: 95.66 kB / 0.5807 GB, free: 16.52 MB / 234.7 MB Notification: Performance of sort global known variables: time 7.51e-07/1.222, allocations: 3.938 kB / 0.5807 GB, free: 16.52 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0006726/1.223, allocations: 211.7 kB / 0.5809 GB, free: 16.31 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 () * 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.001333/1.224, allocations: 0.7966 MB / 0.5816 GB, free: 15.52 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.0001386/1.224, allocations: 39.92 kB / 0.5817 GB, free: 15.48 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 3.074e-06/1.224, allocations: 0 / 0.5817 GB, free: 15.48 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 6.883e-05/1.224, allocations: 24.27 kB / 0.5817 GB, free: 15.45 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002433/1.225, allocations: 23.94 kB / 0.5817 GB, free: 15.43 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003271/1.225, allocations: 135.4 kB / 0.5819 GB, free: 15.27 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001106/1.225, allocations: 0.6888 MB / 0.5825 GB, free: 14.55 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.939e-05/1.225, allocations: 23.42 kB / 0.5825 GB, free: 14.53 MB / 234.7 MB Notification: Performance of SimCode: time 1.36e-06/1.225, allocations: 0 / 0.5825 GB, free: 14.53 MB / 234.7 MB Notification: Performance of Templates: time 0.009392/1.235, allocations: 6.583 MB / 0.589 GB, free: 7.945 MB / 234.7 MB