Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Running command: translateModel(Modelica.Media.Examples.TestOnly.IdealGasN2Mix,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.TestOnly.IdealGasN2Mix") Notification: Performance of loadModel(Modelica): time 1.964/1.964, allocations: 194.8 MB / 211.7 MB, free: 3.008 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004076/0.0004078, allocations: 8 kB / 264.5 MB, free: 12.95 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1181/0.1185, allocations: 44.51 MB / 309 MB, free: 380 kB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.46/2.579, allocations: 0.7133 GB / 1.015 GB, free: 109.1 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002776/2.579, allocations: 84.03 kB / 1.015 GB, free: 109.1 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.118/2.697, allocations: 33.78 MB / 1.048 GB, free: 96.48 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.174e-06/2.697, allocations: 0 / 1.048 GB, free: 96.48 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.281e-05/2.697, allocations: 0 / 1.048 GB, free: 96.48 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0006398/2.698, allocations: 418.9 kB / 1.049 GB, free: 96.03 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.983e-05/2.698, allocations: 8.031 kB / 1.049 GB, free: 96.02 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002846/2.701, allocations: 182.2 kB / 1.049 GB, free: 95.86 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000353/2.701, allocations: 209.5 kB / 1.049 GB, free: 95.63 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.391e-05/2.701, allocations: 8.188 kB / 1.049 GB, free: 95.62 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.036e-05/2.702, allocations: 15.62 kB / 1.049 GB, free: 95.61 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007259/2.702, allocations: 201.2 kB / 1.049 GB, free: 95.46 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.515e-05/2.702, allocations: 0 / 1.049 GB, free: 95.46 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.913e-05/2.702, allocations: 2.875 kB / 1.049 GB, free: 95.46 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.556e-06/2.702, allocations: 8.172 kB / 1.049 GB, free: 95.46 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008674/2.703, allocations: 216.4 kB / 1.049 GB, free: 95.32 MB / 410.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.00208/2.705, allocations: 0.6329 MB / 1.05 GB, free: 94.74 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000595/2.706, allocations: 156.4 kB / 1.05 GB, free: 94.63 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002874/2.706, allocations: 92.91 kB / 1.05 GB, free: 94.52 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.068e-05/2.706, allocations: 42.48 kB / 1.05 GB, free: 94.47 MB / 410.7 MB Notification: Performance of pre-optimization done (n=14): time 3.136e-06/2.706, allocations: 0 / 1.05 GB, free: 94.47 MB / 410.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.009295/2.716, allocations: 1.46 MB / 1.052 GB, free: 93.17 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.012e-05/2.716, allocations: 51.41 kB / 1.052 GB, free: 93.11 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.535e-05/2.716, allocations: 129.5 kB / 1.052 GB, free: 92.98 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.779e-05/2.716, allocations: 25.7 kB / 1.052 GB, free: 92.95 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.907e-05/2.716, allocations: 96.17 kB / 1.052 GB, free: 92.85 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.761e-05/2.716, allocations: 70.61 kB / 1.052 GB, free: 92.79 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.663e-05/2.716, allocations: 3.812 kB / 1.052 GB, free: 92.79 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.185e-05/2.716, allocations: 330.7 kB / 1.052 GB, free: 92.46 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003261/2.716, allocations: 78.72 kB / 1.052 GB, free: 92.41 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003273/2.717, allocations: 115.8 kB / 1.053 GB, free: 92.32 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000343/2.717, allocations: 93.48 kB / 1.053 GB, free: 92.27 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/2.717, allocations: 0 / 1.053 GB, free: 92.27 MB / 410.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0009113/2.718, allocations: 260.3 kB / 1.053 GB, free: 92.08 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.044e-05/2.718, allocations: 8 kB / 1.053 GB, free: 92.07 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.735e-06/2.718, allocations: 0 / 1.053 GB, free: 92.07 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001855/2.718, allocations: 24.78 kB / 1.053 GB, free: 92.05 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006214/2.719, allocations: 59.83 kB / 1.053 GB, free: 91.99 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003573/2.719, allocations: 0.5386 MB / 1.053 GB, free: 91.44 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003571/2.72, allocations: 15.52 kB / 1.054 GB, free: 91.43 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.563e-05/2.72, allocations: 8 kB / 1.054 GB, free: 91.42 MB / 410.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.0001628/2.72, allocations: 121 kB / 1.054 GB, free: 91.3 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.588e-05/2.72, allocations: 7.906 kB / 1.054 GB, free: 91.29 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001098/2.721, allocations: 300.9 kB / 1.054 GB, free: 91.07 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.722e-06/2.721, allocations: 8 kB / 1.054 GB, free: 91.06 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.476e-06/2.721, allocations: 3.953 kB / 1.054 GB, free: 91.06 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.021e-06/2.721, allocations: 0 / 1.054 GB, free: 91.06 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001507/2.723, allocations: 0.6506 MB / 1.055 GB, free: 90.46 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.508e-06/2.723, allocations: 0 / 1.055 GB, free: 90.46 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006231/2.723, allocations: 47.95 kB / 1.055 GB, free: 90.41 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001191/2.724, allocations: 28.22 kB / 1.055 GB, free: 90.39 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.942e-05/2.724, allocations: 7.938 kB / 1.055 GB, free: 90.38 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009295/2.725, allocations: 1.27 MB / 1.056 GB, free: 89.02 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.007e-06/2.725, allocations: 3.938 kB / 1.056 GB, free: 89.02 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001189/2.726, allocations: 427.5 kB / 1.056 GB, free: 88.66 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.917e-05/2.726, allocations: 88.86 kB / 1.056 GB, free: 88.56 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.624e-05/2.726, allocations: 7.984 kB / 1.056 GB, free: 88.55 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004093/2.726, allocations: 11.5 kB / 1.056 GB, free: 88.55 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.673e-05/2.726, allocations: 23.33 kB / 1.056 GB, free: 88.53 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.209e-05/2.726, allocations: 11.98 kB / 1.056 GB, free: 88.52 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.258e-05/2.727, allocations: 91.16 kB / 1.057 GB, free: 88.43 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.41e-07/2.727, allocations: 0 / 1.057 GB, free: 88.43 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0009107/2.727, allocations: 156.4 kB / 1.057 GB, free: 88.3 MB / 410.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 (19): * Single equations (assignments): 18 * 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.001509/2.729, allocations: 0.6384 MB / 1.057 GB, free: 87.67 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0009318/2.73, allocations: 205.2 kB / 1.057 GB, free: 87.54 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.709e-06/2.73, allocations: 0 / 1.057 GB, free: 87.54 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005162/2.73, allocations: 226.8 kB / 1.058 GB, free: 87.34 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005708/2.731, allocations: 47.86 kB / 1.058 GB, free: 87.3 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001119/2.732, allocations: 0.5643 MB / 1.058 GB, free: 86.73 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002048/2.732, allocations: 0.7127 MB / 1.059 GB, free: 85.99 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0006038/2.733, allocations: 41.41 kB / 1.059 GB, free: 85.95 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001732/2.733, allocations: 23.44 kB / 1.059 GB, free: 85.93 MB / 410.7 MB Notification: Performance of SimCode: time 1.433e-06/2.733, allocations: 0 / 1.059 GB, free: 85.93 MB / 410.7 MB Notification: Performance of Templates: time 0.02492/2.758, allocations: 11.99 MB / 1.071 GB, free: 73.95 MB / 410.7 MB