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/OMCompiler/build/lib/omlibrary/ModelicaServices 1.0/package.mo) Using package Modelica with version 3.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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 1.036/1.036, allocations: 111.2 MB / 119.1 MB, free: 11.16 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 1.384e-05/1.398e-05, allocations: 0 / 148.1 MB, free: 6.23 MB / 122.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.04517/0.04521, allocations: 25.17 MB / 173.3 MB, free: 13.02 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8771/0.9224, allocations: 361.6 MB / 0.5223 GB, free: 58.2 MB / 234.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001845/0.9226, allocations: 64.48 kB / 0.5224 GB, free: 58.14 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1481/1.071, allocations: 47.85 MB / 0.5691 GB, free: 10.07 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.723e-06/1.071, allocations: 0 / 0.5691 GB, free: 10.07 MB / 234.7 MB Notification: Performance of Transformations before backend: time 7.384e-06/1.071, allocations: 0 / 0.5691 GB, free: 10.07 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.0005368/1.071, allocations: 442.1 kB / 0.5696 GB, free: 9.598 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.615e-05/1.071, allocations: 8.031 kB / 0.5696 GB, free: 9.59 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.949e-05/1.071, allocations: 7.906 kB / 0.5696 GB, free: 9.582 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000122/1.072, allocations: 183 kB / 0.5698 GB, free: 9.363 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.547e-05/1.072, allocations: 0 / 0.5698 GB, free: 9.363 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.172e-05/1.072, allocations: 4 kB / 0.5698 GB, free: 9.359 MB / 234.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.831e-05/1.072, allocations: 11.95 kB / 0.5698 GB, free: 9.348 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.252e-05/1.072, allocations: 63.39 kB / 0.5698 GB, free: 9.273 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.382e-06/1.072, allocations: 0 / 0.5698 GB, free: 9.273 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1e-05/1.072, allocations: 0 / 0.5698 GB, free: 9.273 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.518e-06/1.072, allocations: 0 / 0.5698 GB, free: 9.273 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001518/1.072, allocations: 163.1 kB / 0.57 GB, free: 9.074 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002355/1.072, allocations: 69.23 kB / 0.57 GB, free: 8.988 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.183e-05/1.072, allocations: 21.78 kB / 0.5701 GB, free: 8.961 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008261/1.073, allocations: 1.629 MB / 0.5717 GB, free: 6.984 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.766e-05/1.073, allocations: 42.48 kB / 0.5717 GB, free: 6.934 MB / 234.7 MB Notification: Performance of pre-optimization done (n=6): time 2.273e-06/1.073, allocations: 0 / 0.5717 GB, free: 6.934 MB / 234.7 MB Notification: Performance of matching and sorting (n=6): time 0.0008613/1.074, allocations: 157.4 kB / 0.5719 GB, free: 6.773 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.381e-05/1.074, allocations: 81.11 kB / 0.5719 GB, free: 6.676 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.088e-05/1.074, allocations: 101 kB / 0.572 GB, free: 6.57 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 1.072e-05/1.074, allocations: 25.7 kB / 0.572 GB, free: 6.539 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.862e-05/1.074, allocations: 154.6 kB / 0.5722 GB, free: 6.387 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.888e-05/1.074, allocations: 23.7 kB / 0.5722 GB, free: 6.363 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.601e-06/1.074, allocations: 0 / 0.5722 GB, free: 6.363 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 4.896e-05/1.074, allocations: 310.8 kB / 0.5725 GB, free: 6.051 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.016e-05/1.074, allocations: 11.94 kB / 0.5725 GB, free: 6.039 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.703e-05/1.074, allocations: 25.7 kB / 0.5726 GB, free: 6.008 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006399/1.075, allocations: 107.9 kB / 0.5727 GB, free: 5.902 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.038e-06/1.075, allocations: 0 / 0.5727 GB, free: 5.902 MB / 234.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0007206/1.076, allocations: 157.5 kB / 0.5728 GB, free: 5.742 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.741e-05/1.076, allocations: 6.344 kB / 0.5728 GB, free: 5.738 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.79e-06/1.076, allocations: 4 kB / 0.5728 GB, free: 5.734 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.409e-05/1.076, allocations: 0 / 0.5728 GB, free: 5.734 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001113/1.076, allocations: 19.92 kB / 0.5728 GB, free: 5.715 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.687e-06/1.076, allocations: 0 / 0.5728 GB, free: 5.715 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.286e-05/1.076, allocations: 7.875 kB / 0.5728 GB, free: 5.707 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.784e-05/1.076, allocations: 4 kB / 0.5728 GB, free: 5.703 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 5.015e-05/1.076, allocations: 101 kB / 0.5729 GB, free: 5.598 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.495e-05/1.076, allocations: 11.86 kB / 0.573 GB, free: 5.586 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009236/1.077, allocations: 213.7 kB / 0.5732 GB, free: 5.367 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.13e-06/1.077, allocations: 0 / 0.5732 GB, free: 5.367 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.896e-06/1.077, allocations: 0 / 0.5732 GB, free: 5.367 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.598e-06/1.077, allocations: 4 kB / 0.5732 GB, free: 5.363 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000115/1.077, allocations: 150.2 kB / 0.5733 GB, free: 5.18 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.069e-06/1.077, allocations: 0 / 0.5733 GB, free: 5.18 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.375e-05/1.078, allocations: 16.27 kB / 0.5733 GB, free: 5.164 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.502e-06/1.078, allocations: 4 kB / 0.5733 GB, free: 5.16 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.016e-05/1.078, allocations: 3.938 kB / 0.5733 GB, free: 5.156 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.916e-06/1.078, allocations: 3.953 kB / 0.5733 GB, free: 5.152 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.684e-06/1.078, allocations: 4 kB / 0.5733 GB, free: 5.148 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008163/1.078, allocations: 211.9 kB / 0.5735 GB, free: 4.914 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.728e-05/1.079, allocations: 96.98 kB / 0.5736 GB, free: 4.801 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.528e-05/1.079, allocations: 15.95 kB / 0.5736 GB, free: 4.785 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.423e-05/1.079, allocations: 3.984 kB / 0.5736 GB, free: 4.781 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.498e-05/1.079, allocations: 4 kB / 0.5737 GB, free: 4.777 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.655e-05/1.079, allocations: 11.98 kB / 0.5737 GB, free: 4.766 MB / 234.7 MB Notification: Performance of sorting global known variables: time 4.387e-05/1.079, allocations: 91.34 kB / 0.5737 GB, free: 4.676 MB / 234.7 MB Notification: Performance of sort global known variables: time 7.48e-07/1.079, allocations: 0 / 0.5737 GB, free: 4.676 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0007195/1.08, allocations: 207.7 kB / 0.5739 GB, free: 4.473 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.001496/1.081, allocations: 0.8824 MB / 0.5748 GB, free: 3.578 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.0001398/1.081, allocations: 31.92 kB / 0.5748 GB, free: 3.547 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 3.468e-06/1.081, allocations: 0 / 0.5748 GB, free: 3.547 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 6.412e-05/1.081, allocations: 24 kB / 0.5749 GB, free: 3.523 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002755/1.082, allocations: 21.86 kB / 0.5749 GB, free: 3.504 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003523/1.082, allocations: 134.3 kB / 0.575 GB, free: 3.34 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001213/1.082, allocations: 0.6885 MB / 0.5757 GB, free: 2.625 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001044/1.082, allocations: 23.42 kB / 0.5757 GB, free: 2.602 MB / 234.7 MB Notification: Performance of SimCode: time 1.433e-06/1.082, allocations: 0 / 0.5757 GB, free: 2.602 MB / 234.7 MB Notification: Performance of Templates: time 0.1369/1.219, allocations: 6.603 MB / 0.5822 GB, free: 56.31 MB / 234.7 MB