Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_cpp_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Running command: translateModel(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T,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_T") Notification: Performance of loadModel(Modelica): time 1.827/1.827, allocations: 194.9 MB / 211.7 MB, free: 2.984 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000373/0.000373, allocations: 8 kB / 263.9 MB, free: 13.58 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08288/0.08328, allocations: 44.5 MB / 308.4 MB, free: 1.008 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.524/1.607, allocations: 0.6415 GB / 0.9427 GB, free: 65.7 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002399/1.608, allocations: 79.95 kB / 0.9428 GB, free: 65.62 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4489/2.057, allocations: 117.2 MB / 1.057 GB, free: 116.5 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.374e-06/2.057, allocations: 0 / 1.057 GB, free: 116.5 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.99e-06/2.057, allocations: 4 kB / 1.057 GB, free: 116.5 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.00117/2.058, allocations: 0.5753 MB / 1.058 GB, free: 115.9 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.156e-05/2.058, allocations: 11.92 kB / 1.058 GB, free: 115.9 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001479/2.058, allocations: 11.84 kB / 1.058 GB, free: 115.9 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001265/2.058, allocations: 182.7 kB / 1.058 GB, free: 115.6 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.74e-05/2.058, allocations: 4 kB / 1.058 GB, free: 115.6 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.686e-05/2.058, allocations: 7.562 kB / 1.058 GB, free: 115.6 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001838/2.058, allocations: 70.47 kB / 1.058 GB, free: 115.6 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.961e-06/2.058, allocations: 0 / 1.058 GB, free: 115.6 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.403e-05/2.059, allocations: 0 / 1.058 GB, free: 115.6 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.912e-06/2.059, allocations: 4 kB / 1.058 GB, free: 115.6 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001669/2.059, allocations: 18.94 kB / 1.058 GB, free: 115.5 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001682/2.059, allocations: 182.2 kB / 1.058 GB, free: 115.3 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003293/2.059, allocations: 88.48 kB / 1.058 GB, free: 115.2 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.09397/2.153, allocations: 35.41 MB / 1.093 GB, free: 79.89 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.954e-05/2.153, allocations: 42.48 kB / 1.093 GB, free: 79.84 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 3.143e-06/2.153, allocations: 0 / 1.093 GB, free: 79.84 MB / 410.7 MB Notification: Performance of matching and sorting (n=6): time 0.0004637/2.154, allocations: 85.56 kB / 1.093 GB, free: 79.75 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.607e-05/2.154, allocations: 81.05 kB / 1.093 GB, free: 79.65 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.718e-05/2.154, allocations: 109 kB / 1.093 GB, free: 79.54 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.417e-05/2.154, allocations: 25.7 kB / 1.093 GB, free: 79.51 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.335e-05/2.154, allocations: 154.6 kB / 1.093 GB, free: 79.36 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.128e-05/2.154, allocations: 23.72 kB / 1.093 GB, free: 79.33 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.965e-06/2.154, allocations: 4 kB / 1.093 GB, free: 79.33 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.956e-05/2.154, allocations: 310.8 kB / 1.094 GB, free: 79.02 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.888e-05/2.154, allocations: 11.98 kB / 1.094 GB, free: 79 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.008e-05/2.154, allocations: 29.7 kB / 1.094 GB, free: 78.97 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.255e-05/2.154, allocations: 23.27 kB / 1.094 GB, free: 78.95 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.004e-06/2.154, allocations: 0 / 1.094 GB, free: 78.95 MB / 410.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002482/2.155, allocations: 77.45 kB / 1.094 GB, free: 78.87 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.849e-05/2.155, allocations: 4 kB / 1.094 GB, free: 78.86 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.849e-06/2.155, allocations: 4 kB / 1.094 GB, free: 78.86 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.646e-05/2.155, allocations: 0 / 1.094 GB, free: 78.86 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001084/2.155, allocations: 19.98 kB / 1.094 GB, free: 78.84 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.641e-06/2.155, allocations: 0 / 1.094 GB, free: 78.84 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.547e-05/2.155, allocations: 4 kB / 1.094 GB, free: 78.84 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.623e-05/2.155, allocations: 4 kB / 1.094 GB, free: 78.83 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 6.852e-05/2.155, allocations: 111.7 kB / 1.094 GB, free: 78.71 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.747e-05/2.155, allocations: 15.86 kB / 1.094 GB, free: 78.7 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003632/2.156, allocations: 109.7 kB / 1.094 GB, free: 78.58 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.547e-06/2.156, allocations: 0 / 1.094 GB, free: 78.58 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.569e-06/2.156, allocations: 7.984 kB / 1.094 GB, free: 78.57 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.58e-06/2.156, allocations: 0 / 1.094 GB, free: 78.57 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001159/2.156, allocations: 169.6 kB / 1.094 GB, free: 78.36 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/2.156, allocations: 0 / 1.094 GB, free: 78.36 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.14e-05/2.156, allocations: 12 kB / 1.094 GB, free: 78.35 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.81e-06/2.156, allocations: 7.938 kB / 1.094 GB, free: 78.34 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.246e-05/2.156, allocations: 4 kB / 1.094 GB, free: 78.34 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.266e-06/2.156, allocations: 8.688 kB / 1.094 GB, free: 78.33 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.963e-06/2.156, allocations: 0 / 1.094 GB, free: 78.33 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002567/2.156, allocations: 115.5 kB / 1.094 GB, free: 78.19 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.318e-05/2.156, allocations: 104.8 kB / 1.095 GB, free: 78.07 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.117e-05/2.156, allocations: 0 / 1.095 GB, free: 78.07 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001019/2.156, allocations: 4 kB / 1.095 GB, free: 78.07 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.146e-05/2.156, allocations: 11.98 kB / 1.095 GB, free: 78.05 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.386e-05/2.156, allocations: 0 / 1.095 GB, free: 78.05 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.15e-05/2.157, allocations: 91.27 kB / 1.095 GB, free: 77.96 MB / 410.7 MB Notification: Performance of sort global known variables: time 6.49e-07/2.157, allocations: 3.938 kB / 1.095 GB, free: 77.96 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001299/2.158, allocations: 339.6 kB / 1.095 GB, free: 77.63 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.002483/2.16, allocations: 0.7057 MB / 1.096 GB, free: 76.92 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003172/2.161, allocations: 47.89 kB / 1.096 GB, free: 76.87 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.495e-06/2.161, allocations: 0 / 1.096 GB, free: 76.87 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001066/2.161, allocations: 26.92 kB / 1.096 GB, free: 76.85 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002146/2.161, allocations: 8 kB / 1.096 GB, free: 76.84 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004385/2.162, allocations: 215 kB / 1.096 GB, free: 76.6 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001207/2.162, allocations: 0.6848 MB / 1.097 GB, free: 75.89 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.708e-05/2.162, allocations: 31.36 kB / 1.097 GB, free: 75.86 MB / 410.7 MB Notification: Performance of SimCode: time 1.635e-06/2.162, allocations: 4 kB / 1.097 GB, free: 75.85 MB / 410.7 MB Notification: Performance of Templates: time 0.01141/2.173, allocations: 6.749 MB / 1.103 GB, free: 69.1 MB / 410.7 MB