Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/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_cpp_Modelica.Media.Examples.TestOnly.IdealGasN2Mix") Notification: Performance of loadModel(Modelica): time 1.643/1.643, allocations: 171.2 MB / 187.3 MB, free: 1.047 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003733/0.0003735, allocations: 8 kB / 233.8 MB, free: 3.074 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08131/0.08172, allocations: 38.78 MB / 272.5 MB, free: 12.21 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.082/2.164, allocations: 0.7011 GB / 0.9672 GB, free: 20.2 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002767/2.164, allocations: 79.7 kB / 0.9673 GB, free: 20.16 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3443/2.508, allocations: 33.6 MB / 1 GB, free: 120.5 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.144e-06/2.509, allocations: 0 / 1 GB, free: 120.5 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.412e-05/2.509, allocations: 2.75 kB / 1 GB, free: 120.5 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.0006636/2.509, allocations: 412.8 kB / 1.001 GB, free: 120.1 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.167e-05/2.509, allocations: 8.25 kB / 1.001 GB, free: 120.1 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002847/2.512, allocations: 186.4 kB / 1.001 GB, free: 120.1 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000303/2.512, allocations: 218.7 kB / 1.001 GB, free: 119.9 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.785e-05/2.512, allocations: 4.312 kB / 1.001 GB, free: 119.9 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.645e-05/2.513, allocations: 9.188 kB / 1.001 GB, free: 119.9 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007557/2.513, allocations: 202.5 kB / 1.001 GB, free: 119.9 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.503e-05/2.513, allocations: 0 / 1.001 GB, free: 119.9 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.083e-05/2.513, allocations: 7.094 kB / 1.001 GB, free: 119.9 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.009e-05/2.513, allocations: 3.828 kB / 1.001 GB, free: 119.9 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008836/2.514, allocations: 214.9 kB / 1.001 GB, free: 119.9 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.002102/2.516, allocations: 0.6276 MB / 1.002 GB, free: 119.5 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006193/2.517, allocations: 165.8 kB / 1.002 GB, free: 119.5 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002799/2.517, allocations: 95.48 kB / 1.002 GB, free: 119.4 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.123e-05/2.517, allocations: 38.75 kB / 1.002 GB, free: 119.4 MB / 362.7 MB Notification: Performance of pre-optimization done (n=14): time 2.274e-06/2.517, allocations: 0 / 1.002 GB, free: 119.4 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.009388/2.527, allocations: 1.459 MB / 1.004 GB, free: 118.8 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.184e-05/2.527, allocations: 52.88 kB / 1.004 GB, free: 118.7 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.542e-05/2.527, allocations: 119.1 kB / 1.004 GB, free: 118.6 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.871e-05/2.527, allocations: 30.52 kB / 1.004 GB, free: 118.6 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.729e-05/2.527, allocations: 171.1 kB / 1.004 GB, free: 118.4 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.4e-05/2.527, allocations: 65.27 kB / 1.004 GB, free: 118.4 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.889e-05/2.527, allocations: 3.312 kB / 1.004 GB, free: 118.4 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.752e-05/2.527, allocations: 321.8 kB / 1.004 GB, free: 118.1 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003387/2.528, allocations: 79.97 kB / 1.004 GB, free: 118.1 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003493/2.528, allocations: 113.9 kB / 1.005 GB, free: 118 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003586/2.528, allocations: 94 kB / 1.005 GB, free: 118 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/2.528, allocations: 2.469 kB / 1.005 GB, free: 118 MB / 362.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0009286/2.529, allocations: 264.8 kB / 1.005 GB, free: 118 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.119e-05/2.529, allocations: 5.875 kB / 1.005 GB, free: 118 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.706e-06/2.529, allocations: 1.156 kB / 1.005 GB, free: 118 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001917/2.53, allocations: 29.3 kB / 1.005 GB, free: 118 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006466/2.53, allocations: 57.5 kB / 1.005 GB, free: 118 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003553/2.531, allocations: 0.5324 MB / 1.006 GB, free: 117.5 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003634/2.531, allocations: 14.95 kB / 1.006 GB, free: 117.5 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.587e-05/2.531, allocations: 8.781 kB / 1.006 GB, free: 117.5 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.0001615/2.531, allocations: 124.1 kB / 1.006 GB, free: 117.3 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.948e-05/2.531, allocations: 16.2 kB / 1.006 GB, free: 117.3 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001126/2.533, allocations: 288.2 kB / 1.006 GB, free: 117.3 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.694e-06/2.533, allocations: 2.344 kB / 1.006 GB, free: 117.3 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.123e-06/2.533, allocations: 0 / 1.006 GB, free: 117.3 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.354e-06/2.533, allocations: 5.188 kB / 1.006 GB, free: 117.3 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001555/2.534, allocations: 0.6557 MB / 1.007 GB, free: 116.9 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.851e-06/2.534, allocations: 3.969 kB / 1.007 GB, free: 116.9 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006344/2.535, allocations: 50.44 kB / 1.007 GB, free: 116.9 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001124/2.535, allocations: 20.86 kB / 1.007 GB, free: 116.9 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.138e-05/2.535, allocations: 10.27 kB / 1.007 GB, free: 116.9 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009021/2.536, allocations: 1.272 MB / 1.008 GB, free: 115.7 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.148e-06/2.536, allocations: 5.953 kB / 1.008 GB, free: 115.7 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001246/2.537, allocations: 426.4 kB / 1.008 GB, free: 115.5 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.032e-05/2.537, allocations: 94.14 kB / 1.008 GB, free: 115.4 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.776e-05/2.537, allocations: 5.906 kB / 1.008 GB, free: 115.4 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004176/2.538, allocations: 14.39 kB / 1.008 GB, free: 115.4 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.486e-05/2.538, allocations: 16.5 kB / 1.008 GB, free: 115.4 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.527e-05/2.538, allocations: 10.31 kB / 1.008 GB, free: 115.4 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.185e-05/2.538, allocations: 89.03 kB / 1.009 GB, free: 115.3 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.3e-07/2.538, allocations: 0 / 1.009 GB, free: 115.3 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0009319/2.539, allocations: 162.6 kB / 1.009 GB, free: 115.3 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.001526/2.54, allocations: 0.6283 MB / 1.009 GB, free: 115.1 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0008984/2.541, allocations: 216.1 kB / 1.01 GB, free: 115.1 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/2.541, allocations: 0 / 1.01 GB, free: 115.1 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005102/2.542, allocations: 223.9 kB / 1.01 GB, free: 115 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005514/2.542, allocations: 48.06 kB / 1.01 GB, free: 115 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001119/2.544, allocations: 0.5886 MB / 1.01 GB, free: 114.7 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002151/2.544, allocations: 0.7133 MB / 1.011 GB, free: 114 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002432/2.544, allocations: 29.59 kB / 1.011 GB, free: 114 MB / 362.7 MB Notification: Performance of SimCode: time 1.403e-06/2.544, allocations: 0 / 1.011 GB, free: 114 MB / 362.7 MB Notification: Performance of Templates: time 0.01494/2.559, allocations: 7.478 MB / 1.018 GB, free: 113.2 MB / 362.7 MB