Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_cpp_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_cpp_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen") Notification: Performance of loadModel(Modelica): time 1.665/1.665, allocations: 171.1 MB / 187.3 MB, free: 1.055 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003528/0.0003529, allocations: 12 kB / 233.8 MB, free: 3.055 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08087/0.08125, allocations: 38.77 MB / 272.6 MB, free: 12.21 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.359/1.441, allocations: 428.1 MB / 0.6843 GB, free: 28.23 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003162/1.441, allocations: 97.8 kB / 0.6844 GB, free: 28.18 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8383/2.279, allocations: 143.5 MB / 0.8245 GB, free: 37.84 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.395e-06/2.28, allocations: 0 / 0.8245 GB, free: 37.84 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.218e-05/2.28, allocations: 7.984 kB / 0.8246 GB, free: 37.83 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.001164/2.281, allocations: 0.6245 MB / 0.8252 GB, free: 37.15 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.883e-05/2.281, allocations: 12.03 kB / 0.8252 GB, free: 37.14 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003382/2.281, allocations: 43.61 kB / 0.8252 GB, free: 37.1 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000391/2.282, allocations: 275 kB / 0.8255 GB, free: 36.79 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.354e-05/2.282, allocations: 16.56 kB / 0.8255 GB, free: 36.77 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.064e-05/2.282, allocations: 27.95 kB / 0.8255 GB, free: 36.75 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006586/2.282, allocations: 319.7 kB / 0.8258 GB, free: 36.4 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.85e-05/2.282, allocations: 0 / 0.8258 GB, free: 36.4 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.292e-05/2.282, allocations: 12 kB / 0.8258 GB, free: 36.39 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.568e-06/2.282, allocations: 7.938 kB / 0.8258 GB, free: 36.38 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004531/2.283, allocations: 201.6 kB / 0.826 GB, free: 36.19 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.002006/2.285, allocations: 1.577 MB / 0.8276 GB, free: 34.45 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003673/2.285, allocations: 165.2 kB / 0.8277 GB, free: 34.29 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.013e-05/2.285, allocations: 8.188 kB / 0.8277 GB, free: 34.28 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.919e-05/2.285, allocations: 38.75 kB / 0.8278 GB, free: 34.23 MB / 362.7 MB Notification: Performance of pre-optimization done (n=22): time 2.645e-06/2.285, allocations: 3.984 kB / 0.8278 GB, free: 34.23 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.00865/2.294, allocations: 1.622 MB / 0.8294 GB, free: 32.48 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.281e-05/2.294, allocations: 59.39 kB / 0.8294 GB, free: 32.41 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003055/2.294, allocations: 252.9 kB / 0.8297 GB, free: 32.15 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.36e-05/2.294, allocations: 33.7 kB / 0.8297 GB, free: 32.11 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.158e-05/2.295, allocations: 230.7 kB / 0.8299 GB, free: 31.88 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.886e-05/2.295, allocations: 98.58 kB / 0.83 GB, free: 31.79 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.103e-05/2.295, allocations: 8 kB / 0.83 GB, free: 31.78 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.459e-05/2.295, allocations: 322.8 kB / 0.8303 GB, free: 31.45 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002323/2.295, allocations: 95.67 kB / 0.8304 GB, free: 31.36 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002807/2.295, allocations: 191.8 kB / 0.8306 GB, free: 31.13 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002951/2.296, allocations: 121 kB / 0.8307 GB, free: 31.01 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/2.296, allocations: 0 / 0.8307 GB, free: 31.01 MB / 362.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0008571/2.297, allocations: 386.8 kB / 0.8311 GB, free: 30.62 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.898e-05/2.297, allocations: 8 kB / 0.8311 GB, free: 30.61 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.298e-06/2.297, allocations: 8 kB / 0.8311 GB, free: 30.61 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002767/2.297, allocations: 65.69 kB / 0.8312 GB, free: 30.54 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005689/2.297, allocations: 88.3 kB / 0.8313 GB, free: 30.45 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001351/2.299, allocations: 1.852 MB / 0.8331 GB, free: 28.44 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003965/2.299, allocations: 27.84 kB / 0.8331 GB, free: 28.41 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.111e-05/2.299, allocations: 43.98 kB / 0.8331 GB, free: 28.37 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.0002144/2.3, allocations: 149.9 kB / 0.8333 GB, free: 28.21 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.418e-05/2.3, allocations: 27.72 kB / 0.8333 GB, free: 28.19 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001345/2.301, allocations: 447.8 kB / 0.8337 GB, free: 27.73 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.762e-06/2.301, allocations: 11.94 kB / 0.8337 GB, free: 27.72 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/2.301, allocations: 0 / 0.8337 GB, free: 27.72 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006223/2.302, allocations: 0.5552 MB / 0.8343 GB, free: 27.08 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001248/2.303, allocations: 0.7198 MB / 0.835 GB, free: 26.29 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/2.303, allocations: 0 / 0.835 GB, free: 26.29 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000528/2.303, allocations: 75.89 kB / 0.8351 GB, free: 26.22 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001025/2.304, allocations: 20.84 kB / 0.8351 GB, free: 26.2 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.46e-05/2.304, allocations: 12 kB / 0.8351 GB, free: 26.18 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000799/2.304, allocations: 1.288 MB / 0.8363 GB, free: 24.76 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/2.304, allocations: 3.938 kB / 0.8363 GB, free: 24.75 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008559/2.305, allocations: 477.8 kB / 0.8368 GB, free: 24.26 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.586e-05/2.305, allocations: 108.8 kB / 0.8369 GB, free: 24.14 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.779e-05/2.306, allocations: 8 kB / 0.8369 GB, free: 24.13 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004342/2.306, allocations: 20.05 kB / 0.8369 GB, free: 24.11 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.313e-05/2.306, allocations: 31.86 kB / 0.837 GB, free: 24.08 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.072e-05/2.306, allocations: 27.98 kB / 0.837 GB, free: 24.05 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002279/2.306, allocations: 190 kB / 0.8372 GB, free: 23.87 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.91e-07/2.306, allocations: 0 / 0.8372 GB, free: 23.87 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0009161/2.307, allocations: 183.9 kB / 0.8373 GB, free: 23.69 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.001326/2.309, allocations: 0.7655 MB / 0.8381 GB, free: 22.91 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0008205/2.309, allocations: 366.4 kB / 0.8384 GB, free: 22.54 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/2.309, allocations: 0 / 0.8384 GB, free: 22.54 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003586/2.31, allocations: 231.4 kB / 0.8387 GB, free: 22.3 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001402/2.311, allocations: 156.5 kB / 0.8388 GB, free: 22.15 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001436/2.313, allocations: 0.8606 MB / 0.8397 GB, free: 21.25 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002177/2.313, allocations: 0.7726 MB / 0.8404 GB, free: 20.45 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004213/2.313, allocations: 79.41 kB / 0.8405 GB, free: 20.38 MB / 362.7 MB Notification: Performance of SimCode: time 9.02e-07/2.313, allocations: 0 / 0.8405 GB, free: 20.38 MB / 362.7 MB Notification: Performance of Templates: time 0.01964/2.333, allocations: 11.6 MB / 0.8518 GB, free: 8.766 MB / 362.7 MB