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/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.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.243/2.243, allocations: 234.9 MB / 250.5 MB, free: 9.543 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004416/0.0004417, allocations: 16 kB / 314.3 MB, free: 9.574 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2738/0.2743, allocations: 54.87 MB / 369.2 MB, free: 10.69 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW): time 0.002377/0.2767, allocations: 1.446 MB / 370.7 MB, free: 9.223 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001194/0.278, allocations: 0.5457 MB / 371.2 MB, free: 8.676 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.095e-05/0.2781, allocations: 3.938 kB / 371.2 MB, free: 8.672 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002597/0.2784, allocations: 47.84 kB / 371.3 MB, free: 8.625 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001625/0.2785, allocations: 55.78 kB / 371.3 MB, free: 8.57 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004118/0.279, allocations: 95.67 kB / 371.4 MB, free: 8.477 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002606/0.2792, allocations: 155.6 kB / 371.6 MB, free: 8.324 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.71e-05/0.2793, allocations: 28.3 kB / 371.6 MB, free: 8.297 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001128/0.2795, allocations: 67.7 kB / 371.6 MB, free: 8.23 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001366/0.2796, allocations: 83.61 kB / 371.7 MB, free: 8.148 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.474e-05/0.2797, allocations: 4 kB / 371.7 MB, free: 8.145 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004639/0.2801, allocations: 219.7 kB / 371.9 MB, free: 7.93 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.723e-05/0.2802, allocations: 47.81 kB / 372 MB, free: 7.883 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 7.012e-05/0.2803, allocations: 61.58 kB / 372.1 MB, free: 7.816 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003905/0.2807, allocations: 208.3 kB / 372.3 MB, free: 7.613 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.154e-06/0.2807, allocations: 0 / 372.3 MB, free: 7.613 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.354e-06/0.2807, allocations: 7.938 kB / 372.3 MB, free: 7.605 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.753e-06/0.2808, allocations: 0 / 372.3 MB, free: 7.605 MB / 298.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.0007647/0.2815, allocations: 0.4951 MB / 372.8 MB, free: 7.062 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.036e-05/0.2816, allocations: 8.031 kB / 372.8 MB, free: 7.055 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002024/0.2836, allocations: 203.4 kB / 373 MB, free: 6.855 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004246/0.2841, allocations: 258.7 kB / 373.2 MB, free: 6.562 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.259e-05/0.2841, allocations: 20.55 kB / 373.2 MB, free: 6.543 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.391e-05/0.2842, allocations: 23.98 kB / 373.3 MB, free: 6.52 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001266/0.2855, allocations: 0.4966 MB / 373.8 MB, free: 6.02 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.285e-05/0.2855, allocations: 0 / 373.8 MB, free: 6.02 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.566e-05/0.2856, allocations: 15.98 kB / 373.8 MB, free: 6.004 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.218e-05/0.2857, allocations: 32.48 kB / 373.8 MB, free: 5.969 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001691/0.2874, allocations: 0.5915 MB / 374.4 MB, free: 5.379 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002791/0.2902, allocations: 1.173 MB / 375.6 MB, free: 4.117 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008923/0.2911, allocations: 182.3 kB / 375.7 MB, free: 3.93 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.753e-05/0.2911, allocations: 4 kB / 375.8 MB, free: 3.926 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.352e-05/0.2912, allocations: 34.56 kB / 375.8 MB, free: 3.883 MB / 298.7 MB Notification: Performance of pre-optimization done (n=7): time 3.282e-06/0.2912, allocations: 0 / 375.8 MB, free: 3.883 MB / 298.7 MB Notification: Performance of matching and sorting (n=7): time 0.001601/0.2928, allocations: 325.2 kB / 376.1 MB, free: 3.559 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.922e-05/0.2929, allocations: 55.39 kB / 376.2 MB, free: 3.492 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003925/0.2933, allocations: 274.6 kB / 376.4 MB, free: 3.215 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.757e-05/0.2933, allocations: 25.7 kB / 376.5 MB, free: 3.184 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001697/0.2935, allocations: 225.9 kB / 376.7 MB, free: 2.961 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.682e-05/0.2936, allocations: 23.66 kB / 376.7 MB, free: 2.938 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.251e-05/0.2936, allocations: 0 / 376.7 MB, free: 2.938 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001664/0.2938, allocations: 322.8 kB / 377 MB, free: 2.613 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004766/0.2943, allocations: 87.91 kB / 377.1 MB, free: 2.527 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005027/0.2948, allocations: 127.3 kB / 377.2 MB, free: 2.391 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005035/0.2953, allocations: 107.8 kB / 377.3 MB, free: 2.285 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.279e-06/0.2953, allocations: 0 / 377.3 MB, free: 2.285 MB / 298.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001135/0.2965, allocations: 265.3 kB / 377.6 MB, free: 2.02 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.118e-05/0.2965, allocations: 4 kB / 377.6 MB, free: 2.016 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.207e-06/0.2965, allocations: 4 kB / 377.6 MB, free: 2.012 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.737e-05/0.2966, allocations: 3.953 kB / 377.6 MB, free: 2.008 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006601/0.3032, allocations: 471.3 kB / 378.1 MB, free: 1.547 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003491/0.3067, allocations: 1.945 MB / 380 MB, free: 15.53 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004967/0.3072, allocations: 47.78 kB / 380 MB, free: 15.48 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.995e-05/0.3073, allocations: 7.984 kB / 380.1 MB, free: 15.48 MB / 314.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.0002395/0.3076, allocations: 161.7 kB / 380.2 MB, free: 15.31 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.768e-05/0.3076, allocations: 19.72 kB / 380.2 MB, free: 15.29 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.375e-05/0.3077, allocations: 25.7 kB / 380.3 MB, free: 15.27 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.761e-06/0.3077, allocations: 3.953 kB / 380.3 MB, free: 15.26 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.913e-06/0.3078, allocations: 4 kB / 380.3 MB, free: 15.26 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.175e-06/0.3078, allocations: 0 / 380.3 MB, free: 15.26 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004962/0.3083, allocations: 285.5 kB / 380.5 MB, free: 14.93 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.402e-06/0.3083, allocations: 4 kB / 380.5 MB, free: 14.93 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006477/0.3148, allocations: 463.2 kB / 381 MB, free: 14.47 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.474e-06/0.3148, allocations: 0 / 381 MB, free: 14.47 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.143e-05/0.3149, allocations: 0 / 381 MB, free: 14.47 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003419/0.3183, allocations: 1.949 MB / 383 MB, free: 12.45 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.176e-06/0.3184, allocations: 8.141 kB / 383 MB, free: 12.45 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001126/0.3195, allocations: 319.2 kB / 383.3 MB, free: 12.12 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001068/0.3196, allocations: 96.81 kB / 383.4 MB, free: 12 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.964e-05/0.3197, allocations: 8 kB / 383.4 MB, free: 12 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000431/0.3201, allocations: 19.97 kB / 383.4 MB, free: 11.98 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.559e-05/0.3202, allocations: 15.92 kB / 383.4 MB, free: 11.96 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.006e-05/0.3203, allocations: 11.92 kB / 383.4 MB, free: 11.95 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002928/0.3206, allocations: 205.9 kB / 383.6 MB, free: 11.75 MB / 314.7 MB Notification: Performance of sort global known variables: time 8.09e-07/0.3206, allocations: 0 / 383.6 MB, free: 11.75 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004916/0.3211, allocations: 75.84 kB / 383.7 MB, free: 11.67 MB / 314.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.0002331/0.3213, allocations: 111.3 kB / 383.8 MB, free: 11.55 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.007015/0.3284, allocations: 0.6045 MB / 384.4 MB, free: 10.95 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.9e-06/0.3284, allocations: 0 / 384.4 MB, free: 10.95 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00641/0.3348, allocations: 0.4916 MB / 384.9 MB, free: 10.45 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004225/0.3353, allocations: 36.55 kB / 384.9 MB, free: 10.42 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001292/0.3366, allocations: 0.5661 MB / 385.5 MB, free: 9.824 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004961/0.3371, allocations: 0.7872 MB / 386.3 MB, free: 9.008 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001201/0.3373, allocations: 23.42 kB / 386.3 MB, free: 8.984 MB / 314.7 MB Notification: Performance of SimCode: time 1.771e-06/0.3373, allocations: 0 / 386.3 MB, free: 8.984 MB / 314.7 MB Notification: Performance of Templates: time 0.01175/0.349, allocations: 6.454 MB / 392.8 MB, free: 2.539 MB / 314.7 MB