Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.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.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eta.1.|eta.2.|eta.3.|rho.1.|rho.2.|rho.3.|input_mdot.1.|input_mdot.2.|input_mdot.3.|input_dp.1.|input_dp.2.|input_dp.3.|M_FLOW.1.|M_FLOW.2.|M_FLOW.3.|DP.1.|DP.2.|DP.3.|DP_plot.1.|DP_plot.2.|DP_plot.3.|input_DP.y",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW") Notification: Performance of loadModel(ModelicaTest): time 2.235/2.235, allocations: 235.1 MB / 243 MB, free: 9.496 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 1.637e-05/1.646e-05, allocations: 4 kB / 303.2 MB, free: 13.18 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.274/0.274, allocations: 54.86 MB / 358.1 MB, free: 14.94 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1293/0.4034, allocations: 85.26 MB / 443.3 MB, free: 9.559 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003019/0.4037, allocations: 87.94 kB / 443.4 MB, free: 9.473 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02463/0.4284, allocations: 5.857 MB / 449.3 MB, free: 3.508 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.693e-06/0.4284, allocations: 0 / 449.3 MB, free: 3.508 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.461e-05/0.4285, allocations: 4 kB / 449.3 MB, free: 3.504 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 70 * Number of variables: 70 Notification: Performance of Generate backend data structure: time 0.0009491/0.4294, allocations: 492.4 kB / 449.7 MB, free: 2.98 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.508e-05/0.4295, allocations: 8.031 kB / 449.7 MB, free: 2.973 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00235/0.4319, allocations: 203.3 kB / 449.9 MB, free: 2.773 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004425/0.4323, allocations: 266.7 kB / 450.2 MB, free: 2.473 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.843e-05/0.4324, allocations: 19.98 kB / 450.2 MB, free: 2.453 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.224e-05/0.4325, allocations: 19.94 kB / 450.2 MB, free: 2.434 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001099/0.4336, allocations: 0.493 MB / 450.7 MB, free: 1.938 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008967/0.4345, allocations: 411.5 kB / 451.1 MB, free: 1.531 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.315e-05/0.4345, allocations: 0 / 451.1 MB, free: 1.531 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.795e-05/0.4346, allocations: 3.953 kB / 451.1 MB, free: 1.527 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.808e-05/0.4346, allocations: 20.55 kB / 451.2 MB, free: 1.508 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002651/0.4373, allocations: 1.08 MB / 452.2 MB, free: 360 kB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003519/0.4377, allocations: 106.5 kB / 452.4 MB, free: 244 kB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001651/0.4379, allocations: 52.83 kB / 452.4 MB, free: 188 kB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.488e-05/0.4379, allocations: 0 / 452.4 MB, free: 188 kB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.986e-05/0.4379, allocations: 34.55 kB / 452.4 MB, free: 144 kB / 378.7 MB Notification: Performance of pre-optimization done (n=7): time 2.33e-06/0.438, allocations: 0 / 452.4 MB, free: 144 kB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.0005618/0.4385, allocations: 145.6 kB / 452.6 MB, free: 15.99 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.591e-05/0.4386, allocations: 51.41 kB / 452.6 MB, free: 15.93 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001507/0.4388, allocations: 138.6 kB / 452.8 MB, free: 15.79 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.48e-05/0.4388, allocations: 25.7 kB / 452.8 MB, free: 15.76 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001663/0.439, allocations: 242.2 kB / 453 MB, free: 15.52 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.712e-05/0.439, allocations: 31.55 kB / 453.1 MB, free: 15.49 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.156e-05/0.4391, allocations: 0 / 453.1 MB, free: 15.49 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001601/0.4392, allocations: 310.8 kB / 453.4 MB, free: 15.18 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001709/0.4394, allocations: 51.97 kB / 453.4 MB, free: 15.12 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001983/0.4396, allocations: 79.41 kB / 453.5 MB, free: 15.04 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001847/0.4398, allocations: 59.95 kB / 453.5 MB, free: 14.98 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.301e-06/0.4399, allocations: 3.938 kB / 453.6 MB, free: 14.97 MB / 394.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005206/0.4404, allocations: 169.4 kB / 453.7 MB, free: 14.8 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.755e-05/0.4404, allocations: 8 kB / 453.7 MB, free: 14.79 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.504e-06/0.4404, allocations: 0 / 453.7 MB, free: 14.79 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.909e-05/0.4405, allocations: 8.094 kB / 453.7 MB, free: 14.79 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006528/0.447, allocations: 439.3 kB / 454.2 MB, free: 14.36 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003653/0.4507, allocations: 1.926 MB / 456.1 MB, free: 12.36 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004984/0.4512, allocations: 27.94 kB / 456.1 MB, free: 12.33 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.043e-05/0.4513, allocations: 7.984 kB / 456.1 MB, free: 12.32 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001504/0.4515, allocations: 115.8 kB / 456.2 MB, free: 12.21 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.482e-05/0.4516, allocations: 7.906 kB / 456.2 MB, free: 12.2 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.999e-05/0.4516, allocations: 8.625 kB / 456.3 MB, free: 12.19 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.918e-06/0.4516, allocations: 7.984 kB / 456.3 MB, free: 12.18 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.616e-06/0.4516, allocations: 3.953 kB / 456.3 MB, free: 12.18 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.437e-06/0.4517, allocations: 0 / 456.3 MB, free: 12.18 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004632/0.4521, allocations: 250 kB / 456.5 MB, free: 11.89 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.485e-06/0.4521, allocations: 0 / 456.5 MB, free: 11.89 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006403/0.4586, allocations: 442.8 kB / 456.9 MB, free: 11.46 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.781e-06/0.4586, allocations: 0 / 456.9 MB, free: 11.46 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.011e-05/0.4587, allocations: 8 kB / 456.9 MB, free: 11.46 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003558/0.4622, allocations: 1.918 MB / 458.9 MB, free: 9.469 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.415e-06/0.4623, allocations: 0 / 458.9 MB, free: 9.469 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005317/0.4628, allocations: 247.3 kB / 459.1 MB, free: 9.211 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.186e-05/0.4629, allocations: 84.95 kB / 459.2 MB, free: 9.109 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.931e-05/0.463, allocations: 4 kB / 459.2 MB, free: 9.105 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000455/0.4634, allocations: 20.06 kB / 459.2 MB, free: 9.086 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.737e-05/0.4635, allocations: 7.984 kB / 459.2 MB, free: 9.078 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.168e-05/0.4636, allocations: 7.984 kB / 459.2 MB, free: 9.07 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001054/0.4637, allocations: 107.2 kB / 459.3 MB, free: 8.965 MB / 394.7 MB Notification: Performance of sort global known variables: time 7.83e-07/0.4637, allocations: 0 / 459.3 MB, free: 8.965 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005318/0.4642, allocations: 83.59 kB / 459.4 MB, free: 8.883 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002709/0.4645, allocations: 139.5 kB / 459.6 MB, free: 8.734 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.00607/0.4706, allocations: 459.3 kB / 460 MB, free: 8.285 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.044e-06/0.4707, allocations: 0 / 460 MB, free: 8.285 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005796/0.4765, allocations: 399.5 kB / 460.4 MB, free: 7.895 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000301/0.4768, allocations: 7.984 kB / 460.4 MB, free: 7.887 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007948/0.4776, allocations: 300 kB / 460.7 MB, free: 7.566 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005131/0.4782, allocations: 0.7782 MB / 461.5 MB, free: 6.762 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001107/0.4783, allocations: 19.42 kB / 461.5 MB, free: 6.746 MB / 394.7 MB Notification: Performance of SimCode: time 1.809e-06/0.4783, allocations: 0 / 461.5 MB, free: 6.746 MB / 394.7 MB Notification: Performance of Templates: time 0.01074/0.489, allocations: 5.986 MB / 467.5 MB, free: 0.7617 MB / 394.7 MB