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.StraightPipe.dp_laminar_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.StraightPipe.dp_laminar_DPMFLOW,tolerance=1e-05,outputFormat="mat",numberOfIntervals=10100,variableFilter="time|MIN|A_cross|roughness|d_hyd|K.1.|L|eta|rho|input_mdot.1.|input_dp.1.|M_FLOW.1.|DP.1.|velocity.1.|Re.1.|DP_plot.1.|zeta_TOT.1.|lambda_FRI.1.|input_DP.y",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW") Notification: Performance of loadModel(ModelicaTest): time 1.853/1.853, allocations: 209.2 MB / 224.8 MB, free: 1.215 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007767/0.000777, allocations: 12 kB / 282.5 MB, free: 9.734 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1133/0.1142, allocations: 48.7 MB / 331.2 MB, free: 8.938 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW): time 0.00232/0.1165, allocations: 1.434 MB / 332.7 MB, free: 7.488 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001451/0.118, allocations: 0.7177 MB / 333.4 MB, free: 6.77 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.776e-05/0.1181, allocations: 0 / 333.4 MB, free: 6.77 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002063/0.1183, allocations: 43.73 kB / 333.4 MB, free: 6.727 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002381/0.1186, allocations: 51.84 kB / 333.5 MB, free: 6.676 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001935/0.1188, allocations: 55.86 kB / 333.5 MB, free: 6.621 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001433/0.1189, allocations: 79.86 kB / 333.6 MB, free: 6.543 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.788e-05/0.119, allocations: 11.98 kB / 333.6 MB, free: 6.531 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001312/0.1191, allocations: 51.77 kB / 333.7 MB, free: 6.48 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001276/0.1193, allocations: 59.75 kB / 333.7 MB, free: 6.422 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.108e-05/0.1193, allocations: 4 kB / 333.7 MB, free: 6.418 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001897/0.1195, allocations: 75.88 kB / 333.8 MB, free: 6.344 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.822e-05/0.1196, allocations: 23.91 kB / 333.8 MB, free: 6.32 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.073e-05/0.1196, allocations: 41.7 kB / 333.9 MB, free: 6.273 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001988/0.1199, allocations: 92.02 kB / 333.9 MB, free: 6.184 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.148e-06/0.1199, allocations: 0 / 333.9 MB, free: 6.184 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.314e-06/0.1199, allocations: 0 / 333.9 MB, free: 6.184 MB / 282.7 MB Notification: Performance of Transformations before backend: time 7.215e-06/0.1199, allocations: 0 / 333.9 MB, free: 6.184 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: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0005922/0.1205, allocations: 394.5 kB / 334.3 MB, free: 5.754 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.439e-05/0.1206, allocations: 12.03 kB / 334.3 MB, free: 5.742 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003764/0.121, allocations: 31.88 kB / 334.4 MB, free: 5.711 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002289/0.1212, allocations: 194.8 kB / 334.6 MB, free: 5.48 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.241e-05/0.1212, allocations: 7.984 kB / 334.6 MB, free: 5.473 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.667e-05/0.1213, allocations: 12 kB / 334.6 MB, free: 5.461 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004532/0.1217, allocations: 180 kB / 334.8 MB, free: 5.27 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/0.1218, allocations: 4 kB / 334.8 MB, free: 5.266 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.12e-05/0.1218, allocations: 4 kB / 334.8 MB, free: 5.262 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.999e-05/0.1219, allocations: 11.98 kB / 334.8 MB, free: 5.25 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004309/0.1223, allocations: 139.8 kB / 334.9 MB, free: 5.113 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00107/0.1234, allocations: 0.6601 MB / 335.6 MB, free: 4.383 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004023/0.1238, allocations: 106.7 kB / 335.7 MB, free: 4.27 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.736e-05/0.1238, allocations: 3.938 kB / 335.7 MB, free: 4.266 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.915e-05/0.1239, allocations: 38.56 kB / 335.7 MB, free: 4.219 MB / 282.7 MB Notification: Performance of pre-optimization done (n=7): time 2.11e-06/0.1239, allocations: 0 / 335.7 MB, free: 4.219 MB / 282.7 MB Notification: Performance of matching and sorting (n=7): time 0.0005581/0.1245, allocations: 153.8 kB / 335.9 MB, free: 4.062 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.105e-05/0.1245, allocations: 51.41 kB / 335.9 MB, free: 4 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001364/0.1247, allocations: 126 kB / 336 MB, free: 3.867 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.11e-05/0.1247, allocations: 25.7 kB / 336.1 MB, free: 3.836 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001243/0.1248, allocations: 190.3 kB / 336.3 MB, free: 3.645 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.339e-05/0.1249, allocations: 23.7 kB / 336.3 MB, free: 3.621 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.954e-06/0.1249, allocations: 4 kB / 336.3 MB, free: 3.617 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.000156/0.1251, allocations: 314.8 kB / 336.6 MB, free: 3.301 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001611/0.1252, allocations: 51.95 kB / 336.6 MB, free: 3.25 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002122/0.1255, allocations: 99.58 kB / 336.7 MB, free: 3.125 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001741/0.1257, allocations: 51.95 kB / 336.8 MB, free: 3.074 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.1257, allocations: 4 kB / 336.8 MB, free: 3.07 MB / 282.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004543/0.1261, allocations: 165.5 kB / 337 MB, free: 2.902 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.912e-05/0.1262, allocations: 12.03 kB / 337 MB, free: 2.891 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.301e-06/0.1262, allocations: 0 / 337 MB, free: 2.891 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.435e-05/0.1262, allocations: 7.938 kB / 337 MB, free: 2.883 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002342/0.1265, allocations: 47.91 kB / 337 MB, free: 2.836 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.289e-05/0.1265, allocations: 4.391 kB / 337 MB, free: 2.832 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001319/0.1266, allocations: 19.89 kB / 337 MB, free: 2.812 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.564e-05/0.1267, allocations: 4 kB / 337 MB, free: 2.809 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 1 (roughness) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001387/0.1268, allocations: 141.7 kB / 337.2 MB, free: 2.66 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.641e-05/0.1269, allocations: 11.91 kB / 337.2 MB, free: 2.648 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004067/0.1273, allocations: 134 kB / 337.3 MB, free: 2.512 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.385e-06/0.1273, allocations: 3.984 kB / 337.3 MB, free: 2.508 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.1273, allocations: 0 / 337.3 MB, free: 2.508 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.443e-06/0.1274, allocations: 0 / 337.3 MB, free: 2.508 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002869/0.1276, allocations: 201.5 kB / 337.5 MB, free: 2.262 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.9e-06/0.1277, allocations: 0 / 337.5 MB, free: 2.262 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001824/0.1279, allocations: 35.91 kB / 337.6 MB, free: 2.227 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.414e-06/0.1279, allocations: 0 / 337.6 MB, free: 2.227 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.634e-05/0.1279, allocations: 8 kB / 337.6 MB, free: 2.219 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.442e-06/0.1279, allocations: 4 kB / 337.6 MB, free: 2.215 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.776e-06/0.1279, allocations: 0 / 337.6 MB, free: 2.215 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004208/0.1284, allocations: 211.4 kB / 337.8 MB, free: 1.992 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.553e-05/0.1284, allocations: 92.95 kB / 337.9 MB, free: 1.883 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.083e-05/0.1285, allocations: 0 / 337.9 MB, free: 1.883 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001338/0.1286, allocations: 8 kB / 337.9 MB, free: 1.875 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.826e-05/0.1287, allocations: 11.98 kB / 337.9 MB, free: 1.863 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.419e-06/0.1287, allocations: 3.938 kB / 337.9 MB, free: 1.859 MB / 282.7 MB Notification: Performance of sorting global known variables: time 8.116e-05/0.1288, allocations: 95.27 kB / 338 MB, free: 1.766 MB / 282.7 MB Notification: Performance of sort global known variables: time 7.33e-07/0.1288, allocations: 0 / 338 MB, free: 1.766 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003628/0.1292, allocations: 27.94 kB / 338 MB, free: 1.738 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 (8): * 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): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001471/0.1293, allocations: 103.5 kB / 338.1 MB, free: 1.629 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003897/0.1297, allocations: 104.4 kB / 338.2 MB, free: 1.527 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.094e-06/0.1298, allocations: 0 / 338.2 MB, free: 1.527 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001638/0.1299, allocations: 55.89 kB / 338.3 MB, free: 1.473 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002025/0.1301, allocations: 7.922 kB / 338.3 MB, free: 1.465 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006054/0.1308, allocations: 330.8 kB / 338.6 MB, free: 1.105 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004012/0.1312, allocations: 0.7082 MB / 339.3 MB, free: 380 kB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.233e-05/0.1313, allocations: 19.44 kB / 339.3 MB, free: 360 kB / 282.7 MB Notification: Performance of SimCode: time 1.406e-06/0.1313, allocations: 0 / 339.3 MB, free: 360 kB / 282.7 MB Notification: Performance of Templates: time 0.2057/0.3369, allocations: 1.296 MB / 340.6 MB, free: 15.26 MB / 282.7 MB