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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/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.099/2.099, allocations: 234.9 MB / 250.5 MB, free: 9.531 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004311/0.0004312, allocations: 8 kB / 314.4 MB, free: 9.531 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2803/0.2807, allocations: 54.86 MB / 369.3 MB, free: 10.7 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.789/7.069, allocations: 2.952 GB / 3.313 GB, free: 20.27 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002767/7.07, allocations: 101.3 kB / 3.313 GB, free: 20.18 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.197/11.27, allocations: 1.136 GB / 4.449 GB, free: 8.984 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.987e-06/11.27, allocations: 4 kB / 4.449 GB, free: 8.98 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.923e-05/11.27, allocations: 16.19 kB / 4.449 GB, free: 8.965 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.005887/11.27, allocations: 1.656 MB / 4.45 GB, free: 7.258 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.898e-05/11.27, allocations: 8.031 kB / 4.45 GB, free: 7.25 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004696/11.27, allocations: 87.16 kB / 4.45 GB, free: 7.164 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001145/11.27, allocations: 0.5482 MB / 4.451 GB, free: 6.574 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001009/11.27, allocations: 96.92 kB / 4.451 GB, free: 6.469 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001114/11.27, allocations: 47.95 kB / 4.451 GB, free: 6.422 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001497/11.28, allocations: 0.8157 MB / 4.452 GB, free: 5.527 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.762e-05/11.28, allocations: 8 kB / 4.452 GB, free: 5.52 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.533e-05/11.28, allocations: 20 kB / 4.452 GB, free: 5.5 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.158e-05/11.28, allocations: 40.92 kB / 4.452 GB, free: 5.461 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001302/11.28, allocations: 0.6283 MB / 4.453 GB, free: 4.832 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004993/11.28, allocations: 3.918 MB / 4.456 GB, free: 0.6953 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009274/11.28, allocations: 385.5 kB / 4.457 GB, free: 320 kB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2949/11.58, allocations: 0.4906 MB / 4.457 GB, free: 73.58 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.85e-05/11.58, allocations: 39.23 kB / 4.457 GB, free: 73.54 MB / 490.7 MB Notification: Performance of pre-optimization done (n=40): time 4.227e-06/11.58, allocations: 3.844 kB / 4.457 GB, free: 73.54 MB / 490.7 MB Notification: Performance of matching and sorting (n=45): time 0.004582/11.58, allocations: 1.484 MB / 4.459 GB, free: 73.21 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.558e-05/11.58, allocations: 138.3 kB / 4.459 GB, free: 73.05 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008768/11.58, allocations: 496.8 kB / 4.459 GB, free: 72.94 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 5.605e-05/11.58, allocations: 31.83 kB / 4.459 GB, free: 72.91 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002255/11.58, allocations: 401.6 kB / 4.46 GB, free: 72.66 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001476/11.58, allocations: 164.3 kB / 4.46 GB, free: 72.59 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.542e-05/11.58, allocations: 13.75 kB / 4.46 GB, free: 72.59 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 8.456e-05/11.58, allocations: 345.5 kB / 4.46 GB, free: 72.27 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005007/11.59, allocations: 215.6 kB / 4.461 GB, free: 72.27 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006519/11.59, allocations: 0.5376 MB / 4.461 GB, free: 71.88 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006639/11.59, allocations: 318.1 kB / 4.461 GB, free: 71.88 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.454e-06/11.59, allocations: 3.562 kB / 4.461 GB, free: 71.88 MB / 490.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002456/11.59, allocations: 0.9357 MB / 4.462 GB, free: 71.8 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.711e-05/11.59, allocations: 10.03 kB / 4.462 GB, free: 71.8 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.046e-05/11.59, allocations: 10.28 kB / 4.462 GB, free: 71.8 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001419/11.59, allocations: 259.5 kB / 4.463 GB, free: 71.79 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005678/11.59, allocations: 138.1 kB / 4.463 GB, free: 71.79 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00113/11.59, allocations: 0.8382 MB / 4.463 GB, free: 71.27 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008076/11.59, allocations: 55.02 kB / 4.464 GB, free: 71.27 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.012e-05/11.59, allocations: 37.2 kB / 4.464 GB, free: 71.27 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 () * 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.0004529/11.59, allocations: 252.1 kB / 4.464 GB, free: 71.16 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001432/11.59, allocations: 66.78 kB / 4.464 GB, free: 71.12 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001646/11.6, allocations: 0.6989 MB / 4.465 GB, free: 71.04 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-05/11.6, allocations: 10.77 kB / 4.465 GB, free: 71.04 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.411e-06/11.6, allocations: 0 / 4.465 GB, free: 71.04 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.363e-06/11.6, allocations: 1.75 kB / 4.465 GB, free: 71.04 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002654/11.6, allocations: 1.368 MB / 4.466 GB, free: 70.67 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.875e-06/11.6, allocations: 0 / 4.466 GB, free: 70.67 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001319/11.6, allocations: 191.3 kB / 4.466 GB, free: 70.67 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000383/11.6, allocations: 61.75 kB / 4.466 GB, free: 70.66 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.151e-05/11.6, allocations: 18.31 kB / 4.466 GB, free: 70.66 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002183/11.6, allocations: 2.801 MB / 4.469 GB, free: 68.09 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.866e-06/11.6, allocations: 0 / 4.469 GB, free: 68.09 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001921/11.6, allocations: 1.059 MB / 4.47 GB, free: 67.73 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003385/11.6, allocations: 197.9 kB / 4.47 GB, free: 67.6 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001243/11.6, allocations: 20.84 kB / 4.47 GB, free: 67.6 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005309/11.61, allocations: 26.42 kB / 4.47 GB, free: 67.6 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001031/11.61, allocations: 41.41 kB / 4.47 GB, free: 67.6 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.905e-05/11.61, allocations: 25 kB / 4.47 GB, free: 67.6 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0005473/11.61, allocations: 380.9 kB / 4.471 GB, free: 67.51 MB / 490.7 MB Notification: Performance of sort global known variables: time 7.81e-07/11.61, allocations: 0 / 4.471 GB, free: 67.51 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001248/11.61, allocations: 241.8 kB / 4.471 GB, free: 67.51 MB / 490.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.0007741/11.61, allocations: 397.9 kB / 4.471 GB, free: 67.4 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0014/11.61, allocations: 0.609 MB / 4.472 GB, free: 67.38 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.209e-06/11.61, allocations: 0 / 4.472 GB, free: 67.38 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001208/11.61, allocations: 451.9 kB / 4.472 GB, free: 67.27 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001671/11.61, allocations: 300.1 kB / 4.472 GB, free: 67.27 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002612/11.61, allocations: 1.685 MB / 4.474 GB, free: 66.54 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001192/11.62, allocations: 0.9451 MB / 4.475 GB, free: 81.84 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000242/11.62, allocations: 64.88 kB / 4.475 GB, free: 81.83 MB / 0.4948 GB Notification: Performance of SimCode: time 1.743e-06/11.62, allocations: 2.625 kB / 4.475 GB, free: 81.83 MB / 0.4948 GB Notification: Performance of Templates: time 0.02238/11.64, allocations: 15.56 MB / 4.49 GB, free: 81.51 MB / 0.4948 GB