Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen") Notification: Performance of loadModel(ModelicaTest): time 1.826/1.826, allocations: 209.3 MB / 224.9 MB, free: 276 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004463/0.0004464, allocations: 20 kB / 282.6 MB, free: 9.582 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3252/0.3257, allocations: 48.69 MB / 331.3 MB, free: 6.523 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.384/1.71, allocations: 0.4969 GB / 0.8204 GB, free: 124.2 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000265/1.71, allocations: 92.89 kB / 0.8205 GB, free: 124.1 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8958/2.606, allocations: 219 MB / 1.034 GB, free: 65.4 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.135e-06/2.606, allocations: 0 / 1.034 GB, free: 65.4 MB / 426.7 MB Notification: Performance of Transformations before backend: time 6.346e-05/2.606, allocations: 19.83 kB / 1.034 GB, free: 65.38 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.002985/2.609, allocations: 1.187 MB / 1.036 GB, free: 64.16 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.003e-05/2.609, allocations: 10.72 kB / 1.036 GB, free: 64.16 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001316/2.61, allocations: 135 kB / 1.036 GB, free: 64.02 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001511/2.612, allocations: 0.5549 MB / 1.036 GB, free: 63.44 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001089/2.612, allocations: 104.3 kB / 1.036 GB, free: 63.33 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001295/2.612, allocations: 49.25 kB / 1.036 GB, free: 63.28 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001518/2.614, allocations: 0.8075 MB / 1.037 GB, free: 62.4 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.694e-05/2.614, allocations: 0 / 1.037 GB, free: 62.4 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001044/2.614, allocations: 24 kB / 1.037 GB, free: 62.38 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.47e-05/2.614, allocations: 48.91 kB / 1.037 GB, free: 62.33 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001373/2.615, allocations: 0.6088 MB / 1.038 GB, free: 61.72 MB / 426.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.005157/2.621, allocations: 3.911 MB / 1.042 GB, free: 57.58 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006793/2.621, allocations: 327.3 kB / 1.042 GB, free: 57.25 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001062/2.621, allocations: 24.94 kB / 1.042 GB, free: 57.23 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.472e-05/2.622, allocations: 42.83 kB / 1.042 GB, free: 57.18 MB / 426.7 MB Notification: Performance of pre-optimization done (n=34): time 3.841e-06/2.622, allocations: 0 / 1.042 GB, free: 57.18 MB / 426.7 MB Notification: Performance of matching and sorting (n=39): time 0.006435/2.628, allocations: 1.622 MB / 1.044 GB, free: 55.48 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.515e-05/2.628, allocations: 132.5 kB / 1.044 GB, free: 55.32 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007622/2.629, allocations: 0.5265 MB / 1.044 GB, free: 54.79 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 6.352e-05/2.629, allocations: 37.7 kB / 1.044 GB, free: 54.75 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002245/2.629, allocations: 406.8 kB / 1.045 GB, free: 54.35 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001244/2.629, allocations: 144 kB / 1.045 GB, free: 54.21 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.734e-05/2.629, allocations: 12 kB / 1.045 GB, free: 54.2 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.574e-05/2.629, allocations: 342.8 kB / 1.045 GB, free: 53.86 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004276/2.63, allocations: 201.8 kB / 1.045 GB, free: 53.66 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006178/2.631, allocations: 0.5314 MB / 1.046 GB, free: 52.97 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005582/2.631, allocations: 299.3 kB / 1.046 GB, free: 52.68 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.866e-06/2.631, allocations: 4 kB / 1.046 GB, free: 52.68 MB / 426.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.001794/2.633, allocations: 0.8533 MB / 1.047 GB, free: 51.81 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.397e-05/2.633, allocations: 11.98 kB / 1.047 GB, free: 51.8 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.669e-05/2.633, allocations: 12 kB / 1.047 GB, free: 51.79 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001613/2.635, allocations: 301.3 kB / 1.047 GB, free: 51.5 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005656/2.635, allocations: 135.8 kB / 1.047 GB, free: 51.36 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001174/2.636, allocations: 0.9035 MB / 1.048 GB, free: 50.43 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009057/2.637, allocations: 47.83 kB / 1.048 GB, free: 50.39 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001076/2.637, allocations: 71.98 kB / 1.048 GB, free: 50.32 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (72): * Single equations (assignments): 71 * 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: 0 * Non-linear torn systems: 1 {2 16} Notification: Performance of prepare postOptimizeDAE: time 0.0004458/2.638, allocations: 241.6 kB / 1.049 GB, free: 50.07 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001414/2.638, allocations: 71.23 kB / 1.049 GB, free: 50 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001979/2.64, allocations: 0.6636 MB / 1.049 GB, free: 49.32 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.044e-06/2.64, allocations: 7.984 kB / 1.049 GB, free: 49.31 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.699e-06/2.64, allocations: 0 / 1.049 GB, free: 49.31 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.947e-06/2.64, allocations: 0 / 1.049 GB, free: 49.31 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002404/2.643, allocations: 1.264 MB / 1.051 GB, free: 47.96 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.211e-06/2.643, allocations: 0 / 1.051 GB, free: 47.96 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001483/2.644, allocations: 211.9 kB / 1.051 GB, free: 47.76 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001347/2.644, allocations: 24.83 kB / 1.051 GB, free: 47.73 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.532e-05/2.644, allocations: 16 kB / 1.051 GB, free: 47.71 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001857/2.646, allocations: 2.699 MB / 1.053 GB, free: 44.75 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.523e-06/2.646, allocations: 4.031 kB / 1.053 GB, free: 44.75 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001499/2.648, allocations: 0.8491 MB / 1.054 GB, free: 43.84 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003374/2.648, allocations: 176.2 kB / 1.054 GB, free: 43.64 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000128/2.648, allocations: 12 kB / 1.054 GB, free: 43.63 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000598/2.649, allocations: 32.03 kB / 1.055 GB, free: 43.6 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001097/2.649, allocations: 39.91 kB / 1.055 GB, free: 43.56 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.297e-05/2.649, allocations: 47.98 kB / 1.055 GB, free: 43.52 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0006094/2.65, allocations: 419 kB / 1.055 GB, free: 43.11 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.43e-07/2.65, allocations: 7.938 kB / 1.055 GB, free: 43.1 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001689/2.651, allocations: 379.8 kB / 1.055 GB, free: 42.73 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (39): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 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.001962/2.653, allocations: 1.031 MB / 1.056 GB, free: 41.84 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001475/2.655, allocations: 0.5471 MB / 1.057 GB, free: 41.29 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.617e-06/2.655, allocations: 0 / 1.057 GB, free: 41.29 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001092/2.656, allocations: 390.3 kB / 1.057 GB, free: 40.89 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001971/2.658, allocations: 310.4 kB / 1.058 GB, free: 40.6 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008717/2.667, allocations: 3.069 MB / 1.061 GB, free: 37.61 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004683/2.667, allocations: 0.9455 MB / 1.062 GB, free: 36.64 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005597/2.668, allocations: 123.3 kB / 1.062 GB, free: 36.52 MB / 426.7 MB Notification: Performance of SimCode: time 1.652e-06/2.668, allocations: 0 / 1.062 GB, free: 36.52 MB / 426.7 MB Notification: Performance of Templates: time 0.03029/2.698, allocations: 20.58 MB / 1.082 GB, free: 15.95 MB / 426.7 MB