Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009079/0.0009079, allocations: 97.69 kB / 16.98 MB, free: 6.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00102/0.00102, allocations: 183.2 kB / 17.87 MB, free: 5.957 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.456/1.456, allocations: 223.2 MB / 241.8 MB, free: 14.63 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2283/0.2283, allocations: 44.23 MB / 337.1 MB, free: 2.656 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002625/0.0002625, allocations: 8 kB / 409.6 MB, free: 27.65 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.131/0.1313, allocations: 61.92 MB / 471.5 MB, free: 13.7 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW): time 0.002076/0.1334, allocations: 1.47 MB / 473 MB, free: 12.21 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002137/0.1356, allocations: 1.451 MB / 474.4 MB, free: 10.76 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.376e-05/0.1357, allocations: 0 / 474.4 MB, free: 10.76 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002071/0.1359, allocations: 39.8 kB / 474.4 MB, free: 10.72 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002518/0.1361, allocations: 63.78 kB / 474.5 MB, free: 10.66 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006754/0.1368, allocations: 355.2 kB / 474.9 MB, free: 10.31 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002223/0.137, allocations: 163.6 kB / 475 MB, free: 10.15 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.783e-05/0.1371, allocations: 24.41 kB / 475 MB, free: 10.12 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001493/0.1373, allocations: 83.62 kB / 475.1 MB, free: 10.04 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001354/0.1374, allocations: 91.59 kB / 475.2 MB, free: 9.949 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.089e-05/0.1375, allocations: 4 kB / 475.2 MB, free: 9.945 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009955/0.1385, allocations: 0.698 MB / 475.9 MB, free: 9.246 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.061e-05/0.1386, allocations: 63.8 kB / 476 MB, free: 9.184 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.55e-05/0.1386, allocations: 65.52 kB / 476 MB, free: 9.113 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005478/0.1392, allocations: 367.6 kB / 476.4 MB, free: 8.754 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.1392, allocations: 4 kB / 476.4 MB, free: 8.75 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.1392, allocations: 0 / 476.4 MB, free: 8.75 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.689e-06/0.1392, allocations: 0 / 476.4 MB, free: 8.75 MB / 350.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.000931/0.1402, allocations: 0.5693 MB / 477 MB, free: 8.133 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.412e-05/0.1402, allocations: 8.031 kB / 477 MB, free: 8.125 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.553e-05/0.1403, allocations: 31.61 kB / 477 MB, free: 8.094 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002946/0.1406, allocations: 242.5 kB / 477.2 MB, free: 7.816 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.498e-05/0.1406, allocations: 32.5 kB / 477.3 MB, free: 7.785 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.046e-05/0.1407, allocations: 24 kB / 477.3 MB, free: 7.762 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007045/0.1414, allocations: 471.2 kB / 477.8 MB, free: 7.297 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.288e-05/0.1414, allocations: 0 / 477.8 MB, free: 7.297 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.833e-05/0.1414, allocations: 15.92 kB / 477.8 MB, free: 7.281 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.603e-05/0.1415, allocations: 48.95 kB / 477.8 MB, free: 7.23 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000853/0.1424, allocations: 0.5582 MB / 478.4 MB, free: 6.676 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002015/0.1444, allocations: 1.338 MB / 479.7 MB, free: 5.215 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006001/0.145, allocations: 286.4 kB / 480 MB, free: 4.926 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.271e-05/0.1451, allocations: 16.36 kB / 480 MB, free: 4.91 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.772e-05/0.1451, allocations: 30.56 kB / 480 MB, free: 4.871 MB / 350.1 MB Notification: Performance of pre-optimization done (n=25): time 3.025e-06/0.1452, allocations: 0 / 480 MB, free: 4.871 MB / 350.1 MB Notification: Performance of matching and sorting (n=25): time 0.0007895/0.146, allocations: 350.2 kB / 480.4 MB, free: 4.523 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.043e-05/0.146, allocations: 51.41 kB / 480.4 MB, free: 4.461 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001466/0.1462, allocations: 150 kB / 480.6 MB, free: 4.301 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.622e-05/0.1462, allocations: 25.7 kB / 480.6 MB, free: 4.27 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001344/0.1463, allocations: 191.7 kB / 480.8 MB, free: 4.078 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.539e-05/0.1464, allocations: 86.75 kB / 480.9 MB, free: 3.992 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.389e-05/0.1464, allocations: 4 kB / 480.9 MB, free: 3.988 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000114/0.1465, allocations: 326.8 kB / 481.2 MB, free: 3.66 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001869/0.1467, allocations: 95.78 kB / 481.3 MB, free: 3.566 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002332/0.147, allocations: 178.1 kB / 481.5 MB, free: 3.355 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002186/0.1472, allocations: 128 kB / 481.6 MB, free: 3.23 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.1472, allocations: 0 / 481.6 MB, free: 3.23 MB / 350.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0005266/0.1477, allocations: 325.3 kB / 481.9 MB, free: 2.906 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.731e-05/0.1478, allocations: 8 kB / 481.9 MB, free: 2.898 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.016e-05/0.1478, allocations: 7.984 kB / 481.9 MB, free: 2.891 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.545e-05/0.1478, allocations: 11.94 kB / 481.9 MB, free: 2.879 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005167/0.1483, allocations: 127.8 kB / 482.1 MB, free: 2.754 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001214/0.1496, allocations: 2.368 MB / 484.4 MB, free: 300 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001724/0.1497, allocations: 35.67 kB / 484.5 MB, free: 264 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.606e-05/0.1498, allocations: 12 kB / 484.5 MB, free: 252 kB / 350.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 (linear and non-linear blocks): 4 * 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: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001771/0.15, allocations: 178.2 kB / 484.7 MB, free: 64 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.741e-05/0.15, allocations: 15.86 kB / 484.7 MB, free: 48 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007995/0.1508, allocations: 379.4 kB / 485 MB, free: 15.68 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.804e-06/0.1508, allocations: 4 kB / 485 MB, free: 15.67 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.441e-06/0.1508, allocations: 3.938 kB / 485 MB, free: 15.67 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.1508, allocations: 0 / 485 MB, free: 15.67 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003845/0.1512, allocations: 349.2 kB / 485.4 MB, free: 15.28 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.1512, allocations: 0 / 485.4 MB, free: 15.28 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004619/0.1517, allocations: 119.9 kB / 485.5 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.957e-06/0.1517, allocations: 0 / 485.5 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.174e-05/0.1518, allocations: 15.98 kB / 485.5 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001067/0.1528, allocations: 2.356 MB / 487.9 MB, free: 12.7 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.1528, allocations: 0 / 487.9 MB, free: 12.7 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005509/0.1534, allocations: 387.6 kB / 488.3 MB, free: 12.3 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.576e-05/0.1535, allocations: 92.86 kB / 488.3 MB, free: 12.19 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.249e-05/0.1535, allocations: 8 kB / 488.4 MB, free: 12.18 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001512/0.1537, allocations: 15.98 kB / 488.4 MB, free: 12.17 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.632e-05/0.1537, allocations: 19.91 kB / 488.4 MB, free: 12.15 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.105e-05/0.1538, allocations: 16 kB / 488.4 MB, free: 12.13 MB / 366.1 MB Notification: Performance of sorting global known variables: time 6.41e-05/0.1538, allocations: 105.7 kB / 488.5 MB, free: 12.03 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.8e-07/0.1538, allocations: 0 / 488.5 MB, free: 12.03 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005342/0.1544, allocations: 163.6 kB / 488.7 MB, free: 11.87 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 (linear and non-linear blocks): 4 * 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: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004184/0.1548, allocations: 227 kB / 488.9 MB, free: 11.64 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007502/0.1556, allocations: 308.3 kB / 489.2 MB, free: 11.34 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.1556, allocations: 0 / 489.2 MB, free: 11.34 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004346/0.156, allocations: 183.7 kB / 489.4 MB, free: 11.16 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002118/0.1562, allocations: 15.95 kB / 489.4 MB, free: 11.14 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001011/0.1573, allocations: 0.7018 MB / 490.1 MB, free: 10.43 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003772/0.1577, allocations: 0.8143 MB / 490.9 MB, free: 9.586 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002985/0.158, allocations: 101.7 kB / 491 MB, free: 9.484 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.456e-05/0.158, allocations: 27.42 kB / 491 MB, free: 9.457 MB / 366.1 MB Notification: Performance of SimCode: time 2.81e-07/0.158, allocations: 4 kB / 491 MB, free: 9.453 MB / 366.1 MB Notification: Performance of Templates: time 0.008146/0.1662, allocations: 4.213 MB / 495.2 MB, free: 5.266 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW_res.mat","/var/lib/jenkins/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","../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches