Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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.639/1.639, allocations: 171.2 MB / 187.3 MB, free: 1.129 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003551/0.0003553, allocations: 11.98 kB / 233.8 MB, free: 3.078 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08649/0.08687, allocations: 38.77 MB / 272.5 MB, free: 12.23 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 19.18/19.27, allocations: 6.538 GB / 6.804 GB, free: 46.39 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002399/19.27, allocations: 81.03 kB / 6.804 GB, free: 46.35 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9345/20.21, allocations: 178.9 MB / 6.978 GB, free: 18.75 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.635e-06/20.21, allocations: 0 / 6.978 GB, free: 18.75 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.205e-06/20.21, allocations: 0 / 6.978 GB, free: 18.75 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.005668/20.21, allocations: 1.095 MB / 6.979 GB, free: 17.61 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.452e-05/20.21, allocations: 15.97 kB / 6.979 GB, free: 17.59 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.686e-05/20.21, allocations: 11.84 kB / 6.979 GB, free: 17.58 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001672/20.21, allocations: 190.9 kB / 6.98 GB, free: 17.36 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.748e-05/20.21, allocations: 8 kB / 6.98 GB, free: 17.35 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.718e-05/20.21, allocations: 0 / 6.98 GB, free: 17.35 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002475/20.21, allocations: 75.38 kB / 6.98 GB, free: 17.26 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.218e-05/20.21, allocations: 11.91 kB / 6.98 GB, free: 17.25 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.641e-05/20.21, allocations: 0 / 6.98 GB, free: 17.25 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/20.21, allocations: 4 kB / 6.98 GB, free: 17.25 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002733/20.21, allocations: 43.89 kB / 6.98 GB, free: 17.2 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002138/20.21, allocations: 186.5 kB / 6.98 GB, free: 16.97 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004393/20.21, allocations: 101.2 kB / 6.98 GB, free: 16.85 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.68e-05/20.21, allocations: 15.98 kB / 6.98 GB, free: 16.84 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.3e-05/20.21, allocations: 34.56 kB / 6.98 GB, free: 16.79 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.403e-06/20.21, allocations: 0 / 6.98 GB, free: 16.79 MB / 362.7 MB Notification: Performance of matching and sorting (n=6): time 0.000587/20.21, allocations: 109.5 kB / 6.98 GB, free: 16.68 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.207e-05/20.21, allocations: 81.09 kB / 6.98 GB, free: 16.58 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001354/20.21, allocations: 134 kB / 6.98 GB, free: 16.44 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.627e-05/20.21, allocations: 25.7 kB / 6.98 GB, free: 16.41 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.837e-05/20.21, allocations: 162.6 kB / 6.981 GB, free: 16.25 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.372e-05/20.21, allocations: 15.73 kB / 6.981 GB, free: 16.23 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.636e-06/20.21, allocations: 4 kB / 6.981 GB, free: 16.23 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 5.675e-05/20.21, allocations: 318.8 kB / 6.981 GB, free: 15.91 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001344/20.22, allocations: 19.97 kB / 6.981 GB, free: 15.89 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001389/20.22, allocations: 36.75 kB / 6.981 GB, free: 15.85 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001438/20.22, allocations: 27.92 kB / 6.981 GB, free: 15.82 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.514e-06/20.22, allocations: 0 / 6.981 GB, free: 15.82 MB / 362.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003419/20.22, allocations: 85.55 kB / 6.981 GB, free: 15.73 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.605e-05/20.22, allocations: 6.406 kB / 6.981 GB, free: 15.73 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/20.22, allocations: 0 / 6.981 GB, free: 15.73 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.685e-05/20.22, allocations: 4 kB / 6.981 GB, free: 15.72 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000133/20.22, allocations: 19.92 kB / 6.981 GB, free: 15.7 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/20.22, allocations: 3.938 kB / 6.981 GB, free: 15.7 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.189e-05/20.22, allocations: 8 kB / 6.981 GB, free: 15.69 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.71e-05/20.22, allocations: 7.984 kB / 6.981 GB, free: 15.68 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.535e-05/20.22, allocations: 113.8 kB / 6.981 GB, free: 15.56 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.479e-05/20.22, allocations: 7.906 kB / 6.981 GB, free: 15.55 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004439/20.22, allocations: 115.8 kB / 6.981 GB, free: 15.44 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.36e-06/20.22, allocations: 3.984 kB / 6.981 GB, free: 15.43 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/20.22, allocations: 4 kB / 6.981 GB, free: 15.43 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/20.22, allocations: 4 kB / 6.981 GB, free: 15.43 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001441/20.22, allocations: 177.5 kB / 6.982 GB, free: 15.2 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/20.22, allocations: 0 / 6.982 GB, free: 15.2 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001216/20.22, allocations: 15.98 kB / 6.982 GB, free: 15.19 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.406e-06/20.22, allocations: 0 / 6.982 GB, free: 15.19 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.289e-05/20.22, allocations: 4 kB / 6.982 GB, free: 15.18 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.847e-06/20.22, allocations: 7.984 kB / 6.982 GB, free: 15.18 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/20.22, allocations: 0 / 6.982 GB, free: 15.18 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003538/20.22, allocations: 124.8 kB / 6.982 GB, free: 15.04 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.256e-05/20.22, allocations: 97.08 kB / 6.982 GB, free: 14.92 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.936e-05/20.22, allocations: 0 / 6.982 GB, free: 14.92 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001436/20.22, allocations: 11.98 kB / 6.982 GB, free: 14.91 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.578e-05/20.22, allocations: 4 kB / 6.982 GB, free: 14.91 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.807e-05/20.22, allocations: 7.984 kB / 6.982 GB, free: 14.9 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.98e-05/20.22, allocations: 103.3 kB / 6.982 GB, free: 14.8 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.11e-07/20.22, allocations: 4 kB / 6.982 GB, free: 14.79 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.004964/20.22, allocations: 0.9756 MB / 6.983 GB, free: 13.82 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 () * 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.009791/20.23, allocations: 1.479 MB / 6.984 GB, free: 12.34 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000384/20.23, allocations: 59.89 kB / 6.984 GB, free: 12.29 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.919e-06/20.23, allocations: 0 / 6.984 GB, free: 12.29 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001494/20.23, allocations: 35.91 kB / 6.984 GB, free: 12.25 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000261/20.23, allocations: 15.89 kB / 6.984 GB, free: 12.23 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004991/20.23, allocations: 245.9 kB / 6.985 GB, free: 11.96 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001499/20.23, allocations: 0.6887 MB / 6.985 GB, free: 11.24 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.993e-05/20.23, allocations: 19.44 kB / 6.985 GB, free: 11.22 MB / 362.7 MB Notification: Performance of SimCode: time 9.32e-07/20.23, allocations: 0 / 6.985 GB, free: 11.22 MB / 362.7 MB Notification: Performance of Templates: time 0.3059/20.54, allocations: 22.85 MB / 7.008 GB, free: 52.77 MB / 362.7 MB