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_nominalDensityViscosity_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_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.1_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW") Notification: Performance of loadModel(ModelicaTest): time 1.966/1.966, allocations: 209.3 MB / 224.8 MB, free: 280 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004394/0.0004395, allocations: 12 kB / 282.5 MB, free: 9.633 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2827/0.2831, allocations: 48.7 MB / 331.2 MB, free: 6.5 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW): time 0.002004/0.2852, allocations: 1.453 MB / 332.7 MB, free: 5.738 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001059/0.2863, allocations: 0.5544 MB / 333.2 MB, free: 5.359 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.819e-05/0.2864, allocations: 0 / 333.2 MB, free: 5.359 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002813/0.2867, allocations: 44.89 kB / 333.3 MB, free: 5.336 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001532/0.2869, allocations: 55.3 kB / 333.3 MB, free: 5.301 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003593/0.2873, allocations: 92.94 kB / 333.4 MB, free: 5.254 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002153/0.2875, allocations: 161.3 kB / 333.6 MB, free: 5.172 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.405e-05/0.2876, allocations: 24.67 kB / 333.6 MB, free: 5.164 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.955e-05/0.2877, allocations: 62.14 kB / 333.6 MB, free: 5.141 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001297/0.2878, allocations: 85.2 kB / 333.7 MB, free: 5.102 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.557e-05/0.2879, allocations: 5.344 kB / 333.7 MB, free: 5.102 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004613/0.2884, allocations: 222.7 kB / 333.9 MB, free: 5.043 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.917e-05/0.2884, allocations: 46.72 kB / 334 MB, free: 5.023 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.735e-05/0.2885, allocations: 59.67 kB / 334.1 MB, free: 4.977 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003739/0.2889, allocations: 203.5 kB / 334.3 MB, free: 4.922 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.663e-06/0.2889, allocations: 0 / 334.3 MB, free: 4.922 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.094e-06/0.2889, allocations: 1.344 kB / 334.3 MB, free: 4.922 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.782e-06/0.2889, allocations: 0 / 334.3 MB, free: 4.922 MB / 266.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.0006266/0.2896, allocations: 0.5014 MB / 334.8 MB, free: 4.465 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.763e-05/0.2896, allocations: 9.5 kB / 334.8 MB, free: 4.465 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001999/0.2916, allocations: 200.9 kB / 335 MB, free: 4.434 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003562/0.292, allocations: 261.6 kB / 335.2 MB, free: 4.203 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.667e-05/0.2921, allocations: 18.75 kB / 335.2 MB, free: 4.195 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.836e-05/0.2921, allocations: 25.16 kB / 335.3 MB, free: 4.184 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001252/0.2934, allocations: 0.5014 MB / 335.8 MB, free: 4.008 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.369e-05/0.2934, allocations: 5.219 kB / 335.8 MB, free: 4.004 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.066e-05/0.2935, allocations: 9.203 kB / 335.8 MB, free: 3.996 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.533e-05/0.2936, allocations: 26.95 kB / 335.8 MB, free: 3.996 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001581/0.2952, allocations: 0.5962 MB / 336.4 MB, free: 3.758 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002451/0.2976, allocations: 1.158 MB / 337.6 MB, free: 2.812 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008092/0.2985, allocations: 177.5 kB / 337.7 MB, free: 2.723 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.6e-05/0.2985, allocations: 1.438 kB / 337.7 MB, free: 2.723 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.429e-05/0.2985, allocations: 40.16 kB / 337.8 MB, free: 2.676 MB / 266.7 MB Notification: Performance of pre-optimization done (n=7): time 3.158e-06/0.2986, allocations: 0 / 337.8 MB, free: 2.676 MB / 266.7 MB Notification: Performance of matching and sorting (n=7): time 0.001486/0.3001, allocations: 313.4 kB / 338.1 MB, free: 2.527 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.309e-05/0.3001, allocations: 52.53 kB / 338.1 MB, free: 2.465 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003241/0.3004, allocations: 284.7 kB / 338.4 MB, free: 2.273 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.777e-05/0.3005, allocations: 27.08 kB / 338.4 MB, free: 2.242 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.916e-05/0.3006, allocations: 217.4 kB / 338.6 MB, free: 2.035 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.248e-05/0.3006, allocations: 31.95 kB / 338.7 MB, free: 2.008 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.208e-05/0.3007, allocations: 3.938 kB / 338.7 MB, free: 2.004 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.329e-05/0.3007, allocations: 321.3 kB / 339 MB, free: 1.684 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004562/0.3012, allocations: 94.42 kB / 339.1 MB, free: 1.645 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004646/0.3017, allocations: 130.3 kB / 339.2 MB, free: 1.562 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004522/0.3021, allocations: 94.38 kB / 339.3 MB, free: 1.527 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.684e-06/0.3022, allocations: 4 kB / 339.3 MB, free: 1.523 MB / 266.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001052/0.3032, allocations: 257.4 kB / 339.6 MB, free: 1.395 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.958e-05/0.3033, allocations: 10.03 kB / 339.6 MB, free: 1.391 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.093e-06/0.3033, allocations: 1.781 kB / 339.6 MB, free: 1.391 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.692e-05/0.3033, allocations: 1.75 kB / 339.6 MB, free: 1.391 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006459/0.3098, allocations: 470.5 kB / 340 MB, free: 1.195 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003092/0.3129, allocations: 1.946 MB / 342 MB, free: 15.31 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000515/0.3135, allocations: 46.31 kB / 342 MB, free: 15.29 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.866e-05/0.3135, allocations: 8.422 kB / 342 MB, free: 15.28 MB / 282.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 () * Number of clocked 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.0002636/0.3138, allocations: 169.1 kB / 342.2 MB, free: 15.13 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.521e-05/0.3139, allocations: 16.97 kB / 342.2 MB, free: 15.12 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.926e-05/0.314, allocations: 26.02 kB / 342.2 MB, free: 15.11 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.41e-06/0.314, allocations: 1.656 kB / 342.2 MB, free: 15.11 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.868e-06/0.314, allocations: 4 kB / 342.2 MB, free: 15.1 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.242e-06/0.314, allocations: 1.375 kB / 342.2 MB, free: 15.1 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005126/0.3146, allocations: 288.7 kB / 342.5 MB, free: 14.84 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.068e-06/0.3146, allocations: 1.281 kB / 342.5 MB, free: 14.84 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006486/0.3211, allocations: 461.7 kB / 343 MB, free: 14.64 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.114e-06/0.3211, allocations: 1.281 kB / 343 MB, free: 14.64 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.186e-05/0.3212, allocations: 5.297 kB / 343 MB, free: 14.64 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003507/0.3247, allocations: 1.944 MB / 344.9 MB, free: 12.75 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.074e-06/0.3247, allocations: 96 / 344.9 MB, free: 12.75 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001127/0.3259, allocations: 339.9 kB / 345.3 MB, free: 12.52 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001186/0.326, allocations: 98.12 kB / 345.4 MB, free: 12.41 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.093e-05/0.3261, allocations: 3.984 kB / 345.4 MB, free: 12.41 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004355/0.3266, allocations: 21.06 kB / 345.4 MB, free: 12.4 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.428e-05/0.3267, allocations: 6.453 kB / 345.4 MB, free: 12.4 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.277e-05/0.3267, allocations: 6.672 kB / 345.4 MB, free: 12.39 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0003047/0.327, allocations: 213 kB / 345.6 MB, free: 12.25 MB / 282.7 MB Notification: Performance of sort global known variables: time 8.27e-07/0.327, allocations: 0 / 345.6 MB, free: 12.25 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0005138/0.3276, allocations: 79.3 kB / 345.7 MB, free: 12.23 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 (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.0002384/0.3278, allocations: 109.8 kB / 345.8 MB, free: 12.14 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.007047/0.3349, allocations: 0.5987 MB / 346.4 MB, free: 11.88 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 8.942e-06/0.3349, allocations: 0 / 346.4 MB, free: 11.88 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006503/0.3414, allocations: 0.4975 MB / 346.9 MB, free: 11.66 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004368/0.3419, allocations: 42.05 kB / 346.9 MB, free: 11.64 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001316/0.3433, allocations: 0.5673 MB / 347.5 MB, free: 11.23 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005142/0.3438, allocations: 0.7805 MB / 348.3 MB, free: 10.48 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000124/0.3439, allocations: 22.7 kB / 348.3 MB, free: 10.47 MB / 282.7 MB Notification: Performance of SimCode: time 1.837e-06/0.344, allocations: 0 / 348.3 MB, free: 10.47 MB / 282.7 MB Notification: Performance of Templates: time 0.01188/0.3559, allocations: 6.452 MB / 354.7 MB, free: 6.449 MB / 282.7 MB