Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Media.TestOnly.IdealGasN2Mix.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/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.2_cpp_ModelicaTest.Media.TestOnly.IdealGasN2Mix") Notification: Performance of loadModel(ModelicaTest): time 2.269/2.269, allocations: 234.9 MB / 250.5 MB, free: 9.445 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004393/0.0004394, allocations: 12 kB / 314.4 MB, free: 9.465 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.278/0.2785, allocations: 54.86 MB / 369.3 MB, free: 10.68 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.794/2.073, allocations: 0.7224 GB / 1.083 GB, free: 146 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002137/2.073, allocations: 73.27 kB / 1.083 GB, free: 145.9 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1005/2.173, allocations: 33.51 MB / 1.116 GB, free: 112.2 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.499e-06/2.173, allocations: 0 / 1.116 GB, free: 112.2 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.221e-05/2.173, allocations: 4 kB / 1.116 GB, free: 112.2 MB / 490.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.0004785/2.174, allocations: 415.4 kB / 1.116 GB, free: 111.8 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.618e-05/2.174, allocations: 12.03 kB / 1.116 GB, free: 111.8 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002046/2.176, allocations: 175.7 kB / 1.116 GB, free: 111.6 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002344/2.176, allocations: 210.9 kB / 1.117 GB, free: 111.3 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.557e-05/2.176, allocations: 4.188 kB / 1.117 GB, free: 111.3 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.918e-05/2.176, allocations: 11.95 kB / 1.117 GB, free: 111.3 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005531/2.177, allocations: 199 kB / 1.117 GB, free: 111.1 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.329e-05/2.177, allocations: 4 kB / 1.117 GB, free: 111.1 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.902e-05/2.177, allocations: 8 kB / 1.117 GB, free: 111.1 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.353e-06/2.177, allocations: 3.984 kB / 1.117 GB, free: 111.1 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000646/2.178, allocations: 220.4 kB / 1.117 GB, free: 110.9 MB / 490.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.001516/2.179, allocations: 0.6144 MB / 1.118 GB, free: 110.2 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004446/2.18, allocations: 162.5 kB / 1.118 GB, free: 110 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002147/2.18, allocations: 97.09 kB / 1.118 GB, free: 109.9 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.804e-05/2.18, allocations: 30.56 kB / 1.118 GB, free: 109.9 MB / 490.7 MB Notification: Performance of pre-optimization done (n=14): time 3.48e-06/2.18, allocations: 3.938 kB / 1.118 GB, free: 109.9 MB / 490.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.006049/2.186, allocations: 1.469 MB / 1.119 GB, free: 108.3 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.521e-05/2.186, allocations: 55.41 kB / 1.119 GB, free: 108.2 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.84e-05/2.186, allocations: 109 kB / 1.119 GB, free: 108.1 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.97e-05/2.186, allocations: 29.7 kB / 1.12 GB, free: 108.1 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.775e-05/2.186, allocations: 166.7 kB / 1.12 GB, free: 107.9 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.65e-05/2.186, allocations: 71 kB / 1.12 GB, free: 107.9 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.092e-05/2.186, allocations: 0 / 1.12 GB, free: 107.9 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 5.449e-05/2.186, allocations: 322.8 kB / 1.12 GB, free: 107.5 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002407/2.187, allocations: 79.97 kB / 1.12 GB, free: 107.5 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000247/2.187, allocations: 111.8 kB / 1.12 GB, free: 107.3 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002636/2.187, allocations: 95.92 kB / 1.12 GB, free: 107.2 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.446e-06/2.187, allocations: 0 / 1.12 GB, free: 107.2 MB / 490.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0007183/2.188, allocations: 258.2 kB / 1.121 GB, free: 107 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.842e-05/2.188, allocations: 8 kB / 1.121 GB, free: 107 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.565e-06/2.188, allocations: 0 / 1.121 GB, free: 107 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001536/2.188, allocations: 28.94 kB / 1.121 GB, free: 106.9 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000426/2.189, allocations: 59.84 kB / 1.121 GB, free: 106.9 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002996/2.189, allocations: 0.529 MB / 1.121 GB, free: 106.3 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002432/2.189, allocations: 11.98 kB / 1.121 GB, free: 106.3 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.829e-05/2.189, allocations: 4 kB / 1.121 GB, free: 106.3 MB / 490.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.0001339/2.189, allocations: 130.9 kB / 1.121 GB, free: 106.2 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.124e-05/2.19, allocations: 23.84 kB / 1.121 GB, free: 106.1 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008422/2.19, allocations: 295.7 kB / 1.122 GB, free: 105.9 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.357e-06/2.19, allocations: 0 / 1.122 GB, free: 105.9 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.349e-06/2.19, allocations: 4 kB / 1.122 GB, free: 105.8 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/2.19, allocations: 0 / 1.122 GB, free: 105.8 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00123/2.192, allocations: 0.6628 MB / 1.122 GB, free: 105.1 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.896e-06/2.192, allocations: 0 / 1.122 GB, free: 105.1 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004453/2.192, allocations: 47.95 kB / 1.122 GB, free: 105.1 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001047/2.192, allocations: 20.84 kB / 1.122 GB, free: 105 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.321e-05/2.192, allocations: 7.938 kB / 1.122 GB, free: 105 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007789/2.193, allocations: 1.276 MB / 1.124 GB, free: 103.6 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.849e-06/2.193, allocations: 3.953 kB / 1.124 GB, free: 103.6 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009436/2.194, allocations: 465.3 kB / 1.124 GB, free: 103.1 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.059e-05/2.194, allocations: 89.03 kB / 1.124 GB, free: 103 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.216e-05/2.194, allocations: 12.06 kB / 1.124 GB, free: 103 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002998/2.195, allocations: 8 kB / 1.124 GB, free: 103 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.784e-05/2.195, allocations: 19.91 kB / 1.124 GB, free: 103 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.777e-05/2.195, allocations: 8 kB / 1.124 GB, free: 103 MB / 490.7 MB Notification: Performance of sorting global known variables: time 4.571e-05/2.195, allocations: 87.27 kB / 1.124 GB, free: 102.9 MB / 490.7 MB Notification: Performance of sort global known variables: time 6.59e-07/2.195, allocations: 0 / 1.124 GB, free: 102.9 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0007726/2.195, allocations: 163.9 kB / 1.124 GB, free: 102.7 MB / 490.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.001223/2.197, allocations: 0.6203 MB / 1.125 GB, free: 102.1 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0007159/2.197, allocations: 228 kB / 1.125 GB, free: 101.9 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.532e-06/2.197, allocations: 0 / 1.125 GB, free: 101.9 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004089/2.198, allocations: 226.5 kB / 1.125 GB, free: 101.6 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004427/2.198, allocations: 37.23 kB / 1.125 GB, free: 101.6 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009323/2.199, allocations: 0.6 MB / 1.126 GB, free: 101 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001545/2.199, allocations: 0.7166 MB / 1.127 GB, free: 100.2 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002113/2.2, allocations: 27.42 kB / 1.127 GB, free: 100.2 MB / 490.7 MB Notification: Performance of SimCode: time 1.892e-06/2.2, allocations: 0 / 1.127 GB, free: 100.2 MB / 490.7 MB Notification: Performance of Templates: time 0.01149/2.211, allocations: 7.416 MB / 1.134 GB, free: 92.78 MB / 490.7 MB