Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_cpp_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_cpp_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX") Notification: Performance of loadModel(Modelica): time 1.953/1.953, allocations: 194.8 MB / 212.3 MB, free: 3.016 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005549/0.0005552, allocations: 8 kB / 264.5 MB, free: 13.64 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1238/0.1244, allocations: 44.51 MB / 309 MB, free: 1.062 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 20.05/20.17, allocations: 6.544 GB / 6.845 GB, free: 91.89 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003027/20.18, allocations: 80.78 kB / 6.845 GB, free: 91.89 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.981/21.16, allocations: 179.5 MB / 7.021 GB, free: 73.61 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.104e-06/21.16, allocations: 4 kB / 7.021 GB, free: 73.6 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.315e-06/21.16, allocations: 0 / 7.021 GB, free: 73.6 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.005713/21.16, allocations: 1.103 MB / 7.022 GB, free: 72.91 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.625e-05/21.16, allocations: 10.91 kB / 7.022 GB, free: 72.91 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.367e-05/21.16, allocations: 7.562 kB / 7.022 GB, free: 72.91 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001713/21.16, allocations: 185.2 kB / 7.022 GB, free: 72.71 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.813e-05/21.16, allocations: 0 / 7.022 GB, free: 72.71 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.695e-05/21.16, allocations: 7.031 kB / 7.022 GB, free: 72.71 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002542/21.16, allocations: 76.97 kB / 7.022 GB, free: 72.66 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.909e-06/21.16, allocations: 0 / 7.022 GB, free: 72.66 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.822e-05/21.16, allocations: 6.25 kB / 7.022 GB, free: 72.66 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.843e-06/21.16, allocations: 3.953 kB / 7.022 GB, free: 72.66 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002823/21.16, allocations: 46.92 kB / 7.022 GB, free: 72.66 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002279/21.16, allocations: 183.8 kB / 7.022 GB, free: 72.46 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004545/21.16, allocations: 104.4 kB / 7.022 GB, free: 72.41 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.331e-05/21.16, allocations: 11.59 kB / 7.022 GB, free: 72.41 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.032e-05/21.16, allocations: 30.56 kB / 7.022 GB, free: 72.37 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 2.544e-06/21.16, allocations: 4 kB / 7.022 GB, free: 72.36 MB / 410.7 MB Notification: Performance of matching and sorting (n=6): time 0.0005844/21.16, allocations: 114.9 kB / 7.023 GB, free: 72.33 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.664e-05/21.16, allocations: 80.42 kB / 7.023 GB, free: 72.23 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001452/21.16, allocations: 140.8 kB / 7.023 GB, free: 72.12 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.91e-05/21.16, allocations: 25.7 kB / 7.023 GB, free: 72.09 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.135e-05/21.16, allocations: 161.2 kB / 7.023 GB, free: 71.94 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.469e-05/21.16, allocations: 15.66 kB / 7.023 GB, free: 71.93 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.016e-05/21.16, allocations: 11.25 kB / 7.023 GB, free: 71.92 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.154e-05/21.17, allocations: 314.3 kB / 7.023 GB, free: 71.61 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000136/21.17, allocations: 15.06 kB / 7.023 GB, free: 71.61 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001453/21.17, allocations: 33.06 kB / 7.023 GB, free: 71.59 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001459/21.17, allocations: 24.19 kB / 7.023 GB, free: 71.59 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/21.17, allocations: 0 / 7.023 GB, free: 71.59 MB / 410.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003612/21.17, allocations: 88.27 kB / 7.023 GB, free: 71.55 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.838e-05/21.17, allocations: 7.688 kB / 7.023 GB, free: 71.55 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/21.17, allocations: 0 / 7.023 GB, free: 71.55 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.867e-05/21.17, allocations: 0 / 7.023 GB, free: 71.55 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001425/21.17, allocations: 18.28 kB / 7.023 GB, free: 71.55 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.793e-06/21.17, allocations: 0 / 7.023 GB, free: 71.55 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001003/21.17, allocations: 11.28 kB / 7.023 GB, free: 71.55 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.975e-05/21.17, allocations: 7.875 kB / 7.023 GB, free: 71.55 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.258e-05/21.17, allocations: 113.7 kB / 7.024 GB, free: 71.43 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.725e-05/21.17, allocations: 7.781 kB / 7.024 GB, free: 71.43 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00047/21.17, allocations: 110 kB / 7.024 GB, free: 71.38 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/21.17, allocations: 0 / 7.024 GB, free: 71.38 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.72e-06/21.17, allocations: 0 / 7.024 GB, free: 71.38 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.92e-06/21.17, allocations: 6.984 kB / 7.024 GB, free: 71.38 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001644/21.17, allocations: 182.3 kB / 7.024 GB, free: 71.19 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/21.17, allocations: 0 / 7.024 GB, free: 71.19 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001273/21.17, allocations: 22.36 kB / 7.024 GB, free: 71.18 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.409e-06/21.17, allocations: 0 / 7.024 GB, free: 71.18 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.261e-05/21.17, allocations: 3.969 kB / 7.024 GB, free: 71.18 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.637e-06/21.17, allocations: 3.25 kB / 7.024 GB, free: 71.18 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/21.17, allocations: 0 / 7.024 GB, free: 71.18 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003733/21.17, allocations: 120.2 kB / 7.024 GB, free: 71.1 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.657e-05/21.17, allocations: 105.8 kB / 7.024 GB, free: 71 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.929e-05/21.17, allocations: 0 / 7.024 GB, free: 71 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001725/21.17, allocations: 10.61 kB / 7.024 GB, free: 71 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.836e-05/21.17, allocations: 2.938 kB / 7.024 GB, free: 71 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.298e-05/21.17, allocations: 11.08 kB / 7.024 GB, free: 71 MB / 410.7 MB Notification: Performance of sorting global known variables: time 9.619e-05/21.17, allocations: 119 kB / 7.024 GB, free: 70.92 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.41e-07/21.17, allocations: 0 / 7.024 GB, free: 70.92 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00527/21.17, allocations: 0.9787 MB / 7.025 GB, free: 70.74 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.0133/21.19, allocations: 1.473 MB / 7.027 GB, free: 70.39 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0005798/21.19, allocations: 51.33 kB / 7.027 GB, free: 70.39 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.492e-06/21.19, allocations: 3.938 kB / 7.027 GB, free: 70.38 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002199/21.19, allocations: 38.75 kB / 7.027 GB, free: 70.38 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004182/21.19, allocations: 19.33 kB / 7.027 GB, free: 70.37 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007195/21.19, allocations: 237.1 kB / 7.027 GB, free: 70.2 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001754/21.19, allocations: 0.6911 MB / 7.028 GB, free: 69.5 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.654e-05/21.19, allocations: 14.5 kB / 7.028 GB, free: 69.49 MB / 410.7 MB Notification: Performance of SimCode: time 1.313e-06/21.19, allocations: 0 / 7.028 GB, free: 69.49 MB / 410.7 MB Notification: Performance of Templates: time 0.07087/21.26, allocations: 22.93 MB / 7.05 GB, free: 63.03 MB / 410.7 MB