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/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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.971/1.971, allocations: 209.4 MB / 217.3 MB, free: 4.16 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 1.642e-05/1.652e-05, allocations: 0 / 271.3 MB, free: 14.12 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3364/0.3365, allocations: 48.68 MB / 320 MB, free: 14.4 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.889/2.225, allocations: 0.7084 GB / 1.021 GB, free: 67.85 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002058/2.225, allocations: 71.97 kB / 1.021 GB, free: 67.78 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09919/2.325, allocations: 32.69 MB / 1.053 GB, free: 34.92 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.102e-06/2.325, allocations: 7.938 kB / 1.053 GB, free: 34.91 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.216e-05/2.325, allocations: 224 / 1.053 GB, free: 34.91 MB / 426.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.0004611/2.325, allocations: 410.6 kB / 1.053 GB, free: 34.46 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.662e-05/2.325, allocations: 16.03 kB / 1.053 GB, free: 34.45 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002029/2.327, allocations: 188.1 kB / 1.054 GB, free: 34.26 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002631/2.327, allocations: 206.9 kB / 1.054 GB, free: 34.02 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.423e-05/2.328, allocations: 4 kB / 1.054 GB, free: 34.02 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.957e-05/2.328, allocations: 4 kB / 1.054 GB, free: 34.01 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000516/2.328, allocations: 188.3 kB / 1.054 GB, free: 33.83 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003236/2.328, allocations: 150.9 kB / 1.054 GB, free: 33.68 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.33e-05/2.328, allocations: 3.984 kB / 1.054 GB, free: 33.67 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.234e-05/2.329, allocations: 0 / 1.054 GB, free: 33.67 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.266e-06/2.329, allocations: 11.95 kB / 1.054 GB, free: 33.66 MB / 426.7 MB Warning: The model contains alias variables with conflicting start and/or 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.001506/2.33, allocations: 0.5821 MB / 1.055 GB, free: 33.03 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002756/2.33, allocations: 146.6 kB / 1.055 GB, free: 32.88 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000137/2.331, allocations: 68.86 kB / 1.055 GB, free: 32.81 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002008/2.331, allocations: 93.08 kB / 1.055 GB, free: 32.7 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.486e-05/2.331, allocations: 38.56 kB / 1.055 GB, free: 32.65 MB / 426.7 MB Notification: Performance of pre-optimization done (n=14): time 3.03e-06/2.331, allocations: 0 / 1.055 GB, free: 32.65 MB / 426.7 MB Notification: Performance of matching and sorting (n=19): time 0.004484/2.335, allocations: 0.9987 MB / 1.056 GB, free: 31.56 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.064e-05/2.335, allocations: 51.41 kB / 1.056 GB, free: 31.5 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.951e-05/2.335, allocations: 105 kB / 1.056 GB, free: 31.39 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.925e-05/2.335, allocations: 29.7 kB / 1.056 GB, free: 31.35 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.66e-05/2.336, allocations: 166.8 kB / 1.056 GB, free: 31.18 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.466e-05/2.336, allocations: 67 kB / 1.056 GB, free: 31.12 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.011e-05/2.336, allocations: 0 / 1.056 GB, free: 31.12 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 5.377e-05/2.336, allocations: 322.8 kB / 1.057 GB, free: 30.79 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001422/2.336, allocations: 64 kB / 1.057 GB, free: 30.73 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001633/2.336, allocations: 112.9 kB / 1.057 GB, free: 30.61 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001841/2.336, allocations: 88.8 kB / 1.057 GB, free: 30.53 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.893e-06/2.336, allocations: 0 / 1.057 GB, free: 30.53 MB / 426.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005263/2.337, allocations: 226.3 kB / 1.057 GB, free: 30.3 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.818e-05/2.337, allocations: 4.781 kB / 1.057 GB, free: 30.29 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.723e-06/2.337, allocations: 0 / 1.057 GB, free: 30.29 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001411/2.337, allocations: 24.94 kB / 1.057 GB, free: 30.27 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004293/2.337, allocations: 63.89 kB / 1.057 GB, free: 30.2 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002986/2.338, allocations: 0.5251 MB / 1.058 GB, free: 29.65 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002478/2.338, allocations: 15.88 kB / 1.058 GB, free: 29.64 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.14e-05/2.338, allocations: 12 kB / 1.058 GB, free: 29.62 MB / 426.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 () * 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.0001035/2.338, allocations: 109 kB / 1.058 GB, free: 29.51 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.625e-05/2.338, allocations: 11.91 kB / 1.058 GB, free: 29.5 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006929/2.339, allocations: 255 kB / 1.058 GB, free: 29.25 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.036e-06/2.339, allocations: 4 kB / 1.058 GB, free: 29.24 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.906e-06/2.339, allocations: 3.984 kB / 1.058 GB, free: 29.24 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.503e-06/2.339, allocations: 0 / 1.058 GB, free: 29.24 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001021/2.34, allocations: 0.5846 MB / 1.059 GB, free: 28.6 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.734e-06/2.34, allocations: 7.984 kB / 1.059 GB, free: 28.59 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004522/2.341, allocations: 47.91 kB / 1.059 GB, free: 28.54 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001113/2.341, allocations: 28.8 kB / 1.059 GB, free: 28.51 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.331e-05/2.341, allocations: 3.984 kB / 1.059 GB, free: 28.51 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007305/2.341, allocations: 1.221 MB / 1.06 GB, free: 27.17 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.924e-06/2.342, allocations: 0 / 1.06 GB, free: 27.17 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006864/2.342, allocations: 429.9 kB / 1.06 GB, free: 26.71 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.994e-05/2.342, allocations: 89.05 kB / 1.06 GB, free: 26.6 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.972e-05/2.342, allocations: 0 / 1.06 GB, free: 26.6 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003034/2.343, allocations: 8.062 kB / 1.06 GB, free: 26.59 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.778e-05/2.343, allocations: 23.86 kB / 1.06 GB, free: 26.57 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.005e-05/2.343, allocations: 15.98 kB / 1.06 GB, free: 26.55 MB / 426.7 MB Notification: Performance of sorting global known variables: time 4.26e-05/2.343, allocations: 83.28 kB / 1.061 GB, free: 26.47 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.643e-06/2.343, allocations: 0 / 1.061 GB, free: 26.47 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.000744/2.344, allocations: 151.9 kB / 1.061 GB, free: 26.32 MB / 426.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 () * 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.001257/2.345, allocations: 0.7084 MB / 1.061 GB, free: 25.61 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0005129/2.345, allocations: 183.8 kB / 1.062 GB, free: 25.43 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.645e-06/2.345, allocations: 4 kB / 1.062 GB, free: 25.43 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003088/2.346, allocations: 209.8 kB / 1.062 GB, free: 25.21 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004391/2.346, allocations: 39.89 kB / 1.062 GB, free: 25.18 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006243/2.347, allocations: 333.7 kB / 1.062 GB, free: 24.81 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001565/2.347, allocations: 0.7163 MB / 1.063 GB, free: 24.07 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001858/2.347, allocations: 23.42 kB / 1.063 GB, free: 24.05 MB / 426.7 MB Notification: Performance of SimCode: time 1.701e-06/2.347, allocations: 0 / 1.063 GB, free: 24.05 MB / 426.7 MB Notification: Performance of Templates: time 0.01157/2.359, allocations: 7.388 MB / 1.07 GB, free: 16.65 MB / 426.7 MB