Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_cpp_Modelica.Media.Examples.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) 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.1_cpp_Modelica.Media.Examples.TestOnly.IdealGasN2Mix") Notification: Performance of loadModel(Modelica): time 1.559/1.559, allocations: 171.3 MB / 179.2 MB, free: 7.48 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 1.34e-05/1.351e-05, allocations: 0 / 222.5 MB, free: 8.688 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06862/0.06866, allocations: 38.77 MB / 261.3 MB, free: 1.836 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.756/1.824, allocations: 0.7004 GB / 0.9555 GB, free: 119.5 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002088/1.825, allocations: 76.12 kB / 0.9556 GB, free: 119.5 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09716/1.922, allocations: 32.94 MB / 0.9878 GB, free: 88.57 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.154e-06/1.922, allocations: 0 / 0.9878 GB, free: 88.57 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.626e-05/1.922, allocations: 0 / 0.9878 GB, free: 88.57 MB / 346.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.0004194/1.922, allocations: 414.3 kB / 0.9882 GB, free: 88.12 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.57e-05/1.922, allocations: 16.02 kB / 0.9882 GB, free: 88.11 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00199/1.924, allocations: 175.7 kB / 0.9884 GB, free: 87.93 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002127/1.925, allocations: 214.8 kB / 0.9886 GB, free: 87.68 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.36e-05/1.925, allocations: 4 kB / 0.9886 GB, free: 87.68 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.309e-05/1.925, allocations: 4 kB / 0.9886 GB, free: 87.68 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004683/1.925, allocations: 188.3 kB / 0.9887 GB, free: 87.49 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003025/1.926, allocations: 146.9 kB / 0.9889 GB, free: 87.34 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.24e-05/1.926, allocations: 0 / 0.9889 GB, free: 87.34 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.089e-05/1.926, allocations: 4.219 kB / 0.9889 GB, free: 87.34 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.102e-06/1.926, allocations: 4 kB / 0.9889 GB, free: 87.34 MB / 346.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.00147/1.927, allocations: 0.5985 MB / 0.9895 GB, free: 86.7 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002668/1.927, allocations: 146.5 kB / 0.9896 GB, free: 86.54 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001379/1.928, allocations: 76.83 kB / 0.9897 GB, free: 86.46 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001994/1.928, allocations: 97.09 kB / 0.9898 GB, free: 86.35 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.707e-05/1.928, allocations: 34.56 kB / 0.9898 GB, free: 86.31 MB / 346.7 MB Notification: Performance of pre-optimization done (n=14): time 2.521e-06/1.928, allocations: 0 / 0.9898 GB, free: 86.31 MB / 346.7 MB Notification: Performance of matching and sorting (n=19): time 0.004209/1.932, allocations: 0.9958 MB / 0.9908 GB, free: 85.21 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.779e-05/1.932, allocations: 51.41 kB / 0.9908 GB, free: 85.15 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.172e-05/1.932, allocations: 112.9 kB / 0.9909 GB, free: 85.04 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.782e-05/1.932, allocations: 33.64 kB / 0.991 GB, free: 85 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.422e-05/1.932, allocations: 166.8 kB / 0.9911 GB, free: 84.83 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.242e-05/1.932, allocations: 67 kB / 0.9912 GB, free: 84.76 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.056e-05/1.932, allocations: 0 / 0.9912 GB, free: 84.76 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.097e-05/1.932, allocations: 318.8 kB / 0.9915 GB, free: 84.44 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001479/1.933, allocations: 67.98 kB / 0.9916 GB, free: 84.38 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001635/1.933, allocations: 111.5 kB / 0.9917 GB, free: 84.25 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001815/1.933, allocations: 79.72 kB / 0.9918 GB, free: 84.18 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.366e-06/1.933, allocations: 0 / 0.9918 GB, free: 84.18 MB / 346.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005098/1.933, allocations: 226.3 kB / 0.992 GB, free: 83.95 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.635e-05/1.933, allocations: 7.953 kB / 0.992 GB, free: 83.94 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.06e-06/1.933, allocations: 4 kB / 0.992 GB, free: 83.94 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001262/1.934, allocations: 24.94 kB / 0.992 GB, free: 83.91 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000443/1.934, allocations: 55.91 kB / 0.9921 GB, free: 83.86 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002889/1.934, allocations: 0.529 MB / 0.9926 GB, free: 83.3 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002355/1.935, allocations: 4.031 kB / 0.9926 GB, free: 83.3 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.106e-05/1.935, allocations: 15.98 kB / 0.9926 GB, free: 83.28 MB / 346.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 9.859e-05/1.935, allocations: 116.9 kB / 0.9927 GB, free: 83.16 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.97e-05/1.935, allocations: 15.81 kB / 0.9927 GB, free: 83.14 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006563/1.936, allocations: 249.2 kB / 0.993 GB, free: 82.9 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.299e-06/1.936, allocations: 7.938 kB / 0.993 GB, free: 82.89 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.517e-06/1.936, allocations: 0 / 0.993 GB, free: 82.89 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.027e-06/1.936, allocations: 0 / 0.993 GB, free: 82.89 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001069/1.937, allocations: 0.594 MB / 0.9935 GB, free: 82.23 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.819e-06/1.937, allocations: 0 / 0.9935 GB, free: 82.23 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004213/1.937, allocations: 51.89 kB / 0.9936 GB, free: 82.18 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.341e-05/1.937, allocations: 20.84 kB / 0.9936 GB, free: 82.16 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.195e-05/1.937, allocations: 4 kB / 0.9936 GB, free: 82.16 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007149/1.938, allocations: 1.209 MB / 0.9948 GB, free: 80.83 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-05/1.938, allocations: 11.92 kB / 0.9948 GB, free: 80.82 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006518/1.939, allocations: 427.9 kB / 0.9952 GB, free: 80.36 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.315e-05/1.939, allocations: 93.03 kB / 0.9953 GB, free: 80.25 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.012e-05/1.939, allocations: 8.062 kB / 0.9953 GB, free: 80.24 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002939/1.939, allocations: 8 kB / 0.9953 GB, free: 80.23 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.577e-05/1.939, allocations: 19.91 kB / 0.9953 GB, free: 80.21 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.777e-05/1.939, allocations: 8 kB / 0.9954 GB, free: 80.2 MB / 346.7 MB Notification: Performance of sorting global known variables: time 4e-05/1.939, allocations: 87.27 kB / 0.9954 GB, free: 80.12 MB / 346.7 MB Notification: Performance of sort global known variables: time 9.17e-07/1.939, allocations: 0 / 0.9954 GB, free: 80.12 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0007246/1.94, allocations: 147.9 kB / 0.9956 GB, free: 79.97 MB / 346.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.001207/1.941, allocations: 0.7049 MB / 0.9963 GB, free: 79.26 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0004812/1.942, allocations: 188.6 kB / 0.9964 GB, free: 79.08 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.593e-06/1.942, allocations: 0 / 0.9964 GB, free: 79.08 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003197/1.942, allocations: 209.6 kB / 0.9966 GB, free: 78.86 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004162/1.943, allocations: 33 kB / 0.9967 GB, free: 78.83 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005917/1.943, allocations: 345.4 kB / 0.997 GB, free: 78.46 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001515/1.943, allocations: 0.7202 MB / 0.9977 GB, free: 77.71 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001917/1.944, allocations: 23.42 kB / 0.9977 GB, free: 77.69 MB / 346.7 MB Notification: Performance of SimCode: time 1.481e-06/1.944, allocations: 0 / 0.9977 GB, free: 77.69 MB / 346.7 MB Notification: Performance of Templates: time 0.01114/1.955, allocations: 7.423 MB / 1.005 GB, free: 70.25 MB / 346.7 MB