Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Running command: translateModel(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Th|Ts|h2|s2",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T") Notification: Performance of loadModel(Modelica): time 2.014/2.014, allocations: 194.8 MB / 211.7 MB, free: 2.887 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003524/0.0003526, allocations: 8 kB / 264.5 MB, free: 12.94 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1338/0.1342, allocations: 44.5 MB / 309 MB, free: 380 kB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.026/2.16, allocations: 0.6415 GB / 0.9433 GB, free: 41.87 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002758/2.16, allocations: 86.48 kB / 0.9434 GB, free: 41.83 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6202/2.781, allocations: 117.2 MB / 1.058 GB, free: 102.1 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.046e-06/2.781, allocations: 0 / 1.058 GB, free: 102.1 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.955e-06/2.781, allocations: 3.938 kB / 1.058 GB, free: 102.1 MB / 410.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.001503/2.782, allocations: 0.5728 MB / 1.058 GB, free: 101.5 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.151e-05/2.782, allocations: 8.031 kB / 1.058 GB, free: 101.5 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001627/2.782, allocations: 15.89 kB / 1.058 GB, free: 101.5 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001649/2.783, allocations: 183 kB / 1.059 GB, free: 101.3 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.071e-05/2.783, allocations: 0 / 1.059 GB, free: 101.3 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.676e-05/2.783, allocations: 8 kB / 1.059 GB, free: 101.3 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002375/2.783, allocations: 59.39 kB / 1.059 GB, free: 101.2 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/2.783, allocations: 0 / 1.059 GB, free: 101.2 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.732e-05/2.783, allocations: 4 kB / 1.059 GB, free: 101.2 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.049e-06/2.783, allocations: 0 / 1.059 GB, free: 101.2 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002399/2.783, allocations: 39.89 kB / 1.059 GB, free: 101.2 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001859/2.783, allocations: 178.5 kB / 1.059 GB, free: 100.9 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003873/2.784, allocations: 81.22 kB / 1.059 GB, free: 100.8 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1356/2.919, allocations: 35.41 MB / 1.094 GB, free: 61.96 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.655e-05/2.919, allocations: 34.55 kB / 1.094 GB, free: 61.92 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 3.256e-06/2.919, allocations: 0 / 1.094 GB, free: 61.92 MB / 410.7 MB Notification: Performance of matching and sorting (n=6): time 0.0005791/2.92, allocations: 89.5 kB / 1.094 GB, free: 61.82 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.434e-05/2.92, allocations: 81.11 kB / 1.094 GB, free: 61.73 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001107/2.92, allocations: 117.8 kB / 1.094 GB, free: 61.6 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.94e-05/2.92, allocations: 29.7 kB / 1.094 GB, free: 61.57 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.911e-05/2.92, allocations: 84.14 kB / 1.094 GB, free: 61.48 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.554e-05/2.92, allocations: 15.75 kB / 1.094 GB, free: 61.46 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.525e-06/2.92, allocations: 4 kB / 1.094 GB, free: 61.46 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.184e-05/2.92, allocations: 314.8 kB / 1.094 GB, free: 61.14 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001189/2.921, allocations: 15.98 kB / 1.094 GB, free: 61.13 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001243/2.921, allocations: 29.64 kB / 1.094 GB, free: 61.09 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000126/2.921, allocations: 20.36 kB / 1.094 GB, free: 61.07 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/2.921, allocations: 0 / 1.094 GB, free: 61.07 MB / 410.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003338/2.921, allocations: 77.52 kB / 1.094 GB, free: 60.99 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.102e-05/2.921, allocations: 11.98 kB / 1.094 GB, free: 60.98 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.123e-06/2.921, allocations: 0 / 1.094 GB, free: 60.98 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.878e-05/2.921, allocations: 0 / 1.094 GB, free: 60.98 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001385/2.921, allocations: 15.94 kB / 1.094 GB, free: 60.96 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.015e-05/2.921, allocations: 8.859 kB / 1.094 GB, free: 60.96 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.048e-05/2.922, allocations: 64 / 1.094 GB, free: 60.96 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.854e-05/2.922, allocations: 5.969 kB / 1.094 GB, free: 60.95 MB / 410.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 8.374e-05/2.922, allocations: 109.8 kB / 1.095 GB, free: 60.84 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.539e-05/2.922, allocations: 11.86 kB / 1.095 GB, free: 60.82 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004736/2.922, allocations: 109.5 kB / 1.095 GB, free: 60.71 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.831e-06/2.922, allocations: 7.938 kB / 1.095 GB, free: 60.7 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.622e-06/2.922, allocations: 0 / 1.095 GB, free: 60.7 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.077e-06/2.922, allocations: 3.938 kB / 1.095 GB, free: 60.7 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000128/2.922, allocations: 161.8 kB / 1.095 GB, free: 60.49 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.606e-06/2.922, allocations: 4 kB / 1.095 GB, free: 60.48 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001458/2.923, allocations: 15.98 kB / 1.095 GB, free: 60.47 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.502e-06/2.923, allocations: 7.953 kB / 1.095 GB, free: 60.46 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.313e-05/2.923, allocations: 4 kB / 1.095 GB, free: 60.46 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.447e-06/2.923, allocations: 4 kB / 1.095 GB, free: 60.45 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.464e-06/2.923, allocations: 0 / 1.095 GB, free: 60.45 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003262/2.923, allocations: 105.9 kB / 1.095 GB, free: 60.33 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.845e-05/2.923, allocations: 93.03 kB / 1.095 GB, free: 60.22 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.632e-05/2.923, allocations: 7.953 kB / 1.095 GB, free: 60.21 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001412/2.923, allocations: 7.984 kB / 1.095 GB, free: 60.2 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.847e-05/2.923, allocations: 11.98 kB / 1.095 GB, free: 60.19 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.613e-05/2.923, allocations: 0 / 1.095 GB, free: 60.19 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.842e-05/2.923, allocations: 95.58 kB / 1.095 GB, free: 60.1 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.3e-07/2.923, allocations: 3.938 kB / 1.095 GB, free: 60.09 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001413/2.925, allocations: 335.5 kB / 1.095 GB, free: 59.77 MB / 410.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 (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 Backend phase and start with SimCode phase: time 0.002876/2.928, allocations: 0.7312 MB / 1.096 GB, free: 59.02 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000393/2.928, allocations: 39.91 kB / 1.096 GB, free: 58.98 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.378e-06/2.928, allocations: 0 / 1.096 GB, free: 58.98 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001379/2.928, allocations: 23.97 kB / 1.096 GB, free: 58.96 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002236/2.929, allocations: 8 kB / 1.096 GB, free: 58.95 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004835/2.929, allocations: 189.3 kB / 1.096 GB, free: 58.74 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001353/2.929, allocations: 0.6848 MB / 1.097 GB, free: 58.03 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001772/2.929, allocations: 44.08 kB / 1.097 GB, free: 57.98 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.722e-05/2.929, allocations: 23.42 kB / 1.097 GB, free: 57.96 MB / 410.7 MB Notification: Performance of SimCode: time 1.202e-06/2.929, allocations: 0 / 1.097 GB, free: 57.96 MB / 410.7 MB Notification: Performance of Templates: time 0.02074/2.95, allocations: 9.419 MB / 1.106 GB, free: 48.53 MB / 410.7 MB