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.TestOnly.IdealGasN2.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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.621/1.621, allocations: 171.2 MB / 186.7 MB, free: 1.121 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003513/0.0003514, allocations: 8 kB / 233.2 MB, free: 3.027 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06964/0.07002, allocations: 38.78 MB / 272 MB, free: 12.17 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.021/1.091, allocations: 441.4 MB / 0.6967 GB, free: 18.97 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000221/1.092, allocations: 75.77 kB / 0.6968 GB, free: 18.93 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2746/1.366, allocations: 29.84 MB / 0.7259 GB, free: 124.8 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.277e-06/1.366, allocations: 0 / 0.7259 GB, free: 124.8 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.906e-05/1.366, allocations: 1.125 kB / 0.7259 GB, free: 124.8 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.0004618/1.367, allocations: 401.5 kB / 0.7263 GB, free: 124.4 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.787e-05/1.367, allocations: 10.44 kB / 0.7263 GB, free: 124.4 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002042/1.369, allocations: 182.3 kB / 0.7265 GB, free: 124.4 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002224/1.369, allocations: 203 kB / 0.7267 GB, free: 124.2 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.508e-05/1.369, allocations: 4.875 kB / 0.7267 GB, free: 124.2 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.405e-05/1.369, allocations: 8.625 kB / 0.7267 GB, free: 124.2 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005974/1.37, allocations: 226.5 kB / 0.7269 GB, free: 124.2 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.364e-05/1.37, allocations: 0 / 0.7269 GB, free: 124.2 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.323e-05/1.37, allocations: 5.188 kB / 0.7269 GB, free: 124.2 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.589e-06/1.37, allocations: 2.312 kB / 0.7269 GB, free: 124.2 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005809/1.371, allocations: 168.3 kB / 0.7271 GB, free: 124.2 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.001078/1.372, allocations: 0.5878 MB / 0.7276 GB, free: 123.7 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004198/1.372, allocations: 141.3 kB / 0.7278 GB, free: 123.7 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.502e-05/1.372, allocations: 5.062 kB / 0.7278 GB, free: 123.7 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.815e-05/1.372, allocations: 34.03 kB / 0.7278 GB, free: 123.7 MB / 362.7 MB Notification: Performance of pre-optimization done (n=14): time 3.105e-06/1.372, allocations: 0 / 0.7278 GB, free: 123.7 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.00604/1.378, allocations: 1.315 MB / 0.7291 GB, free: 123.2 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.574e-05/1.378, allocations: 56.28 kB / 0.7291 GB, free: 123.1 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.94e-05/1.378, allocations: 100.9 kB / 0.7292 GB, free: 123 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.166e-05/1.378, allocations: 31.67 kB / 0.7293 GB, free: 123 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.552e-05/1.379, allocations: 164 kB / 0.7294 GB, free: 122.8 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.791e-05/1.379, allocations: 71.69 kB / 0.7295 GB, free: 122.8 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.324e-05/1.379, allocations: 4.062 kB / 0.7295 GB, free: 122.8 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 5.447e-05/1.379, allocations: 318.9 kB / 0.7298 GB, free: 122.5 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002071/1.379, allocations: 69.62 kB / 0.7299 GB, free: 122.5 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002165/1.379, allocations: 99.62 kB / 0.73 GB, free: 122.5 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002321/1.379, allocations: 80.28 kB / 0.73 GB, free: 122.5 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.917e-06/1.379, allocations: 1.281 kB / 0.73 GB, free: 122.5 MB / 362.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006581/1.38, allocations: 260.5 kB / 0.7303 GB, free: 122.4 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.818e-05/1.38, allocations: 5.781 kB / 0.7303 GB, free: 122.4 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.166e-06/1.38, allocations: 3.5 kB / 0.7303 GB, free: 122.4 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002294/1.38, allocations: 52.89 kB / 0.7303 GB, free: 122.4 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003966/1.381, allocations: 50.66 kB / 0.7304 GB, free: 122.4 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000385/1.381, allocations: 0.5658 MB / 0.7309 GB, free: 121.9 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002188/1.381, allocations: 8.219 kB / 0.731 GB, free: 121.9 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.868e-05/1.382, allocations: 27.53 kB / 0.731 GB, free: 121.9 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.0001341/1.382, allocations: 125.7 kB / 0.7311 GB, free: 121.8 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.76e-05/1.382, allocations: 12.03 kB / 0.7311 GB, free: 121.8 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001106/1.383, allocations: 358.5 kB / 0.7315 GB, free: 121.7 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.297e-06/1.383, allocations: 1.281 kB / 0.7315 GB, free: 121.7 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.266e-06/1.383, allocations: 1.344 kB / 0.7315 GB, free: 121.7 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.376e-06/1.383, allocations: 0 / 0.7315 GB, free: 121.7 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001138/1.384, allocations: 0.6149 MB / 0.7321 GB, free: 121.4 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.137e-06/1.384, allocations: 1.375 kB / 0.7321 GB, free: 121.4 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004332/1.385, allocations: 61.58 kB / 0.7321 GB, free: 121.4 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001072/1.385, allocations: 22.38 kB / 0.7321 GB, free: 121.4 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.282e-05/1.385, allocations: 19.33 kB / 0.7322 GB, free: 121.4 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008373/1.386, allocations: 1.272 MB / 0.7334 GB, free: 120.1 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/1.386, allocations: 1.219 kB / 0.7334 GB, free: 120.1 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008936/1.387, allocations: 466.9 kB / 0.7338 GB, free: 119.9 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.284e-05/1.387, allocations: 87.95 kB / 0.7339 GB, free: 119.8 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.835e-05/1.387, allocations: 5.625 kB / 0.7339 GB, free: 119.8 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002756/1.387, allocations: 9.828 kB / 0.7339 GB, free: 119.8 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.12e-05/1.387, allocations: 28.64 kB / 0.734 GB, free: 119.8 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.111e-05/1.387, allocations: 27.91 kB / 0.734 GB, free: 119.8 MB / 362.7 MB Notification: Performance of sorting global known variables: time 4.959e-05/1.387, allocations: 89.66 kB / 0.7341 GB, free: 119.7 MB / 362.7 MB Notification: Performance of sort global known variables: time 7.16e-07/1.387, allocations: 0 / 0.7341 GB, free: 119.7 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0006843/1.388, allocations: 116.7 kB / 0.7342 GB, free: 119.7 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.0009503/1.389, allocations: 0.5355 MB / 0.7347 GB, free: 119.5 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0006798/1.39, allocations: 197.3 kB / 0.7349 GB, free: 119.5 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.236e-06/1.39, allocations: 0 / 0.7349 GB, free: 119.5 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004026/1.39, allocations: 220.2 kB / 0.7351 GB, free: 119.4 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00048/1.39, allocations: 55.02 kB / 0.7352 GB, free: 119.4 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009784/1.391, allocations: 0.5955 MB / 0.7358 GB, free: 119.1 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001583/1.392, allocations: 0.7114 MB / 0.7364 GB, free: 118.4 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003222/1.392, allocations: 58.19 kB / 0.7365 GB, free: 118.4 MB / 362.7 MB Notification: Performance of SimCode: time 1.585e-06/1.392, allocations: 0 / 0.7365 GB, free: 118.4 MB / 362.7 MB Notification: Performance of Templates: time 0.01037/1.402, allocations: 6.463 MB / 0.7428 GB, free: 117.7 MB / 362.7 MB