Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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@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) 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.678/1.678, allocations: 171.2 MB / 186.7 MB, free: 1.047 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003587/0.0003589, allocations: 8 kB / 233.2 MB, free: 3.008 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06978/0.07017, allocations: 38.77 MB / 272 MB, free: 12.16 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9945/1.065, allocations: 428.2 MB / 0.6838 GB, free: 43.89 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002696/1.065, allocations: 85.58 kB / 0.6839 GB, free: 43.8 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.593/1.658, allocations: 143.5 MB / 0.824 GB, free: 48.65 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.145e-06/1.658, allocations: 0 / 0.824 GB, free: 48.65 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.114e-05/1.658, allocations: 4 kB / 0.824 GB, free: 48.65 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.0009868/1.659, allocations: 0.6205 MB / 0.8246 GB, free: 47.98 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.779e-05/1.659, allocations: 12.03 kB / 0.8247 GB, free: 47.96 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003397/1.66, allocations: 43.98 kB / 0.8247 GB, free: 47.92 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003738/1.66, allocations: 278.6 kB / 0.825 GB, free: 47.61 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.437e-05/1.66, allocations: 16.56 kB / 0.825 GB, free: 47.59 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.431e-05/1.66, allocations: 24 kB / 0.825 GB, free: 47.57 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005562/1.661, allocations: 319.6 kB / 0.8253 GB, free: 47.23 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.943e-05/1.661, allocations: 0 / 0.8253 GB, free: 47.23 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.863e-05/1.661, allocations: 12 kB / 0.8253 GB, free: 47.22 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.021e-05/1.661, allocations: 11.95 kB / 0.8253 GB, free: 47.21 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004003/1.661, allocations: 209.5 kB / 0.8255 GB, free: 47 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.001746/1.663, allocations: 1.577 MB / 0.8271 GB, free: 45.27 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003324/1.663, allocations: 167 kB / 0.8272 GB, free: 45.1 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.266e-05/1.663, allocations: 12.12 kB / 0.8272 GB, free: 45.09 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.247e-05/1.663, allocations: 46.73 kB / 0.8273 GB, free: 45.03 MB / 362.7 MB Notification: Performance of pre-optimization done (n=22): time 2.734e-06/1.663, allocations: 0 / 0.8273 GB, free: 45.03 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.006128/1.669, allocations: 1.616 MB / 0.8289 GB, free: 43.29 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.541e-05/1.67, allocations: 63.38 kB / 0.8289 GB, free: 43.22 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002807/1.67, allocations: 224.1 kB / 0.8291 GB, free: 42.99 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.899e-05/1.67, allocations: 33.7 kB / 0.8292 GB, free: 42.95 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.653e-05/1.67, allocations: 234.6 kB / 0.8294 GB, free: 42.72 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.969e-05/1.67, allocations: 94.59 kB / 0.8295 GB, free: 42.63 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.769e-05/1.67, allocations: 8 kB / 0.8295 GB, free: 42.62 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 5.643e-05/1.67, allocations: 322.8 kB / 0.8298 GB, free: 42.3 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002009/1.67, allocations: 91.73 kB / 0.8299 GB, free: 42.21 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002389/1.671, allocations: 195.7 kB / 0.8301 GB, free: 41.97 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002512/1.671, allocations: 112 kB / 0.8302 GB, free: 41.86 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.108e-06/1.671, allocations: 0 / 0.8302 GB, free: 41.86 MB / 362.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007719/1.672, allocations: 382.8 kB / 0.8305 GB, free: 41.48 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.927e-05/1.672, allocations: 14.75 kB / 0.8306 GB, free: 41.46 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.258e-06/1.672, allocations: 0 / 0.8306 GB, free: 41.46 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002609/1.672, allocations: 77.98 kB / 0.8306 GB, free: 41.38 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000396/1.672, allocations: 87.89 kB / 0.8307 GB, free: 41.3 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001286/1.674, allocations: 1.848 MB / 0.8325 GB, free: 39.29 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00041/1.674, allocations: 23.89 kB / 0.8325 GB, free: 39.27 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.138e-05/1.674, allocations: 40 kB / 0.8326 GB, free: 39.23 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.0002248/1.675, allocations: 161.8 kB / 0.8327 GB, free: 39.06 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.122e-05/1.675, allocations: 27.72 kB / 0.8328 GB, free: 39.03 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001232/1.676, allocations: 443.8 kB / 0.8332 GB, free: 38.58 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.423e-06/1.676, allocations: 4 kB / 0.8332 GB, free: 38.57 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.266e-06/1.676, allocations: 0 / 0.8332 GB, free: 38.57 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005427/1.676, allocations: 0.5553 MB / 0.8337 GB, free: 37.93 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001156/1.678, allocations: 0.7274 MB / 0.8344 GB, free: 37.14 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.831e-06/1.678, allocations: 0 / 0.8344 GB, free: 37.14 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003889/1.678, allocations: 79.84 kB / 0.8345 GB, free: 37.06 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001193/1.678, allocations: 20.84 kB / 0.8345 GB, free: 37.04 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.326e-05/1.678, allocations: 12 kB / 0.8345 GB, free: 37.02 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008276/1.679, allocations: 1.284 MB / 0.8358 GB, free: 35.61 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.958e-06/1.679, allocations: 4.281 kB / 0.8358 GB, free: 35.6 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008557/1.68, allocations: 0.49 MB / 0.8363 GB, free: 35.07 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001124/1.68, allocations: 100.8 kB / 0.8364 GB, free: 34.96 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.729e-05/1.68, allocations: 15.98 kB / 0.8364 GB, free: 34.94 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003863/1.681, allocations: 16.06 kB / 0.8364 GB, free: 34.93 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.344e-05/1.681, allocations: 27.92 kB / 0.8364 GB, free: 34.9 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.666e-05/1.681, allocations: 31.98 kB / 0.8365 GB, free: 34.87 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002212/1.681, allocations: 186 kB / 0.8366 GB, free: 34.69 MB / 362.7 MB Notification: Performance of sort global known variables: time 7.59e-07/1.681, allocations: 0 / 0.8366 GB, free: 34.69 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0008876/1.682, allocations: 187.9 kB / 0.8368 GB, free: 34.5 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.00116/1.683, allocations: 0.7755 MB / 0.8376 GB, free: 33.71 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0007655/1.684, allocations: 367.2 kB / 0.8379 GB, free: 33.34 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.057e-06/1.684, allocations: 4 kB / 0.8379 GB, free: 33.34 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000318/1.684, allocations: 226.6 kB / 0.8382 GB, free: 33.11 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001011/1.685, allocations: 152.5 kB / 0.8383 GB, free: 32.96 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001359/1.687, allocations: 0.8616 MB / 0.8391 GB, free: 32.06 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000218/1.687, allocations: 0.7726 MB / 0.8399 GB, free: 31.27 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003635/1.687, allocations: 79.39 kB / 0.84 GB, free: 31.19 MB / 362.7 MB Notification: Performance of SimCode: time 1.87e-06/1.687, allocations: 0 / 0.84 GB, free: 31.19 MB / 362.7 MB Notification: Performance of Templates: time 0.01602/1.703, allocations: 11.58 MB / 0.8513 GB, free: 19.6 MB / 362.7 MB