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_TX.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_TX,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_TX") Notification: Performance of loadModel(Modelica): time 1.598/1.598, allocations: 171.3 MB / 179.2 MB, free: 8.18 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 1.897e-05/1.912e-05, allocations: 0 / 222.5 MB, free: 8.797 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07127/0.07132, allocations: 38.77 MB / 261.3 MB, free: 1.945 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 15.89/15.96, allocations: 6.537 GB / 6.792 GB, free: 13.76 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002144/15.96, allocations: 75.08 kB / 6.792 GB, free: 13.72 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9404/16.9, allocations: 175.6 MB / 6.963 GB, free: 49.95 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.446e-06/16.9, allocations: 0 / 6.963 GB, free: 49.95 MB / 346.7 MB Notification: Performance of Transformations before backend: time 8.214e-06/16.9, allocations: 0 / 6.963 GB, free: 49.95 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.004313/16.91, allocations: 1.073 MB / 6.965 GB, free: 49.39 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.076e-05/16.91, allocations: 14.61 kB / 6.965 GB, free: 49.39 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.276e-05/16.91, allocations: 8.844 kB / 6.965 GB, free: 49.39 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001733/16.91, allocations: 195 kB / 6.965 GB, free: 49.18 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.83e-05/16.91, allocations: 7.312 kB / 6.965 GB, free: 49.18 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.423e-05/16.91, allocations: 1.594 kB / 6.965 GB, free: 49.18 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001015/16.91, allocations: 31.69 kB / 6.965 GB, free: 49.18 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001154/16.91, allocations: 63.56 kB / 6.965 GB, free: 49.14 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.017e-05/16.91, allocations: 6.188 kB / 6.965 GB, free: 49.14 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.337e-05/16.91, allocations: 0 / 6.965 GB, free: 49.14 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.622e-06/16.91, allocations: 0 / 6.965 GB, free: 49.14 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001696/16.91, allocations: 166.2 kB / 6.965 GB, free: 48.97 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002762/16.91, allocations: 90.78 kB / 6.965 GB, free: 48.92 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.36e-05/16.91, allocations: 32.28 kB / 6.965 GB, free: 48.91 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.963e-05/16.91, allocations: 10.19 kB / 6.965 GB, free: 48.91 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.282e-05/16.91, allocations: 34.47 kB / 6.965 GB, free: 48.87 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 2.061e-06/16.91, allocations: 0 / 6.965 GB, free: 48.87 MB / 346.7 MB Notification: Performance of matching and sorting (n=6): time 0.0009164/16.91, allocations: 166 kB / 6.965 GB, free: 48.83 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.399e-05/16.91, allocations: 79.23 kB / 6.965 GB, free: 48.74 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001052/16.91, allocations: 132.2 kB / 6.966 GB, free: 48.64 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.478e-05/16.91, allocations: 29.08 kB / 6.966 GB, free: 48.61 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.296e-05/16.91, allocations: 150.6 kB / 6.966 GB, free: 48.46 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.804e-05/16.91, allocations: 18.16 kB / 6.966 GB, free: 48.46 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.883e-06/16.91, allocations: 0 / 6.966 GB, free: 48.46 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 4.866e-05/16.91, allocations: 310.8 kB / 6.966 GB, free: 48.14 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.296e-05/16.91, allocations: 18.22 kB / 6.966 GB, free: 48.14 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.737e-05/16.91, allocations: 28.34 kB / 6.966 GB, free: 48.13 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007512/16.91, allocations: 102.4 kB / 6.966 GB, free: 48.13 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.058e-06/16.91, allocations: 3.906 kB / 6.966 GB, free: 48.13 MB / 346.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000864/16.91, allocations: 166.1 kB / 6.966 GB, free: 48.09 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.74e-05/16.91, allocations: 3.969 kB / 6.966 GB, free: 48.09 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.98e-06/16.91, allocations: 0 / 6.966 GB, free: 48.09 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.698e-05/16.91, allocations: 3.781 kB / 6.966 GB, free: 48.09 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001174/16.91, allocations: 7.812 kB / 6.966 GB, free: 48.09 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.807e-06/16.91, allocations: 2.625 kB / 6.966 GB, free: 48.09 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.268e-05/16.91, allocations: 11.27 kB / 6.966 GB, free: 48.09 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.486e-05/16.91, allocations: 3.656 kB / 6.966 GB, free: 48.09 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.13e-05/16.91, allocations: 110 kB / 6.966 GB, free: 47.98 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.702e-05/16.91, allocations: 7.578 kB / 6.966 GB, free: 47.98 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008828/16.91, allocations: 185.1 kB / 6.967 GB, free: 47.94 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.036e-06/16.91, allocations: 6.172 kB / 6.967 GB, free: 47.94 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.466e-06/16.91, allocations: 3.422 kB / 6.967 GB, free: 47.94 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.576e-06/16.91, allocations: 0 / 6.967 GB, free: 47.94 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001254/16.91, allocations: 153.2 kB / 6.967 GB, free: 47.79 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.6e-06/16.91, allocations: 0 / 6.967 GB, free: 47.79 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001022/16.91, allocations: 18.62 kB / 6.967 GB, free: 47.79 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.042e-06/16.91, allocations: 4.922 kB / 6.967 GB, free: 47.79 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.262e-05/16.91, allocations: 3.953 kB / 6.967 GB, free: 47.78 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.629e-06/16.91, allocations: 3.844 kB / 6.967 GB, free: 47.78 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.806e-06/16.91, allocations: 384 / 6.967 GB, free: 47.78 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008379/16.91, allocations: 207.3 kB / 6.967 GB, free: 47.69 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.072e-05/16.91, allocations: 98.06 kB / 6.967 GB, free: 47.59 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.703e-05/16.91, allocations: 7.469 kB / 6.967 GB, free: 47.59 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001312/16.91, allocations: 6.891 kB / 6.967 GB, free: 47.59 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.395e-05/16.91, allocations: 10.25 kB / 6.967 GB, free: 47.59 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.928e-05/16.91, allocations: 3.719 kB / 6.967 GB, free: 47.59 MB / 346.7 MB Notification: Performance of sorting global known variables: time 7.353e-05/16.91, allocations: 109.3 kB / 6.967 GB, free: 47.52 MB / 346.7 MB Notification: Performance of sort global known variables: time 8.99e-07/16.91, allocations: 0 / 6.967 GB, free: 47.52 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.004065/16.92, allocations: 0.9713 MB / 6.968 GB, free: 47.4 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.008337/16.93, allocations: 1.505 MB / 6.97 GB, free: 47.11 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001834/16.93, allocations: 37.34 kB / 6.97 GB, free: 47.11 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.058e-06/16.93, allocations: 0 / 6.97 GB, free: 47.11 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 5.264e-05/16.93, allocations: 24.19 kB / 6.97 GB, free: 47.11 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002644/16.93, allocations: 13.58 kB / 6.97 GB, free: 47.11 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003609/16.93, allocations: 137.6 kB / 6.97 GB, free: 47.01 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000821/16.93, allocations: 0.687 MB / 6.971 GB, free: 62.32 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.325e-05/16.93, allocations: 18.28 kB / 6.971 GB, free: 62.31 MB / 362.7 MB Notification: Performance of SimCode: time 1.823e-06/16.93, allocations: 0 / 6.971 GB, free: 62.31 MB / 362.7 MB Notification: Performance of Templates: time 0.04109/16.97, allocations: 23.38 MB / 6.993 GB, free: 58.96 MB / 362.7 MB