Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_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_Modelica.Media.Examples.TestOnly.IdealGasN2") Notification: Performance of loadModel(Modelica): time 1.645/1.645, allocations: 171.1 MB / 186.7 MB, free: 1.137 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003603/0.0003604, allocations: 8 kB / 233.8 MB, free: 2.402 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08701/0.0874, allocations: 38.78 MB / 272.6 MB, free: 11.55 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.379/1.467, allocations: 441.4 MB / 0.6973 GB, free: 15.57 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002844/1.467, allocations: 78.03 kB / 0.6973 GB, free: 15.53 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3507/1.818, allocations: 29.84 MB / 0.7265 GB, free: 127 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.984e-06/1.818, allocations: 0 / 0.7265 GB, free: 127 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.474e-05/1.818, allocations: 1.031 kB / 0.7265 GB, free: 127 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.000665/1.819, allocations: 404.4 kB / 0.7269 GB, free: 126.6 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.109e-05/1.819, allocations: 12.31 kB / 0.7269 GB, free: 126.6 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002894/1.822, allocations: 183.1 kB / 0.7271 GB, free: 126.6 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003389/1.822, allocations: 201.1 kB / 0.7273 GB, free: 126.4 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.034e-05/1.822, allocations: 10.19 kB / 0.7273 GB, free: 126.4 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.375e-05/1.822, allocations: 10.41 kB / 0.7273 GB, free: 126.4 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008235/1.823, allocations: 223.5 kB / 0.7275 GB, free: 126.4 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.54e-05/1.823, allocations: 1.344 kB / 0.7275 GB, free: 126.4 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.548e-05/1.823, allocations: 4.594 kB / 0.7275 GB, free: 126.4 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.186e-05/1.823, allocations: 5.469 kB / 0.7275 GB, free: 126.4 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007586/1.824, allocations: 174.5 kB / 0.7277 GB, free: 126.4 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.001394/1.825, allocations: 0.5784 MB / 0.7282 GB, free: 125.9 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005175/1.826, allocations: 135.1 kB / 0.7284 GB, free: 125.9 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.029e-05/1.826, allocations: 7.156 kB / 0.7284 GB, free: 125.9 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.953e-05/1.826, allocations: 38.12 kB / 0.7284 GB, free: 125.9 MB / 362.7 MB Notification: Performance of pre-optimization done (n=14): time 2.695e-06/1.826, allocations: 0 / 0.7284 GB, free: 125.9 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.009143/1.835, allocations: 1.309 MB / 0.7297 GB, free: 125.4 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.365e-05/1.835, allocations: 55.38 kB / 0.7297 GB, free: 125.3 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.709e-05/1.835, allocations: 116.3 kB / 0.7298 GB, free: 125.2 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.19e-05/1.835, allocations: 33.02 kB / 0.7299 GB, free: 125.2 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.459e-05/1.835, allocations: 92.92 kB / 0.73 GB, free: 125.1 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.287e-05/1.836, allocations: 66.42 kB / 0.73 GB, free: 125.1 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.634e-05/1.836, allocations: 7.438 kB / 0.73 GB, free: 125.1 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.593e-05/1.836, allocations: 320.7 kB / 0.7303 GB, free: 124.7 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002492/1.836, allocations: 72.53 kB / 0.7304 GB, free: 124.7 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002659/1.836, allocations: 94.62 kB / 0.7305 GB, free: 124.7 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002861/1.837, allocations: 86.75 kB / 0.7306 GB, free: 124.7 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.043e-06/1.837, allocations: 5.688 kB / 0.7306 GB, free: 124.7 MB / 362.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0008168/1.837, allocations: 257.3 kB / 0.7308 GB, free: 124.7 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.261e-05/1.837, allocations: 6.062 kB / 0.7308 GB, free: 124.7 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.003e-05/1.837, allocations: 1.312 kB / 0.7308 GB, free: 124.7 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002713/1.838, allocations: 47.02 kB / 0.7309 GB, free: 124.6 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005651/1.838, allocations: 56.62 kB / 0.7309 GB, free: 124.6 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004966/1.839, allocations: 0.5669 MB / 0.7315 GB, free: 124.1 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003149/1.839, allocations: 9.078 kB / 0.7315 GB, free: 124.1 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.847e-05/1.839, allocations: 28.38 kB / 0.7315 GB, free: 124.1 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.0001698/1.839, allocations: 121.7 kB / 0.7316 GB, free: 124 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.319e-05/1.839, allocations: 8.281 kB / 0.7317 GB, free: 124 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001288/1.841, allocations: 349.1 kB / 0.732 GB, free: 123.9 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.544e-06/1.841, allocations: 3.969 kB / 0.732 GB, free: 123.9 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.356e-06/1.841, allocations: 3.953 kB / 0.732 GB, free: 123.9 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/1.841, allocations: 4 kB / 0.732 GB, free: 123.9 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001327/1.842, allocations: 0.6084 MB / 0.7326 GB, free: 123.6 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.192e-06/1.842, allocations: 3.969 kB / 0.7326 GB, free: 123.6 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005962/1.843, allocations: 62.81 kB / 0.7327 GB, free: 123.6 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001168/1.843, allocations: 27.66 kB / 0.7327 GB, free: 123.6 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.308e-05/1.843, allocations: 12.89 kB / 0.7327 GB, free: 123.6 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009019/1.844, allocations: 1.281 MB / 0.7339 GB, free: 122.3 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/1.844, allocations: 0 / 0.7339 GB, free: 122.3 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001006/1.845, allocations: 429.2 kB / 0.7344 GB, free: 122.2 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.15e-05/1.845, allocations: 86.66 kB / 0.7344 GB, free: 122.1 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.68e-05/1.845, allocations: 13.97 kB / 0.7345 GB, free: 122.1 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003484/1.845, allocations: 11.09 kB / 0.7345 GB, free: 122.1 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.962e-05/1.846, allocations: 20.48 kB / 0.7345 GB, free: 122.1 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.065e-05/1.846, allocations: 27.3 kB / 0.7345 GB, free: 122.1 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.222e-05/1.846, allocations: 88.58 kB / 0.7346 GB, free: 122 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.5e-07/1.846, allocations: 0 / 0.7346 GB, free: 122 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0007965/1.846, allocations: 115.5 kB / 0.7347 GB, free: 122 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.001121/1.848, allocations: 0.5427 MB / 0.7352 GB, free: 121.8 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0008085/1.848, allocations: 193.6 kB / 0.7354 GB, free: 121.8 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/1.848, allocations: 3.625 kB / 0.7354 GB, free: 121.8 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000461/1.849, allocations: 216.6 kB / 0.7356 GB, free: 121.6 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005743/1.85, allocations: 52.8 kB / 0.7357 GB, free: 121.6 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001101/1.851, allocations: 0.5738 MB / 0.7362 GB, free: 121.3 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001752/1.851, allocations: 0.7084 MB / 0.7369 GB, free: 120.6 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0007538/1.852, allocations: 73.67 kB / 0.737 GB, free: 120.6 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003284/1.852, allocations: 56.5 kB / 0.7371 GB, free: 120.6 MB / 362.7 MB Notification: Performance of SimCode: time 1.083e-06/1.852, allocations: 0 / 0.7371 GB, free: 120.6 MB / 362.7 MB Notification: Performance of Templates: time 0.02657/1.879, allocations: 11.62 MB / 0.7484 GB, free: 116.1 MB / 362.7 MB