Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.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.Tests.MediaTestModels.IdealGases.Air,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air") Notification: Performance of loadModel(Modelica): time 2.184/2.184, allocations: 194.9 MB / 211.7 MB, free: 3.004 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003745/0.0003745, allocations: 11.94 kB / 264.6 MB, free: 12.93 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1075/0.1079, allocations: 44.51 MB / 309.1 MB, free: 360 kB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.931/2.039, allocations: 0.5861 GB / 0.8879 GB, free: 100.6 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003438/2.039, allocations: 94.19 kB / 0.888 GB, free: 100.5 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7827/2.822, allocations: 153.7 MB / 1.038 GB, free: 99.33 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.195e-06/2.822, allocations: 0 / 1.038 GB, free: 99.33 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.566e-05/2.822, allocations: 7.656 kB / 1.038 GB, free: 99.33 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001211/2.823, allocations: 0.623 MB / 1.039 GB, free: 98.89 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.922e-05/2.823, allocations: 7.438 kB / 1.039 GB, free: 98.89 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003594/2.824, allocations: 46.95 kB / 1.039 GB, free: 98.87 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004366/2.824, allocations: 288.6 kB / 1.039 GB, free: 98.66 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.561e-05/2.824, allocations: 19.38 kB / 1.039 GB, free: 98.66 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.052e-05/2.824, allocations: 26.12 kB / 1.039 GB, free: 98.66 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006513/2.825, allocations: 312.3 kB / 1.039 GB, free: 98.57 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.11e-05/2.825, allocations: 1.406 kB / 1.039 GB, free: 98.57 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.539e-05/2.825, allocations: 10.59 kB / 1.039 GB, free: 98.57 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.393e-05/2.825, allocations: 7.562 kB / 1.039 GB, free: 98.57 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004613/2.826, allocations: 199.2 kB / 1.04 GB, free: 98.57 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.002135/2.828, allocations: 1.587 MB / 1.041 GB, free: 97.38 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003823/2.828, allocations: 165.7 kB / 1.041 GB, free: 97.36 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5e-05/2.828, allocations: 5.656 kB / 1.041 GB, free: 97.36 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.005e-05/2.828, allocations: 45.55 kB / 1.041 GB, free: 97.31 MB / 410.7 MB Notification: Performance of pre-optimization done (n=22): time 3.086e-06/2.828, allocations: 0 / 1.041 GB, free: 97.31 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: volume.medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=27): time 0.008914/2.837, allocations: 1.62 MB / 1.043 GB, free: 96.61 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.155e-05/2.837, allocations: 60.83 kB / 1.043 GB, free: 96.54 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003301/2.838, allocations: 253.5 kB / 1.043 GB, free: 96.43 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.421e-05/2.838, allocations: 29.45 kB / 1.043 GB, free: 96.4 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001007/2.838, allocations: 173 kB / 1.043 GB, free: 96.29 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001129/2.838, allocations: 98.03 kB / 1.044 GB, free: 96.24 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.184e-05/2.838, allocations: 6.938 kB / 1.044 GB, free: 96.24 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.247e-05/2.838, allocations: 343.6 kB / 1.044 GB, free: 95.93 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002394/2.838, allocations: 86.52 kB / 1.044 GB, free: 95.93 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002919/2.839, allocations: 181.7 kB / 1.044 GB, free: 95.81 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002995/2.839, allocations: 118.7 kB / 1.044 GB, free: 95.81 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/2.839, allocations: 0 / 1.044 GB, free: 95.81 MB / 410.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0009115/2.84, allocations: 398.1 kB / 1.045 GB, free: 95.73 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.131e-05/2.84, allocations: 5.812 kB / 1.045 GB, free: 95.73 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.789e-06/2.84, allocations: 3.938 kB / 1.045 GB, free: 95.73 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003113/2.84, allocations: 72.98 kB / 1.045 GB, free: 95.71 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000581/2.841, allocations: 94.11 kB / 1.045 GB, free: 95.7 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00152/2.842, allocations: 1.848 MB / 1.047 GB, free: 93.92 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004886/2.843, allocations: 31.25 kB / 1.047 GB, free: 93.92 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.53e-05/2.843, allocations: 37.72 kB / 1.047 GB, free: 93.92 MB / 410.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.0002622/2.843, allocations: 156.2 kB / 1.047 GB, free: 93.8 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.089e-05/2.843, allocations: 32.39 kB / 1.047 GB, free: 93.78 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001437/2.845, allocations: 435.3 kB / 1.047 GB, free: 93.7 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.254e-06/2.845, allocations: 0.5469 kB / 1.047 GB, free: 93.7 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/2.845, allocations: 7.656 kB / 1.047 GB, free: 93.7 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006652/2.845, allocations: 0.5635 MB / 1.048 GB, free: 93.18 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001455/2.847, allocations: 0.7274 MB / 1.049 GB, free: 92.7 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.821e-06/2.847, allocations: 3.938 kB / 1.049 GB, free: 92.7 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005424/2.847, allocations: 66.98 kB / 1.049 GB, free: 92.69 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001212/2.848, allocations: 19.89 kB / 1.049 GB, free: 92.68 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.232e-05/2.848, allocations: 21.56 kB / 1.049 GB, free: 92.67 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009088/2.849, allocations: 1.286 MB / 1.05 GB, free: 91.36 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.517e-06/2.849, allocations: 3.844 kB / 1.05 GB, free: 91.36 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001001/2.85, allocations: 482.3 kB / 1.05 GB, free: 91.07 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001442/2.85, allocations: 111.2 kB / 1.05 GB, free: 90.95 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.004e-05/2.85, allocations: 7.906 kB / 1.05 GB, free: 90.95 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004378/2.85, allocations: 15.33 kB / 1.05 GB, free: 90.95 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.973e-05/2.85, allocations: 26.27 kB / 1.05 GB, free: 90.94 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.635e-05/2.851, allocations: 34.52 kB / 1.051 GB, free: 90.94 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002565/2.851, allocations: 188.7 kB / 1.051 GB, free: 90.82 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.91e-07/2.851, allocations: 0 / 1.051 GB, free: 90.82 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001033/2.852, allocations: 190.6 kB / 1.051 GB, free: 90.78 MB / 410.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.001492/2.853, allocations: 0.7704 MB / 1.052 GB, free: 90.6 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001051/2.854, allocations: 370.2 kB / 1.052 GB, free: 90.41 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.619e-06/2.854, allocations: 0 / 1.052 GB, free: 90.41 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003832/2.855, allocations: 230.3 kB / 1.052 GB, free: 90.26 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001504/2.856, allocations: 160 kB / 1.052 GB, free: 90.22 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001676/2.858, allocations: 0.8373 MB / 1.053 GB, free: 89.79 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002503/2.858, allocations: 0.7686 MB / 1.054 GB, free: 89.09 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0009858/2.859, allocations: 121.7 kB / 1.054 GB, free: 89.08 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003382/2.86, allocations: 61.67 kB / 1.054 GB, free: 89.07 MB / 410.7 MB Notification: Performance of SimCode: time 1.012e-06/2.86, allocations: 0 / 1.054 GB, free: 89.07 MB / 410.7 MB Notification: Performance of Templates: time 0.0395/2.899, allocations: 18.26 MB / 1.072 GB, free: 80.24 MB / 410.7 MB