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.604/1.604, allocations: 171.2 MB / 184.2 MB, free: 12.04 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.761e-05/2.786e-05, allocations: 4 kB / 228.8 MB, free: 15.41 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2113/0.2113, allocations: 38.77 MB / 267.6 MB, free: 9.316 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 14.55/14.76, allocations: 6.537 GB / 6.799 GB, free: 53.38 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001987/14.76, allocations: 75.89 kB / 6.799 GB, free: 53.3 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7733/15.54, allocations: 178.6 MB / 6.973 GB, free: 21.7 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.665e-06/15.54, allocations: 0 / 6.973 GB, free: 21.7 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.792e-06/15.54, allocations: 4 kB / 6.973 GB, free: 21.7 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.004154/15.54, allocations: 1.078 MB / 6.974 GB, free: 20.57 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.356e-05/15.54, allocations: 16.03 kB / 6.974 GB, free: 20.55 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.477e-05/15.54, allocations: 3.906 kB / 6.974 GB, free: 20.55 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001591/15.54, allocations: 195 kB / 6.975 GB, free: 20.32 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.647e-05/15.54, allocations: 0 / 6.975 GB, free: 20.32 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.384e-05/15.54, allocations: 4 kB / 6.975 GB, free: 20.32 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001466/15.54, allocations: 71.33 kB / 6.975 GB, free: 20.23 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.842e-06/15.54, allocations: 3.938 kB / 6.975 GB, free: 20.23 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.385e-05/15.54, allocations: 0 / 6.975 GB, free: 20.23 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.038e-06/15.54, allocations: 4 kB / 6.975 GB, free: 20.23 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001007/15.54, allocations: 31.97 kB / 6.975 GB, free: 20.2 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001813/15.54, allocations: 190.5 kB / 6.975 GB, free: 19.96 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003019/15.54, allocations: 97.19 kB / 6.975 GB, free: 19.84 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.028e-05/15.54, allocations: 29.78 kB / 6.975 GB, free: 19.81 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.413e-05/15.54, allocations: 20.06 kB / 6.975 GB, free: 19.79 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.478e-05/15.54, allocations: 30.56 kB / 6.975 GB, free: 19.75 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 2.019e-06/15.54, allocations: 0 / 6.975 GB, free: 19.75 MB / 362.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002166/15.54, allocations: 85.5 kB / 6.975 GB, free: 19.66 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.669e-05/15.54, allocations: 77.11 kB / 6.975 GB, free: 19.57 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001128/15.54, allocations: 125.1 kB / 6.975 GB, free: 19.43 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.52e-05/15.54, allocations: 29.7 kB / 6.975 GB, free: 19.4 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.185e-05/15.54, allocations: 154.6 kB / 6.975 GB, free: 19.25 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.117e-05/15.54, allocations: 27.64 kB / 6.975 GB, free: 19.22 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.065e-06/15.54, allocations: 0 / 6.975 GB, free: 19.22 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 4.898e-05/15.54, allocations: 314.8 kB / 6.976 GB, free: 18.9 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.855e-05/15.54, allocations: 16 kB / 6.976 GB, free: 18.89 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.125e-05/15.54, allocations: 25.7 kB / 6.976 GB, free: 18.86 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.181e-05/15.54, allocations: 19.98 kB / 6.976 GB, free: 18.84 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.472e-06/15.54, allocations: 4 kB / 6.976 GB, free: 18.83 MB / 362.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001668/15.54, allocations: 73.59 kB / 6.976 GB, free: 18.75 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.577e-05/15.54, allocations: 8.781 kB / 6.976 GB, free: 18.75 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.196e-06/15.54, allocations: 0 / 6.976 GB, free: 18.75 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.393e-05/15.54, allocations: 0 / 6.976 GB, free: 18.75 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001166/15.54, allocations: 15.98 kB / 6.976 GB, free: 18.73 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.278e-06/15.54, allocations: 0 / 6.976 GB, free: 18.73 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.306e-05/15.54, allocations: 7.984 kB / 6.976 GB, free: 18.72 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.273e-05/15.54, allocations: 0 / 6.976 GB, free: 18.72 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 () * 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.422e-05/15.54, allocations: 120.9 kB / 6.976 GB, free: 18.6 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.592e-05/15.54, allocations: 7.906 kB / 6.976 GB, free: 18.59 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002433/15.54, allocations: 100.8 kB / 6.976 GB, free: 18.48 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.546e-06/15.54, allocations: 4 kB / 6.976 GB, free: 18.48 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.944e-06/15.54, allocations: 0 / 6.976 GB, free: 18.48 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.28e-06/15.54, allocations: 3.938 kB / 6.976 GB, free: 18.47 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001242/15.54, allocations: 181.5 kB / 6.976 GB, free: 18.25 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.3e-06/15.54, allocations: 0 / 6.976 GB, free: 18.25 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001023/15.54, allocations: 19.92 kB / 6.976 GB, free: 18.23 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.59e-06/15.54, allocations: 0 / 6.976 GB, free: 18.23 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.188e-05/15.54, allocations: 8 kB / 6.976 GB, free: 18.22 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.396e-06/15.54, allocations: 0 / 6.976 GB, free: 18.22 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.76e-06/15.54, allocations: 0 / 6.976 GB, free: 18.22 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001801/15.54, allocations: 127.8 kB / 6.976 GB, free: 18.07 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.452e-05/15.54, allocations: 96.98 kB / 6.977 GB, free: 17.96 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.396e-05/15.54, allocations: 4 kB / 6.977 GB, free: 17.95 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001112/15.54, allocations: 8 kB / 6.977 GB, free: 17.95 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.863e-05/15.54, allocations: 7.984 kB / 6.977 GB, free: 17.94 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.611e-05/15.54, allocations: 4 kB / 6.977 GB, free: 17.93 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.365e-05/15.54, allocations: 115.5 kB / 6.977 GB, free: 17.82 MB / 362.7 MB Notification: Performance of sort global known variables: time 7.34e-07/15.54, allocations: 0 / 6.977 GB, free: 17.82 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.003937/15.55, allocations: 0.9794 MB / 6.978 GB, free: 16.84 MB / 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 () * 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.007767/15.56, allocations: 1.474 MB / 6.979 GB, free: 15.37 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001889/15.56, allocations: 39.92 kB / 6.979 GB, free: 15.33 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/15.56, allocations: 4 kB / 6.979 GB, free: 15.33 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.832e-05/15.56, allocations: 23.98 kB / 6.979 GB, free: 15.3 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002663/15.56, allocations: 26.91 kB / 6.979 GB, free: 15.28 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003768/15.56, allocations: 133.1 kB / 6.979 GB, free: 15.12 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001205/15.56, allocations: 0.6887 MB / 6.98 GB, free: 14.41 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.262e-05/15.56, allocations: 19.44 kB / 6.98 GB, free: 14.39 MB / 362.7 MB Notification: Performance of SimCode: time 1.629e-06/15.56, allocations: 3.938 kB / 6.98 GB, free: 14.38 MB / 362.7 MB Notification: Performance of Templates: time 0.2526/15.81, allocations: 22.64 MB / 7.002 GB, free: 53.46 MB / 362.7 MB