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_volumeFlowRate_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_volumeFlowRate_DPMFLOW,tolerance=1e-05,outputFormat="mat",numberOfIntervals=10100,variableFilter="time|V_flow.1.|V_flow.2.|V_flow.3.|a.1.|a.2.|a.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.2_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW") Notification: Performance of loadModel(ModelicaTest): time 2.27/2.27, allocations: 234.9 MB / 250.5 MB, free: 9.477 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004269/0.0004272, allocations: 8 kB / 314.3 MB, free: 9.492 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3304/0.3309, allocations: 54.87 MB / 369.2 MB, free: 10.7 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW): time 0.002165/0.3331, allocations: 1.312 MB / 370.5 MB, free: 9.363 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001555/0.3347, allocations: 0.7899 MB / 371.3 MB, free: 8.566 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.197e-05/0.3348, allocations: 0 / 371.3 MB, free: 8.566 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001931/0.335, allocations: 23.84 kB / 371.3 MB, free: 8.543 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001456/0.3351, allocations: 43.77 kB / 371.4 MB, free: 8.504 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004134/0.3356, allocations: 95.69 kB / 371.5 MB, free: 8.41 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001681/0.3358, allocations: 95.78 kB / 371.6 MB, free: 8.316 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.883e-05/0.3358, allocations: 9.453 kB / 371.6 MB, free: 8.305 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.593e-05/0.3359, allocations: 39.86 kB / 371.6 MB, free: 8.266 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001096/0.336, allocations: 55.75 kB / 371.7 MB, free: 8.211 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.249e-05/0.3361, allocations: 4 kB / 371.7 MB, free: 8.207 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004471/0.3365, allocations: 219.6 kB / 371.9 MB, free: 7.992 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.919e-05/0.3366, allocations: 31.89 kB / 371.9 MB, free: 7.961 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.666e-05/0.3367, allocations: 49.64 kB / 372 MB, free: 7.906 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003047/0.337, allocations: 140.4 kB / 372.1 MB, free: 7.77 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.555e-06/0.337, allocations: 0 / 372.1 MB, free: 7.77 MB / 298.7 MB Notification: Performance of FrontEnd: time 5.892e-06/0.337, allocations: 7.922 kB / 372.1 MB, free: 7.762 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.645e-06/0.337, allocations: 0 / 372.1 MB, free: 7.762 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: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.0006905/0.3377, allocations: 456.4 kB / 372.6 MB, free: 7.27 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.68e-05/0.3378, allocations: 8.031 kB / 372.6 MB, free: 7.262 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008744/0.3387, allocations: 91.66 kB / 372.7 MB, free: 7.172 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000294/0.339, allocations: 214.8 kB / 372.9 MB, free: 6.922 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.997e-05/0.339, allocations: 8 kB / 372.9 MB, free: 6.914 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.39e-05/0.3391, allocations: 20 kB / 372.9 MB, free: 6.895 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006733/0.3398, allocations: 289.4 kB / 373.2 MB, free: 6.605 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.281e-05/0.3398, allocations: 3.953 kB / 373.2 MB, free: 6.602 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.746e-05/0.3398, allocations: 0 / 373.2 MB, free: 6.602 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.011e-05/0.3399, allocations: 23.98 kB / 373.2 MB, free: 6.578 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006896/0.3406, allocations: 275.7 kB / 373.5 MB, free: 6.309 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001611/0.3422, allocations: 0.7988 MB / 374.3 MB, free: 5.422 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005148/0.3428, allocations: 182.4 kB / 374.5 MB, free: 5.234 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.888e-05/0.3428, allocations: 0 / 374.5 MB, free: 5.234 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.744e-05/0.3429, allocations: 38.66 kB / 374.5 MB, free: 5.188 MB / 298.7 MB Notification: Performance of pre-optimization done (n=10): time 2.52e-06/0.3429, allocations: 3.938 kB / 374.5 MB, free: 5.184 MB / 298.7 MB Notification: Performance of matching and sorting (n=10): time 0.0009019/0.3438, allocations: 265.2 kB / 374.8 MB, free: 4.918 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.505e-05/0.3439, allocations: 59.34 kB / 374.8 MB, free: 4.848 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002381/0.3441, allocations: 187.3 kB / 375 MB, free: 4.656 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.747e-05/0.3442, allocations: 33.7 kB / 375 MB, free: 4.617 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001408/0.3443, allocations: 201.7 kB / 375.2 MB, free: 4.418 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.01e-05/0.3444, allocations: 35.45 kB / 375.3 MB, free: 4.383 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.649e-05/0.3444, allocations: 4 kB / 375.3 MB, free: 4.379 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001659/0.3446, allocations: 318.8 kB / 375.6 MB, free: 4.059 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002454/0.3448, allocations: 75.92 kB / 375.6 MB, free: 3.984 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00028/0.3451, allocations: 122.8 kB / 375.8 MB, free: 3.84 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002806/0.3454, allocations: 95.86 kB / 375.9 MB, free: 3.746 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.385e-06/0.3455, allocations: 0 / 375.9 MB, free: 3.746 MB / 298.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0007108/0.3462, allocations: 245.3 kB / 376.1 MB, free: 3.5 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.176e-05/0.3462, allocations: 8 kB / 376.1 MB, free: 3.492 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.7e-06/0.3462, allocations: 0 / 376.1 MB, free: 3.492 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.982e-05/0.3463, allocations: 4 kB / 376.1 MB, free: 3.488 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005365/0.3468, allocations: 84.06 kB / 376.2 MB, free: 3.406 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001405/0.3482, allocations: 1.789 MB / 378 MB, free: 1.547 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002448/0.3485, allocations: 27.64 kB / 378 MB, free: 1.52 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.476e-05/0.3486, allocations: 23.97 kB / 378 MB, free: 1.496 MB / 298.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 (17): * Single equations (assignments): 14 * 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.0001908/0.3488, allocations: 141.8 kB / 378.2 MB, free: 1.348 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.9e-05/0.3488, allocations: 8.375 kB / 378.2 MB, free: 1.34 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001006/0.3498, allocations: 294.7 kB / 378.5 MB, free: 1.047 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.128e-06/0.3499, allocations: 0 / 378.5 MB, free: 1.047 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.693e-06/0.3499, allocations: 0 / 378.5 MB, free: 1.047 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.528e-06/0.3499, allocations: 0 / 378.5 MB, free: 1.047 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003706/0.3503, allocations: 249.3 kB / 378.7 MB, free: 0.7539 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.784e-06/0.3503, allocations: 4 kB / 378.7 MB, free: 0.75 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003845/0.3507, allocations: 63.88 kB / 378.8 MB, free: 0.6875 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.568e-06/0.3507, allocations: 7.938 kB / 378.8 MB, free: 0.6797 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2e-05/0.3508, allocations: 4 kB / 378.8 MB, free: 0.6758 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001355/0.3521, allocations: 1.785 MB / 380.6 MB, free: 14.82 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.447e-06/0.3521, allocations: 0 / 380.6 MB, free: 14.82 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005574/0.3527, allocations: 267.5 kB / 380.8 MB, free: 14.54 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.821e-05/0.3528, allocations: 100.8 kB / 380.9 MB, free: 14.43 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.56e-05/0.3529, allocations: 0 / 380.9 MB, free: 14.43 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001929/0.3531, allocations: 15.98 kB / 381 MB, free: 14.41 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.469e-05/0.3531, allocations: 7.984 kB / 381 MB, free: 14.4 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.943e-05/0.3532, allocations: 4 kB / 381 MB, free: 14.4 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001906/0.3534, allocations: 155.2 kB / 381.1 MB, free: 14.25 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.65e-07/0.3534, allocations: 0 / 381.1 MB, free: 14.25 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004636/0.3539, allocations: 51.95 kB / 381.2 MB, free: 14.2 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 (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 Backend phase and start with SimCode phase: time 0.000292/0.3542, allocations: 135.1 kB / 381.3 MB, free: 14.05 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0008035/0.355, allocations: 199.8 kB / 381.5 MB, free: 13.86 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.874e-06/0.355, allocations: 0 / 381.5 MB, free: 13.86 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004854/0.3555, allocations: 108.3 kB / 381.6 MB, free: 13.75 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002352/0.3558, allocations: 16.12 kB / 381.6 MB, free: 13.73 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009985/0.3568, allocations: 471.5 kB / 382.1 MB, free: 13.25 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004486/0.3572, allocations: 0.7436 MB / 382.8 MB, free: 12.48 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001085/0.3574, allocations: 27.42 kB / 382.8 MB, free: 12.45 MB / 314.7 MB Notification: Performance of SimCode: time 1.342e-06/0.3574, allocations: 0 / 382.8 MB, free: 12.45 MB / 314.7 MB Notification: Performance of Templates: time 0.009129/0.3665, allocations: 4.767 MB / 387.6 MB, free: 7.688 MB / 314.7 MB