Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_cpp_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_cpp_Modelica.Media.Examples.TestOnly.IdealGasN2Mix") Notification: Performance of loadModel(Modelica): time 1.944/1.944, allocations: 194.8 MB / 212.3 MB, free: 3.004 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003848/0.0003852, allocations: 12 kB / 264.5 MB, free: 13.62 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1024/0.1028, allocations: 44.5 MB / 309 MB, free: 1.055 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.295/2.398, allocations: 0.7133 GB / 1.015 GB, free: 109 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002828/2.398, allocations: 78.64 kB / 1.015 GB, free: 109 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1167/2.515, allocations: 33.78 MB / 1.048 GB, free: 97.35 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.204e-06/2.515, allocations: 3.938 kB / 1.048 GB, free: 97.35 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.415e-05/2.515, allocations: 0 / 1.048 GB, free: 97.35 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.0006657/2.516, allocations: 427.2 kB / 1.048 GB, free: 96.89 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.115e-05/2.516, allocations: 8.031 kB / 1.048 GB, free: 96.88 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00275/2.518, allocations: 181.3 kB / 1.049 GB, free: 96.72 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002985/2.519, allocations: 213 kB / 1.049 GB, free: 96.49 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.875e-05/2.519, allocations: 6.625 kB / 1.049 GB, free: 96.48 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.86e-05/2.519, allocations: 6.5 kB / 1.049 GB, free: 96.48 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007471/2.52, allocations: 202.7 kB / 1.049 GB, free: 96.33 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.358e-05/2.52, allocations: 4 kB / 1.049 GB, free: 96.33 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.033e-05/2.52, allocations: 4 kB / 1.049 GB, free: 96.32 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.795e-06/2.52, allocations: 3.953 kB / 1.049 GB, free: 96.32 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00084/2.52, allocations: 213.3 kB / 1.049 GB, free: 96.18 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.002051/2.523, allocations: 0.6212 MB / 1.05 GB, free: 95.62 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000596/2.523, allocations: 164.1 kB / 1.05 GB, free: 95.5 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000297/2.523, allocations: 100.3 kB / 1.05 GB, free: 95.39 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.294e-05/2.523, allocations: 30.56 kB / 1.05 GB, free: 95.35 MB / 410.7 MB Notification: Performance of pre-optimization done (n=14): time 3.116e-06/2.524, allocations: 0 / 1.05 GB, free: 95.35 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.009172/2.533, allocations: 1.461 MB / 1.052 GB, free: 94.04 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.442e-05/2.533, allocations: 55.41 kB / 1.052 GB, free: 93.97 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001024/2.533, allocations: 121.3 kB / 1.052 GB, free: 93.85 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.057e-05/2.533, allocations: 33.33 kB / 1.052 GB, free: 93.81 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.965e-05/2.533, allocations: 166.5 kB / 1.052 GB, free: 93.65 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.927e-05/2.533, allocations: 66.31 kB / 1.052 GB, free: 93.59 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.929e-05/2.533, allocations: 3.312 kB / 1.052 GB, free: 93.59 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.848e-05/2.533, allocations: 326.3 kB / 1.052 GB, free: 93.27 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003087/2.534, allocations: 82.89 kB / 1.052 GB, free: 93.21 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003316/2.534, allocations: 111.4 kB / 1.053 GB, free: 93.12 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003396/2.534, allocations: 94.48 kB / 1.053 GB, free: 93.07 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/2.534, allocations: 0 / 1.053 GB, free: 93.07 MB / 410.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0009001/2.535, allocations: 263.2 kB / 1.053 GB, free: 92.88 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.092e-05/2.535, allocations: 7.984 kB / 1.053 GB, free: 92.88 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.124e-06/2.535, allocations: 0 / 1.053 GB, free: 92.88 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001832/2.535, allocations: 28.38 kB / 1.053 GB, free: 92.85 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006195/2.536, allocations: 55.53 kB / 1.053 GB, free: 92.8 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003495/2.536, allocations: 0.5429 MB / 1.053 GB, free: 92.24 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003453/2.537, allocations: 7.531 kB / 1.053 GB, free: 92.23 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.329e-05/2.537, allocations: 8.094 kB / 1.053 GB, free: 92.23 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.0001639/2.537, allocations: 136.2 kB / 1.054 GB, free: 92.09 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.726e-05/2.537, allocations: 11.91 kB / 1.054 GB, free: 92.08 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00105/2.538, allocations: 290.4 kB / 1.054 GB, free: 91.87 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.853e-06/2.538, allocations: 4 kB / 1.054 GB, free: 91.87 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.574e-06/2.538, allocations: 3.953 kB / 1.054 GB, free: 91.86 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.141e-06/2.538, allocations: 3.984 kB / 1.054 GB, free: 91.86 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001486/2.54, allocations: 0.6441 MB / 1.055 GB, free: 91.27 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.087e-06/2.54, allocations: 3.938 kB / 1.055 GB, free: 91.26 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006145/2.54, allocations: 51.39 kB / 1.055 GB, free: 91.21 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001149/2.54, allocations: 24.66 kB / 1.055 GB, free: 91.19 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.968e-05/2.541, allocations: 3.984 kB / 1.055 GB, free: 91.19 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008835/2.541, allocations: 1.27 MB / 1.056 GB, free: 89.83 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/2.541, allocations: 256 / 1.056 GB, free: 89.83 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001236/2.543, allocations: 440.3 kB / 1.056 GB, free: 89.46 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.617e-05/2.543, allocations: 81.02 kB / 1.056 GB, free: 89.37 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.715e-05/2.543, allocations: 7.438 kB / 1.056 GB, free: 89.36 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004083/2.543, allocations: 11.44 kB / 1.056 GB, free: 89.36 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.559e-05/2.543, allocations: 15.97 kB / 1.056 GB, free: 89.34 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.343e-05/2.543, allocations: 15.5 kB / 1.056 GB, free: 89.33 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.194e-05/2.543, allocations: 94.72 kB / 1.057 GB, free: 89.24 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.21e-07/2.543, allocations: 4 kB / 1.057 GB, free: 89.23 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0009043/2.544, allocations: 160.3 kB / 1.057 GB, free: 89.11 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.001495/2.546, allocations: 0.6223 MB / 1.057 GB, free: 88.49 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0009757/2.547, allocations: 222.8 kB / 1.057 GB, free: 88.34 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.869e-06/2.547, allocations: 4 kB / 1.057 GB, free: 88.33 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005163/2.547, allocations: 215.4 kB / 1.058 GB, free: 88.14 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005872/2.548, allocations: 46.77 kB / 1.058 GB, free: 88.11 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001154/2.549, allocations: 0.5909 MB / 1.058 GB, free: 87.5 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001886/2.549, allocations: 0.7127 MB / 1.059 GB, free: 86.76 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002512/2.55, allocations: 31.17 kB / 1.059 GB, free: 86.73 MB / 410.7 MB Notification: Performance of SimCode: time 1.062e-06/2.55, allocations: 0 / 1.059 GB, free: 86.73 MB / 410.7 MB Notification: Performance of Templates: time 0.01546/2.565, allocations: 7.463 MB / 1.066 GB, free: 79.29 MB / 410.7 MB