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.ReferenceAir.Inverse_sh_TX.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.ReferenceAir.Inverse_sh_TX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Th|Ts|h2|s2",fileNamePrefix="Modelica_3.2.1_cpp_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX") Notification: Performance of loadModel(Modelica): time 1.595/1.595, allocations: 171.2 MB / 186.8 MB, free: 1.031 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003739/0.000374, allocations: 8 kB / 233.2 MB, free: 3.012 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07046/0.07086, allocations: 38.77 MB / 272 MB, free: 12.16 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 14.81/14.88, allocations: 6.538 GB / 6.803 GB, free: 36.19 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002082/14.88, allocations: 79.95 kB / 6.803 GB, free: 36.11 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7511/15.63, allocations: 178.8 MB / 6.978 GB, free: 5.293 MB / 362.7 MB Notification: Performance of FrontEnd: time 4.045e-06/15.63, allocations: 0 / 6.978 GB, free: 5.293 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.213e-06/15.63, allocations: 3.938 kB / 6.978 GB, free: 5.289 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.004501/15.63, allocations: 1.106 MB / 6.979 GB, free: 4.133 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.037e-05/15.63, allocations: 8.031 kB / 6.979 GB, free: 4.125 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.764e-05/15.63, allocations: 11.86 kB / 6.979 GB, free: 4.113 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001552/15.63, allocations: 187 kB / 6.979 GB, free: 3.891 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.732e-05/15.63, allocations: 0 / 6.979 GB, free: 3.891 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.814e-05/15.63, allocations: 4 kB / 6.979 GB, free: 3.887 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001968/15.63, allocations: 71.38 kB / 6.979 GB, free: 3.805 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.205e-05/15.63, allocations: 3.25 kB / 6.979 GB, free: 3.805 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.811e-05/15.63, allocations: 8 kB / 6.979 GB, free: 3.797 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.825e-06/15.63, allocations: 0 / 6.979 GB, free: 3.797 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001967/15.63, allocations: 43.89 kB / 6.979 GB, free: 3.754 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000193/15.63, allocations: 190.5 kB / 6.979 GB, free: 3.516 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003643/15.63, allocations: 105.3 kB / 6.98 GB, free: 3.395 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.293e-05/15.63, allocations: 12.05 kB / 6.98 GB, free: 3.383 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.611e-05/15.63, allocations: 30.56 kB / 6.98 GB, free: 3.344 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 2.194e-06/15.63, allocations: 0 / 6.98 GB, free: 3.344 MB / 362.7 MB Notification: Performance of matching and sorting (n=6): time 0.0004424/15.63, allocations: 113.5 kB / 6.98 GB, free: 3.227 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.318e-05/15.63, allocations: 85.11 kB / 6.98 GB, free: 3.125 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001087/15.64, allocations: 125.2 kB / 6.98 GB, free: 2.992 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.438e-05/15.64, allocations: 25.7 kB / 6.98 GB, free: 2.961 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.438e-05/15.64, allocations: 154.6 kB / 6.98 GB, free: 2.809 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.94e-05/15.64, allocations: 15.75 kB / 6.98 GB, free: 2.793 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.298e-06/15.64, allocations: 0 / 6.98 GB, free: 2.793 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 5.205e-05/15.64, allocations: 318.8 kB / 6.98 GB, free: 2.473 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001047/15.64, allocations: 27.91 kB / 6.98 GB, free: 2.445 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001012/15.64, allocations: 37.69 kB / 6.98 GB, free: 2.402 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000105/15.64, allocations: 24.3 kB / 6.98 GB, free: 2.379 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.577e-06/15.64, allocations: 0 / 6.98 GB, free: 2.379 MB / 362.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000278/15.64, allocations: 93.47 kB / 6.981 GB, free: 2.281 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.565e-05/15.64, allocations: 4 kB / 6.981 GB, free: 2.277 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.077e-06/15.64, allocations: 0 / 6.981 GB, free: 2.277 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.571e-05/15.64, allocations: 8 kB / 6.981 GB, free: 2.27 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001034/15.64, allocations: 11.98 kB / 6.981 GB, free: 2.258 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.98e-06/15.64, allocations: 3.359 kB / 6.981 GB, free: 2.258 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.523e-05/15.64, allocations: 8 kB / 6.981 GB, free: 2.25 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.558e-05/15.64, allocations: 7.984 kB / 6.981 GB, free: 2.242 MB / 362.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 7.162e-05/15.64, allocations: 113.8 kB / 6.981 GB, free: 2.121 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.482e-05/15.64, allocations: 3.906 kB / 6.981 GB, free: 2.117 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003647/15.64, allocations: 125.4 kB / 6.981 GB, free: 1.988 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.568e-06/15.64, allocations: 0 / 6.981 GB, free: 1.988 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/15.64, allocations: 0 / 6.981 GB, free: 1.988 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.884e-06/15.64, allocations: 4 kB / 6.981 GB, free: 1.984 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001314/15.64, allocations: 173.6 kB / 6.981 GB, free: 1.766 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.067e-06/15.64, allocations: 4.359 kB / 6.981 GB, free: 1.762 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.259e-05/15.64, allocations: 12 kB / 6.981 GB, free: 1.75 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.59e-06/15.64, allocations: 0 / 6.981 GB, free: 1.75 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.081e-05/15.64, allocations: 0 / 6.981 GB, free: 1.75 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.043e-06/15.64, allocations: 11.86 kB / 6.981 GB, free: 1.738 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.761e-06/15.64, allocations: 10.81 kB / 6.981 GB, free: 1.73 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002858/15.64, allocations: 127.5 kB / 6.981 GB, free: 1.578 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.478e-05/15.64, allocations: 97.08 kB / 6.981 GB, free: 1.465 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.788e-05/15.64, allocations: 0 / 6.981 GB, free: 1.465 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001122/15.64, allocations: 15.98 kB / 6.981 GB, free: 1.449 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.044e-05/15.64, allocations: 7.984 kB / 6.981 GB, free: 1.441 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.781e-05/15.64, allocations: 4 kB / 6.981 GB, free: 1.438 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.201e-05/15.64, allocations: 103.3 kB / 6.981 GB, free: 1.336 MB / 362.7 MB Notification: Performance of sort global known variables: time 8.23e-07/15.64, allocations: 0 / 6.981 GB, free: 1.336 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.004159/15.64, allocations: 0.9755 MB / 6.982 GB, free: 368 kB / 362.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.2179/15.86, allocations: 1.487 MB / 6.984 GB, free: 62.7 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003449/15.86, allocations: 47.59 kB / 6.984 GB, free: 62.7 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.263e-06/15.86, allocations: 1.375 kB / 6.984 GB, free: 62.7 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001237/15.86, allocations: 33.97 kB / 6.984 GB, free: 62.7 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002545/15.86, allocations: 17.48 kB / 6.984 GB, free: 62.7 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000515/15.86, allocations: 244.9 kB / 6.984 GB, free: 62.52 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008591/15.86, allocations: 0.6895 MB / 6.985 GB, free: 77.83 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.445e-05/15.86, allocations: 16.84 kB / 6.985 GB, free: 77.82 MB / 378.7 MB Notification: Performance of SimCode: time 1.443e-06/15.86, allocations: 0 / 6.985 GB, free: 77.82 MB / 378.7 MB Notification: Performance of Templates: time 0.04321/15.91, allocations: 22.87 MB / 7.007 GB, free: 76.06 MB / 378.7 MB