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.Tests.MediaTestModels.IdealGases.Air.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.Tests.MediaTestModels.IdealGases.Air,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.1_cpp_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air") Notification: Performance of loadModel(Modelica): time 1.634/1.634, allocations: 171.1 MB / 187.3 MB, free: 1.137 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003535/0.0003535, allocations: 8 kB / 233.8 MB, free: 3.066 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0777/0.07808, allocations: 38.78 MB / 272.6 MB, free: 12.21 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.701/1.779, allocations: 0.5804 GB / 0.8466 GB, free: 8.262 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002978/1.78, allocations: 94.69 kB / 0.8467 GB, free: 8.207 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6948/2.475, allocations: 153.7 MB / 0.9968 GB, free: 8.098 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.204e-06/2.475, allocations: 0 / 0.9968 GB, free: 8.098 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.399e-05/2.475, allocations: 12 kB / 0.9968 GB, free: 8.086 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001232/2.476, allocations: 0.6128 MB / 0.9974 GB, free: 7.426 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.055e-05/2.476, allocations: 8.031 kB / 0.9974 GB, free: 7.418 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003643/2.476, allocations: 43.61 kB / 0.9974 GB, free: 7.375 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004158/2.477, allocations: 282.9 kB / 0.9977 GB, free: 7.059 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.518e-05/2.477, allocations: 20.56 kB / 0.9977 GB, free: 7.039 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.997e-05/2.477, allocations: 28 kB / 0.9977 GB, free: 7.012 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006455/2.478, allocations: 315.6 kB / 0.998 GB, free: 6.672 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.925e-05/2.478, allocations: 0 / 0.998 GB, free: 6.672 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.35e-05/2.478, allocations: 12 kB / 0.9981 GB, free: 6.66 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.076e-05/2.478, allocations: 8 kB / 0.9981 GB, free: 6.652 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004936/2.478, allocations: 209.5 kB / 0.9983 GB, free: 6.449 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.002183/2.48, allocations: 1.577 MB / 0.9998 GB, free: 4.715 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003867/2.481, allocations: 167.7 kB / 1 GB, free: 4.543 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.056e-05/2.481, allocations: 8.188 kB / 1 GB, free: 4.535 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.781e-05/2.481, allocations: 34.69 kB / 1 GB, free: 4.492 MB / 362.7 MB Notification: Performance of pre-optimization done (n=22): time 2.896e-06/2.481, allocations: 3.938 kB / 1 GB, free: 4.488 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: volume.medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=27): time 0.009155/2.49, allocations: 1.626 MB / 1.002 GB, free: 2.734 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.09e-05/2.49, allocations: 59.39 kB / 1.002 GB, free: 2.664 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003326/2.491, allocations: 245 kB / 1.002 GB, free: 2.414 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.773e-05/2.491, allocations: 29.7 kB / 1.002 GB, free: 2.379 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001008/2.491, allocations: 238.6 kB / 1.002 GB, free: 2.145 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.206e-05/2.491, allocations: 90.64 kB / 1.002 GB, free: 2.055 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.265e-05/2.491, allocations: 12 kB / 1.002 GB, free: 2.043 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.622e-05/2.491, allocations: 322.8 kB / 1.003 GB, free: 1.719 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000235/2.491, allocations: 91.73 kB / 1.003 GB, free: 1.629 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002824/2.491, allocations: 187.8 kB / 1.003 GB, free: 1.402 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003074/2.492, allocations: 123.9 kB / 1.003 GB, free: 1.281 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/2.492, allocations: 0 / 1.003 GB, free: 1.281 MB / 362.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0008919/2.493, allocations: 386.8 kB / 1.003 GB, free: 0.8906 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.051e-05/2.493, allocations: 6.188 kB / 1.003 GB, free: 0.8867 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.798e-06/2.493, allocations: 4 kB / 1.003 GB, free: 0.8828 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000297/2.493, allocations: 74.09 kB / 1.003 GB, free: 0.8047 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005785/2.494, allocations: 87.83 kB / 1.003 GB, free: 0.7188 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2436/2.737, allocations: 1.845 MB / 1.005 GB, free: 72.22 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004996/2.738, allocations: 26.5 kB / 1.005 GB, free: 72.22 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.703e-05/2.738, allocations: 38.23 kB / 1.005 GB, free: 72.22 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (40): * Single equations (assignments): 38 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0003012/2.738, allocations: 158.1 kB / 1.005 GB, free: 72.11 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001001/2.738, allocations: 27.55 kB / 1.006 GB, free: 72.11 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001502/2.74, allocations: 443.6 kB / 1.006 GB, free: 72.04 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.625e-06/2.74, allocations: 3.406 kB / 1.006 GB, free: 72.04 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/2.74, allocations: 0 / 1.006 GB, free: 72.04 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007044/2.741, allocations: 0.5642 MB / 1.006 GB, free: 71.58 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001549/2.742, allocations: 0.7158 MB / 1.007 GB, free: 71.27 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.975e-06/2.742, allocations: 5.172 kB / 1.007 GB, free: 71.26 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005853/2.743, allocations: 75.06 kB / 1.007 GB, free: 71.26 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001256/2.743, allocations: 26.44 kB / 1.007 GB, free: 71.25 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.901e-05/2.743, allocations: 10.75 kB / 1.007 GB, free: 71.25 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009394/2.744, allocations: 1.289 MB / 1.009 GB, free: 70.01 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/2.744, allocations: 2.938 kB / 1.009 GB, free: 70.01 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001169/2.745, allocations: 479.8 kB / 1.009 GB, free: 69.85 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001295/2.745, allocations: 102.4 kB / 1.009 GB, free: 69.75 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.692e-05/2.745, allocations: 6.469 kB / 1.009 GB, free: 69.75 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004478/2.746, allocations: 20.22 kB / 1.009 GB, free: 69.75 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.6e-05/2.746, allocations: 31.78 kB / 1.009 GB, free: 69.75 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.656e-05/2.746, allocations: 30.09 kB / 1.009 GB, free: 69.75 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003189/2.746, allocations: 188.3 kB / 1.009 GB, free: 69.67 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.322e-06/2.746, allocations: 0 / 1.009 GB, free: 69.67 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001027/2.747, allocations: 187.6 kB / 1.01 GB, free: 69.67 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (volume.medium.p,volume.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 (26): * Single equations (assignments): 25 * 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.001663/2.749, allocations: 0.7779 MB / 1.01 GB, free: 69.52 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000944/2.75, allocations: 373.6 kB / 1.011 GB, free: 69.41 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.107e-06/2.75, allocations: 0 / 1.011 GB, free: 69.41 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004054/2.751, allocations: 239.2 kB / 1.011 GB, free: 69.3 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001486/2.752, allocations: 155 kB / 1.011 GB, free: 69.29 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001537/2.754, allocations: 0.8577 MB / 1.012 GB, free: 68.9 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002578/2.754, allocations: 0.7687 MB / 1.013 GB, free: 68.2 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004495/2.754, allocations: 80.94 kB / 1.013 GB, free: 68.2 MB / 362.7 MB Notification: Performance of SimCode: time 1.373e-06/2.754, allocations: 0 / 1.013 GB, free: 68.2 MB / 362.7 MB Notification: Performance of Templates: time 0.02564/2.78, allocations: 11.66 MB / 1.024 GB, free: 67.91 MB / 362.7 MB