Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.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.Tests.MediaTestModels.IdealGases.Air,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air") Notification: Performance of loadModel(Modelica): time 1.902/1.902, allocations: 171.1 MB / 186.7 MB, free: 1.035 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003688/0.000369, allocations: 12 kB / 233.9 MB, free: 2.363 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08346/0.08386, allocations: 38.77 MB / 272.6 MB, free: 11.51 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.729/1.813, allocations: 0.5804 GB / 0.8467 GB, free: 7.703 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003395/1.813, allocations: 96.17 kB / 0.8467 GB, free: 7.645 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8657/2.679, allocations: 153.7 MB / 0.9968 GB, free: 7.574 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.305e-06/2.679, allocations: 0 / 0.9968 GB, free: 7.574 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.145e-05/2.679, allocations: 4 kB / 0.9969 GB, free: 7.57 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.001169/2.68, allocations: 0.6206 MB / 0.9975 GB, free: 6.902 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.814e-05/2.68, allocations: 8.031 kB / 0.9975 GB, free: 6.895 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003469/2.681, allocations: 43.61 kB / 0.9975 GB, free: 6.852 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003998/2.681, allocations: 286.9 kB / 0.9978 GB, free: 6.531 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.707e-05/2.681, allocations: 32.5 kB / 0.9978 GB, free: 6.5 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.25e-05/2.681, allocations: 24 kB / 0.9978 GB, free: 6.477 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006317/2.682, allocations: 311.7 kB / 0.9981 GB, free: 6.141 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.906e-05/2.682, allocations: 0 / 0.9981 GB, free: 6.141 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.405e-05/2.682, allocations: 16 kB / 0.9981 GB, free: 6.125 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.826e-06/2.682, allocations: 8 kB / 0.9982 GB, free: 6.117 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004945/2.682, allocations: 205.6 kB / 0.9984 GB, free: 5.918 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.00203/2.685, allocations: 1.577 MB / 0.9999 GB, free: 4.184 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003695/2.685, allocations: 160.2 kB / 1 GB, free: 4.02 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.178e-05/2.685, allocations: 4.188 kB / 1 GB, free: 4.016 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.026e-05/2.685, allocations: 42.69 kB / 1 GB, free: 3.965 MB / 362.7 MB Notification: Performance of pre-optimization done (n=22): time 2.265e-06/2.685, allocations: 3.938 kB / 1 GB, free: 3.961 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.008791/2.694, allocations: 1.622 MB / 1.002 GB, free: 2.215 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.411e-05/2.694, allocations: 67.31 kB / 1.002 GB, free: 2.137 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003561/2.694, allocations: 245 kB / 1.002 GB, free: 1.887 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.61e-05/2.694, allocations: 29.7 kB / 1.002 GB, free: 1.852 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000101/2.694, allocations: 180.2 kB / 1.002 GB, free: 1.672 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.039e-05/2.695, allocations: 86.66 kB / 1.002 GB, free: 1.586 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.014e-05/2.695, allocations: 12 kB / 1.002 GB, free: 1.574 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 8.226e-05/2.695, allocations: 334.8 kB / 1.003 GB, free: 1.238 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002449/2.695, allocations: 95.73 kB / 1.003 GB, free: 1.145 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003043/2.695, allocations: 187.8 kB / 1.003 GB, free: 0.918 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003025/2.696, allocations: 123.9 kB / 1.003 GB, free: 0.7969 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/2.696, allocations: 3.953 kB / 1.003 GB, free: 0.793 MB / 362.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0008848/2.696, allocations: 391 kB / 1.003 GB, free: 408 kB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.913e-05/2.697, allocations: 8.062 kB / 1.003 GB, free: 400 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.578e-06/2.697, allocations: 4 kB / 1.003 GB, free: 396 kB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000291/2.697, allocations: 73.67 kB / 1.003 GB, free: 316 kB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005623/2.697, allocations: 79.91 kB / 1.004 GB, free: 236 kB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2681/2.965, allocations: 1.855 MB / 1.005 GB, free: 71.85 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004863/2.966, allocations: 24.34 kB / 1.005 GB, free: 71.85 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.632e-05/2.966, allocations: 39.38 kB / 1.005 GB, free: 71.85 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.0002786/2.966, allocations: 153.8 kB / 1.006 GB, free: 71.73 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.988e-05/2.967, allocations: 28.27 kB / 1.006 GB, free: 71.73 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001544/2.968, allocations: 441.6 kB / 1.006 GB, free: 71.67 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.887e-06/2.968, allocations: 6.266 kB / 1.006 GB, free: 71.66 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/2.968, allocations: 1.984 kB / 1.006 GB, free: 71.66 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007178/2.969, allocations: 0.5662 MB / 1.007 GB, free: 71.21 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001613/2.97, allocations: 0.7218 MB / 1.007 GB, free: 70.89 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.041e-06/2.971, allocations: 0 / 1.007 GB, free: 70.89 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005749/2.971, allocations: 70.86 kB / 1.007 GB, free: 70.89 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001217/2.971, allocations: 24.39 kB / 1.007 GB, free: 70.88 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.072e-05/2.971, allocations: 13.62 kB / 1.007 GB, free: 70.88 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009344/2.972, allocations: 1.281 MB / 1.009 GB, free: 69.64 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/2.972, allocations: 4.125 kB / 1.009 GB, free: 69.64 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001131/2.973, allocations: 480.1 kB / 1.009 GB, free: 69.48 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001326/2.974, allocations: 100.8 kB / 1.009 GB, free: 69.38 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.401e-05/2.974, allocations: 12.8 kB / 1.009 GB, free: 69.38 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004393/2.974, allocations: 21.8 kB / 1.009 GB, free: 69.38 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001105/2.974, allocations: 29.66 kB / 1.009 GB, free: 69.37 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.516e-05/2.974, allocations: 32.73 kB / 1.009 GB, free: 69.37 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000301/2.975, allocations: 192.4 kB / 1.009 GB, free: 69.29 MB / 362.7 MB Notification: Performance of sort global known variables: time 6.21e-07/2.975, allocations: 0 / 1.009 GB, free: 69.29 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001054/2.976, allocations: 183.9 kB / 1.01 GB, free: 69.29 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.001522/2.977, allocations: 0.7808 MB / 1.01 GB, free: 69.14 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001087/2.978, allocations: 368.9 kB / 1.011 GB, free: 69.04 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.43e-06/2.978, allocations: 0.5625 kB / 1.011 GB, free: 69.04 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004318/2.979, allocations: 231 kB / 1.011 GB, free: 68.93 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001512/2.98, allocations: 164.2 kB / 1.011 GB, free: 68.92 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001614/2.982, allocations: 0.8228 MB / 1.012 GB, free: 68.55 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000259/2.982, allocations: 0.7736 MB / 1.013 GB, free: 67.86 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0009846/2.983, allocations: 123.6 kB / 1.013 GB, free: 67.85 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003389/2.984, allocations: 58.95 kB / 1.013 GB, free: 67.84 MB / 362.7 MB Notification: Performance of SimCode: time 1.152e-06/2.984, allocations: 2.719 kB / 1.013 GB, free: 67.84 MB / 362.7 MB Notification: Performance of Templates: time 0.04208/3.026, allocations: 18.27 MB / 1.031 GB, free: 67.52 MB / 362.7 MB