Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/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) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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 2.061/2.061, allocations: 209.2 MB / 225.4 MB, free: 0.6133 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006032/0.0006034, allocations: 12 kB / 283.1 MB, free: 9.707 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3809/0.3815, allocations: 48.7 MB / 331.8 MB, free: 6.48 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.161/2.543, allocations: 0.7092 GB / 1.033 GB, free: 109.5 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002728/2.543, allocations: 75.52 kB / 1.033 GB, free: 109.5 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1154/2.659, allocations: 33.34 MB / 1.066 GB, free: 81.38 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.504e-06/2.659, allocations: 0 / 1.066 GB, free: 81.38 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.356e-05/2.659, allocations: 4 kB / 1.066 GB, free: 81.38 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.0006714/2.66, allocations: 414.2 kB / 1.066 GB, free: 80.93 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.397e-05/2.66, allocations: 12.03 kB / 1.066 GB, free: 80.92 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002876/2.663, allocations: 195.1 kB / 1.066 GB, free: 80.75 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003446/2.663, allocations: 205.8 kB / 1.067 GB, free: 80.52 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.009e-05/2.663, allocations: 7.938 kB / 1.067 GB, free: 80.52 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.183e-05/2.663, allocations: 11.59 kB / 1.067 GB, free: 80.51 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000753/2.664, allocations: 203.9 kB / 1.067 GB, free: 80.36 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.758e-05/2.664, allocations: 0 / 1.067 GB, free: 80.36 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.314e-05/2.664, allocations: 7.75 kB / 1.067 GB, free: 80.36 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.717e-06/2.664, allocations: 4 kB / 1.067 GB, free: 80.35 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000902/2.665, allocations: 218.4 kB / 1.067 GB, free: 80.21 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.002207/2.667, allocations: 0.6132 MB / 1.068 GB, free: 79.65 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006166/2.668, allocations: 162.2 kB / 1.068 GB, free: 79.53 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003032/2.668, allocations: 96.58 kB / 1.068 GB, free: 79.42 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.135e-05/2.668, allocations: 34.5 kB / 1.068 GB, free: 79.38 MB / 442.7 MB Notification: Performance of pre-optimization done (n=14): time 2.655e-06/2.668, allocations: 8 kB / 1.068 GB, free: 79.37 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.009501/2.678, allocations: 1.446 MB / 1.069 GB, free: 78.08 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.381e-05/2.678, allocations: 55.41 kB / 1.069 GB, free: 78.01 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001043/2.678, allocations: 109.6 kB / 1.069 GB, free: 77.9 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 4.339e-05/2.678, allocations: 33.45 kB / 1.07 GB, free: 77.86 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.298e-05/2.678, allocations: 166.3 kB / 1.07 GB, free: 77.7 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.26e-05/2.678, allocations: 74.42 kB / 1.07 GB, free: 77.63 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.927e-05/2.678, allocations: 3.875 kB / 1.07 GB, free: 77.63 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 6.772e-05/2.678, allocations: 326.6 kB / 1.07 GB, free: 77.31 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003203/2.678, allocations: 77.03 kB / 1.07 GB, free: 77.26 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003369/2.679, allocations: 110.9 kB / 1.07 GB, free: 77.17 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003497/2.679, allocations: 99.05 kB / 1.07 GB, free: 77.12 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.975e-06/2.679, allocations: 7.938 kB / 1.07 GB, free: 77.11 MB / 442.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0009251/2.68, allocations: 256.3 kB / 1.071 GB, free: 76.92 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.152e-05/2.68, allocations: 4 kB / 1.071 GB, free: 76.92 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.967e-06/2.68, allocations: 0 / 1.071 GB, free: 76.92 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001865/2.68, allocations: 24.78 kB / 1.071 GB, free: 76.89 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000652/2.681, allocations: 59.39 kB / 1.071 GB, free: 76.84 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003702/2.681, allocations: 0.5391 MB / 1.071 GB, free: 76.29 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003637/2.682, allocations: 7.406 kB / 1.071 GB, free: 76.28 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.536e-05/2.682, allocations: 11.94 kB / 1.071 GB, free: 76.27 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.0001673/2.682, allocations: 125 kB / 1.071 GB, free: 76.15 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.137e-05/2.682, allocations: 11.91 kB / 1.071 GB, free: 76.14 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001085/2.683, allocations: 296.7 kB / 1.072 GB, free: 75.92 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.164e-06/2.683, allocations: 4 kB / 1.072 GB, free: 75.91 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.484e-06/2.683, allocations: 0 / 1.072 GB, free: 75.91 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.522e-06/2.683, allocations: 3.953 kB / 1.072 GB, free: 75.91 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001549/2.685, allocations: 0.6552 MB / 1.072 GB, free: 75.31 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.849e-06/2.685, allocations: 4.094 kB / 1.072 GB, free: 75.3 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006312/2.686, allocations: 47.95 kB / 1.072 GB, free: 75.26 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000118/2.686, allocations: 27.53 kB / 1.072 GB, free: 75.23 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.963e-05/2.686, allocations: 3.562 kB / 1.072 GB, free: 75.23 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00089/2.687, allocations: 1.27 MB / 1.074 GB, free: 73.88 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/2.687, allocations: 0 / 1.074 GB, free: 73.88 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001239/2.688, allocations: 439.7 kB / 1.074 GB, free: 73.52 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.083e-05/2.688, allocations: 85 kB / 1.074 GB, free: 73.41 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.03e-05/2.688, allocations: 11.19 kB / 1.074 GB, free: 73.41 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004266/2.689, allocations: 7.812 kB / 1.074 GB, free: 73.4 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.217e-05/2.689, allocations: 15.97 kB / 1.074 GB, free: 73.39 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.345e-05/2.689, allocations: 11.88 kB / 1.074 GB, free: 73.38 MB / 442.7 MB Notification: Performance of sorting global known variables: time 6.018e-05/2.689, allocations: 87.64 kB / 1.074 GB, free: 73.29 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.71e-07/2.689, allocations: 4 kB / 1.074 GB, free: 73.29 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.000891/2.69, allocations: 164.2 kB / 1.074 GB, free: 73.16 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.001528/2.691, allocations: 0.6365 MB / 1.075 GB, free: 72.53 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0009685/2.692, allocations: 208.4 kB / 1.075 GB, free: 72.38 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.629e-06/2.692, allocations: 0 / 1.075 GB, free: 72.38 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005635/2.693, allocations: 229.1 kB / 1.075 GB, free: 72.18 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005878/2.693, allocations: 51.52 kB / 1.075 GB, free: 72.14 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001178/2.695, allocations: 0.5848 MB / 1.076 GB, free: 71.55 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001708/2.695, allocations: 0.7126 MB / 1.077 GB, free: 70.81 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002597/2.695, allocations: 23.42 kB / 1.077 GB, free: 70.79 MB / 442.7 MB Notification: Performance of SimCode: time 1.162e-06/2.695, allocations: 4 kB / 1.077 GB, free: 70.78 MB / 442.7 MB Notification: Performance of Templates: time 0.01581/2.711, allocations: 7.441 MB / 1.084 GB, free: 63.36 MB / 442.7 MB