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.Nitrogen.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.Nitrogen,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.Nitrogen") Notification: Performance of loadModel(Modelica): time 1.752/1.752, allocations: 171.1 MB / 186.7 MB, free: 1.047 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005251/0.0005252, allocations: 8 kB / 233.9 MB, free: 2.367 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1178/0.1184, allocations: 38.77 MB / 272.6 MB, free: 11.52 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.411/1.529, allocations: 428.2 MB / 0.6844 GB, free: 27.98 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000318/1.529, allocations: 98.17 kB / 0.6845 GB, free: 27.93 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7226/2.252, allocations: 143.5 MB / 0.8246 GB, free: 37.21 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.285e-06/2.252, allocations: 0 / 0.8246 GB, free: 37.21 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.515e-05/2.252, allocations: 4 kB / 0.8246 GB, free: 37.21 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.001283/2.253, allocations: 0.6206 MB / 0.8252 GB, free: 36.54 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.39e-05/2.253, allocations: 12.03 kB / 0.8253 GB, free: 36.52 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000378/2.254, allocations: 43.62 kB / 0.8253 GB, free: 36.48 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004354/2.254, allocations: 286.9 kB / 0.8256 GB, free: 36.16 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.365e-05/2.254, allocations: 16.56 kB / 0.8256 GB, free: 36.14 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.331e-05/2.254, allocations: 27.95 kB / 0.8256 GB, free: 36.12 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007017/2.255, allocations: 319.7 kB / 0.8259 GB, free: 35.77 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.964e-05/2.255, allocations: 0 / 0.8259 GB, free: 35.77 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.786e-05/2.255, allocations: 12 kB / 0.8259 GB, free: 35.76 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.099e-05/2.255, allocations: 8 kB / 0.8259 GB, free: 35.75 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004502/2.256, allocations: 197.6 kB / 0.8261 GB, free: 35.56 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.00222/2.258, allocations: 1.581 MB / 0.8277 GB, free: 33.82 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003729/2.258, allocations: 171 kB / 0.8278 GB, free: 33.65 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.395e-05/2.258, allocations: 4.188 kB / 0.8278 GB, free: 33.64 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.136e-05/2.258, allocations: 38.75 kB / 0.8279 GB, free: 33.6 MB / 362.7 MB Notification: Performance of pre-optimization done (n=22): time 3.326e-06/2.258, allocations: 0 / 0.8279 GB, free: 33.6 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.008886/2.267, allocations: 1.622 MB / 0.8295 GB, free: 31.85 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.137e-05/2.267, allocations: 59.33 kB / 0.8295 GB, free: 31.78 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003201/2.268, allocations: 249 kB / 0.8297 GB, free: 31.53 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.663e-05/2.268, allocations: 33.7 kB / 0.8298 GB, free: 31.49 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.46e-05/2.268, allocations: 176.2 kB / 0.8299 GB, free: 31.31 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.036e-05/2.268, allocations: 94.64 kB / 0.83 GB, free: 31.21 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.166e-05/2.268, allocations: 8 kB / 0.83 GB, free: 31.21 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.22e-05/2.268, allocations: 334.8 kB / 0.8304 GB, free: 30.87 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002301/2.268, allocations: 87.75 kB / 0.8304 GB, free: 30.79 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002777/2.269, allocations: 188.9 kB / 0.8306 GB, free: 30.56 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002978/2.269, allocations: 119.9 kB / 0.8307 GB, free: 30.44 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/2.269, allocations: 4 kB / 0.8307 GB, free: 30.44 MB / 362.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0009107/2.27, allocations: 398.8 kB / 0.8311 GB, free: 30.04 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.141e-05/2.27, allocations: 8 kB / 0.8311 GB, free: 30.03 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.808e-06/2.27, allocations: 7.938 kB / 0.8311 GB, free: 30.02 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002888/2.27, allocations: 69.67 kB / 0.8312 GB, free: 29.95 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005708/2.271, allocations: 87.89 kB / 0.8313 GB, free: 29.86 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001421/2.272, allocations: 1.848 MB / 0.8331 GB, free: 27.86 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004446/2.273, allocations: 36.22 kB / 0.8331 GB, free: 27.82 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.053e-05/2.273, allocations: 36 kB / 0.8332 GB, free: 27.79 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.0002325/2.273, allocations: 145.8 kB / 0.8333 GB, free: 27.63 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.789e-05/2.273, allocations: 31.62 kB / 0.8333 GB, free: 27.6 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001342/2.275, allocations: 447.9 kB / 0.8338 GB, free: 27.15 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.372e-06/2.275, allocations: 7.953 kB / 0.8338 GB, free: 27.14 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/2.275, allocations: 0 / 0.8338 GB, free: 27.14 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000662/2.275, allocations: 0.5591 MB / 0.8343 GB, free: 26.49 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001291/2.277, allocations: 0.7236 MB / 0.835 GB, free: 25.7 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.142e-06/2.277, allocations: 4 kB / 0.835 GB, free: 25.7 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005375/2.277, allocations: 71.89 kB / 0.8351 GB, free: 25.63 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001116/2.277, allocations: 20.84 kB / 0.8351 GB, free: 25.61 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.659e-05/2.277, allocations: 15.98 kB / 0.8351 GB, free: 25.59 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008358/2.278, allocations: 1.292 MB / 0.8364 GB, free: 24.16 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-06/2.278, allocations: 0 / 0.8364 GB, free: 24.16 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009292/2.279, allocations: 481.8 kB / 0.8369 GB, free: 23.66 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001112/2.279, allocations: 104.8 kB / 0.837 GB, free: 23.54 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.033e-05/2.279, allocations: 8 kB / 0.837 GB, free: 23.54 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004285/2.28, allocations: 19.89 kB / 0.837 GB, free: 23.52 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.504e-05/2.28, allocations: 31.86 kB / 0.837 GB, free: 23.48 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.059e-05/2.28, allocations: 32.05 kB / 0.837 GB, free: 23.45 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002406/2.28, allocations: 190 kB / 0.8372 GB, free: 23.27 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.31e-07/2.28, allocations: 3.938 kB / 0.8372 GB, free: 23.27 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0009572/2.281, allocations: 180 kB / 0.8374 GB, free: 23.09 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.001376/2.283, allocations: 0.7607 MB / 0.8381 GB, free: 22.32 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0009246/2.283, allocations: 374.6 kB / 0.8385 GB, free: 21.94 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.419e-06/2.283, allocations: 0 / 0.8385 GB, free: 21.94 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003677/2.284, allocations: 230.5 kB / 0.8387 GB, free: 21.7 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001425/2.285, allocations: 159.4 kB / 0.8389 GB, free: 21.55 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00148/2.287, allocations: 0.8315 MB / 0.8397 GB, free: 20.69 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002716/2.287, allocations: 0.7726 MB / 0.8404 GB, free: 19.89 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0009227/2.288, allocations: 114.9 kB / 0.8405 GB, free: 19.78 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003337/2.288, allocations: 63.41 kB / 0.8406 GB, free: 19.71 MB / 362.7 MB Notification: Performance of SimCode: time 1.122e-06/2.288, allocations: 4 kB / 0.8406 GB, free: 19.71 MB / 362.7 MB Notification: Performance of Templates: time 0.03718/2.326, allocations: 18.12 MB / 0.8583 GB, free: 1.578 MB / 362.7 MB