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.LinearFluid.LinearWater_pT.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.LinearFluid.LinearWater_pT,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.LinearFluid.LinearWater_pT") Notification: Performance of loadModel(ModelicaTest): time 2.018/2.018, allocations: 209.2 MB / 224.8 MB, free: 1.211 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004743/0.0004745, allocations: 16 kB / 282.6 MB, free: 9.707 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09197/0.09248, allocations: 48.71 MB / 331.3 MB, free: 8.91 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.947/7.04, allocations: 2.841 GB / 3.164 GB, free: 81.12 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002418/7.04, allocations: 94.19 kB / 3.165 GB, free: 81.07 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.214/11.25, allocations: 1.1 GB / 4.264 GB, free: 58.33 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.222e-06/11.25, allocations: 0 / 4.264 GB, free: 58.33 MB / 442.7 MB Notification: Performance of Transformations before backend: time 6.485e-05/11.25, allocations: 22.09 kB / 4.264 GB, free: 58.33 MB / 442.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.00589/11.26, allocations: 1.646 MB / 4.266 GB, free: 57.55 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.167e-05/11.26, allocations: 10.09 kB / 4.266 GB, free: 57.55 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005288/11.26, allocations: 90.61 kB / 4.266 GB, free: 57.52 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001268/11.26, allocations: 0.544 MB / 4.266 GB, free: 57.25 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001137/11.26, allocations: 110.3 kB / 4.267 GB, free: 57.19 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001241/11.26, allocations: 44.62 kB / 4.267 GB, free: 57.19 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001662/11.26, allocations: 0.8156 MB / 4.267 GB, free: 56.96 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.076e-05/11.26, allocations: 3.859 kB / 4.267 GB, free: 56.96 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001045/11.26, allocations: 23.78 kB / 4.267 GB, free: 56.96 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.5e-05/11.26, allocations: 44.39 kB / 4.267 GB, free: 56.95 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001444/11.27, allocations: 0.6378 MB / 4.268 GB, free: 56.95 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005495/11.27, allocations: 3.889 MB / 4.272 GB, free: 54.52 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00101/11.27, allocations: 383.5 kB / 4.272 GB, free: 54.5 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004339/11.27, allocations: 0.502 MB / 4.273 GB, free: 53.94 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.056e-05/11.27, allocations: 44.44 kB / 4.273 GB, free: 53.89 MB / 442.7 MB Notification: Performance of pre-optimization done (n=40): time 4.138e-06/11.27, allocations: 1.969 kB / 4.273 GB, free: 53.89 MB / 442.7 MB Notification: Performance of matching and sorting (n=45): time 0.004287/11.28, allocations: 1.481 MB / 4.274 GB, free: 53.5 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.495e-05/11.28, allocations: 133.1 kB / 4.274 GB, free: 53.34 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008402/11.28, allocations: 0.4886 MB / 4.275 GB, free: 53.21 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 7.624e-05/11.28, allocations: 37.23 kB / 4.275 GB, free: 53.18 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000212/11.28, allocations: 403.2 kB / 4.275 GB, free: 52.92 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001456/11.28, allocations: 158.9 kB / 4.275 GB, free: 52.82 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.666e-05/11.28, allocations: 13.59 kB / 4.275 GB, free: 52.82 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.22e-05/11.28, allocations: 342.8 kB / 4.276 GB, free: 52.5 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005061/11.28, allocations: 227.3 kB / 4.276 GB, free: 52.5 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006391/11.28, allocations: 0.5304 MB / 4.276 GB, free: 52.11 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006821/11.28, allocations: 318 kB / 4.277 GB, free: 52.11 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.566e-06/11.28, allocations: 3.25 kB / 4.277 GB, free: 52.11 MB / 442.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002421/11.28, allocations: 0.9327 MB / 4.278 GB, free: 52.04 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.793e-05/11.28, allocations: 8 kB / 4.278 GB, free: 52.04 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.027e-05/11.28, allocations: 16.69 kB / 4.278 GB, free: 52.04 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001344/11.28, allocations: 262.1 kB / 4.278 GB, free: 52.02 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005763/11.29, allocations: 137.5 kB / 4.278 GB, free: 52.02 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001073/11.29, allocations: 0.8498 MB / 4.279 GB, free: 51.5 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009603/11.29, allocations: 46.55 kB / 4.279 GB, free: 51.5 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.623e-05/11.29, allocations: 39.5 kB / 4.279 GB, free: 51.5 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * 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 (77): * Single equations (assignments): 76 * 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 14} Notification: Performance of prepare postOptimizeDAE: time 0.0004753/11.29, allocations: 251.5 kB / 4.279 GB, free: 51.38 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001548/11.29, allocations: 68.64 kB / 4.279 GB, free: 51.34 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001727/11.29, allocations: 0.6901 MB / 4.28 GB, free: 51.25 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.328e-05/11.29, allocations: 6.781 kB / 4.28 GB, free: 51.25 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.653e-06/11.29, allocations: 0 / 4.28 GB, free: 51.25 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.353e-06/11.29, allocations: 0 / 4.28 GB, free: 51.25 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002957/11.29, allocations: 1.38 MB / 4.281 GB, free: 50.86 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.356e-06/11.29, allocations: 5.969 kB / 4.281 GB, free: 50.86 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001336/11.29, allocations: 191.7 kB / 4.282 GB, free: 50.86 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000408/11.29, allocations: 59.45 kB / 4.282 GB, free: 50.86 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.687e-05/11.29, allocations: 19.14 kB / 4.282 GB, free: 50.86 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002456/11.3, allocations: 2.809 MB / 4.284 GB, free: 48.29 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.814e-06/11.3, allocations: 0 / 4.284 GB, free: 48.29 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002084/11.3, allocations: 1.049 MB / 4.285 GB, free: 47.93 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004477/11.3, allocations: 194.8 kB / 4.286 GB, free: 47.8 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001392/11.3, allocations: 17.88 kB / 4.286 GB, free: 47.8 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005894/11.3, allocations: 33.56 kB / 4.286 GB, free: 47.8 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001098/11.3, allocations: 35.56 kB / 4.286 GB, free: 47.8 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.07e-05/11.3, allocations: 22.5 kB / 4.286 GB, free: 47.8 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0005761/11.3, allocations: 382.1 kB / 4.286 GB, free: 47.71 MB / 442.7 MB Notification: Performance of sort global known variables: time 8.16e-07/11.3, allocations: 0.8438 kB / 4.286 GB, free: 47.71 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001327/11.3, allocations: 243.6 kB / 4.286 GB, free: 47.7 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (47): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007373/11.3, allocations: 399.7 kB / 4.287 GB, free: 47.59 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001447/11.31, allocations: 0.5936 MB / 4.287 GB, free: 47.57 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.239e-06/11.31, allocations: 0 / 4.287 GB, free: 47.57 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001246/11.31, allocations: 457.9 kB / 4.288 GB, free: 47.46 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001743/11.31, allocations: 304.5 kB / 4.288 GB, free: 47.45 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002714/11.31, allocations: 1.694 MB / 4.29 GB, free: 46.71 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004719/11.31, allocations: 0.9513 MB / 4.291 GB, free: 46.01 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002762/11.31, allocations: 65.33 kB / 4.291 GB, free: 46 MB / 442.7 MB Notification: Performance of SimCode: time 1.694e-06/11.31, allocations: 0 / 4.291 GB, free: 46 MB / 442.7 MB Notification: Performance of Templates: time 0.02401/11.34, allocations: 15.56 MB / 4.306 GB, free: 45.66 MB / 442.7 MB