Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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.691/1.691, allocations: 171.2 MB / 187.3 MB, free: 1.133 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003552/0.0003553, allocations: 8 kB / 233.8 MB, free: 3.082 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0848/0.08518, allocations: 38.76 MB / 272.5 MB, free: 12.24 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.97/2.055, allocations: 0.6362 GB / 0.9024 GB, free: 86.85 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002982/2.056, allocations: 83.77 kB / 0.9025 GB, free: 86.8 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5161/2.572, allocations: 117.2 MB / 1.017 GB, free: 111.7 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.014e-06/2.572, allocations: 0 / 1.017 GB, free: 111.7 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.636e-06/2.572, allocations: 0 / 1.017 GB, free: 111.7 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.001455/2.573, allocations: 0.5776 MB / 1.017 GB, free: 111.2 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.69e-05/2.573, allocations: 7.469 kB / 1.017 GB, free: 111.2 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001563/2.574, allocations: 9.766 kB / 1.017 GB, free: 111.2 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001405/2.574, allocations: 179.5 kB / 1.018 GB, free: 111 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.023e-05/2.574, allocations: 3.531 kB / 1.018 GB, free: 111 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.939e-05/2.574, allocations: 3.953 kB / 1.018 GB, free: 111 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000237/2.574, allocations: 73.94 kB / 1.018 GB, free: 110.9 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.878e-06/2.574, allocations: 0 / 1.018 GB, free: 110.9 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.51e-05/2.574, allocations: 4 kB / 1.018 GB, free: 110.9 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.46e-06/2.574, allocations: 0 / 1.018 GB, free: 110.9 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002398/2.574, allocations: 30.86 kB / 1.018 GB, free: 110.9 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002035/2.575, allocations: 173.2 kB / 1.018 GB, free: 110.7 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004052/2.575, allocations: 86.3 kB / 1.018 GB, free: 110.7 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1331/2.708, allocations: 35.41 MB / 1.053 GB, free: 86.4 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.468e-05/2.708, allocations: 38.52 kB / 1.053 GB, free: 86.35 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 2.915e-06/2.708, allocations: 0 / 1.053 GB, free: 86.35 MB / 362.7 MB Notification: Performance of matching and sorting (n=6): time 0.0005827/2.709, allocations: 88.5 kB / 1.053 GB, free: 86.28 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.335e-05/2.709, allocations: 84.02 kB / 1.053 GB, free: 86.18 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001043/2.709, allocations: 117.1 kB / 1.053 GB, free: 86.06 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.618e-05/2.709, allocations: 25.7 kB / 1.053 GB, free: 86.03 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.659e-05/2.709, allocations: 154.6 kB / 1.053 GB, free: 85.88 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.484e-05/2.709, allocations: 19.66 kB / 1.053 GB, free: 85.86 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.805e-06/2.709, allocations: 4 kB / 1.053 GB, free: 85.86 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 5.941e-05/2.709, allocations: 314.8 kB / 1.053 GB, free: 85.54 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000118/2.709, allocations: 11.7 kB / 1.053 GB, free: 85.53 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001268/2.709, allocations: 33.27 kB / 1.053 GB, free: 85.5 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001253/2.709, allocations: 15.94 kB / 1.053 GB, free: 85.49 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/2.71, allocations: 0 / 1.053 GB, free: 85.49 MB / 362.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003149/2.71, allocations: 68.38 kB / 1.054 GB, free: 85.43 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.723e-05/2.71, allocations: 11.94 kB / 1.054 GB, free: 85.42 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.203e-06/2.71, allocations: 7.953 kB / 1.054 GB, free: 85.41 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.784e-05/2.71, allocations: 0 / 1.054 GB, free: 85.41 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001364/2.71, allocations: 15.89 kB / 1.054 GB, free: 85.4 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.175e-06/2.71, allocations: 4 kB / 1.054 GB, free: 85.39 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.73e-05/2.71, allocations: 3.906 kB / 1.054 GB, free: 85.39 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.813e-05/2.71, allocations: 11.31 kB / 1.054 GB, free: 85.38 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.692e-05/2.71, allocations: 105.8 kB / 1.054 GB, free: 85.27 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.326e-05/2.71, allocations: 12 kB / 1.054 GB, free: 85.26 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004473/2.711, allocations: 107.4 kB / 1.054 GB, free: 85.17 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.951e-06/2.711, allocations: 7.953 kB / 1.054 GB, free: 85.16 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.042e-06/2.711, allocations: 3.703 kB / 1.054 GB, free: 85.16 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/2.711, allocations: 3.938 kB / 1.054 GB, free: 85.16 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001306/2.711, allocations: 180.6 kB / 1.054 GB, free: 84.94 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/2.711, allocations: 0 / 1.054 GB, free: 84.94 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001216/2.711, allocations: 16.38 kB / 1.054 GB, free: 84.93 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.148e-06/2.711, allocations: 0 / 1.054 GB, free: 84.93 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.134e-05/2.711, allocations: 0 / 1.054 GB, free: 84.93 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/2.711, allocations: 4 kB / 1.054 GB, free: 84.93 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.466e-06/2.711, allocations: 3.953 kB / 1.054 GB, free: 84.92 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003186/2.712, allocations: 113 kB / 1.054 GB, free: 84.8 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.639e-05/2.712, allocations: 92.91 kB / 1.054 GB, free: 84.7 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.432e-05/2.712, allocations: 0 / 1.054 GB, free: 84.7 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001412/2.712, allocations: 7.938 kB / 1.054 GB, free: 84.7 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.591e-05/2.712, allocations: 11.8 kB / 1.054 GB, free: 84.69 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.566e-05/2.712, allocations: 4 kB / 1.054 GB, free: 84.68 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.553e-05/2.712, allocations: 91.08 kB / 1.054 GB, free: 84.6 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.71e-07/2.712, allocations: 4 kB / 1.054 GB, free: 84.59 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001362/2.713, allocations: 331.3 kB / 1.055 GB, free: 84.28 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.002528/2.716, allocations: 0.7173 MB / 1.055 GB, free: 83.64 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003901/2.716, allocations: 39.06 kB / 1.055 GB, free: 83.61 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.31e-06/2.716, allocations: 0 / 1.055 GB, free: 83.61 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001403/2.716, allocations: 25.86 kB / 1.055 GB, free: 83.59 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002175/2.717, allocations: 13.72 kB / 1.055 GB, free: 83.58 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005018/2.717, allocations: 212.2 kB / 1.056 GB, free: 83.36 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001346/2.717, allocations: 0.6883 MB / 1.056 GB, free: 82.65 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.498e-05/2.717, allocations: 26.53 kB / 1.056 GB, free: 82.63 MB / 362.7 MB Notification: Performance of SimCode: time 8.31e-07/2.717, allocations: 0 / 1.056 GB, free: 82.63 MB / 362.7 MB Notification: Performance of Templates: time 0.01416/2.732, allocations: 6.744 MB / 1.063 GB, free: 76.3 MB / 362.7 MB