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.TestOnly.IdealGasN2.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.TestOnly.IdealGasN2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_3.2.1_cpp_Modelica.Media.Examples.TestOnly.IdealGasN2") Notification: Performance of loadModel(Modelica): time 1.687/1.687, allocations: 171.2 MB / 187.3 MB, free: 1.121 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003649/0.000365, allocations: 8 kB / 233.8 MB, free: 0.9727 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08736/0.08775, allocations: 38.77 MB / 272.5 MB, free: 10.12 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.584/1.672, allocations: 441.4 MB / 0.6972 GB, free: 109.2 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002942/1.672, allocations: 79.33 kB / 0.6973 GB, free: 109.2 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1023/1.775, allocations: 29.86 MB / 0.7264 GB, free: 103.6 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.084e-06/1.775, allocations: 0 / 0.7264 GB, free: 103.6 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.322e-05/1.775, allocations: 0 / 0.7264 GB, free: 103.6 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0004966/1.775, allocations: 397.3 kB / 0.7268 GB, free: 103.2 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.924e-05/1.775, allocations: 11.5 kB / 0.7268 GB, free: 103.2 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002687/1.778, allocations: 191.8 kB / 0.727 GB, free: 103.1 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002463/1.778, allocations: 197.6 kB / 0.7272 GB, free: 102.9 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.664e-05/1.778, allocations: 10.19 kB / 0.7272 GB, free: 102.9 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.977e-05/1.778, allocations: 8.312 kB / 0.7272 GB, free: 102.9 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007418/1.779, allocations: 223.9 kB / 0.7274 GB, free: 102.8 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.308e-05/1.779, allocations: 7.812 kB / 0.7274 GB, free: 102.8 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.369e-05/1.779, allocations: 3.312 kB / 0.7274 GB, free: 102.8 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.813e-06/1.779, allocations: 3.75 kB / 0.7274 GB, free: 102.8 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007089/1.78, allocations: 169.9 kB / 0.7276 GB, free: 102.8 MB / 362.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001226/1.781, allocations: 0.5877 MB / 0.7282 GB, free: 102.2 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004804/1.782, allocations: 132.8 kB / 0.7283 GB, free: 102.2 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.053e-05/1.782, allocations: 7.984 kB / 0.7283 GB, free: 102.2 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.946e-05/1.782, allocations: 35.69 kB / 0.7283 GB, free: 102.2 MB / 362.7 MB Notification: Performance of pre-optimization done (n=14): time 3.186e-06/1.782, allocations: 0 / 0.7283 GB, free: 102.2 MB / 362.7 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=19): time 0.008408/1.79, allocations: 1.298 MB / 0.7296 GB, free: 101.4 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.431e-05/1.79, allocations: 59.3 kB / 0.7297 GB, free: 101.4 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.151e-05/1.79, allocations: 121.4 kB / 0.7298 GB, free: 101.2 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.592e-05/1.79, allocations: 33.64 kB / 0.7298 GB, free: 101.2 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.787e-05/1.79, allocations: 166.4 kB / 0.73 GB, free: 101 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.71e-05/1.79, allocations: 70.19 kB / 0.73 GB, free: 101 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.832e-05/1.79, allocations: 4 kB / 0.73 GB, free: 101 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.015e-05/1.791, allocations: 318.8 kB / 0.7303 GB, free: 100.7 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002401/1.791, allocations: 69.98 kB / 0.7304 GB, free: 100.6 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002589/1.791, allocations: 108 kB / 0.7305 GB, free: 100.6 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002725/1.791, allocations: 82.52 kB / 0.7306 GB, free: 100.5 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/1.791, allocations: 0 / 0.7306 GB, free: 100.5 MB / 362.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0007246/1.792, allocations: 252.5 kB / 0.7308 GB, free: 100.4 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.88e-05/1.792, allocations: 7.859 kB / 0.7308 GB, free: 100.4 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.895e-06/1.792, allocations: 3.938 kB / 0.7308 GB, free: 100.4 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002352/1.792, allocations: 55.98 kB / 0.7309 GB, free: 100.4 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005175/1.793, allocations: 46.75 kB / 0.7309 GB, free: 100.3 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004051/1.793, allocations: 0.5666 MB / 0.7315 GB, free: 99.8 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002733/1.794, allocations: 11.81 kB / 0.7315 GB, free: 99.79 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.939e-05/1.794, allocations: 31.2 kB / 0.7315 GB, free: 99.79 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (23): * Single equations (assignments): 22 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.000156/1.794, allocations: 125.6 kB / 0.7316 GB, free: 99.66 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.062e-05/1.794, allocations: 7.531 kB / 0.7317 GB, free: 99.65 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001228/1.795, allocations: 345.7 kB / 0.732 GB, free: 99.45 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.11e-06/1.795, allocations: 0 / 0.732 GB, free: 99.45 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.474e-06/1.795, allocations: 3.984 kB / 0.732 GB, free: 99.45 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/1.795, allocations: 1.188 kB / 0.732 GB, free: 99.45 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001245/1.797, allocations: 0.6104 MB / 0.7326 GB, free: 98.93 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.527e-06/1.797, allocations: 0 / 0.7326 GB, free: 98.93 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005598/1.797, allocations: 64.86 kB / 0.7326 GB, free: 98.91 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001006/1.797, allocations: 20.97 kB / 0.7327 GB, free: 98.9 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.218e-05/1.797, allocations: 23.36 kB / 0.7327 GB, free: 98.89 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008493/1.798, allocations: 1.275 MB / 0.7339 GB, free: 97.55 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/1.798, allocations: 0 / 0.7339 GB, free: 97.55 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009694/1.799, allocations: 435.9 kB / 0.7344 GB, free: 97.25 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.644e-05/1.799, allocations: 84.89 kB / 0.7344 GB, free: 97.15 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.437e-05/1.799, allocations: 0 / 0.7344 GB, free: 97.15 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003319/1.8, allocations: 11.83 kB / 0.7344 GB, free: 97.14 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.338e-05/1.8, allocations: 31.53 kB / 0.7345 GB, free: 97.13 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.727e-05/1.8, allocations: 23.2 kB / 0.7345 GB, free: 97.12 MB / 362.7 MB Notification: Performance of sorting global known variables: time 4.801e-05/1.8, allocations: 91.02 kB / 0.7346 GB, free: 97.04 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.31e-07/1.8, allocations: 0 / 0.7346 GB, free: 97.04 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0007056/1.801, allocations: 112.2 kB / 0.7347 GB, free: 97.01 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (medium.p,medium.T) * 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 (21): * Single equations (assignments): 20 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001024/1.802, allocations: 0.5523 MB / 0.7352 GB, free: 96.64 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0007363/1.802, allocations: 198.3 kB / 0.7354 GB, free: 96.56 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/1.802, allocations: 8.125 kB / 0.7354 GB, free: 96.55 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004394/1.803, allocations: 222.2 kB / 0.7356 GB, free: 96.39 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005262/1.803, allocations: 39.61 kB / 0.7357 GB, free: 96.37 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001024/1.804, allocations: 0.5915 MB / 0.7363 GB, free: 95.89 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001699/1.805, allocations: 0.7162 MB / 0.737 GB, free: 95.17 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003692/1.805, allocations: 54.88 kB / 0.737 GB, free: 95.15 MB / 362.7 MB Notification: Performance of SimCode: time 6.71e-07/1.805, allocations: 0 / 0.737 GB, free: 95.15 MB / 362.7 MB Notification: Performance of Templates: time 0.01221/1.817, allocations: 6.452 MB / 0.7433 GB, free: 89.58 MB / 362.7 MB