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/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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.741/1.741, allocations: 171.3 MB / 179.2 MB, free: 7.57 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.175e-05/2.199e-05, allocations: 4 kB / 222.5 MB, free: 8.715 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07214/0.07219, allocations: 38.77 MB / 261.3 MB, free: 1.855 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.593/1.665, allocations: 0.6355 GB / 0.8907 GB, free: 56.34 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002183/1.665, allocations: 75.95 kB / 0.8907 GB, free: 56.27 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4536/2.119, allocations: 113.6 MB / 1.002 GB, free: 79.55 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.163e-06/2.119, allocations: 0 / 1.002 GB, free: 79.55 MB / 346.7 MB Notification: Performance of Transformations before backend: time 8.571e-06/2.119, allocations: 4 kB / 1.002 GB, free: 79.55 MB / 346.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.001094/2.12, allocations: 0.555 MB / 1.002 GB, free: 78.97 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.063e-05/2.12, allocations: 12.03 kB / 1.002 GB, free: 78.96 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001449/2.12, allocations: 7.906 kB / 1.002 GB, free: 78.95 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001359/2.12, allocations: 178.8 kB / 1.002 GB, free: 78.74 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.632e-05/2.12, allocations: 0 / 1.002 GB, free: 78.74 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.669e-05/2.12, allocations: 3.797 kB / 1.002 GB, free: 78.74 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.96e-05/2.12, allocations: 27.22 kB / 1.002 GB, free: 78.71 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001049/2.12, allocations: 59.03 kB / 1.002 GB, free: 78.65 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.898e-06/2.12, allocations: 0 / 1.002 GB, free: 78.65 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.333e-05/2.12, allocations: 1.781 kB / 1.002 GB, free: 78.65 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.114e-06/2.12, allocations: 0 / 1.002 GB, free: 78.65 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001569/2.121, allocations: 149 kB / 1.003 GB, free: 78.47 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002463/2.121, allocations: 76.72 kB / 1.003 GB, free: 78.38 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.301e-05/2.121, allocations: 25.48 kB / 1.003 GB, free: 78.36 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.09275/2.214, allocations: 35.86 MB / 1.038 GB, free: 40.5 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.036e-05/2.214, allocations: 42.5 kB / 1.038 GB, free: 40.45 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 3.896e-06/2.214, allocations: 3.938 kB / 1.038 GB, free: 40.45 MB / 346.7 MB Notification: Performance of matching and sorting (n=6): time 0.001294/2.215, allocations: 157.4 kB / 1.038 GB, free: 40.29 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.094e-05/2.215, allocations: 77.11 kB / 1.038 GB, free: 40.2 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.998e-05/2.215, allocations: 101 kB / 1.038 GB, free: 40.09 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.517e-05/2.215, allocations: 25.7 kB / 1.038 GB, free: 40.06 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.071e-05/2.215, allocations: 158.6 kB / 1.038 GB, free: 39.9 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.002e-05/2.215, allocations: 15.73 kB / 1.038 GB, free: 39.89 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.736e-06/2.215, allocations: 4 kB / 1.038 GB, free: 39.88 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.091e-05/2.215, allocations: 318.8 kB / 1.039 GB, free: 39.56 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.947e-05/2.215, allocations: 4 kB / 1.039 GB, free: 39.56 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.875e-05/2.216, allocations: 29.64 kB / 1.039 GB, free: 39.52 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001037/2.217, allocations: 95.91 kB / 1.039 GB, free: 39.43 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.291e-06/2.217, allocations: 0 / 1.039 GB, free: 39.43 MB / 346.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.001084/2.218, allocations: 151.7 kB / 1.039 GB, free: 39.28 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.897e-05/2.218, allocations: 8 kB / 1.039 GB, free: 39.27 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.914e-06/2.218, allocations: 7.562 kB / 1.039 GB, free: 39.27 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2e-05/2.218, allocations: 0 / 1.039 GB, free: 39.27 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001227/2.218, allocations: 15.92 kB / 1.039 GB, free: 39.25 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.199e-06/2.218, allocations: 7.953 kB / 1.039 GB, free: 39.24 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.945e-05/2.218, allocations: 3.984 kB / 1.039 GB, free: 39.24 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.659e-05/2.218, allocations: 4 kB / 1.039 GB, free: 39.23 MB / 346.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 () * 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.087e-05/2.218, allocations: 101 kB / 1.039 GB, free: 39.13 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.398e-05/2.218, allocations: 4 kB / 1.039 GB, free: 39.12 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001237/2.219, allocations: 194 kB / 1.039 GB, free: 38.93 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.997e-06/2.219, allocations: 0 / 1.039 GB, free: 38.93 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/2.219, allocations: 0 / 1.039 GB, free: 38.93 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.004e-06/2.219, allocations: 7.938 kB / 1.039 GB, free: 38.92 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001127/2.22, allocations: 138.2 kB / 1.039 GB, free: 38.75 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.319e-06/2.22, allocations: 0 / 1.039 GB, free: 38.75 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001058/2.22, allocations: 19.92 kB / 1.039 GB, free: 38.73 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.969e-06/2.22, allocations: 4 kB / 1.039 GB, free: 38.72 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.047e-05/2.22, allocations: 3.938 kB / 1.039 GB, free: 38.72 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.486e-06/2.22, allocations: 4 kB / 1.039 GB, free: 38.71 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.149e-06/2.22, allocations: 0 / 1.039 GB, free: 38.71 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001159/2.221, allocations: 208.2 kB / 1.04 GB, free: 38.49 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.124e-05/2.221, allocations: 85.09 kB / 1.04 GB, free: 38.39 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.005e-05/2.221, allocations: 7.938 kB / 1.04 GB, free: 38.38 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001177/2.221, allocations: 3.984 kB / 1.04 GB, free: 38.38 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.26e-05/2.221, allocations: 8 kB / 1.04 GB, free: 38.37 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.756e-05/2.221, allocations: 7.984 kB / 1.04 GB, free: 38.36 MB / 346.7 MB Notification: Performance of sorting global known variables: time 4.767e-05/2.221, allocations: 95.14 kB / 1.04 GB, free: 38.27 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.13e-07/2.221, allocations: 0 / 1.04 GB, free: 38.27 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001162/2.223, allocations: 327.5 kB / 1.04 GB, free: 37.95 MB / 346.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 () * 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.001976/2.225, allocations: 0.7396 MB / 1.041 GB, free: 37.25 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001607/2.225, allocations: 27.98 kB / 1.041 GB, free: 37.22 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.849e-06/2.225, allocations: 0 / 1.041 GB, free: 37.22 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 4.423e-05/2.225, allocations: 15.94 kB / 1.041 GB, free: 37.21 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002144/2.225, allocations: 8 kB / 1.041 GB, free: 37.2 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003392/2.225, allocations: 109.8 kB / 1.041 GB, free: 37.06 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001166/2.226, allocations: 0.6924 MB / 1.042 GB, free: 36.34 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.13e-05/2.226, allocations: 27.3 kB / 1.042 GB, free: 36.32 MB / 346.7 MB Notification: Performance of SimCode: time 1.436e-06/2.226, allocations: 0 / 1.042 GB, free: 36.32 MB / 346.7 MB Notification: Performance of Templates: time 0.01148/2.237, allocations: 6.862 MB / 1.048 GB, free: 29.44 MB / 346.7 MB