Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.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_TX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Th|Ts|h2|s2",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX") Notification: Performance of loadModel(Modelica): time 1.726/1.726, allocations: 171.1 MB / 186.7 MB, free: 1.129 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003541/0.0003541, allocations: 12 kB / 233.9 MB, free: 2.379 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08862/0.089, allocations: 38.76 MB / 272.6 MB, free: 11.54 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 19.94/20.03, allocations: 6.538 GB / 6.804 GB, free: 49.08 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002888/20.03, allocations: 80.34 kB / 6.804 GB, free: 49.04 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9833/21.01, allocations: 178.8 MB / 6.978 GB, free: 21.03 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.545e-06/21.01, allocations: 0 / 6.978 GB, free: 21.03 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.387e-06/21.01, allocations: 0 / 6.978 GB, free: 21.03 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.006012/21.02, allocations: 1.102 MB / 6.98 GB, free: 19.88 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.358e-05/21.02, allocations: 8.031 kB / 6.98 GB, free: 19.87 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.592e-05/21.02, allocations: 11.86 kB / 6.98 GB, free: 19.86 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001745/21.02, allocations: 190.9 kB / 6.98 GB, free: 19.63 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.025e-05/21.02, allocations: 4 kB / 6.98 GB, free: 19.62 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.688e-05/21.02, allocations: 4 kB / 6.98 GB, free: 19.62 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002511/21.02, allocations: 67.38 kB / 6.98 GB, free: 19.54 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.2e-05/21.02, allocations: 8 kB / 6.98 GB, free: 19.54 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.848e-05/21.02, allocations: 7.938 kB / 6.98 GB, free: 19.53 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.803e-06/21.02, allocations: 0 / 6.98 GB, free: 19.53 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002779/21.02, allocations: 43.88 kB / 6.98 GB, free: 19.48 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002183/21.02, allocations: 186.5 kB / 6.98 GB, free: 19.25 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004508/21.02, allocations: 105.2 kB / 6.98 GB, free: 19.13 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.917e-05/21.02, allocations: 16.12 kB / 6.98 GB, free: 19.11 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.657e-05/21.02, allocations: 38.56 kB / 6.98 GB, free: 19.07 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.914e-06/21.02, allocations: 0 / 6.98 GB, free: 19.07 MB / 362.7 MB Notification: Performance of matching and sorting (n=6): time 0.0005618/21.02, allocations: 113.5 kB / 6.98 GB, free: 18.95 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.247e-05/21.02, allocations: 77.11 kB / 6.98 GB, free: 18.86 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001392/21.02, allocations: 138 kB / 6.981 GB, free: 18.71 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.656e-05/21.02, allocations: 25.7 kB / 6.981 GB, free: 18.68 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.222e-05/21.02, allocations: 88.12 kB / 6.981 GB, free: 18.59 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.397e-05/21.02, allocations: 15.75 kB / 6.981 GB, free: 18.57 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.967e-06/21.02, allocations: 4 kB / 6.981 GB, free: 18.57 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.41e-05/21.02, allocations: 318.8 kB / 6.981 GB, free: 18.25 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001366/21.02, allocations: 23.98 kB / 6.981 GB, free: 18.22 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001404/21.02, allocations: 33.69 kB / 6.981 GB, free: 18.18 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001428/21.02, allocations: 23.92 kB / 6.981 GB, free: 18.16 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.504e-06/21.02, allocations: 0 / 6.981 GB, free: 18.16 MB / 362.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003616/21.02, allocations: 89.97 kB / 6.981 GB, free: 18.07 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.735e-05/21.02, allocations: 8 kB / 6.981 GB, free: 18.06 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/21.02, allocations: 4 kB / 6.981 GB, free: 18.05 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.702e-05/21.02, allocations: 0 / 6.981 GB, free: 18.05 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001367/21.02, allocations: 15.92 kB / 6.981 GB, free: 18.04 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.424e-06/21.02, allocations: 4 kB / 6.981 GB, free: 18.04 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.421e-05/21.02, allocations: 3.984 kB / 6.981 GB, free: 18.03 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.648e-05/21.02, allocations: 4.047 kB / 6.981 GB, free: 18.03 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 8.431e-05/21.02, allocations: 117.8 kB / 6.981 GB, free: 17.9 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.666e-05/21.02, allocations: 11.89 kB / 6.981 GB, free: 17.89 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004545/21.02, allocations: 116.7 kB / 6.981 GB, free: 17.77 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.46e-06/21.02, allocations: 4 kB / 6.981 GB, free: 17.77 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/21.02, allocations: 0 / 6.981 GB, free: 17.77 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/21.02, allocations: 0 / 6.981 GB, free: 17.77 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001532/21.02, allocations: 181.5 kB / 6.982 GB, free: 17.54 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/21.02, allocations: 6.688 kB / 6.982 GB, free: 17.54 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000122/21.02, allocations: 15.98 kB / 6.982 GB, free: 17.52 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/21.02, allocations: 0 / 6.982 GB, free: 17.52 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.345e-05/21.02, allocations: 8 kB / 6.982 GB, free: 17.52 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/21.02, allocations: 0 / 6.982 GB, free: 17.52 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/21.02, allocations: 0 / 6.982 GB, free: 17.52 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003799/21.02, allocations: 121.8 kB / 6.982 GB, free: 17.38 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.986e-05/21.02, allocations: 93.38 kB / 6.982 GB, free: 17.27 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.087e-05/21.02, allocations: 4 kB / 6.982 GB, free: 17.26 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001443/21.02, allocations: 11.98 kB / 6.982 GB, free: 17.25 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.163e-05/21.02, allocations: 7.984 kB / 6.982 GB, free: 17.24 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.631e-05/21.02, allocations: 7.938 kB / 6.982 GB, free: 17.23 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.257e-05/21.02, allocations: 107.3 kB / 6.982 GB, free: 17.13 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.81e-07/21.02, allocations: 0 / 6.982 GB, free: 17.13 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.005161/21.03, allocations: 0.9794 MB / 6.983 GB, free: 16.15 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.01023/21.04, allocations: 1.481 MB / 6.984 GB, free: 14.68 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004021/21.04, allocations: 55.91 kB / 6.984 GB, free: 14.62 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.949e-06/21.04, allocations: 0 / 6.984 GB, free: 14.62 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000149/21.04, allocations: 35.84 kB / 6.984 GB, free: 14.59 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002797/21.04, allocations: 23.94 kB / 6.984 GB, free: 14.56 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005463/21.04, allocations: 208.6 kB / 6.985 GB, free: 14.33 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001435/21.04, allocations: 0.6887 MB / 6.985 GB, free: 13.61 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 9.836e-05/21.04, allocations: 18.95 kB / 6.985 GB, free: 13.6 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.777e-05/21.04, allocations: 15.44 kB / 6.985 GB, free: 13.58 MB / 362.7 MB Notification: Performance of SimCode: time 8.72e-07/21.04, allocations: 0 / 6.985 GB, free: 13.58 MB / 362.7 MB Notification: Performance of Templates: time 0.3162/21.36, allocations: 30.04 MB / 7.015 GB, free: 60.62 MB / 362.7 MB