Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Media.TestOnly.IdealGasN2Mix.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) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: translateModel(ModelicaTest.Media.TestOnly.IdealGasN2Mix,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Media.TestOnly.IdealGasN2Mix") Notification: Performance of loadModel(ModelicaTest): time 1.806/1.806, allocations: 209.2 MB / 224.8 MB, free: 196 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004541/0.0004542, allocations: 12 kB / 282.6 MB, free: 9.586 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2849/0.2853, allocations: 48.7 MB / 331.3 MB, free: 6.484 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.715/2.001, allocations: 0.7092 GB / 1.033 GB, free: 115.8 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003107/2.001, allocations: 71.97 kB / 1.033 GB, free: 115.7 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.108/2.109, allocations: 33.33 MB / 1.065 GB, free: 82.24 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.02e-06/2.109, allocations: 0 / 1.065 GB, free: 82.24 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.173e-05/2.109, allocations: 0 / 1.065 GB, free: 82.24 MB / 442.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.0004843/2.11, allocations: 419.7 kB / 1.066 GB, free: 81.78 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.609e-05/2.11, allocations: 8.031 kB / 1.066 GB, free: 81.77 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002089/2.112, allocations: 192.1 kB / 1.066 GB, free: 81.59 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002516/2.112, allocations: 214.9 kB / 1.066 GB, free: 81.34 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.667e-05/2.112, allocations: 8.172 kB / 1.066 GB, free: 81.33 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.277e-05/2.112, allocations: 15.91 kB / 1.066 GB, free: 81.31 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000611/2.113, allocations: 195 kB / 1.066 GB, free: 81.12 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.243e-05/2.113, allocations: 0 / 1.066 GB, free: 81.12 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.965e-05/2.113, allocations: 4 kB / 1.066 GB, free: 81.11 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.475e-06/2.113, allocations: 8 kB / 1.066 GB, free: 81.11 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006454/2.114, allocations: 220.3 kB / 1.067 GB, free: 80.89 MB / 442.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.001568/2.115, allocations: 0.6137 MB / 1.067 GB, free: 80.22 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004374/2.116, allocations: 154.5 kB / 1.067 GB, free: 80.06 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002006/2.116, allocations: 89.09 kB / 1.067 GB, free: 79.95 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.96e-05/2.116, allocations: 50.48 kB / 1.067 GB, free: 79.89 MB / 442.7 MB Notification: Performance of pre-optimization done (n=14): time 4.066e-06/2.116, allocations: 0 / 1.067 GB, free: 79.89 MB / 442.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.006166/2.122, allocations: 1.445 MB / 1.069 GB, free: 78.33 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.284e-05/2.122, allocations: 55.41 kB / 1.069 GB, free: 78.27 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.788e-05/2.122, allocations: 105.2 kB / 1.069 GB, free: 78.16 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 3.068e-05/2.122, allocations: 29.7 kB / 1.069 GB, free: 78.12 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.536e-05/2.122, allocations: 174.7 kB / 1.069 GB, free: 77.95 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.644e-05/2.122, allocations: 67 kB / 1.069 GB, free: 77.88 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.198e-05/2.123, allocations: 8 kB / 1.069 GB, free: 77.87 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 5.242e-05/2.123, allocations: 322.8 kB / 1.07 GB, free: 77.55 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002339/2.123, allocations: 79.95 kB / 1.07 GB, free: 77.47 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002437/2.123, allocations: 107.8 kB / 1.07 GB, free: 77.35 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002908/2.123, allocations: 95.92 kB / 1.07 GB, free: 77.26 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.478e-06/2.123, allocations: 3.938 kB / 1.07 GB, free: 77.25 MB / 442.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0007343/2.124, allocations: 265.5 kB / 1.07 GB, free: 76.99 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.737e-05/2.124, allocations: 7.984 kB / 1.07 GB, free: 76.98 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.652e-06/2.124, allocations: 0 / 1.07 GB, free: 76.98 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001527/2.124, allocations: 24.84 kB / 1.07 GB, free: 76.95 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000429/2.125, allocations: 56 kB / 1.07 GB, free: 76.9 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000292/2.125, allocations: 0.5407 MB / 1.071 GB, free: 76.33 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002393/2.125, allocations: 8.031 kB / 1.071 GB, free: 76.32 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.751e-05/2.125, allocations: 8 kB / 1.071 GB, free: 76.32 MB / 442.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.0001284/2.126, allocations: 129.9 kB / 1.071 GB, free: 76.18 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.597e-05/2.126, allocations: 15.84 kB / 1.071 GB, free: 76.16 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008392/2.127, allocations: 291 kB / 1.071 GB, free: 75.88 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.348e-06/2.127, allocations: 4 kB / 1.071 GB, free: 75.87 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.427e-06/2.127, allocations: 0 / 1.071 GB, free: 75.87 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.07e-06/2.127, allocations: 3.984 kB / 1.071 GB, free: 75.87 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001211/2.128, allocations: 0.6511 MB / 1.072 GB, free: 75.15 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.369e-06/2.128, allocations: 11.92 kB / 1.072 GB, free: 75.14 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004703/2.128, allocations: 51.95 kB / 1.072 GB, free: 75.09 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001018/2.128, allocations: 16.84 kB / 1.072 GB, free: 75.07 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.559e-05/2.128, allocations: 11.98 kB / 1.072 GB, free: 75.05 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007995/2.129, allocations: 1.264 MB / 1.073 GB, free: 73.66 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.021e-06/2.129, allocations: 0 / 1.073 GB, free: 73.66 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009506/2.13, allocations: 478.9 kB / 1.074 GB, free: 73.14 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.672e-05/2.13, allocations: 81.02 kB / 1.074 GB, free: 73.05 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.12e-05/2.13, allocations: 4 kB / 1.074 GB, free: 73.04 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002959/2.131, allocations: 16.02 kB / 1.074 GB, free: 73.03 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.96e-05/2.131, allocations: 23.91 kB / 1.074 GB, free: 73 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.733e-05/2.131, allocations: 8 kB / 1.074 GB, free: 73 MB / 442.7 MB Notification: Performance of sorting global known variables: time 4.514e-05/2.131, allocations: 87.27 kB / 1.074 GB, free: 72.91 MB / 442.7 MB Notification: Performance of sort global known variables: time 7.24e-07/2.131, allocations: 0 / 1.074 GB, free: 72.91 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.000768/2.132, allocations: 163.9 kB / 1.074 GB, free: 72.75 MB / 442.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.001169/2.133, allocations: 0.6292 MB / 1.075 GB, free: 72.11 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0007287/2.134, allocations: 215.8 kB / 1.075 GB, free: 71.9 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.384e-06/2.134, allocations: 4.188 kB / 1.075 GB, free: 71.89 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004145/2.134, allocations: 222.5 kB / 1.075 GB, free: 71.66 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004646/2.135, allocations: 43.91 kB / 1.075 GB, free: 71.62 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001077/2.136, allocations: 0.5932 MB / 1.076 GB, free: 70.99 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001548/2.136, allocations: 0.7165 MB / 1.076 GB, free: 70.25 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001928/2.136, allocations: 27.42 kB / 1.076 GB, free: 70.22 MB / 442.7 MB Notification: Performance of SimCode: time 1.807e-06/2.136, allocations: 0 / 1.076 GB, free: 70.22 MB / 442.7 MB Notification: Performance of Templates: time 0.01178/2.148, allocations: 7.429 MB / 1.084 GB, free: 62.79 MB / 442.7 MB