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_T.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_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 2.097/2.097, allocations: 194.8 MB / 212.3 MB, free: 3.016 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003719/0.000372, allocations: 8 kB / 264.5 MB, free: 13.63 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1038/0.1042, allocations: 44.5 MB / 309 MB, free: 1.066 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.971/2.076, allocations: 0.6415 GB / 0.9432 GB, free: 42.53 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002907/2.076, allocations: 79.34 kB / 0.9433 GB, free: 42.48 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.604/2.68, allocations: 117.2 MB / 1.058 GB, free: 102.9 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.555e-06/2.68, allocations: 0 / 1.058 GB, free: 102.9 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.216e-06/2.68, allocations: 0 / 1.058 GB, free: 102.9 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.001477/2.681, allocations: 0.5806 MB / 1.058 GB, free: 102.3 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.165e-05/2.682, allocations: 8.031 kB / 1.058 GB, free: 102.3 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001493/2.682, allocations: 15.89 kB / 1.058 GB, free: 102.3 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001283/2.682, allocations: 175 kB / 1.058 GB, free: 102.1 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.001e-05/2.682, allocations: 8 kB / 1.058 GB, free: 102.1 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.524e-05/2.682, allocations: 4 kB / 1.058 GB, free: 102.1 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002293/2.682, allocations: 67.38 kB / 1.059 GB, free: 102 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/2.682, allocations: 3.984 kB / 1.059 GB, free: 102 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.552e-05/2.682, allocations: 4 kB / 1.059 GB, free: 102 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.052e-06/2.682, allocations: 4 kB / 1.059 GB, free: 102 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002417/2.682, allocations: 27.91 kB / 1.059 GB, free: 101.9 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001852/2.683, allocations: 178.6 kB / 1.059 GB, free: 101.7 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004142/2.683, allocations: 85.11 kB / 1.059 GB, free: 101.6 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.132/2.815, allocations: 35.41 MB / 1.093 GB, free: 62.75 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.908e-05/2.815, allocations: 30.56 kB / 1.093 GB, free: 62.71 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 3.016e-06/2.815, allocations: 0 / 1.093 GB, free: 62.71 MB / 410.7 MB Notification: Performance of matching and sorting (n=6): time 0.0006019/2.816, allocations: 93.81 kB / 1.094 GB, free: 62.61 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.682e-05/2.816, allocations: 81.11 kB / 1.094 GB, free: 62.52 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001092/2.816, allocations: 117.8 kB / 1.094 GB, free: 62.39 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.609e-05/2.816, allocations: 25.7 kB / 1.094 GB, free: 62.36 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.967e-05/2.816, allocations: 154.6 kB / 1.094 GB, free: 62.21 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.07e-05/2.816, allocations: 23.72 kB / 1.094 GB, free: 62.18 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.494e-06/2.816, allocations: 4 kB / 1.094 GB, free: 62.18 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.597e-05/2.816, allocations: 310.8 kB / 1.094 GB, free: 61.87 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001198/2.816, allocations: 11.98 kB / 1.094 GB, free: 61.86 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00013/2.817, allocations: 39.89 kB / 1.094 GB, free: 61.81 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001273/2.817, allocations: 20.02 kB / 1.094 GB, free: 61.79 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/2.817, allocations: 0 / 1.094 GB, free: 61.79 MB / 410.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003169/2.817, allocations: 77.52 kB / 1.094 GB, free: 61.71 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.863e-05/2.817, allocations: 8 kB / 1.094 GB, free: 61.7 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/2.817, allocations: 0 / 1.094 GB, free: 61.7 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.806e-05/2.817, allocations: 0 / 1.094 GB, free: 61.7 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001417/2.817, allocations: 23.92 kB / 1.094 GB, free: 61.68 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.763e-06/2.817, allocations: 0 / 1.094 GB, free: 61.68 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.269e-05/2.817, allocations: 64 / 1.094 GB, free: 61.68 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.933e-05/2.817, allocations: 4 kB / 1.094 GB, free: 61.68 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.064e-05/2.817, allocations: 117.8 kB / 1.095 GB, free: 61.55 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.373e-05/2.817, allocations: 7.859 kB / 1.095 GB, free: 61.54 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004642/2.818, allocations: 105.5 kB / 1.095 GB, free: 61.43 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/2.818, allocations: 4 kB / 1.095 GB, free: 61.43 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.724e-06/2.818, allocations: 3.984 kB / 1.095 GB, free: 61.42 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/2.818, allocations: 3.938 kB / 1.095 GB, free: 61.42 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001362/2.818, allocations: 165.6 kB / 1.095 GB, free: 61.21 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/2.818, allocations: 4 kB / 1.095 GB, free: 61.2 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001187/2.818, allocations: 8 kB / 1.095 GB, free: 61.2 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.372e-06/2.818, allocations: 11.94 kB / 1.095 GB, free: 61.18 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.322e-05/2.818, allocations: 4 kB / 1.095 GB, free: 61.18 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/2.818, allocations: 0 / 1.095 GB, free: 61.18 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/2.818, allocations: 0 / 1.095 GB, free: 61.18 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000326/2.819, allocations: 110 kB / 1.095 GB, free: 61.05 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.521e-05/2.819, allocations: 97.08 kB / 1.095 GB, free: 60.94 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.78e-05/2.819, allocations: 7.953 kB / 1.095 GB, free: 60.93 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000145/2.819, allocations: 7.938 kB / 1.095 GB, free: 60.92 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.311e-05/2.819, allocations: 7.984 kB / 1.095 GB, free: 60.91 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.636e-05/2.819, allocations: 8 kB / 1.095 GB, free: 60.91 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.624e-05/2.819, allocations: 91.27 kB / 1.095 GB, free: 60.82 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.61e-07/2.819, allocations: 0 / 1.095 GB, free: 60.82 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00164/2.821, allocations: 335.5 kB / 1.095 GB, free: 60.49 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.002786/2.824, allocations: 0.7111 MB / 1.096 GB, free: 59.77 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004086/2.824, allocations: 43.89 kB / 1.096 GB, free: 59.72 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.073e-06/2.824, allocations: 8 kB / 1.096 GB, free: 59.71 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001377/2.824, allocations: 15.98 kB / 1.096 GB, free: 59.7 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002266/2.824, allocations: 8 kB / 1.096 GB, free: 59.69 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004986/2.825, allocations: 215.6 kB / 1.096 GB, free: 59.45 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001424/2.825, allocations: 0.6848 MB / 1.097 GB, free: 58.73 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.546e-05/2.825, allocations: 27.42 kB / 1.097 GB, free: 58.71 MB / 410.7 MB Notification: Performance of SimCode: time 8.32e-07/2.825, allocations: 0 / 1.097 GB, free: 58.71 MB / 410.7 MB Notification: Performance of Templates: time 0.01447/2.84, allocations: 6.76 MB / 1.104 GB, free: 51.94 MB / 410.7 MB