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_overall_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_overall_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_overall_DPMFLOW") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_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_overall_DPMFLOW") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001161/0.001161, allocations: 93.19 kB / 16.98 MB, free: 5.938 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.001498/0.001498, allocations: 182.6 kB / 17.87 MB, free: 5.598 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.43/1.43, allocations: 223.2 MB / 241.8 MB, free: 412 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.229/0.229, allocations: 44.23 MB / 337.1 MB, free: 2.938 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002973/0.0002973, allocations: 15.98 kB / 409.6 MB, free: 27.74 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1312/0.1315, allocations: 61.91 MB / 471.5 MB, free: 13.79 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW): time 0.002321/0.1339, allocations: 1.478 MB / 472.9 MB, free: 12.29 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003574/0.1375, allocations: 2.465 MB / 475.4 MB, free: 9.824 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.555e-05/0.1376, allocations: 0 / 475.4 MB, free: 9.824 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001711/0.1378, allocations: 43.81 kB / 475.5 MB, free: 9.781 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002014/0.138, allocations: 59.77 kB / 475.5 MB, free: 9.723 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001527/0.1396, allocations: 0.6232 MB / 476.1 MB, free: 9.102 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002259/0.1398, allocations: 163.6 kB / 476.3 MB, free: 8.941 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.213e-05/0.1399, allocations: 28.39 kB / 476.3 MB, free: 8.91 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001794/0.1401, allocations: 91.55 kB / 476.4 MB, free: 8.82 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001329/0.1402, allocations: 87.61 kB / 476.5 MB, free: 8.734 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.059e-05/0.1402, allocations: 8 kB / 476.5 MB, free: 8.727 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001605/0.1418, allocations: 1.197 MB / 477.7 MB, free: 7.527 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.731e-05/0.1419, allocations: 67.73 kB / 477.8 MB, free: 7.461 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.521e-05/0.142, allocations: 65.5 kB / 477.8 MB, free: 7.391 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007975/0.1428, allocations: 0.5305 MB / 478.4 MB, free: 6.859 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.003e-06/0.1428, allocations: 0 / 478.4 MB, free: 6.859 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.1428, allocations: 0 / 478.4 MB, free: 6.859 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.669e-06/0.1428, allocations: 0 / 478.4 MB, free: 6.859 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.0008505/0.1437, allocations: 0.6238 MB / 479 MB, free: 6.188 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.594e-05/0.1437, allocations: 12.02 kB / 479 MB, free: 6.176 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.588e-05/0.1438, allocations: 27.62 kB / 479 MB, free: 6.148 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002767/0.1441, allocations: 242.5 kB / 479.3 MB, free: 5.871 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.291e-05/0.1441, allocations: 24.55 kB / 479.3 MB, free: 5.848 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.81e-05/0.1442, allocations: 24 kB / 479.3 MB, free: 5.824 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006879/0.1448, allocations: 475.3 kB / 479.8 MB, free: 5.355 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.005e-05/0.1449, allocations: 0 / 479.8 MB, free: 5.355 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.872e-05/0.1449, allocations: 15.98 kB / 479.8 MB, free: 5.34 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.088e-05/0.145, allocations: 40.97 kB / 479.8 MB, free: 5.297 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000891/0.1459, allocations: 0.5621 MB / 480.4 MB, free: 4.738 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001857/0.1477, allocations: 1.338 MB / 481.7 MB, free: 3.277 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005159/0.1483, allocations: 282.5 kB / 482 MB, free: 2.992 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.96e-05/0.1483, allocations: 16.36 kB / 482 MB, free: 2.977 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.759e-05/0.1483, allocations: 34.52 kB / 482.1 MB, free: 2.934 MB / 350.1 MB Notification: Performance of pre-optimization done (n=25): time 2.394e-06/0.1483, allocations: 0 / 482.1 MB, free: 2.934 MB / 350.1 MB Notification: Performance of matching and sorting (n=25): time 0.000681/0.149, allocations: 350.3 kB / 482.4 MB, free: 2.586 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.863e-05/0.1491, allocations: 51.41 kB / 482.4 MB, free: 2.523 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001082/0.1492, allocations: 146.1 kB / 482.6 MB, free: 2.367 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.285e-05/0.1492, allocations: 29.7 kB / 482.6 MB, free: 2.332 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.977e-05/0.1493, allocations: 195.6 kB / 482.8 MB, free: 2.137 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.613e-05/0.1494, allocations: 86.75 kB / 482.9 MB, free: 2.051 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.287e-05/0.1494, allocations: 4 kB / 482.9 MB, free: 2.047 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001346/0.1496, allocations: 322.8 kB / 483.2 MB, free: 1.723 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002071/0.1498, allocations: 99.77 kB / 483.3 MB, free: 1.625 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002517/0.15, allocations: 174.2 kB / 483.5 MB, free: 1.418 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002307/0.1503, allocations: 128 kB / 483.6 MB, free: 1.293 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.1503, allocations: 0 / 483.6 MB, free: 1.293 MB / 350.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0005637/0.1508, allocations: 321.1 kB / 483.9 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.066e-05/0.1509, allocations: 16.28 kB / 483.9 MB, free: 0.957 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.113e-06/0.1509, allocations: 8 kB / 483.9 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.582e-05/0.1509, allocations: 4 kB / 483.9 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005247/0.1514, allocations: 127.8 kB / 484.1 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001114/0.1526, allocations: 2.364 MB / 486.4 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001694/0.1527, allocations: 36.02 kB / 486.5 MB, free: 14.33 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.374e-05/0.1528, allocations: 12 kB / 486.5 MB, free: 14.32 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 (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.0001856/0.153, allocations: 186.1 kB / 486.7 MB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.818e-05/0.153, allocations: 15.81 kB / 486.7 MB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008095/0.1538, allocations: 375.4 kB / 487 MB, free: 13.74 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.34e-06/0.1539, allocations: 8 kB / 487.1 MB, free: 13.73 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.1539, allocations: 0 / 487.1 MB, free: 13.73 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.1539, allocations: 0 / 487.1 MB, free: 13.73 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003793/0.1543, allocations: 349.2 kB / 487.4 MB, free: 13.34 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.1543, allocations: 0 / 487.4 MB, free: 13.34 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004801/0.1547, allocations: 115.8 kB / 487.5 MB, free: 13.23 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.018e-06/0.1548, allocations: 0 / 487.5 MB, free: 13.23 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.997e-05/0.1548, allocations: 11.98 kB / 487.5 MB, free: 13.22 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001154/0.1559, allocations: 2.356 MB / 489.9 MB, free: 10.77 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.34e-06/0.156, allocations: 4 kB / 489.9 MB, free: 10.77 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005453/0.1565, allocations: 395.4 kB / 490.3 MB, free: 10.36 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.633e-05/0.1566, allocations: 92.86 kB / 490.4 MB, free: 10.25 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3e-05/0.1566, allocations: 8 kB / 490.4 MB, free: 10.25 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001479/0.1568, allocations: 19.92 kB / 490.4 MB, free: 10.23 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.83e-05/0.1568, allocations: 15.97 kB / 490.4 MB, free: 10.21 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.21e-05/0.1568, allocations: 15.98 kB / 490.4 MB, free: 10.2 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.00011/0.157, allocations: 97.8 kB / 490.5 MB, free: 10.1 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.157, allocations: 4 kB / 490.5 MB, free: 10.1 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007025/0.1577, allocations: 235.5 kB / 490.7 MB, free: 9.867 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.000563/0.1582, allocations: 349 kB / 491.1 MB, free: 9.516 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007414/0.159, allocations: 303.6 kB / 491.4 MB, free: 9.219 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.159, allocations: 0 / 491.4 MB, free: 9.219 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004531/0.1595, allocations: 192.4 kB / 491.6 MB, free: 9.031 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001944/0.1597, allocations: 11.91 kB / 491.6 MB, free: 9.02 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009653/0.1606, allocations: 0.6991 MB / 492.3 MB, free: 8.305 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003636/0.161, allocations: 0.8104 MB / 493.1 MB, free: 7.469 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002986/0.1613, allocations: 101.7 kB / 493.2 MB, free: 7.367 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.79e-05/0.1614, allocations: 31.42 kB / 493.2 MB, free: 7.336 MB / 366.1 MB Notification: Performance of SimCode: time 4.2e-07/0.1614, allocations: 0 / 493.2 MB, free: 7.336 MB / 366.1 MB Notification: Performance of Templates: time 0.009769/0.1712, allocations: 5.73 MB / 499 MB, free: 1.629 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_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_overall_DPMFLOW/dp_overall_DPMFLOW.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches