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.Tests.MediaTestModels.IdealGases.Air.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.Tests.MediaTestModels.IdealGases.Air,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.1_cpp_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air") Notification: Performance of loadModel(Modelica): time 1.716/1.716, allocations: 171.2 MB / 186.7 MB, free: 1.035 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003553/0.0003555, allocations: 12 kB / 233.3 MB, free: 2.996 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07008/0.07046, allocations: 38.76 MB / 272 MB, free: 12.15 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.383/1.453, allocations: 0.5804 GB / 0.8461 GB, free: 22.39 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002799/1.454, allocations: 93.59 kB / 0.8461 GB, free: 22.3 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6175/2.071, allocations: 153.7 MB / 0.9962 GB, free: 17.86 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.054e-06/2.071, allocations: 0 / 0.9962 GB, free: 17.86 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.095e-05/2.071, allocations: 4 kB / 0.9962 GB, free: 17.86 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001006/2.072, allocations: 0.6245 MB / 0.9968 GB, free: 17.19 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.693e-05/2.072, allocations: 12.03 kB / 0.9969 GB, free: 17.18 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003375/2.073, allocations: 39.62 kB / 0.9969 GB, free: 17.14 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003566/2.073, allocations: 290.8 kB / 0.9972 GB, free: 16.81 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.421e-05/2.073, allocations: 16.56 kB / 0.9972 GB, free: 16.8 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.985e-05/2.073, allocations: 24 kB / 0.9972 GB, free: 16.77 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005599/2.074, allocations: 323.6 kB / 0.9975 GB, free: 16.43 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.864e-05/2.074, allocations: 3.938 kB / 0.9975 GB, free: 16.42 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.849e-05/2.074, allocations: 12 kB / 0.9975 GB, free: 16.41 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.873e-06/2.074, allocations: 11.98 kB / 0.9975 GB, free: 16.4 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003934/2.074, allocations: 197.6 kB / 0.9977 GB, free: 16.21 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.001767/2.076, allocations: 1.585 MB / 0.9993 GB, free: 14.46 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003321/2.076, allocations: 171 kB / 0.9994 GB, free: 14.29 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.135e-05/2.076, allocations: 4.188 kB / 0.9995 GB, free: 14.29 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.249e-05/2.077, allocations: 34.75 kB / 0.9995 GB, free: 14.24 MB / 362.7 MB Notification: Performance of pre-optimization done (n=22): time 3.531e-06/2.077, allocations: 0 / 0.9995 GB, free: 14.24 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: volume.medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=27): time 0.006075/2.083, allocations: 1.625 MB / 1.001 GB, free: 12.49 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.68e-05/2.083, allocations: 59.39 kB / 1.001 GB, free: 12.42 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002745/2.083, allocations: 216.2 kB / 1.001 GB, free: 12.2 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.018e-05/2.083, allocations: 37.69 kB / 1.001 GB, free: 12.16 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.437e-05/2.083, allocations: 230.6 kB / 1.002 GB, free: 11.93 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.881e-05/2.083, allocations: 90.66 kB / 1.002 GB, free: 11.84 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.629e-05/2.083, allocations: 8 kB / 1.002 GB, free: 11.84 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 5.961e-05/2.083, allocations: 330.8 kB / 1.002 GB, free: 11.5 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001994/2.084, allocations: 91.75 kB / 1.002 GB, free: 11.41 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002366/2.084, allocations: 184 kB / 1.002 GB, free: 11.19 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002578/2.084, allocations: 131.9 kB / 1.002 GB, free: 11.06 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.231e-06/2.084, allocations: 0 / 1.002 GB, free: 11.06 MB / 362.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007899/2.085, allocations: 378.8 kB / 1.003 GB, free: 10.68 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.927e-05/2.085, allocations: 10.81 kB / 1.003 GB, free: 10.67 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.694e-06/2.085, allocations: 4 kB / 1.003 GB, free: 10.67 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002638/2.085, allocations: 74.08 kB / 1.003 GB, free: 10.59 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004038/2.086, allocations: 87.84 kB / 1.003 GB, free: 10.5 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001278/2.087, allocations: 1.856 MB / 1.005 GB, free: 8.488 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000386/2.087, allocations: 15.91 kB / 1.005 GB, free: 8.473 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.788e-05/2.087, allocations: 44.27 kB / 1.005 GB, free: 8.43 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (40): * Single equations (assignments): 38 * 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.0002232/2.088, allocations: 165.7 kB / 1.005 GB, free: 8.258 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.765e-05/2.088, allocations: 31.66 kB / 1.005 GB, free: 8.227 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001224/2.089, allocations: 443.8 kB / 1.005 GB, free: 7.773 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.864e-06/2.089, allocations: 8 kB / 1.005 GB, free: 7.766 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/2.089, allocations: 0 / 1.005 GB, free: 7.766 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005542/2.09, allocations: 0.563 MB / 1.006 GB, free: 7.113 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001173/2.091, allocations: 0.7197 MB / 1.007 GB, free: 6.328 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.362e-06/2.091, allocations: 0 / 1.007 GB, free: 6.328 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004022/2.091, allocations: 76.02 kB / 1.007 GB, free: 6.254 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001068/2.091, allocations: 16.84 kB / 1.007 GB, free: 6.234 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.545e-05/2.091, allocations: 15.98 kB / 1.007 GB, free: 6.219 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007863/2.092, allocations: 1.288 MB / 1.008 GB, free: 4.801 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/2.092, allocations: 3.953 kB / 1.008 GB, free: 4.797 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008152/2.093, allocations: 0.4894 MB / 1.009 GB, free: 4.27 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001068/2.093, allocations: 104.8 kB / 1.009 GB, free: 4.148 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.694e-05/2.093, allocations: 8 kB / 1.009 GB, free: 4.141 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003333/2.094, allocations: 19.92 kB / 1.009 GB, free: 4.121 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.527e-05/2.094, allocations: 27.91 kB / 1.009 GB, free: 4.094 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.588e-05/2.094, allocations: 32.05 kB / 1.009 GB, free: 4.062 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002206/2.094, allocations: 186 kB / 1.009 GB, free: 3.879 MB / 362.7 MB Notification: Performance of sort global known variables: time 6.86e-07/2.094, allocations: 0 / 1.009 GB, free: 3.879 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0008994/2.095, allocations: 192 kB / 1.009 GB, free: 3.691 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (volume.medium.p,volume.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 (26): * Single equations (assignments): 25 * 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.001166/2.096, allocations: 0.7773 MB / 1.01 GB, free: 2.91 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000831/2.097, allocations: 358.4 kB / 1.01 GB, free: 2.547 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 7.544e-06/2.097, allocations: 4 kB / 1.01 GB, free: 2.543 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003294/2.097, allocations: 235.3 kB / 1.01 GB, free: 2.301 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001037/2.098, allocations: 164.4 kB / 1.011 GB, free: 2.137 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001378/2.1, allocations: 0.8694 MB / 1.011 GB, free: 1.227 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002179/2.1, allocations: 0.7687 MB / 1.012 GB, free: 444 kB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003585/2.1, allocations: 79.41 kB / 1.012 GB, free: 364 kB / 362.7 MB Notification: Performance of SimCode: time 1.798e-06/2.1, allocations: 0 / 1.012 GB, free: 364 kB / 362.7 MB Notification: Performance of Templates: time 0.2197/2.32, allocations: 11.64 MB / 1.024 GB, free: 69.99 MB / 362.7 MB