Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.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.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW,tolerance=1e-05,outputFormat="mat",numberOfIntervals=10100,variableFilter="time|zeta_TOT.1.|zeta_TOT.2.|zeta_TOT.3.|rho|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.1_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW") Notification: Performance of loadModel(ModelicaTest): time 1.897/1.897, allocations: 209.3 MB / 224.8 MB, free: 1.215 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004496/0.0004498, allocations: 12 kB / 282.5 MB, free: 9.742 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08743/0.08791, allocations: 48.71 MB / 331.2 MB, free: 8.934 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW): time 0.002183/0.09013, allocations: 1.329 MB / 332.6 MB, free: 7.594 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001473/0.09165, allocations: 0.7293 MB / 333.3 MB, free: 6.863 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.792e-05/0.09174, allocations: 0 / 333.3 MB, free: 6.863 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002049/0.09196, allocations: 31.88 kB / 333.3 MB, free: 6.832 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001593/0.09214, allocations: 47.81 kB / 333.4 MB, free: 6.785 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002971/0.09245, allocations: 63.83 kB / 333.4 MB, free: 6.723 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001911/0.09266, allocations: 107.7 kB / 333.5 MB, free: 6.617 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.993e-05/0.09273, allocations: 13.11 kB / 333.5 MB, free: 6.605 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000139/0.09288, allocations: 51.78 kB / 333.6 MB, free: 6.555 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000124/0.09302, allocations: 55.81 kB / 333.6 MB, free: 6.5 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.081e-05/0.09306, allocations: 4 kB / 333.6 MB, free: 6.496 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003549/0.09342, allocations: 155.7 kB / 333.8 MB, free: 6.344 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.854e-05/0.0935, allocations: 31.91 kB / 333.8 MB, free: 6.312 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.537e-05/0.09357, allocations: 45.64 kB / 333.9 MB, free: 6.262 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002771/0.09385, allocations: 136 kB / 334 MB, free: 6.129 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.502e-06/0.09387, allocations: 0 / 334 MB, free: 6.129 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.045e-06/0.09388, allocations: 0 / 334 MB, free: 6.129 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.079e-06/0.0939, allocations: 4 kB / 334 MB, free: 6.125 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.0006562/0.09456, allocations: 427 kB / 334.4 MB, free: 5.66 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.812e-05/0.09462, allocations: 12.03 kB / 334.4 MB, free: 5.648 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005897/0.09522, allocations: 67.69 kB / 334.5 MB, free: 5.582 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002812/0.09552, allocations: 218.6 kB / 334.7 MB, free: 5.328 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.912e-05/0.09555, allocations: 8 kB / 334.7 MB, free: 5.32 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.831e-05/0.0956, allocations: 12 kB / 334.7 MB, free: 5.309 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005893/0.0962, allocations: 245.5 kB / 335 MB, free: 5.062 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.07e-05/0.09623, allocations: 0 / 335 MB, free: 5.062 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.406e-05/0.09627, allocations: 0 / 335 MB, free: 5.062 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.449e-05/0.09632, allocations: 19.98 kB / 335 MB, free: 5.043 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006136/0.09694, allocations: 239.6 kB / 335.2 MB, free: 4.809 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001419/0.09838, allocations: 0.7362 MB / 336 MB, free: 3.98 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002886/0.09869, allocations: 90.45 kB / 336.1 MB, free: 3.883 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.121e-05/0.09873, allocations: 3.984 kB / 336.1 MB, free: 3.879 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.702e-05/0.09878, allocations: 38.55 kB / 336.1 MB, free: 3.832 MB / 282.7 MB Notification: Performance of pre-optimization done (n=7): time 2.849e-06/0.09879, allocations: 0 / 336.1 MB, free: 3.832 MB / 282.7 MB Notification: Performance of matching and sorting (n=7): time 0.0006528/0.09945, allocations: 177.5 kB / 336.3 MB, free: 3.652 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.939e-05/0.09952, allocations: 55.41 kB / 336.3 MB, free: 3.586 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002392/0.09977, allocations: 191.3 kB / 336.5 MB, free: 3.391 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.281e-05/0.09981, allocations: 25.7 kB / 336.5 MB, free: 3.359 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001403/0.09997, allocations: 209.9 kB / 336.7 MB, free: 3.152 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.158e-05/0.1, allocations: 27.64 kB / 336.8 MB, free: 3.125 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.148e-05/0.1, allocations: 0 / 336.8 MB, free: 3.125 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001704/0.1002, allocations: 314.8 kB / 337.1 MB, free: 2.809 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001929/0.1004, allocations: 51.94 kB / 337.1 MB, free: 2.758 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002292/0.1007, allocations: 106.8 kB / 337.2 MB, free: 2.629 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000216/0.1009, allocations: 67.88 kB / 337.3 MB, free: 2.562 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.502e-06/0.1009, allocations: 7.953 kB / 337.3 MB, free: 2.555 MB / 282.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0005496/0.1015, allocations: 181.3 kB / 337.5 MB, free: 2.371 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.206e-05/0.1015, allocations: 11.98 kB / 337.5 MB, free: 2.359 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.511e-06/0.1015, allocations: 0 / 337.5 MB, free: 2.359 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.772e-05/0.1016, allocations: 4 kB / 337.5 MB, free: 2.355 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009835/0.1026, allocations: 116 kB / 337.6 MB, free: 2.242 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001681/0.1043, allocations: 1.809 MB / 339.4 MB, free: 372 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002122/0.1045, allocations: 23.75 kB / 339.4 MB, free: 348 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.827e-05/0.1046, allocations: 7.984 kB / 339.5 MB, free: 340 kB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 11 * 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.0001943/0.1048, allocations: 153.8 kB / 339.6 MB, free: 176 kB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.436e-05/0.1048, allocations: 11.91 kB / 339.6 MB, free: 164 kB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2075/0.3124, allocations: 177 kB / 339.8 MB, free: 16.07 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.036e-05/0.3124, allocations: 1.922 kB / 339.8 MB, free: 16.07 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.081e-06/0.3124, allocations: 0 / 339.8 MB, free: 16.07 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.838e-06/0.3125, allocations: 1.422 kB / 339.8 MB, free: 16.07 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003359/0.3128, allocations: 227.7 kB / 340 MB, free: 15.88 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.258e-06/0.3128, allocations: 3.75 kB / 340 MB, free: 15.88 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008229/0.3137, allocations: 97.7 kB / 340.1 MB, free: 15.88 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.101e-06/0.3137, allocations: 1.062 kB / 340.1 MB, free: 15.88 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.793e-05/0.3137, allocations: 10.95 kB / 340.1 MB, free: 15.88 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000848/0.3146, allocations: 1.776 MB / 341.9 MB, free: 14.13 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.249e-06/0.3146, allocations: 1.156 kB / 341.9 MB, free: 14.13 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005165/0.3151, allocations: 252.2 kB / 342.1 MB, free: 14 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.155e-05/0.3152, allocations: 92.81 kB / 342.2 MB, free: 13.91 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.464e-05/0.3152, allocations: 3.594 kB / 342.2 MB, free: 13.91 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001815/0.3154, allocations: 15.97 kB / 342.3 MB, free: 13.91 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.947e-05/0.3155, allocations: 11.53 kB / 342.3 MB, free: 13.91 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.641e-05/0.3155, allocations: 3.875 kB / 342.3 MB, free: 13.91 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001461/0.3157, allocations: 135.5 kB / 342.4 MB, free: 13.83 MB / 282.7 MB Notification: Performance of sort global known variables: time 6.61e-07/0.3157, allocations: 0 / 342.4 MB, free: 13.83 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004668/0.3162, allocations: 42.95 kB / 342.4 MB, free: 13.83 MB / 282.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 8 * 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.0001807/0.3164, allocations: 114.7 kB / 342.6 MB, free: 13.74 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001396/0.3178, allocations: 226.8 kB / 342.8 MB, free: 13.74 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.859e-06/0.3178, allocations: 0 / 342.8 MB, free: 13.74 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007656/0.3186, allocations: 115.5 kB / 342.9 MB, free: 13.74 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003948/0.319, allocations: 36.34 kB / 342.9 MB, free: 13.74 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000783/0.3198, allocations: 433.2 kB / 343.4 MB, free: 13.5 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002228/0.3201, allocations: 0.7376 MB / 344.1 MB, free: 12.8 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.853e-05/0.3202, allocations: 16.91 kB / 344.1 MB, free: 12.79 MB / 282.7 MB Notification: Performance of SimCode: time 2.718e-06/0.3202, allocations: 0 / 344.1 MB, free: 12.79 MB / 282.7 MB Notification: Performance of Templates: time 0.009112/0.3293, allocations: 4.352 MB / 348.5 MB, free: 12.59 MB / 282.7 MB