Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW,tolerance=1e-05,outputFormat="mat",numberOfIntervals=10100,variableFilter="time|MIN|A_cross|roughness|d_hyd|K.1.|K.2.|K.3.|K.4.|L|eta|rho|input_mdot.1.|input_mdot.2.|input_mdot.3.|input_mdot.4.|input_dp.1.|input_dp.2.|input_dp.3.|input_dp.4.|M_FLOW.1.|M_FLOW.2.|M_FLOW.3.|M_FLOW.4.|DP.1.|DP.2.|DP.3.|DP.4.|velocity.1.|velocity.2.|velocity.3.|velocity.4.|Re.1.|Re.2.|Re.3.|Re.4.|DP_plot.1.|DP_plot.2.|DP_plot.3.|DP_plot.4.|zeta_TOT.1.|zeta_TOT.2.|zeta_TOT.3.|zeta_TOT.4.|lambda_FRI.1.|lambda_FRI.2.|lambda_FRI.3.|lambda_FRI.4.|input_DP.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW,tolerance=1e-05,outputFormat="mat",numberOfIntervals=10100,variableFilter="time|MIN|A_cross|roughness|d_hyd|K.1.|K.2.|K.3.|K.4.|L|eta|rho|input_mdot.1.|input_mdot.2.|input_mdot.3.|input_mdot.4.|input_dp.1.|input_dp.2.|input_dp.3.|input_dp.4.|M_FLOW.1.|M_FLOW.2.|M_FLOW.3.|M_FLOW.4.|DP.1.|DP.2.|DP.3.|DP.4.|velocity.1.|velocity.2.|velocity.3.|velocity.4.|Re.1.|Re.2.|Re.3.|Re.4.|DP_plot.1.|DP_plot.2.|DP_plot.3.|DP_plot.4.|zeta_TOT.1.|zeta_TOT.2.|zeta_TOT.3.|zeta_TOT.4.|lambda_FRI.1.|lambda_FRI.2.|lambda_FRI.3.|lambda_FRI.4.|input_DP.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00106/0.00106, allocations: 94.67 kB / 18 MB, free: 5.734 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001398/0.001398, allocations: 205.5 kB / 18.93 MB, free: 4.848 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.346/1.346, allocations: 227.7 MB / 247.5 MB, free: 11.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1991/0.1991, allocations: 46.19 MB / 345.9 MB, free: 11.41 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002746/0.0002746, allocations: 8 kB / 420.2 MB, free: 19.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1032/0.1035, allocations: 63.56 MB / 483.8 MB, free: 4.16 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW): time 0.002004/0.1056, allocations: 1.56 MB / 485.3 MB, free: 2.586 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002486/0.1081, allocations: 1.68 MB / 487 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.213e-05/0.1082, allocations: 4 kB / 487 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002264/0.1084, allocations: 35.81 kB / 487 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003002/0.1088, allocations: 79.64 kB / 487.1 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008387/0.1096, allocations: 355 kB / 487.5 MB, free: 448 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003139/0.1099, allocations: 310.6 kB / 487.8 MB, free: 136 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.563e-05/0.11, allocations: 28.41 kB / 487.8 MB, free: 108 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002298/0.1102, allocations: 99.45 kB / 487.9 MB, free: 8 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002057/0.1105, allocations: 131.5 kB / 488 MB, free: 15.88 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.494e-05/0.1105, allocations: 7.938 kB / 488 MB, free: 15.87 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009549/0.1115, allocations: 0.7171 MB / 488.7 MB, free: 15.15 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 8.994e-05/0.1116, allocations: 71.69 kB / 488.8 MB, free: 15.08 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001178/0.1117, allocations: 132.9 kB / 488.9 MB, free: 14.95 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005342/0.1122, allocations: 379.4 kB / 489.3 MB, free: 14.57 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.555e-06/0.1122, allocations: 0 / 489.3 MB, free: 14.57 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.1122, allocations: 0 / 489.3 MB, free: 14.57 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.905e-06/0.1123, allocations: 0 / 489.3 MB, free: 14.57 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.0008939/0.1132, allocations: 0.5772 MB / 489.9 MB, free: 13.95 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.256e-05/0.1132, allocations: 8.875 kB / 489.9 MB, free: 13.94 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.343e-05/0.1133, allocations: 32.56 kB / 489.9 MB, free: 13.91 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002452/0.1135, allocations: 251.2 kB / 490.2 MB, free: 13.62 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.145e-05/0.1136, allocations: 24.48 kB / 490.2 MB, free: 13.6 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.459e-05/0.1136, allocations: 31.98 kB / 490.2 MB, free: 13.57 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007048/0.1143, allocations: 475.3 kB / 490.7 MB, free: 13.1 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.101e-05/0.1144, allocations: 0 / 490.7 MB, free: 13.1 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.85e-05/0.1144, allocations: 4 kB / 490.7 MB, free: 13.1 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.541e-05/0.1145, allocations: 48.97 kB / 490.7 MB, free: 13.05 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008437/0.1153, allocations: 0.562 MB / 491.3 MB, free: 12.49 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001761/0.1171, allocations: 1.307 MB / 492.6 MB, free: 11.06 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000511/0.1176, allocations: 282.4 kB / 492.9 MB, free: 10.77 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002088/0.1178, allocations: 104.8 kB / 493 MB, free: 10.67 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.134e-05/0.1179, allocations: 11.92 kB / 493 MB, free: 10.66 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.518e-05/0.1179, allocations: 34.5 kB / 493 MB, free: 10.61 MB / 366.1 MB Notification: Performance of pre-optimization done (n=25): time 1.513e-06/0.1179, allocations: 0 / 493 MB, free: 10.61 MB / 366.1 MB Notification: Performance of matching and sorting (n=25): time 0.0007369/0.1187, allocations: 353.1 kB / 493.4 MB, free: 10.26 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.403e-05/0.1187, allocations: 59.39 kB / 493.4 MB, free: 10.19 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001105/0.1188, allocations: 138 kB / 493.6 MB, free: 10.04 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.215e-05/0.1189, allocations: 33.7 kB / 493.6 MB, free: 10 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001085/0.119, allocations: 195.7 kB / 493.8 MB, free: 9.809 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.46e-05/0.119, allocations: 91.12 kB / 493.9 MB, free: 9.719 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.911e-05/0.1191, allocations: 33.7 kB / 493.9 MB, free: 9.68 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001007/0.1192, allocations: 330.8 kB / 494.2 MB, free: 9.348 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002033/0.1194, allocations: 91.92 kB / 494.3 MB, free: 9.258 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002467/0.1197, allocations: 185.9 kB / 494.5 MB, free: 9.039 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004646/0.1201, allocations: 298 kB / 494.8 MB, free: 8.711 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.501e-06/0.1202, allocations: 4 kB / 494.8 MB, free: 8.707 MB / 366.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0005976/0.1208, allocations: 333.9 kB / 495.1 MB, free: 8.375 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.704e-05/0.1208, allocations: 4.344 kB / 495.1 MB, free: 8.371 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.246e-06/0.1208, allocations: 8 kB / 495.1 MB, free: 8.363 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.503e-05/0.1208, allocations: 4 kB / 495.2 MB, free: 8.359 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004665/0.1213, allocations: 123.9 kB / 495.3 MB, free: 8.238 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001109/0.1224, allocations: 2.364 MB / 497.6 MB, free: 5.781 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002335/0.1227, allocations: 43.89 kB / 497.7 MB, free: 5.738 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.9e-05/0.1227, allocations: 16 kB / 497.7 MB, free: 5.723 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (36): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 4 systems {1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002557/0.123, allocations: 173.7 kB / 497.9 MB, free: 5.543 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.874e-05/0.1231, allocations: 11.81 kB / 497.9 MB, free: 5.531 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008223/0.1239, allocations: 378.4 kB / 498.2 MB, free: 5.156 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.649e-06/0.1239, allocations: 0 / 498.2 MB, free: 5.156 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.1239, allocations: 0 / 498.2 MB, free: 5.156 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.903e-06/0.1239, allocations: 7.938 kB / 498.3 MB, free: 5.148 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003683/0.1243, allocations: 337.3 kB / 498.6 MB, free: 4.77 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.1243, allocations: 0 / 498.6 MB, free: 4.77 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004251/0.1247, allocations: 107.9 kB / 498.7 MB, free: 4.664 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/0.1248, allocations: 0 / 498.7 MB, free: 4.664 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.224e-05/0.1248, allocations: 12 kB / 498.7 MB, free: 4.652 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001066/0.1259, allocations: 2.364 MB / 0.4893 GB, free: 2.195 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/0.1259, allocations: 0 / 0.4893 GB, free: 2.195 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005495/0.1264, allocations: 384.6 kB / 0.4897 GB, free: 1.805 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.545e-05/0.1265, allocations: 100.8 kB / 0.4898 GB, free: 1.688 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.953e-05/0.1265, allocations: 4 kB / 0.4898 GB, free: 1.684 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001485/0.1267, allocations: 15.98 kB / 0.4898 GB, free: 1.668 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.925e-05/0.1268, allocations: 19.97 kB / 0.4898 GB, free: 1.648 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.148e-05/0.1268, allocations: 12 kB / 0.4898 GB, free: 1.637 MB / 366.1 MB Notification: Performance of sorting global known variables: time 6.376e-05/0.1269, allocations: 109.9 kB / 0.4899 GB, free: 1.531 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1269, allocations: 11.88 kB / 0.4899 GB, free: 1.52 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005452/0.1274, allocations: 171.6 kB / 0.4901 GB, free: 1.352 MB / 366.1 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 (29): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 4 systems {1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004614/0.1279, allocations: 231 kB / 0.4903 GB, free: 1.117 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007857/0.1287, allocations: 320.8 kB / 0.4906 GB, free: 0.8047 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.1287, allocations: 0 / 0.4906 GB, free: 0.8047 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004293/0.1291, allocations: 179.8 kB / 0.4908 GB, free: 0.6289 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002992/0.1294, allocations: 15.94 kB / 0.4908 GB, free: 0.6133 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001084/0.1305, allocations: 0.7703 MB / 0.4916 GB, free: 15.82 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000342/0.1309, allocations: 0.7986 MB / 0.4924 GB, free: 15 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.183e-05/0.131, allocations: 35.42 kB / 0.4924 GB, free: 14.96 MB / 382.1 MB Notification: Performance of SimCode: time 1.954e-06/0.131, allocations: 4 kB / 0.4924 GB, free: 14.96 MB / 382.1 MB Notification: Performance of Templates: time 0.01248/0.1435, allocations: 8.839 MB / 0.501 GB, free: 6.121 MB / 382.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/PressureLoss/StraightPipe/dp_turbulent_DPMFLOW/dp_turbulent_DPMFLOW.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches