Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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 3.005/3.005, allocations: 234.9 MB / 251.1 MB, free: 9.684 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006853/0.0006855, allocations: 8 kB / 314.9 MB, free: 9.73 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3936/0.3943, allocations: 54.86 MB / 369.8 MB, free: 12.81 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.267/9.662, allocations: 2.952 GB / 3.313 GB, free: 124.3 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003657/9.662, allocations: 100.7 kB / 3.313 GB, free: 124.3 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.382/15.04, allocations: 1.136 GB / 4.449 GB, free: 68.73 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.973e-06/15.04, allocations: 3.969 kB / 4.449 GB, free: 68.73 MB / 490.7 MB Notification: Performance of Transformations before backend: time 7.901e-05/15.04, allocations: 21.22 kB / 4.449 GB, free: 68.73 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.007571/15.05, allocations: 1.647 MB / 4.451 GB, free: 67.89 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.041e-05/15.05, allocations: 11.38 kB / 4.451 GB, free: 67.89 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006388/15.05, allocations: 85.73 kB / 4.451 GB, free: 67.86 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001692/15.05, allocations: 0.554 MB / 4.452 GB, free: 67.59 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001284/15.05, allocations: 100.4 kB / 4.452 GB, free: 67.53 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001432/15.06, allocations: 51.59 kB / 4.452 GB, free: 67.53 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001939/15.06, allocations: 0.8129 MB / 4.452 GB, free: 67.3 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.313e-05/15.06, allocations: 7 kB / 4.452 GB, free: 67.3 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001115/15.06, allocations: 26.19 kB / 4.452 GB, free: 67.3 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.349e-05/15.06, allocations: 41.31 kB / 4.453 GB, free: 67.29 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001702/15.06, allocations: 0.6299 MB / 4.453 GB, free: 67.29 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006732/15.07, allocations: 3.905 MB / 4.457 GB, free: 64.86 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001237/15.07, allocations: 393 kB / 4.457 GB, free: 64.83 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000545/15.07, allocations: 0.4953 MB / 4.458 GB, free: 64.27 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.38e-05/15.07, allocations: 42.83 kB / 4.458 GB, free: 64.23 MB / 490.7 MB Notification: Performance of pre-optimization done (n=40): time 3.066e-06/15.07, allocations: 0 / 4.458 GB, free: 64.23 MB / 490.7 MB Notification: Performance of matching and sorting (n=45): time 0.005545/15.07, allocations: 1.487 MB / 4.459 GB, free: 63.82 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.003e-05/15.07, allocations: 131.5 kB / 4.459 GB, free: 63.67 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001312/15.07, allocations: 0.557 MB / 4.46 GB, free: 63.54 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001741/15.08, allocations: 33.05 kB / 4.46 GB, free: 63.5 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003345/15.08, allocations: 402.2 kB / 4.46 GB, free: 63.23 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002772/15.08, allocations: 164.1 kB / 4.461 GB, free: 63.14 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.587e-05/15.08, allocations: 13.81 kB / 4.461 GB, free: 63.14 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001165/15.08, allocations: 342.7 kB / 4.461 GB, free: 62.82 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008151/15.08, allocations: 217 kB / 4.461 GB, free: 62.82 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001005/15.08, allocations: 0.5351 MB / 4.462 GB, free: 62.43 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001002/15.08, allocations: 322.6 kB / 4.462 GB, free: 62.42 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.287e-06/15.08, allocations: 3.406 kB / 4.462 GB, free: 62.42 MB / 490.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.003999/15.08, allocations: 0.9367 MB / 4.463 GB, free: 62.35 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.797e-05/15.08, allocations: 10.44 kB / 4.463 GB, free: 62.35 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.374e-05/15.08, allocations: 9.969 kB / 4.463 GB, free: 62.35 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002554/15.09, allocations: 257 kB / 4.463 GB, free: 62.34 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001242/15.09, allocations: 134.5 kB / 4.463 GB, free: 62.34 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001791/15.09, allocations: 0.8503 MB / 4.464 GB, free: 61.81 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001511/15.09, allocations: 45.39 kB / 4.464 GB, free: 61.81 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001302/15.09, allocations: 42.56 kB / 4.464 GB, free: 61.81 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.0007004/15.09, allocations: 256.7 kB / 4.464 GB, free: 61.68 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002233/15.09, allocations: 65.09 kB / 4.464 GB, free: 61.65 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002646/15.09, allocations: 0.6903 MB / 4.465 GB, free: 61.57 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.726e-05/15.09, allocations: 7.375 kB / 4.465 GB, free: 61.57 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.343e-05/15.09, allocations: 7.234 kB / 4.465 GB, free: 61.56 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.219e-05/15.09, allocations: 6.375 kB / 4.465 GB, free: 61.56 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00439/15.1, allocations: 1.365 MB / 4.466 GB, free: 61.19 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.097e-05/15.1, allocations: 1.25 kB / 4.466 GB, free: 61.19 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002529/15.1, allocations: 194.8 kB / 4.467 GB, free: 61.18 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006467/15.1, allocations: 64.77 kB / 4.467 GB, free: 61.18 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.981e-05/15.1, allocations: 11.38 kB / 4.467 GB, free: 61.18 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003541/15.11, allocations: 2.802 MB / 4.469 GB, free: 58.59 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.174e-06/15.11, allocations: 7.609 kB / 4.469 GB, free: 58.59 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003101/15.11, allocations: 0.9664 MB / 4.47 GB, free: 58.34 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006097/15.11, allocations: 202.5 kB / 4.471 GB, free: 58.21 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002124/15.11, allocations: 17.61 kB / 4.471 GB, free: 58.21 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009885/15.11, allocations: 23.89 kB / 4.471 GB, free: 58.21 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001662/15.11, allocations: 39.91 kB / 4.471 GB, free: 58.21 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.563e-05/15.11, allocations: 22.66 kB / 4.471 GB, free: 58.21 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0008915/15.11, allocations: 381.2 kB / 4.471 GB, free: 58.12 MB / 490.7 MB Notification: Performance of sort global known variables: time 6.11e-07/15.11, allocations: 0 / 4.471 GB, free: 58.12 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002115/15.11, allocations: 243.5 kB / 4.471 GB, free: 58.11 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.001159/15.12, allocations: 392.6 kB / 4.472 GB, free: 58 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.002494/15.12, allocations: 0.606 MB / 4.472 GB, free: 57.95 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.157e-05/15.12, allocations: 4 kB / 4.472 GB, free: 57.94 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002419/15.12, allocations: 462.8 kB / 4.473 GB, free: 57.82 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003449/15.12, allocations: 312.3 kB / 4.473 GB, free: 57.8 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004592/15.13, allocations: 1.686 MB / 4.475 GB, free: 57.06 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006742/15.13, allocations: 0.9483 MB / 4.476 GB, free: 56.36 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004399/15.13, allocations: 69.02 kB / 4.476 GB, free: 56.36 MB / 490.7 MB Notification: Performance of SimCode: time 1.122e-06/15.13, allocations: 0 / 4.476 GB, free: 56.36 MB / 490.7 MB Notification: Performance of Templates: time 0.03836/15.17, allocations: 15.54 MB / 4.491 GB, free: 55.93 MB / 490.7 MB