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.002/2.002, allocations: 209.3 MB / 222.4 MB, free: 7.734 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.884e-05/2.896e-05, allocations: 8 kB / 277.8 MB, free: 15.3 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09012/0.09017, allocations: 48.7 MB / 326.5 MB, free: 14.51 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.098/7.188, allocations: 2.841 GB / 3.16 GB, free: 30.75 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002637/7.189, allocations: 86.08 kB / 3.16 GB, free: 30.7 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.468/11.66, allocations: 1.099 GB / 4.259 GB, free: 64.75 MB / 442.7 MB Notification: Performance of FrontEnd: time 4.392e-06/11.66, allocations: 7.25 kB / 4.259 GB, free: 64.75 MB / 442.7 MB Notification: Performance of Transformations before backend: time 6.985e-05/11.66, allocations: 21.81 kB / 4.259 GB, free: 64.74 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.005746/11.66, allocations: 1.561 MB / 4.26 GB, free: 63.87 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.164e-05/11.66, allocations: 11.72 kB / 4.26 GB, free: 63.87 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005007/11.66, allocations: 96.31 kB / 4.26 GB, free: 63.82 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001186/11.66, allocations: 0.5481 MB / 4.261 GB, free: 63.57 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001015/11.66, allocations: 97.8 kB / 4.261 GB, free: 63.5 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001176/11.66, allocations: 50.61 kB / 4.261 GB, free: 63.5 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001506/11.67, allocations: 0.7947 MB / 4.262 GB, free: 63.28 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.816e-05/11.67, allocations: 10.78 kB / 4.262 GB, free: 63.27 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000101/11.67, allocations: 26.98 kB / 4.262 GB, free: 63.27 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.93e-05/11.67, allocations: 38.19 kB / 4.262 GB, free: 63.27 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001229/11.67, allocations: 0.6201 MB / 4.262 GB, free: 63.27 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005504/11.67, allocations: 3.899 MB / 4.266 GB, free: 60.83 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009352/11.67, allocations: 386.8 kB / 4.267 GB, free: 60.8 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004004/11.67, allocations: 198.2 kB / 4.267 GB, free: 60.8 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004257/11.68, allocations: 0.5045 MB / 4.267 GB, free: 60.23 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.442e-05/11.68, allocations: 37.73 kB / 4.267 GB, free: 60.2 MB / 442.7 MB Notification: Performance of pre-optimization done (n=40): time 4.444e-06/11.68, allocations: 0 / 4.267 GB, free: 60.2 MB / 442.7 MB Notification: Performance of matching and sorting (n=45): time 0.003378/11.68, allocations: 1.31 MB / 4.269 GB, free: 59.8 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.343e-05/11.68, allocations: 139.2 kB / 4.269 GB, free: 59.64 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007195/11.68, allocations: 496.5 kB / 4.269 GB, free: 59.51 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 6.088e-05/11.68, allocations: 36.92 kB / 4.269 GB, free: 59.48 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002034/11.68, allocations: 397.7 kB / 4.27 GB, free: 59.22 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001313/11.68, allocations: 165.9 kB / 4.27 GB, free: 59.12 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.672e-05/11.68, allocations: 10.88 kB / 4.27 GB, free: 59.12 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.951e-05/11.68, allocations: 339.7 kB / 4.27 GB, free: 58.8 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004705/11.68, allocations: 211.6 kB / 4.27 GB, free: 58.8 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006002/11.68, allocations: 0.5338 MB / 4.271 GB, free: 58.41 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005984/11.68, allocations: 320 kB / 4.271 GB, free: 58.4 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.675e-06/11.68, allocations: 5.719 kB / 4.271 GB, free: 58.4 MB / 442.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002282/11.68, allocations: 0.9087 MB / 4.272 GB, free: 58.29 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.657e-05/11.68, allocations: 11.41 kB / 4.272 GB, free: 58.29 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.603e-05/11.68, allocations: 10.19 kB / 4.272 GB, free: 58.29 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001264/11.69, allocations: 256.1 kB / 4.272 GB, free: 58.28 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005922/11.69, allocations: 131.9 kB / 4.272 GB, free: 58.27 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009668/11.69, allocations: 0.8586 MB / 4.273 GB, free: 57.73 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009005/11.69, allocations: 46.72 kB / 4.273 GB, free: 57.73 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.401e-05/11.69, allocations: 37.41 kB / 4.273 GB, free: 57.73 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 () * 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.0002037/11.69, allocations: 157.5 kB / 4.274 GB, free: 57.6 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001473/11.69, allocations: 72.83 kB / 4.274 GB, free: 57.57 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001721/11.69, allocations: 0.6853 MB / 4.274 GB, free: 57.47 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.495e-05/11.69, allocations: 7.719 kB / 4.274 GB, free: 57.47 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.927e-06/11.69, allocations: 0 / 4.274 GB, free: 57.47 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.224e-06/11.69, allocations: 0 / 4.274 GB, free: 57.47 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002736/11.69, allocations: 1.363 MB / 4.276 GB, free: 56.75 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.119e-06/11.69, allocations: 5.953 kB / 4.276 GB, free: 56.75 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001382/11.69, allocations: 196 kB / 4.276 GB, free: 56.74 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003276/11.69, allocations: 60.91 kB / 4.276 GB, free: 56.72 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.909e-05/11.69, allocations: 14.97 kB / 4.276 GB, free: 56.71 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002242/11.7, allocations: 2.78 MB / 4.279 GB, free: 53.96 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.241e-06/11.7, allocations: 3.25 kB / 4.279 GB, free: 53.96 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001956/11.7, allocations: 1.034 MB / 4.28 GB, free: 53.34 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004579/11.7, allocations: 193.3 kB / 4.28 GB, free: 53.18 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001386/11.7, allocations: 11.94 kB / 4.28 GB, free: 53.18 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006644/11.7, allocations: 37.31 kB / 4.28 GB, free: 53.16 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000117/11.7, allocations: 42.16 kB / 4.28 GB, free: 53.15 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.16e-05/11.7, allocations: 19.12 kB / 4.28 GB, free: 53.15 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0005868/11.7, allocations: 374.8 kB / 4.28 GB, free: 52.98 MB / 442.7 MB Notification: Performance of sort global known variables: time 8.37e-07/11.7, allocations: 0 / 4.28 GB, free: 52.98 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001469/11.7, allocations: 245.8 kB / 4.28 GB, free: 52.94 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 () * 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.0007825/11.7, allocations: 391.2 kB / 4.281 GB, free: 52.8 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001475/11.71, allocations: 0.5895 MB / 4.281 GB, free: 52.61 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.747e-06/11.71, allocations: 0 / 4.281 GB, free: 52.61 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001237/11.71, allocations: 452.7 kB / 4.282 GB, free: 52.4 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001978/11.71, allocations: 305.5 kB / 4.282 GB, free: 52.34 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002293/11.71, allocations: 1.048 MB / 4.283 GB, free: 51.85 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004701/11.71, allocations: 0.958 MB / 4.284 GB, free: 51.13 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002788/11.71, allocations: 62.28 kB / 4.284 GB, free: 51.12 MB / 442.7 MB Notification: Performance of SimCode: time 1.723e-06/11.71, allocations: 0 / 4.284 GB, free: 51.12 MB / 442.7 MB Notification: Performance of Templates: time 0.02391/11.74, allocations: 15.54 MB / 4.299 GB, free: 50.28 MB / 442.7 MB