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.Water.IdealSteam.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.Water.IdealSteam,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.Water.IdealSteam") Notification: Performance of loadModel(Modelica): time 1.666/1.666, allocations: 171.1 MB / 186.7 MB, free: 1.129 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004801/0.0004805, allocations: 12 kB / 233.9 MB, free: 2.371 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1029/0.1034, allocations: 38.77 MB / 272.6 MB, free: 11.52 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.242/1.346, allocations: 429 MB / 0.6852 GB, free: 27.15 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003873/1.346, allocations: 89.45 kB / 0.6853 GB, free: 27.1 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7491/2.095, allocations: 155.4 MB / 0.8371 GB, free: 24.53 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.174e-06/2.095, allocations: 0 / 0.8371 GB, free: 24.53 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.679e-05/2.095, allocations: 11.98 kB / 0.8371 GB, free: 24.52 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.001293/2.097, allocations: 0.6206 MB / 0.8377 GB, free: 23.85 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.24e-05/2.097, allocations: 8.031 kB / 0.8377 GB, free: 23.84 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004855/2.097, allocations: 43.61 kB / 0.8377 GB, free: 23.8 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004801/2.098, allocations: 279 kB / 0.838 GB, free: 23.48 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.741e-05/2.098, allocations: 28.45 kB / 0.838 GB, free: 23.46 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.817e-05/2.098, allocations: 24 kB / 0.8381 GB, free: 23.43 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006789/2.099, allocations: 315.7 kB / 0.8384 GB, free: 23.09 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.169e-05/2.099, allocations: 3.938 kB / 0.8384 GB, free: 23.09 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.855e-05/2.099, allocations: 12 kB / 0.8384 GB, free: 23.08 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.014e-05/2.099, allocations: 4 kB / 0.8384 GB, free: 23.07 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004747/2.099, allocations: 197.6 kB / 0.8386 GB, free: 22.88 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.002276/2.101, allocations: 1.593 MB / 0.8401 GB, free: 21.13 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006217/2.102, allocations: 160 kB / 0.8403 GB, free: 20.97 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.929e-05/2.102, allocations: 8.125 kB / 0.8403 GB, free: 20.96 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.685e-05/2.102, allocations: 46.7 kB / 0.8403 GB, free: 20.91 MB / 362.7 MB Notification: Performance of pre-optimization done (n=22): time 4.358e-06/2.102, allocations: 0 / 0.8403 GB, free: 20.91 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.01029/2.113, allocations: 1.616 MB / 0.8419 GB, free: 19.16 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.452e-05/2.113, allocations: 59.39 kB / 0.842 GB, free: 19.09 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003444/2.113, allocations: 252.9 kB / 0.8422 GB, free: 18.84 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.803e-05/2.113, allocations: 37.7 kB / 0.8422 GB, free: 18.8 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001046/2.113, allocations: 176.2 kB / 0.8424 GB, free: 18.62 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.459e-05/2.113, allocations: 94.64 kB / 0.8425 GB, free: 18.52 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.065e-05/2.113, allocations: 4 kB / 0.8425 GB, free: 18.52 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.766e-05/2.113, allocations: 338.8 kB / 0.8428 GB, free: 18.18 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002422/2.114, allocations: 91.73 kB / 0.8429 GB, free: 18.09 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002902/2.114, allocations: 187.8 kB / 0.8431 GB, free: 17.86 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003105/2.114, allocations: 119.9 kB / 0.8432 GB, free: 17.75 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.709e-06/2.114, allocations: 3.953 kB / 0.8432 GB, free: 17.74 MB / 362.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0009629/2.115, allocations: 398.7 kB / 0.8436 GB, free: 17.34 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.447e-05/2.115, allocations: 8 kB / 0.8436 GB, free: 17.33 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.027e-05/2.115, allocations: 4 kB / 0.8436 GB, free: 17.33 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003196/2.116, allocations: 69.62 kB / 0.8437 GB, free: 17.25 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005935/2.116, allocations: 83.89 kB / 0.8438 GB, free: 17.17 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001506/2.118, allocations: 1.86 MB / 0.8456 GB, free: 15.15 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004726/2.118, allocations: 19.98 kB / 0.8456 GB, free: 15.13 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.563e-05/2.119, allocations: 43.98 kB / 0.8456 GB, free: 15.09 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.0002441/2.119, allocations: 149.7 kB / 0.8458 GB, free: 14.93 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.638e-05/2.119, allocations: 31.62 kB / 0.8458 GB, free: 14.9 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001454/2.12, allocations: 444 kB / 0.8462 GB, free: 14.45 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.633e-06/2.12, allocations: 4 kB / 0.8462 GB, free: 14.45 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/2.12, allocations: 7.984 kB / 0.8462 GB, free: 14.44 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007843/2.121, allocations: 0.5552 MB / 0.8468 GB, free: 13.79 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001533/2.123, allocations: 0.7158 MB / 0.8475 GB, free: 13.01 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.581e-06/2.123, allocations: 0 / 0.8475 GB, free: 13.01 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005552/2.123, allocations: 75.95 kB / 0.8476 GB, free: 12.94 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001198/2.123, allocations: 24.84 kB / 0.8476 GB, free: 12.91 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.003e-05/2.124, allocations: 12 kB / 0.8476 GB, free: 12.9 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008519/2.124, allocations: 1.296 MB / 0.8489 GB, free: 11.47 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/2.124, allocations: 8.031 kB / 0.8489 GB, free: 11.46 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009603/2.125, allocations: 473.5 kB / 0.8493 GB, free: 10.97 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001158/2.126, allocations: 109.1 kB / 0.8494 GB, free: 10.85 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.01e-05/2.126, allocations: 8 kB / 0.8494 GB, free: 10.84 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004191/2.126, allocations: 19.84 kB / 0.8494 GB, free: 10.82 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.77e-05/2.126, allocations: 31.86 kB / 0.8495 GB, free: 10.79 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.02e-05/2.126, allocations: 27.98 kB / 0.8495 GB, free: 10.76 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.00024/2.126, allocations: 190 kB / 0.8497 GB, free: 10.57 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.7e-07/2.126, allocations: 0 / 0.8497 GB, free: 10.57 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0009717/2.127, allocations: 188 kB / 0.8499 GB, free: 10.39 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.001369/2.129, allocations: 0.7564 MB / 0.8506 GB, free: 9.629 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0009683/2.13, allocations: 367.2 kB / 0.8509 GB, free: 9.258 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/2.13, allocations: 7.938 kB / 0.851 GB, free: 9.25 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003593/2.13, allocations: 230.5 kB / 0.8512 GB, free: 9.012 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001418/2.132, allocations: 156.5 kB / 0.8513 GB, free: 8.859 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00152/2.133, allocations: 0.8275 MB / 0.8521 GB, free: 8.004 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002227/2.133, allocations: 0.7726 MB / 0.8529 GB, free: 7.203 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0009487/2.134, allocations: 122.8 kB / 0.853 GB, free: 7.086 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003356/2.135, allocations: 63.41 kB / 0.8531 GB, free: 7.023 MB / 362.7 MB Notification: Performance of SimCode: time 9.42e-07/2.135, allocations: 0 / 0.8531 GB, free: 7.023 MB / 362.7 MB Notification: Performance of Templates: time 0.3064/2.441, allocations: 18.11 MB / 0.8708 GB, free: 76.86 MB / 362.7 MB