Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_cpp_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/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.1_cpp_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T") Notification: Performance of loadModel(Modelica): time 1.673/1.673, allocations: 171.2 MB / 186.8 MB, free: 1.039 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003562/0.0003564, allocations: 8 kB / 233.2 MB, free: 3.012 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07164/0.07202, allocations: 38.77 MB / 272 MB, free: 12.16 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.586/1.658, allocations: 0.6362 GB / 0.9019 GB, free: 116.3 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002266/1.658, allocations: 76.05 kB / 0.9019 GB, free: 116.3 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2267/1.885, allocations: 117.2 MB / 1.016 GB, free: 1.57 MB / 362.7 MB Notification: Performance of FrontEnd: time 4.061e-06/1.885, allocations: 0 / 1.016 GB, free: 1.57 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.782e-05/1.885, allocations: 0 / 1.016 GB, free: 1.57 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.001168/1.886, allocations: 0.5806 MB / 1.017 GB, free: 0.9414 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.697e-05/1.886, allocations: 12.03 kB / 1.017 GB, free: 0.9297 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001447/1.886, allocations: 4 kB / 1.017 GB, free: 0.9258 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001107/1.886, allocations: 186.8 kB / 1.017 GB, free: 0.7031 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.664e-05/1.886, allocations: 0 / 1.017 GB, free: 0.7031 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.287e-05/1.886, allocations: 3.953 kB / 1.017 GB, free: 0.6992 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001834/1.887, allocations: 75.38 kB / 1.017 GB, free: 0.6133 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.936e-06/1.887, allocations: 0 / 1.017 GB, free: 0.6133 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.363e-05/1.887, allocations: 0 / 1.017 GB, free: 0.6133 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.443e-06/1.887, allocations: 0 / 1.017 GB, free: 0.6133 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001696/1.887, allocations: 35.89 kB / 1.017 GB, free: 0.5781 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001689/1.887, allocations: 178.6 kB / 1.017 GB, free: 360 kB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003162/1.887, allocations: 81.27 kB / 1.017 GB, free: 260 kB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2848/2.172, allocations: 35.4 MB / 1.052 GB, free: 89.68 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.17e-05/2.172, allocations: 40.5 kB / 1.052 GB, free: 89.64 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 3.667e-06/2.172, allocations: 0 / 1.052 GB, free: 89.64 MB / 362.7 MB Notification: Performance of matching and sorting (n=6): time 0.000466/2.173, allocations: 94.17 kB / 1.052 GB, free: 89.6 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.047e-05/2.173, allocations: 79.92 kB / 1.052 GB, free: 89.51 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.762e-05/2.173, allocations: 107.6 kB / 1.052 GB, free: 89.42 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.377e-05/2.173, allocations: 29.7 kB / 1.052 GB, free: 89.38 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.339e-05/2.173, allocations: 156 kB / 1.053 GB, free: 89.23 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.968e-05/2.173, allocations: 14 kB / 1.053 GB, free: 89.23 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.361e-06/2.173, allocations: 0 / 1.053 GB, free: 89.23 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 4.94e-05/2.173, allocations: 314.2 kB / 1.053 GB, free: 88.91 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.922e-05/2.173, allocations: 13.48 kB / 1.053 GB, free: 88.91 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.05e-05/2.173, allocations: 28.34 kB / 1.053 GB, free: 88.9 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.42e-05/2.173, allocations: 21.27 kB / 1.053 GB, free: 88.89 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.659e-06/2.173, allocations: 0 / 1.053 GB, free: 88.89 MB / 362.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002593/2.174, allocations: 75.17 kB / 1.053 GB, free: 88.86 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.735e-05/2.174, allocations: 7.656 kB / 1.053 GB, free: 88.86 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.707e-06/2.174, allocations: 3.594 kB / 1.053 GB, free: 88.86 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.541e-05/2.174, allocations: 0 / 1.053 GB, free: 88.86 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001062/2.174, allocations: 11.78 kB / 1.053 GB, free: 88.86 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.275e-06/2.174, allocations: 3.891 kB / 1.053 GB, free: 88.86 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.477e-05/2.174, allocations: 15.25 kB / 1.053 GB, free: 88.86 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.604e-05/2.174, allocations: 0 / 1.053 GB, free: 88.86 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.071e-05/2.174, allocations: 114.8 kB / 1.053 GB, free: 88.74 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.346e-05/2.174, allocations: 8.219 kB / 1.053 GB, free: 88.74 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003588/2.174, allocations: 115.2 kB / 1.053 GB, free: 88.68 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.612e-06/2.175, allocations: 4.594 kB / 1.053 GB, free: 88.68 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.378e-06/2.175, allocations: 0 / 1.053 GB, free: 88.68 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.056e-06/2.175, allocations: 4.688 kB / 1.053 GB, free: 88.68 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001135/2.175, allocations: 171.4 kB / 1.053 GB, free: 88.49 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.984e-06/2.175, allocations: 4.25 kB / 1.053 GB, free: 88.49 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.886e-05/2.175, allocations: 8.844 kB / 1.053 GB, free: 88.49 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.568e-06/2.175, allocations: 7.828 kB / 1.053 GB, free: 88.49 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.213e-05/2.175, allocations: 0 / 1.053 GB, free: 88.49 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.747e-06/2.175, allocations: 5.5 kB / 1.053 GB, free: 88.49 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.41e-06/2.175, allocations: 0.75 kB / 1.053 GB, free: 88.49 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002834/2.175, allocations: 118.9 kB / 1.054 GB, free: 88.4 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.303e-05/2.175, allocations: 97.19 kB / 1.054 GB, free: 88.3 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.317e-05/2.175, allocations: 0 / 1.054 GB, free: 88.3 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001213/2.175, allocations: 10.86 kB / 1.054 GB, free: 88.3 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.028e-05/2.175, allocations: 6.625 kB / 1.054 GB, free: 88.3 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.432e-05/2.175, allocations: 3.906 kB / 1.054 GB, free: 88.3 MB / 362.7 MB Notification: Performance of sorting global known variables: time 4.985e-05/2.176, allocations: 90.23 kB / 1.054 GB, free: 88.22 MB / 362.7 MB Notification: Performance of sort global known variables: time 6.53e-07/2.176, allocations: 0 / 1.054 GB, free: 88.22 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001247/2.177, allocations: 343.2 kB / 1.054 GB, free: 88.21 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.002044/2.179, allocations: 0.7131 MB / 1.055 GB, free: 88.02 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002953/2.179, allocations: 48.81 kB / 1.055 GB, free: 88.02 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.845e-06/2.179, allocations: 1.688 kB / 1.055 GB, free: 88.02 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001024/2.179, allocations: 22.42 kB / 1.055 GB, free: 88.02 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002073/2.18, allocations: 17.78 kB / 1.055 GB, free: 88.01 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004412/2.18, allocations: 222 kB / 1.055 GB, free: 87.84 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001206/2.18, allocations: 0.6915 MB / 1.056 GB, free: 87.14 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.371e-05/2.18, allocations: 22.62 kB / 1.056 GB, free: 87.14 MB / 362.7 MB Notification: Performance of SimCode: time 1.399e-06/2.18, allocations: 0 / 1.056 GB, free: 87.14 MB / 362.7 MB Notification: Performance of Templates: time 0.01119/2.191, allocations: 6.747 MB / 1.062 GB, free: 86.23 MB / 362.7 MB