Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Media.Examples.MixtureGases.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Running command: translateModel(Modelica.Media.Examples.MixtureGases,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium1.T|medium1.p|medium2.T|medium2.p",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.MixtureGases") Notification: Performance of loadModel(Modelica): time 1.89/1.89, allocations: 194.8 MB / 211.7 MB, free: 3.012 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003689/0.0003691, allocations: 12 kB / 264.5 MB, free: 12.96 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09268/0.09308, allocations: 44.51 MB / 309 MB, free: 392 kB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.285/2.378, allocations: 0.7339 GB / 1.036 GB, free: 104.4 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002157/2.378, allocations: 70.12 kB / 1.036 GB, free: 104.3 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3561/2.734, allocations: 107.2 MB / 1.14 GB, free: 4.031 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.124e-06/2.734, allocations: 0 / 1.14 GB, free: 4.031 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.52e-05/2.734, allocations: 4 kB / 1.14 GB, free: 4.027 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: 75 * Number of variables: 75 Notification: Performance of Generate backend data structure: time 0.003695/2.738, allocations: 0.772 MB / 1.141 GB, free: 3.207 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.329e-05/2.738, allocations: 8.031 kB / 1.141 GB, free: 3.199 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003141/2.741, allocations: 255.8 kB / 1.141 GB, free: 2.949 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006381/2.742, allocations: 294.6 kB / 1.142 GB, free: 2.621 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.194e-05/2.742, allocations: 28.56 kB / 1.142 GB, free: 2.594 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001274/2.742, allocations: 27.91 kB / 1.142 GB, free: 2.566 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002194/2.744, allocations: 0.6601 MB / 1.142 GB, free: 1.887 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.783e-05/2.744, allocations: 0 / 1.142 GB, free: 1.887 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001146/2.744, allocations: 15.98 kB / 1.142 GB, free: 1.871 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.58e-05/2.744, allocations: 12.44 kB / 1.142 GB, free: 1.859 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002936/2.747, allocations: 0.744 MB / 1.143 GB, free: 1.117 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.2776/3.025, allocations: 1.79 MB / 1.145 GB, free: 113.4 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002345/3.027, allocations: 482 kB / 1.145 GB, free: 113.3 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002185/3.03, allocations: 0.9203 MB / 1.146 GB, free: 112.6 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.308e-05/3.03, allocations: 37.06 kB / 1.146 GB, free: 112.5 MB / 410.7 MB Notification: Performance of pre-optimization done (n=35): time 3.427e-06/3.03, allocations: 2.938 kB / 1.146 GB, free: 112.5 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: medium1.T Please use -d=bltdump for more information. 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: medium2.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=48): time 0.02413/3.054, allocations: 3.62 MB / 1.15 GB, free: 111.5 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.524e-05/3.054, allocations: 87.67 kB / 1.15 GB, free: 111.4 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002255/3.054, allocations: 177.2 kB / 1.15 GB, free: 111.3 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.831e-05/3.054, allocations: 37.89 kB / 1.15 GB, free: 111.3 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001025/3.054, allocations: 174.8 kB / 1.15 GB, free: 111.2 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002058/3.055, allocations: 178.6 kB / 1.15 GB, free: 111.1 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.919e-05/3.055, allocations: 12.28 kB / 1.15 GB, free: 111.1 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.239e-05/3.055, allocations: 336 kB / 1.151 GB, free: 110.8 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0014/3.056, allocations: 265.5 kB / 1.151 GB, free: 110.8 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001478/3.058, allocations: 425.9 kB / 1.151 GB, free: 110.6 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001489/3.059, allocations: 299 kB / 1.152 GB, free: 110.6 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.903e-06/3.059, allocations: 2.188 kB / 1.152 GB, free: 110.6 MB / 410.7 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.003542/3.063, allocations: 0.7763 MB / 1.152 GB, free: 110.5 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.803e-05/3.063, allocations: 10.33 kB / 1.152 GB, free: 110.5 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.311e-05/3.063, allocations: 4.031 kB / 1.153 GB, free: 110.5 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003228/3.063, allocations: 59.33 kB / 1.153 GB, free: 110.5 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001974/3.065, allocations: 178.6 kB / 1.153 GB, free: 110.5 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006881/3.066, allocations: 1.087 MB / 1.154 GB, free: 109.4 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001312/3.067, allocations: 47.59 kB / 1.154 GB, free: 109.4 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001289/3.067, allocations: 35.83 kB / 1.154 GB, free: 109.4 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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 (70): * Single equations (assignments): 68 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0003618/3.068, allocations: 172.8 kB / 1.154 GB, free: 109.3 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001621/3.068, allocations: 30.2 kB / 1.154 GB, free: 109.3 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003764/3.072, allocations: 0.7923 MB / 1.155 GB, free: 109.2 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.065e-05/3.072, allocations: 6.25 kB / 1.155 GB, free: 109.2 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.839e-06/3.072, allocations: 3.797 kB / 1.155 GB, free: 109.2 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.167e-06/3.072, allocations: 0 / 1.155 GB, free: 109.2 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005253/3.077, allocations: 1.564 MB / 1.156 GB, free: 108.7 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.01e-05/3.077, allocations: 1.75 kB / 1.156 GB, free: 108.7 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001869/3.079, allocations: 144.8 kB / 1.157 GB, free: 108.7 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002514/3.079, allocations: 46 kB / 1.157 GB, free: 108.6 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001228/3.079, allocations: 22.33 kB / 1.157 GB, free: 108.6 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001797/3.081, allocations: 2.547 MB / 1.159 GB, free: 106.1 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.799e-06/3.081, allocations: 2.219 kB / 1.159 GB, free: 106.1 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00475/3.086, allocations: 1.069 MB / 1.16 GB, free: 105.8 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001208/3.086, allocations: 106.5 kB / 1.16 GB, free: 105.7 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001649/3.086, allocations: 14.91 kB / 1.16 GB, free: 105.7 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00129/3.088, allocations: 43.12 kB / 1.16 GB, free: 105.7 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001154/3.088, allocations: 42.84 kB / 1.16 GB, free: 105.7 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001305/3.088, allocations: 33.73 kB / 1.16 GB, free: 105.7 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001346/3.088, allocations: 128.5 kB / 1.16 GB, free: 105.6 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.71e-07/3.088, allocations: 0 / 1.16 GB, free: 105.6 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002282/3.09, allocations: 442.2 kB / 1.161 GB, free: 105.6 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 4 (medium2.p,medium2.T,medium1.p,medium1.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 (48): * Single equations (assignments): 46 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004601/3.095, allocations: 1.147 MB / 1.162 GB, free: 105.5 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003577/3.099, allocations: 0.6478 MB / 1.163 GB, free: 105.5 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 8.215e-06/3.099, allocations: 0 / 1.163 GB, free: 105.5 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001877/3.101, allocations: 0.5395 MB / 1.163 GB, free: 105.3 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001035/3.102, allocations: 94.86 kB / 1.163 GB, free: 105.3 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003331/3.105, allocations: 1.183 MB / 1.164 GB, free: 104.8 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003185/3.105, allocations: 0.797 MB / 1.165 GB, free: 104.1 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.002089/3.107, allocations: 189.6 kB / 1.165 GB, free: 104.1 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005733/3.108, allocations: 60.97 kB / 1.165 GB, free: 104.1 MB / 410.7 MB Notification: Performance of SimCode: time 1.032e-06/3.108, allocations: 0 / 1.165 GB, free: 104.1 MB / 410.7 MB Notification: Performance of Templates: time 0.04947/3.158, allocations: 23.54 MB / 1.188 GB, free: 102.9 MB / 410.7 MB