Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_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_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_trunk_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_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001378/0.001378, allocations: 108.5 kB / 17.21 MB, free: 6.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001503/0.001503, allocations: 209.7 kB / 18.14 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.46/1.46, allocations: 227.4 MB / 246.3 MB, free: 10.8 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2561/0.2561, allocations: 46.12 MB / 343.7 MB, free: 11.74 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002326/0.002326, allocations: 80.52 kB / 417 MB, free: 20.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1185/0.1209, allocations: 62.47 MB / 479.4 MB, free: 5.605 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW): time 0.003389/0.1243, allocations: 1.887 MB / 481.3 MB, free: 3.699 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004479/0.1288, allocations: 2.987 MB / 484.3 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.397e-05/0.1289, allocations: 4 kB / 484.3 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000271/0.1292, allocations: 43.8 kB / 484.3 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002812/0.1295, allocations: 67.66 kB / 484.4 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00146/0.131, allocations: 0.6426 MB / 485.1 MB, free: 15.94 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003339/0.1313, allocations: 314.6 kB / 485.4 MB, free: 15.64 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.123e-05/0.1314, allocations: 28.41 kB / 485.4 MB, free: 15.61 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002243/0.1316, allocations: 95.52 kB / 485.5 MB, free: 15.52 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001875/0.1318, allocations: 131.4 kB / 485.6 MB, free: 15.39 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.395e-05/0.1319, allocations: 4 kB / 485.6 MB, free: 15.38 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001836/0.1337, allocations: 1.224 MB / 486.8 MB, free: 14.16 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001061/0.1338, allocations: 71.69 kB / 486.9 MB, free: 14.09 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001302/0.134, allocations: 115.1 kB / 487 MB, free: 13.97 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00134/0.1353, allocations: 0.9157 MB / 487.9 MB, free: 13.05 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.1353, allocations: 0 / 487.9 MB, free: 13.05 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.476e-06/0.1353, allocations: 3.984 kB / 487.9 MB, free: 13.05 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.548e-06/0.1354, allocations: 0 / 487.9 MB, free: 13.05 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.001071/0.1364, allocations: 0.6786 MB / 488.6 MB, free: 12.32 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.858e-05/0.1365, allocations: 8.875 kB / 488.6 MB, free: 12.32 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.655e-05/0.1366, allocations: 28.56 kB / 488.7 MB, free: 12.29 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002883/0.1369, allocations: 243.3 kB / 488.9 MB, free: 12.01 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.538e-05/0.1369, allocations: 24.55 kB / 488.9 MB, free: 11.99 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.37e-05/0.1369, allocations: 24 kB / 488.9 MB, free: 11.96 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007758/0.1377, allocations: 467.3 kB / 489.4 MB, free: 11.5 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.467e-05/0.1378, allocations: 3.984 kB / 489.4 MB, free: 11.5 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.775e-05/0.1378, allocations: 19.98 kB / 489.4 MB, free: 11.48 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.745e-05/0.1379, allocations: 44.91 kB / 489.5 MB, free: 11.43 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008827/0.1388, allocations: 0.5543 MB / 490 MB, free: 10.88 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001994/0.1408, allocations: 1.307 MB / 491.3 MB, free: 9.453 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005558/0.1413, allocations: 278.4 kB / 491.6 MB, free: 9.172 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002061/0.1416, allocations: 92.8 kB / 491.7 MB, free: 9.078 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.903e-05/0.1416, allocations: 7.984 kB / 491.7 MB, free: 9.07 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.119e-05/0.1416, allocations: 42.5 kB / 491.7 MB, free: 9.02 MB / 366.1 MB Notification: Performance of pre-optimization done (n=25): time 1.654e-06/0.1416, allocations: 0 / 491.7 MB, free: 9.02 MB / 366.1 MB Notification: Performance of matching and sorting (n=25): time 0.000757/0.1424, allocations: 333.2 kB / 492.1 MB, free: 8.688 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.511e-05/0.1425, allocations: 59.39 kB / 492.1 MB, free: 8.617 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001248/0.1426, allocations: 136.4 kB / 492.3 MB, free: 8.473 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.937e-05/0.1426, allocations: 33.7 kB / 492.3 MB, free: 8.434 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000123/0.1428, allocations: 196.2 kB / 492.5 MB, free: 8.238 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.348e-05/0.1428, allocations: 82.75 kB / 492.6 MB, free: 8.156 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001138/0.143, allocations: 73.69 kB / 492.6 MB, free: 8.078 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001385/0.1431, allocations: 326.8 kB / 493 MB, free: 7.75 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002173/0.1433, allocations: 91.78 kB / 493 MB, free: 7.66 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002831/0.1436, allocations: 178 kB / 493.2 MB, free: 7.449 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005096/0.1441, allocations: 290 kB / 493.5 MB, free: 7.129 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.1442, allocations: 0 / 493.5 MB, free: 7.129 MB / 366.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006396/0.1448, allocations: 325.8 kB / 493.8 MB, free: 6.805 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.807e-05/0.1448, allocations: 11.94 kB / 493.8 MB, free: 6.793 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.626e-06/0.1448, allocations: 4 kB / 493.8 MB, free: 6.789 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.98e-05/0.1449, allocations: 4 kB / 493.8 MB, free: 6.785 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005099/0.1454, allocations: 116.2 kB / 493.9 MB, free: 6.672 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001423/0.1468, allocations: 2.372 MB / 496.3 MB, free: 4.207 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001977/0.147, allocations: 31.62 kB / 496.4 MB, free: 4.176 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.315e-05/0.1471, allocations: 23.98 kB / 496.4 MB, free: 4.152 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.00023/0.1473, allocations: 169.7 kB / 496.5 MB, free: 3.977 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.492e-05/0.1474, allocations: 11.91 kB / 496.6 MB, free: 3.965 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000853/0.1482, allocations: 366.4 kB / 496.9 MB, free: 3.602 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.202e-06/0.1483, allocations: 7.938 kB / 496.9 MB, free: 3.594 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/0.1483, allocations: 0 / 496.9 MB, free: 3.594 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.322e-06/0.1483, allocations: 3.938 kB / 496.9 MB, free: 3.59 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004381/0.1487, allocations: 345.3 kB / 497.3 MB, free: 3.203 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.1487, allocations: 0 / 497.3 MB, free: 3.203 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004538/0.1492, allocations: 103.9 kB / 497.4 MB, free: 3.102 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.899e-06/0.1492, allocations: 0 / 497.4 MB, free: 3.102 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.63e-05/0.1493, allocations: 15.98 kB / 497.4 MB, free: 3.086 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001351/0.1506, allocations: 2.364 MB / 499.7 MB, free: 0.6289 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.1506, allocations: 0 / 499.7 MB, free: 0.6289 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005997/0.1512, allocations: 368.4 kB / 0.4884 GB, free: 260 kB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.241e-05/0.1513, allocations: 97.06 kB / 0.4885 GB, free: 144 kB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.163e-05/0.1514, allocations: 8 kB / 0.4885 GB, free: 136 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001458/0.1515, allocations: 12 kB / 0.4885 GB, free: 124 kB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.507e-05/0.1516, allocations: 19.97 kB / 0.4885 GB, free: 104 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.392e-05/0.1516, allocations: 11.98 kB / 0.4885 GB, free: 92 kB / 366.1 MB Notification: Performance of sorting global known variables: time 9.414e-05/0.1517, allocations: 103.2 kB / 0.4886 GB, free: 15.99 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1517, allocations: 0 / 0.4886 GB, free: 15.99 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007652/0.1525, allocations: 247.4 kB / 0.4889 GB, free: 15.75 MB / 382.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.0007112/0.1532, allocations: 358.8 kB / 0.4892 GB, free: 15.39 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0008261/0.154, allocations: 308.7 kB / 0.4895 GB, free: 15.09 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.1541, allocations: 0 / 0.4895 GB, free: 15.09 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004677/0.1545, allocations: 171.8 kB / 0.4897 GB, free: 14.92 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003676/0.1549, allocations: 27.86 kB / 0.4897 GB, free: 14.89 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001138/0.1561, allocations: 0.7177 MB / 0.4904 GB, free: 14.16 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004153/0.1565, allocations: 0.7948 MB / 0.4912 GB, free: 13.34 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003152/0.1568, allocations: 97.73 kB / 0.4913 GB, free: 13.24 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.592e-05/0.1569, allocations: 31.42 kB / 0.4913 GB, free: 13.21 MB / 382.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1569, allocations: 0 / 0.4913 GB, free: 13.21 MB / 382.1 MB Notification: Performance of Templates: time 0.01199/0.1689, allocations: 6.04 MB / 0.4972 GB, free: 7.203 MB / 382.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches