Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/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.2_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT") Notification: Performance of loadModel(ModelicaTest): time 2.243/2.243, allocations: 235.1 MB / 243 MB, free: 9.492 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 1.946e-05/1.965e-05, allocations: 0 / 303.2 MB, free: 13.2 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2839/0.2839, allocations: 54.86 MB / 358 MB, free: 14.92 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.913/7.197, allocations: 2.951 GB / 3.301 GB, free: 31.57 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002355/7.198, allocations: 92.61 kB / 3.301 GB, free: 31.48 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.257/11.45, allocations: 1.123 GB / 4.424 GB, free: 8.531 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.008e-06/11.45, allocations: 0 / 4.424 GB, free: 8.531 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.144e-05/11.45, allocations: 19.91 kB / 4.424 GB, free: 8.516 MB / 490.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.005286/11.46, allocations: 1.562 MB / 4.425 GB, free: 6.918 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.194e-05/11.46, allocations: 12.02 kB / 4.425 GB, free: 6.906 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004734/11.46, allocations: 91.05 kB / 4.425 GB, free: 6.816 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001184/11.46, allocations: 0.5538 MB / 4.426 GB, free: 6.234 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.558e-05/11.46, allocations: 81.23 kB / 4.426 GB, free: 6.141 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001003/11.46, allocations: 31.95 kB / 4.426 GB, free: 6.109 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001155/11.46, allocations: 0.5453 MB / 4.427 GB, free: 5.566 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001221/11.46, allocations: 0.7284 MB / 4.427 GB, free: 4.762 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.561e-05/11.46, allocations: 0 / 4.427 GB, free: 4.762 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.571e-05/11.46, allocations: 4 kB / 4.427 GB, free: 4.758 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.194e-05/11.46, allocations: 37.3 kB / 4.427 GB, free: 4.723 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004926/11.47, allocations: 3.973 MB / 4.431 GB, free: 0.5391 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006615/11.47, allocations: 298.2 kB / 4.432 GB, free: 244 kB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002868/11.47, allocations: 157.4 kB / 4.432 GB, free: 84 kB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2932/11.76, allocations: 349.7 kB / 4.432 GB, free: 76.29 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.358e-05/11.76, allocations: 38.89 kB / 4.432 GB, free: 76.25 MB / 490.7 MB Notification: Performance of pre-optimization done (n=34): time 3.821e-06/11.76, allocations: 0 / 4.432 GB, free: 76.25 MB / 490.7 MB Notification: Performance of matching and sorting (n=39): time 0.004712/11.77, allocations: 1.264 MB / 4.433 GB, free: 75.91 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.139e-05/11.77, allocations: 138.3 kB / 4.433 GB, free: 75.76 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008013/11.77, allocations: 455.5 kB / 4.434 GB, free: 75.64 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 4.941e-05/11.77, allocations: 26.33 kB / 4.434 GB, free: 75.61 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002605/11.77, allocations: 426 kB / 4.434 GB, free: 75.36 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001484/11.77, allocations: 140.5 kB / 4.434 GB, free: 75.29 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.125e-05/11.77, allocations: 0 / 4.434 GB, free: 75.29 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.013e-05/11.77, allocations: 340.2 kB / 4.435 GB, free: 74.97 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004748/11.77, allocations: 200.9 kB / 4.435 GB, free: 74.97 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006122/11.77, allocations: 0.5076 MB / 4.435 GB, free: 74.58 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001034/11.77, allocations: 341.5 kB / 4.436 GB, free: 74.58 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.078e-05/11.77, allocations: 5.266 kB / 4.436 GB, free: 74.58 MB / 490.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002684/11.78, allocations: 0.8593 MB / 4.437 GB, free: 74.51 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.787e-05/11.78, allocations: 11.53 kB / 4.437 GB, free: 74.51 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.039e-05/11.78, allocations: 10.86 kB / 4.437 GB, free: 74.51 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001003/11.78, allocations: 227.5 kB / 4.437 GB, free: 74.5 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005777/11.78, allocations: 132 kB / 4.437 GB, free: 74.5 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001163/11.78, allocations: 0.8663 MB / 4.438 GB, free: 73.98 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008908/11.78, allocations: 39.64 kB / 4.438 GB, free: 73.98 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001213/11.78, allocations: 41.33 kB / 4.438 GB, free: 73.97 MB / 490.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.000205/11.78, allocations: 133.3 kB / 4.438 GB, free: 73.87 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001441/11.78, allocations: 59.06 kB / 4.438 GB, free: 73.84 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001805/11.78, allocations: 0.5826 MB / 4.439 GB, free: 73.77 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.578e-05/11.78, allocations: 13.91 kB / 4.439 GB, free: 73.76 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.199e-06/11.78, allocations: 0 / 4.439 GB, free: 73.76 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.189e-05/11.78, allocations: 3.344 kB / 4.439 GB, free: 73.76 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003083/11.78, allocations: 1.473 MB / 4.44 GB, free: 73.15 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.231e-06/11.78, allocations: 3.094 kB / 4.44 GB, free: 73.15 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001298/11.79, allocations: 192 kB / 4.44 GB, free: 73.15 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003141/11.79, allocations: 50.16 kB / 4.44 GB, free: 73.14 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.648e-05/11.79, allocations: 7.797 kB / 4.44 GB, free: 73.14 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002066/11.79, allocations: 2.685 MB / 4.443 GB, free: 70.69 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.313e-06/11.79, allocations: 2.5 kB / 4.443 GB, free: 70.69 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001876/11.79, allocations: 0.9555 MB / 4.444 GB, free: 70.36 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003419/11.79, allocations: 197.8 kB / 4.444 GB, free: 70.23 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001071/11.79, allocations: 3.844 kB / 4.444 GB, free: 70.23 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005357/11.79, allocations: 19.47 kB / 4.444 GB, free: 70.23 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.868e-05/11.79, allocations: 37.7 kB / 4.444 GB, free: 70.22 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.546e-05/11.79, allocations: 19.69 kB / 4.444 GB, free: 70.22 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0004823/11.79, allocations: 330.3 kB / 4.444 GB, free: 70.14 MB / 490.7 MB Notification: Performance of sort global known variables: time 8.27e-07/11.79, allocations: 0 / 4.444 GB, free: 70.14 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001294/11.79, allocations: 215.9 kB / 4.445 GB, free: 70.14 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (43): * Single equations (assignments): 39 * 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.0007467/11.79, allocations: 424.8 kB / 4.445 GB, free: 70.04 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001249/11.8, allocations: 0.5264 MB / 4.446 GB, free: 70.03 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.734e-06/11.8, allocations: 0 / 4.446 GB, free: 70.03 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001119/11.8, allocations: 416.2 kB / 4.446 GB, free: 69.93 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001517/11.8, allocations: 253.7 kB / 4.446 GB, free: 69.93 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002016/11.8, allocations: 1.004 MB / 4.447 GB, free: 69.61 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004517/11.8, allocations: 0.9465 MB / 4.448 GB, free: 68.91 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002326/11.8, allocations: 59.91 kB / 4.448 GB, free: 68.91 MB / 490.7 MB Notification: Performance of SimCode: time 1.759e-06/11.8, allocations: 0 / 4.448 GB, free: 68.91 MB / 490.7 MB Notification: Performance of Templates: time 0.02234/11.82, allocations: 15.12 MB / 4.463 GB, free: 68.6 MB / 490.7 MB