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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/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.542/1.542, allocations: 171.2 MB / 186.8 MB, free: 1.027 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003627/0.0003627, allocations: 8 kB / 233.2 MB, free: 3.008 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06814/0.06852, allocations: 38.76 MB / 272 MB, free: 12.16 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.686/1.754, allocations: 0.7011 GB / 0.9667 GB, free: 29.64 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000315/1.755, allocations: 79.27 kB / 0.9668 GB, free: 29.6 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2841/2.039, allocations: 33.59 MB / 0.9996 GB, free: 115.8 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.463e-06/2.039, allocations: 0.8125 kB / 0.9996 GB, free: 115.8 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.703e-05/2.039, allocations: 1.625 kB / 0.9996 GB, free: 115.8 MB / 362.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.000596/2.04, allocations: 409.4 kB / 1 GB, free: 115.5 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.149e-05/2.04, allocations: 9.062 kB / 1 GB, free: 115.5 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002386/2.042, allocations: 182.7 kB / 1 GB, free: 115.5 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002584/2.042, allocations: 203.9 kB / 1 GB, free: 115.3 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.687e-05/2.042, allocations: 9.344 kB / 1 GB, free: 115.3 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.501e-05/2.042, allocations: 9.156 kB / 1 GB, free: 115.3 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006503/2.043, allocations: 203.3 kB / 1.001 GB, free: 115.2 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.424e-05/2.043, allocations: 0 / 1.001 GB, free: 115.2 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.219e-05/2.043, allocations: 7.172 kB / 1.001 GB, free: 115.2 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.935e-06/2.043, allocations: 4.859 kB / 1.001 GB, free: 115.2 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00076/2.044, allocations: 214.6 kB / 1.001 GB, free: 115.2 MB / 362.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.001721/2.046, allocations: 0.6261 MB / 1.001 GB, free: 114.9 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005073/2.046, allocations: 165.5 kB / 1.002 GB, free: 114.9 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000209/2.046, allocations: 91.22 kB / 1.002 GB, free: 114.8 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.929e-05/2.046, allocations: 34.19 kB / 1.002 GB, free: 114.7 MB / 362.7 MB Notification: Performance of pre-optimization done (n=14): time 2.842e-06/2.046, allocations: 2.5 kB / 1.002 GB, free: 114.7 MB / 362.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.00635/2.053, allocations: 1.464 MB / 1.003 GB, free: 114.2 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.795e-05/2.053, allocations: 59.98 kB / 1.003 GB, free: 114.1 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.407e-05/2.053, allocations: 108.4 kB / 1.003 GB, free: 114 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.189e-05/2.053, allocations: 27.02 kB / 1.003 GB, free: 114 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.187e-05/2.053, allocations: 173.7 kB / 1.003 GB, free: 113.8 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.107e-05/2.053, allocations: 64 kB / 1.004 GB, free: 113.8 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.375e-05/2.053, allocations: 5.188 kB / 1.004 GB, free: 113.8 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 5.379e-05/2.053, allocations: 323.8 kB / 1.004 GB, free: 113.5 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002559/2.054, allocations: 82.22 kB / 1.004 GB, free: 113.5 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002835/2.054, allocations: 109.9 kB / 1.004 GB, free: 113.4 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002895/2.054, allocations: 102.2 kB / 1.004 GB, free: 113.4 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.803e-06/2.054, allocations: 3.188 kB / 1.004 GB, free: 113.4 MB / 362.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0008267/2.055, allocations: 261.5 kB / 1.004 GB, free: 113.4 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.306e-05/2.055, allocations: 6.188 kB / 1.004 GB, free: 113.4 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.678e-06/2.055, allocations: 1.031 kB / 1.004 GB, free: 113.4 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001633/2.055, allocations: 24.64 kB / 1.004 GB, free: 113.4 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000456/2.056, allocations: 55.5 kB / 1.004 GB, free: 113.4 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003121/2.056, allocations: 0.5355 MB / 1.005 GB, free: 112.9 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002509/2.056, allocations: 8.75 kB / 1.005 GB, free: 112.9 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.4e-05/2.056, allocations: 13.52 kB / 1.005 GB, free: 112.9 MB / 362.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.0001378/2.056, allocations: 128.4 kB / 1.005 GB, free: 112.7 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.889e-05/2.057, allocations: 13.3 kB / 1.005 GB, free: 112.7 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009274/2.058, allocations: 294.1 kB / 1.005 GB, free: 112.7 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.261e-06/2.058, allocations: 6.5 kB / 1.005 GB, free: 112.7 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.475e-06/2.058, allocations: 0 / 1.005 GB, free: 112.7 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/2.058, allocations: 1.078 kB / 1.005 GB, free: 112.7 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001306/2.059, allocations: 0.6525 MB / 1.006 GB, free: 112.3 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.225e-06/2.059, allocations: 1.703 kB / 1.006 GB, free: 112.3 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004501/2.059, allocations: 48.33 kB / 1.006 GB, free: 112.3 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001079/2.06, allocations: 30.95 kB / 1.006 GB, free: 112.3 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.517e-05/2.06, allocations: 9.516 kB / 1.006 GB, free: 112.3 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008044/2.06, allocations: 1.272 MB / 1.007 GB, free: 111.1 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.208e-06/2.06, allocations: 2.219 kB / 1.007 GB, free: 111.1 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001034/2.061, allocations: 477.2 kB / 1.008 GB, free: 110.8 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.252e-05/2.062, allocations: 87.56 kB / 1.008 GB, free: 110.7 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.431e-05/2.062, allocations: 6.984 kB / 1.008 GB, free: 110.7 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003017/2.062, allocations: 9.609 kB / 1.008 GB, free: 110.7 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.36e-05/2.062, allocations: 13.22 kB / 1.008 GB, free: 110.7 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.431e-05/2.062, allocations: 12.41 kB / 1.008 GB, free: 110.7 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.1e-05/2.062, allocations: 89.84 kB / 1.008 GB, free: 110.7 MB / 362.7 MB Notification: Performance of sort global known variables: time 7.23e-07/2.062, allocations: 1.25 kB / 1.008 GB, free: 110.7 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0008399/2.063, allocations: 166.4 kB / 1.008 GB, free: 110.7 MB / 362.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.001305/2.064, allocations: 0.6196 MB / 1.009 GB, free: 110.5 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0007653/2.065, allocations: 212.5 kB / 1.009 GB, free: 110.5 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.839e-06/2.065, allocations: 2.094 kB / 1.009 GB, free: 110.5 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004477/2.066, allocations: 223.8 kB / 1.009 GB, free: 110.4 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004631/2.066, allocations: 43.52 kB / 1.009 GB, free: 110.4 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001042/2.067, allocations: 0.5961 MB / 1.01 GB, free: 110.1 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001773/2.067, allocations: 0.716 MB / 1.011 GB, free: 109.4 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001939/2.067, allocations: 24.27 kB / 1.011 GB, free: 109.4 MB / 362.7 MB Notification: Performance of SimCode: time 1.466e-06/2.067, allocations: 0 / 1.011 GB, free: 109.4 MB / 362.7 MB Notification: Performance of Templates: time 0.01362/2.081, allocations: 7.485 MB / 1.018 GB, free: 108.8 MB / 362.7 MB