Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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_Modelica.Media.Examples.TestOnly.IdealGasN2Mix") Notification: Performance of loadModel(Modelica): time 1.936/1.936, allocations: 171.1 MB / 186.7 MB, free: 1.133 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003656/0.0003656, allocations: 11.98 kB / 233.8 MB, free: 2.395 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08631/0.0867, allocations: 38.77 MB / 272.6 MB, free: 11.55 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.122/2.209, allocations: 0.7011 GB / 0.9673 GB, free: 19.78 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003375/2.209, allocations: 79.58 kB / 0.9674 GB, free: 19.73 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4339/2.643, allocations: 33.59 MB / 1 GB, free: 116.9 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.723e-06/2.643, allocations: 1.562 kB / 1 GB, free: 116.9 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.341e-05/2.643, allocations: 5.312 kB / 1 GB, free: 116.9 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.0006523/2.644, allocations: 420.5 kB / 1.001 GB, free: 116.5 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.255e-05/2.644, allocations: 8.969 kB / 1.001 GB, free: 116.5 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002818/2.646, allocations: 185.1 kB / 1.001 GB, free: 116.5 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003901/2.647, allocations: 204.1 kB / 1.001 GB, free: 116.3 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.86e-05/2.647, allocations: 7.75 kB / 1.001 GB, free: 116.3 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.535e-05/2.647, allocations: 12.56 kB / 1.001 GB, free: 116.3 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007352/2.648, allocations: 205.4 kB / 1.001 GB, free: 116.2 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.326e-05/2.648, allocations: 0 / 1.001 GB, free: 116.2 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.097e-05/2.648, allocations: 5.312 kB / 1.001 GB, free: 116.2 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.356e-06/2.648, allocations: 5.328 kB / 1.001 GB, free: 116.2 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008624/2.649, allocations: 210 kB / 1.001 GB, free: 116.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.002082/2.651, allocations: 0.6301 MB / 1.002 GB, free: 115.9 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006186/2.651, allocations: 164.1 kB / 1.002 GB, free: 115.9 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002815/2.652, allocations: 95.84 kB / 1.002 GB, free: 115.8 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.051e-05/2.652, allocations: 34 kB / 1.002 GB, free: 115.7 MB / 362.7 MB Notification: Performance of pre-optimization done (n=14): time 2.795e-06/2.652, allocations: 0 / 1.002 GB, free: 115.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.009337/2.661, allocations: 1.468 MB / 1.004 GB, free: 115.1 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.236e-05/2.661, allocations: 57.16 kB / 1.004 GB, free: 115.1 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001051/2.661, allocations: 111.9 kB / 1.004 GB, free: 115 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.046e-05/2.661, allocations: 29.36 kB / 1.004 GB, free: 114.9 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.208e-05/2.662, allocations: 103.4 kB / 1.004 GB, free: 114.9 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.507e-05/2.662, allocations: 65 kB / 1.004 GB, free: 114.8 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.781e-05/2.662, allocations: 4.344 kB / 1.004 GB, free: 114.8 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.569e-05/2.662, allocations: 319.7 kB / 1.004 GB, free: 114.5 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003253/2.662, allocations: 80.28 kB / 1.004 GB, free: 114.5 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003916/2.662, allocations: 119.9 kB / 1.005 GB, free: 114.5 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003521/2.663, allocations: 89.55 kB / 1.005 GB, free: 114.5 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/2.663, allocations: 2.125 kB / 1.005 GB, free: 114.5 MB / 362.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000951/2.664, allocations: 266.3 kB / 1.005 GB, free: 114.4 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.319e-05/2.664, allocations: 5.844 kB / 1.005 GB, free: 114.4 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.138e-06/2.664, allocations: 1.438 kB / 1.005 GB, free: 114.4 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000182/2.664, allocations: 32.25 kB / 1.005 GB, free: 114.4 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006321/2.665, allocations: 53.77 kB / 1.005 GB, free: 114.4 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003652/2.665, allocations: 0.5345 MB / 1.006 GB, free: 113.9 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000362/2.665, allocations: 13.27 kB / 1.006 GB, free: 113.9 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.766e-05/2.666, allocations: 9.219 kB / 1.006 GB, free: 113.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.0001756/2.666, allocations: 125.8 kB / 1.006 GB, free: 113.8 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.419e-05/2.666, allocations: 13.64 kB / 1.006 GB, free: 113.8 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001161/2.667, allocations: 289.3 kB / 1.006 GB, free: 113.7 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.264e-06/2.667, allocations: 2.875 kB / 1.006 GB, free: 113.7 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.636e-06/2.667, allocations: 2.578 kB / 1.006 GB, free: 113.7 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.454e-06/2.667, allocations: 3.844 kB / 1.006 GB, free: 113.7 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001604/2.669, allocations: 0.6483 MB / 1.007 GB, free: 113.4 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.472e-06/2.669, allocations: 3.938 kB / 1.007 GB, free: 113.4 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006342/2.669, allocations: 51.64 kB / 1.007 GB, free: 113.4 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001195/2.669, allocations: 18.5 kB / 1.007 GB, free: 113.4 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.303e-05/2.67, allocations: 13.72 kB / 1.007 GB, free: 113.4 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009825/2.671, allocations: 1.268 MB / 1.008 GB, free: 112.1 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.364e-06/2.671, allocations: 11.58 kB / 1.008 GB, free: 112.1 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001263/2.672, allocations: 431.3 kB / 1.008 GB, free: 111.9 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.796e-05/2.672, allocations: 84.61 kB / 1.008 GB, free: 111.8 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.97e-05/2.672, allocations: 8.75 kB / 1.008 GB, free: 111.8 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004237/2.672, allocations: 13.84 kB / 1.008 GB, free: 111.8 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.071e-05/2.672, allocations: 15.03 kB / 1.008 GB, free: 111.8 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.685e-05/2.673, allocations: 18.56 kB / 1.008 GB, free: 111.8 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.869e-05/2.673, allocations: 89.16 kB / 1.009 GB, free: 111.8 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.51e-07/2.673, allocations: 0 / 1.009 GB, free: 111.8 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0009965/2.674, allocations: 160 kB / 1.009 GB, free: 111.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.001759/2.675, allocations: 0.6267 MB / 1.009 GB, free: 111.6 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001019/2.676, allocations: 209.5 kB / 1.01 GB, free: 111.6 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.689e-06/2.676, allocations: 0 / 1.01 GB, free: 111.6 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005268/2.677, allocations: 235.9 kB / 1.01 GB, free: 111.5 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000581/2.678, allocations: 49.27 kB / 1.01 GB, free: 111.4 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001181/2.679, allocations: 0.5599 MB / 1.01 GB, free: 111.1 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001911/2.679, allocations: 0.7149 MB / 1.011 GB, free: 110.4 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0006298/2.68, allocations: 49.56 kB / 1.011 GB, free: 110.4 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001779/2.68, allocations: 17.78 kB / 1.011 GB, free: 110.4 MB / 362.7 MB Notification: Performance of SimCode: time 1.022e-06/2.68, allocations: 4 kB / 1.011 GB, free: 110.4 MB / 362.7 MB Notification: Performance of Templates: time 0.02572/2.706, allocations: 11.99 MB / 1.023 GB, free: 109.1 MB / 362.7 MB