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_TX.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_TX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Th|Ts|h2|s2",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX") Notification: Performance of loadModel(Modelica): time 1.984/1.984, allocations: 194.8 MB / 211.7 MB, free: 3.004 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004875/0.0004877, allocations: 8 kB / 264.5 MB, free: 12.94 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1002/0.1007, allocations: 44.5 MB / 309 MB, free: 380 kB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 20.65/20.75, allocations: 6.544 GB / 6.845 GB, free: 91.43 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002363/20.75, allocations: 89.25 kB / 6.846 GB, free: 91.43 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.068/21.82, allocations: 179.5 MB / 7.021 GB, free: 69.79 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.236e-06/21.82, allocations: 0 / 7.021 GB, free: 69.79 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.554e-06/21.82, allocations: 5.375 kB / 7.021 GB, free: 69.79 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.005347/21.82, allocations: 1.107 MB / 7.022 GB, free: 69.1 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.238e-05/21.82, allocations: 11.41 kB / 7.022 GB, free: 69.1 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.055e-05/21.82, allocations: 7.625 kB / 7.022 GB, free: 69.1 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001783/21.82, allocations: 184.8 kB / 7.022 GB, free: 68.9 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.891e-05/21.82, allocations: 3.188 kB / 7.022 GB, free: 68.9 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.947e-05/21.82, allocations: 3.656 kB / 7.022 GB, free: 68.9 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002483/21.82, allocations: 73.81 kB / 7.022 GB, free: 68.85 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/21.82, allocations: 0 / 7.022 GB, free: 68.85 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.691e-05/21.82, allocations: 4 kB / 7.022 GB, free: 68.85 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.104e-06/21.82, allocations: 7.922 kB / 7.022 GB, free: 68.84 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002696/21.82, allocations: 42.84 kB / 7.022 GB, free: 68.84 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002223/21.82, allocations: 187.2 kB / 7.022 GB, free: 68.64 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004417/21.82, allocations: 108.3 kB / 7.022 GB, free: 68.59 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.431e-05/21.82, allocations: 7.625 kB / 7.022 GB, free: 68.59 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.041e-05/21.82, allocations: 38.27 kB / 7.022 GB, free: 68.55 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 1.613e-06/21.82, allocations: 0 / 7.022 GB, free: 68.55 MB / 410.7 MB Notification: Performance of matching and sorting (n=6): time 0.0005467/21.82, allocations: 111.5 kB / 7.023 GB, free: 68.52 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.276e-05/21.82, allocations: 82.23 kB / 7.023 GB, free: 68.43 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000137/21.82, allocations: 138.5 kB / 7.023 GB, free: 68.32 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.588e-05/21.82, allocations: 25.7 kB / 7.023 GB, free: 68.29 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.085e-05/21.82, allocations: 89.14 kB / 7.023 GB, free: 68.2 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.494e-05/21.82, allocations: 23.12 kB / 7.023 GB, free: 68.19 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.855e-06/21.83, allocations: 3.625 kB / 7.023 GB, free: 68.19 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.962e-05/21.83, allocations: 310.8 kB / 7.023 GB, free: 67.88 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001335/21.83, allocations: 26.05 kB / 7.023 GB, free: 67.87 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001379/21.83, allocations: 38.44 kB / 7.023 GB, free: 67.85 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001408/21.83, allocations: 25.25 kB / 7.023 GB, free: 67.85 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/21.83, allocations: 0 / 7.023 GB, free: 67.85 MB / 410.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003459/21.83, allocations: 80.86 kB / 7.023 GB, free: 67.82 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.623e-05/21.83, allocations: 6.812 kB / 7.023 GB, free: 67.82 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.032e-06/21.83, allocations: 0 / 7.023 GB, free: 67.82 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.482e-05/21.83, allocations: 4 kB / 7.023 GB, free: 67.81 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001259/21.83, allocations: 16.3 kB / 7.023 GB, free: 67.81 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-06/21.83, allocations: 3.5 kB / 7.023 GB, free: 67.81 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.935e-05/21.83, allocations: 11.61 kB / 7.023 GB, free: 67.8 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.478e-05/21.83, allocations: 11.19 kB / 7.023 GB, free: 67.8 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 7.349e-05/21.83, allocations: 109.7 kB / 7.024 GB, free: 67.69 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.49e-05/21.83, allocations: 7.594 kB / 7.024 GB, free: 67.69 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004432/21.83, allocations: 122.6 kB / 7.024 GB, free: 67.64 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/21.83, allocations: 0 / 7.024 GB, free: 67.64 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.71e-06/21.83, allocations: 0 / 7.024 GB, free: 67.64 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/21.83, allocations: 0 / 7.024 GB, free: 67.64 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001449/21.83, allocations: 184.3 kB / 7.024 GB, free: 67.44 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/21.83, allocations: 0 / 7.024 GB, free: 67.44 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001205/21.83, allocations: 15.33 kB / 7.024 GB, free: 67.44 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/21.83, allocations: 3.703 kB / 7.024 GB, free: 67.44 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.432e-05/21.83, allocations: 2.25 kB / 7.024 GB, free: 67.44 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.918e-06/21.83, allocations: 10.22 kB / 7.024 GB, free: 67.44 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/21.83, allocations: 4 kB / 7.024 GB, free: 67.43 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003501/21.83, allocations: 116.8 kB / 7.024 GB, free: 67.36 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.697e-05/21.83, allocations: 100.2 kB / 7.024 GB, free: 67.26 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.887e-05/21.83, allocations: 0 / 7.024 GB, free: 67.26 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001435/21.83, allocations: 10.89 kB / 7.024 GB, free: 67.26 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.269e-05/21.83, allocations: 7.594 kB / 7.024 GB, free: 67.26 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.764e-05/21.83, allocations: 6.531 kB / 7.024 GB, free: 67.26 MB / 410.7 MB Notification: Performance of sorting global known variables: time 8.017e-05/21.83, allocations: 108.5 kB / 7.024 GB, free: 67.18 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.11e-07/21.83, allocations: 0 / 7.024 GB, free: 67.18 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.005037/21.83, allocations: 0.9783 MB / 7.025 GB, free: 67 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.009513/21.84, allocations: 1.471 MB / 7.027 GB, free: 66.65 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000408/21.84, allocations: 47.22 kB / 7.027 GB, free: 66.65 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.969e-06/21.84, allocations: 3.938 kB / 7.027 GB, free: 66.65 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000146/21.84, allocations: 33.83 kB / 7.027 GB, free: 66.64 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002693/21.84, allocations: 16.2 kB / 7.027 GB, free: 66.64 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005507/21.84, allocations: 214.7 kB / 7.027 GB, free: 66.5 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001371/21.84, allocations: 0.691 MB / 7.028 GB, free: 65.8 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 9.341e-05/21.84, allocations: 18.92 kB / 7.028 GB, free: 65.79 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.853e-05/21.84, allocations: 18.78 kB / 7.028 GB, free: 65.79 MB / 410.7 MB Notification: Performance of SimCode: time 9.22e-07/21.84, allocations: 0 / 7.028 GB, free: 65.79 MB / 410.7 MB Notification: Performance of Templates: time 0.05779/21.9, allocations: 30.16 MB / 7.057 GB, free: 52.72 MB / 410.7 MB