Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_cpp_Modelica.Media.Examples.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) 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.2_cpp_Modelica.Media.Examples.TestOnly.IdealGasN2Mix") Notification: Performance of loadModel(Modelica): time 1.758/1.758, allocations: 194.9 MB / 211.7 MB, free: 2.984 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003744/0.0003746, allocations: 12 kB / 263.9 MB, free: 13.56 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07995/0.08035, allocations: 44.51 MB / 308.4 MB, free: 0.9844 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.765/1.846, allocations: 0.7133 GB / 1.014 GB, free: 156.9 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001986/1.846, allocations: 73.31 kB / 1.015 GB, free: 156.9 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1294/1.975, allocations: 33.79 MB / 1.048 GB, free: 132.2 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.236e-06/1.975, allocations: 0 / 1.048 GB, free: 132.2 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.191e-05/1.975, allocations: 4 kB / 1.048 GB, free: 132.2 MB / 410.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.0004306/1.976, allocations: 419.5 kB / 1.048 GB, free: 131.7 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.323e-05/1.976, allocations: 8.031 kB / 1.048 GB, free: 131.7 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001988/1.978, allocations: 179.7 kB / 1.048 GB, free: 131.5 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002041/1.978, allocations: 214.8 kB / 1.048 GB, free: 131.3 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.416e-05/1.978, allocations: 4.188 kB / 1.048 GB, free: 131.3 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.765e-05/1.978, allocations: 8 kB / 1.048 GB, free: 131.2 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005332/1.979, allocations: 202 kB / 1.049 GB, free: 131.1 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.151e-05/1.979, allocations: 4 kB / 1.049 GB, free: 131 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.894e-05/1.979, allocations: 4 kB / 1.049 GB, free: 131 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.879e-06/1.979, allocations: 8.172 kB / 1.049 GB, free: 131 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006502/1.979, allocations: 216.4 kB / 1.049 GB, free: 130.8 MB / 410.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.001465/1.981, allocations: 0.6264 MB / 1.049 GB, free: 130.1 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004742/1.981, allocations: 158.5 kB / 1.05 GB, free: 130 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000192/1.982, allocations: 93.09 kB / 1.05 GB, free: 129.9 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.525e-05/1.982, allocations: 34.5 kB / 1.05 GB, free: 129.8 MB / 410.7 MB Notification: Performance of pre-optimization done (n=14): time 2.717e-06/1.982, allocations: 4 kB / 1.05 GB, free: 129.8 MB / 410.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.005892/1.988, allocations: 1.457 MB / 1.051 GB, free: 128.2 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.366e-05/1.988, allocations: 55.41 kB / 1.051 GB, free: 128.2 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.452e-05/1.988, allocations: 116.8 kB / 1.051 GB, free: 128.1 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.082e-05/1.988, allocations: 33.7 kB / 1.051 GB, free: 128 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.276e-05/1.988, allocations: 158.8 kB / 1.051 GB, free: 127.9 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.555e-05/1.988, allocations: 71 kB / 1.051 GB, free: 127.8 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.071e-05/1.988, allocations: 0 / 1.051 GB, free: 127.8 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.172e-05/1.988, allocations: 330.8 kB / 1.052 GB, free: 127.5 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002375/1.988, allocations: 79.97 kB / 1.052 GB, free: 127.4 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000245/1.988, allocations: 111.8 kB / 1.052 GB, free: 127.3 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002558/1.989, allocations: 95.86 kB / 1.052 GB, free: 127.2 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.207e-06/1.989, allocations: 0 / 1.052 GB, free: 127.2 MB / 410.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006888/1.989, allocations: 265.8 kB / 1.052 GB, free: 126.9 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.678e-05/1.989, allocations: 4 kB / 1.052 GB, free: 126.9 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/1.989, allocations: 0 / 1.052 GB, free: 126.9 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001383/1.99, allocations: 24.84 kB / 1.052 GB, free: 126.9 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004192/1.99, allocations: 67.83 kB / 1.052 GB, free: 126.8 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002827/1.99, allocations: 0.5329 MB / 1.053 GB, free: 126.2 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002323/1.991, allocations: 16 kB / 1.053 GB, free: 126.2 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.905e-05/1.991, allocations: 12 kB / 1.053 GB, free: 126.2 MB / 410.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.0001199/1.991, allocations: 128.8 kB / 1.053 GB, free: 126.1 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.104e-05/1.991, allocations: 11.91 kB / 1.053 GB, free: 126.1 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008347/1.992, allocations: 295.1 kB / 1.053 GB, free: 125.8 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.259e-06/1.992, allocations: 4 kB / 1.053 GB, free: 125.8 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.694e-06/1.992, allocations: 0 / 1.053 GB, free: 125.8 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.633e-06/1.992, allocations: 3.953 kB / 1.053 GB, free: 125.8 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001187/1.993, allocations: 0.6521 MB / 1.054 GB, free: 125 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.169e-06/1.993, allocations: 0 / 1.054 GB, free: 125 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004181/1.993, allocations: 52.05 kB / 1.054 GB, free: 125 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.471e-05/1.994, allocations: 20.84 kB / 1.054 GB, free: 125 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.462e-05/1.994, allocations: 11.94 kB / 1.054 GB, free: 125 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007487/1.994, allocations: 1.268 MB / 1.055 GB, free: 123.6 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.645e-06/1.994, allocations: 7.875 kB / 1.055 GB, free: 123.5 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009119/1.995, allocations: 456 kB / 1.056 GB, free: 123.1 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.359e-05/1.995, allocations: 89.03 kB / 1.056 GB, free: 122.9 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.24e-05/1.995, allocations: 11.95 kB / 1.056 GB, free: 122.9 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002917/1.996, allocations: 8 kB / 1.056 GB, free: 122.9 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.671e-05/1.996, allocations: 19.91 kB / 1.056 GB, free: 122.9 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.709e-05/1.996, allocations: 16.06 kB / 1.056 GB, free: 122.9 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.231e-05/1.996, allocations: 83.27 kB / 1.056 GB, free: 122.8 MB / 410.7 MB Notification: Performance of sort global known variables: time 6.89e-07/1.996, allocations: 0 / 1.056 GB, free: 122.8 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0007565/1.997, allocations: 155.9 kB / 1.056 GB, free: 122.7 MB / 410.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.001162/1.998, allocations: 0.64 MB / 1.057 GB, free: 122 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0006596/1.998, allocations: 204.8 kB / 1.057 GB, free: 121.8 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.908e-06/1.999, allocations: 4 kB / 1.057 GB, free: 121.8 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004041/1.999, allocations: 227 kB / 1.057 GB, free: 121.6 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004193/1.999, allocations: 43.91 kB / 1.057 GB, free: 121.5 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008998/2, allocations: 0.5976 MB / 1.058 GB, free: 120.9 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001481/2, allocations: 0.7088 MB / 1.059 GB, free: 120.2 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001769/2.001, allocations: 23.42 kB / 1.059 GB, free: 120.1 MB / 410.7 MB Notification: Performance of SimCode: time 1.562e-06/2.001, allocations: 4 kB / 1.059 GB, free: 120.1 MB / 410.7 MB Notification: Performance of Templates: time 0.01084/2.011, allocations: 7.463 MB / 1.066 GB, free: 112.7 MB / 410.7 MB