Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_cpp_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_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001634/0.001639, allocations: 186.9 kB / 16.4 MB, free: 5.625 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.294/2.294, allocations: 205.4 MB / 222.5 MB, free: 13.76 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0012/0.0012, allocations: 98.78 kB / 270.9 MB, free: 13.28 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2933/0.2933, allocations: 43.56 MB / 362.7 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006551/0.0006555, allocations: 12 kB / 431.4 MB, free: 20.25 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.122/0.1227, allocations: 58.85 MB / 490.2 MB, free: 9.328 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW): time 0.002678/0.1254, allocations: 1.478 MB / 491.7 MB, free: 7.828 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.005339/0.1308, allocations: 2.501 MB / 494.2 MB, free: 5.32 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001368/0.131, allocations: 4 kB / 494.2 MB, free: 5.316 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002809/0.1313, allocations: 43.69 kB / 494.3 MB, free: 5.273 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003246/0.1316, allocations: 63.83 kB / 494.3 MB, free: 5.211 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002439/0.1341, allocations: 0.6234 MB / 495 MB, free: 4.586 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.000338/0.1345, allocations: 163.7 kB / 495.1 MB, free: 4.426 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.619e-05/0.1346, allocations: 28.39 kB / 495.1 MB, free: 4.395 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002031/0.1348, allocations: 79.62 kB / 495.2 MB, free: 4.316 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001824/0.135, allocations: 95.59 kB / 495.3 MB, free: 4.223 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 3.303e-05/0.135, allocations: 8 kB / 495.3 MB, free: 4.215 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002846/0.1379, allocations: 1.201 MB / 496.5 MB, free: 3.012 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001403/0.1381, allocations: 63.73 kB / 496.6 MB, free: 2.949 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001103/0.1382, allocations: 65.58 kB / 496.6 MB, free: 2.879 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001602/0.1398, allocations: 0.5188 MB / 497.2 MB, free: 2.359 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.237e-06/0.1398, allocations: 0 / 497.2 MB, free: 2.359 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.014e-06/0.1398, allocations: 0 / 497.2 MB, free: 2.359 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.652e-06/0.1399, allocations: 0 / 497.2 MB, free: 2.359 MB / 330.7 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.001366/0.1412, allocations: 0.6316 MB / 497.8 MB, free: 1.68 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.753e-05/0.1413, allocations: 8.031 kB / 497.8 MB, free: 1.672 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001133/0.1414, allocations: 31.62 kB / 497.8 MB, free: 1.641 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004052/0.1418, allocations: 246.6 kB / 498.1 MB, free: 1.359 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.395e-05/0.1419, allocations: 20.56 kB / 498.1 MB, free: 1.34 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.025e-05/0.142, allocations: 20 kB / 498.1 MB, free: 1.32 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001258/0.1433, allocations: 479.3 kB / 498.6 MB, free: 0.8516 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.659e-05/0.1433, allocations: 0 / 498.6 MB, free: 0.8516 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.708e-05/0.1434, allocations: 8 kB / 498.6 MB, free: 0.8438 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001157/0.1435, allocations: 52.92 kB / 498.6 MB, free: 0.7891 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001466/0.145, allocations: 0.562 MB / 499.2 MB, free: 232 kB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003143/0.1481, allocations: 1.342 MB / 0.4888 GB, free: 14.76 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001012/0.1492, allocations: 290.4 kB / 0.4891 GB, free: 14.47 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.517e-05/0.1493, allocations: 8.375 kB / 0.4891 GB, free: 14.46 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.911e-05/0.1493, allocations: 39 kB / 0.4891 GB, free: 14.41 MB / 346.7 MB Notification: Performance of pre-optimization done (n=25): time 3.347e-06/0.1493, allocations: 0 / 0.4891 GB, free: 14.41 MB / 346.7 MB Notification: Performance of matching and sorting (n=25): time 0.001294/0.1506, allocations: 353 kB / 0.4895 GB, free: 14.06 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.668e-05/0.1507, allocations: 55.41 kB / 0.4895 GB, free: 14 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001748/0.1509, allocations: 133.8 kB / 0.4897 GB, free: 13.86 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 5.009e-05/0.151, allocations: 29.7 kB / 0.4897 GB, free: 13.82 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001787/0.1511, allocations: 262.2 kB / 0.4899 GB, free: 13.57 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001274/0.1513, allocations: 90.75 kB / 0.49 GB, free: 13.48 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.089e-05/0.1513, allocations: 4 kB / 0.49 GB, free: 13.47 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000155/0.1515, allocations: 326.8 kB / 0.4903 GB, free: 13.14 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003649/0.1519, allocations: 99.84 kB / 0.4904 GB, free: 13.05 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004669/0.1524, allocations: 186 kB / 0.4906 GB, free: 12.83 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004748/0.1529, allocations: 119.9 kB / 0.4907 GB, free: 12.71 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.388e-06/0.1529, allocations: 0 / 0.4907 GB, free: 12.71 MB / 346.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001028/0.1539, allocations: 325 kB / 0.491 GB, free: 12.39 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.551e-05/0.154, allocations: 11.44 kB / 0.491 GB, free: 12.38 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.115e-05/0.154, allocations: 4.344 kB / 0.491 GB, free: 12.38 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.222e-05/0.154, allocations: 8 kB / 0.4911 GB, free: 12.37 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001073/0.1551, allocations: 127.8 kB / 0.4912 GB, free: 12.24 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001601/0.1567, allocations: 2.367 MB / 0.4935 GB, free: 9.781 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003235/0.1571, allocations: 32.05 kB / 0.4935 GB, free: 9.75 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.899e-05/0.1571, allocations: 23.98 kB / 0.4935 GB, free: 9.727 MB / 346.7 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.0003253/0.1575, allocations: 181.6 kB / 0.4937 GB, free: 9.539 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.877e-05/0.1576, allocations: 15.81 kB / 0.4937 GB, free: 9.523 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001382/0.159, allocations: 366.3 kB / 0.4941 GB, free: 9.164 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.686e-06/0.159, allocations: 4 kB / 0.4941 GB, free: 9.16 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.075e-06/0.159, allocations: 7.953 kB / 0.4941 GB, free: 9.152 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.784e-06/0.159, allocations: 3.984 kB / 0.4941 GB, free: 9.148 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006266/0.1597, allocations: 337.3 kB / 0.4944 GB, free: 8.77 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.937e-06/0.1597, allocations: 0 / 0.4944 GB, free: 8.77 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009809/0.1607, allocations: 119.8 kB / 0.4945 GB, free: 8.652 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.025e-06/0.1607, allocations: 0 / 0.4945 GB, free: 8.652 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.507e-05/0.1607, allocations: 11.98 kB / 0.4945 GB, free: 8.641 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001553/0.1623, allocations: 2.368 MB / 0.4969 GB, free: 6.18 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/0.1623, allocations: 0 / 0.4969 GB, free: 6.18 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009748/0.1633, allocations: 383.3 kB / 0.4972 GB, free: 5.789 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.368e-05/0.1634, allocations: 92.86 kB / 0.4973 GB, free: 5.68 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.078e-05/0.1635, allocations: 11.95 kB / 0.4973 GB, free: 5.668 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002881/0.1638, allocations: 11.98 kB / 0.4973 GB, free: 5.656 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001004/0.1639, allocations: 19.97 kB / 0.4974 GB, free: 5.637 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.051e-05/0.164, allocations: 15.98 kB / 0.4974 GB, free: 5.621 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001035/0.1641, allocations: 99.2 kB / 0.4975 GB, free: 5.523 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.457e-06/0.1641, allocations: 0 / 0.4975 GB, free: 5.523 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001092/0.1652, allocations: 247.4 kB / 0.4977 GB, free: 5.281 MB / 346.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 (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.001132/0.1664, allocations: 342.8 kB / 0.498 GB, free: 4.934 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001418/0.1678, allocations: 304.7 kB / 0.4983 GB, free: 4.637 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/0.1678, allocations: 0 / 0.4983 GB, free: 4.637 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008525/0.1687, allocations: 188.4 kB / 0.4985 GB, free: 4.453 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003276/0.169, allocations: 8 kB / 0.4985 GB, free: 4.445 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001655/0.1707, allocations: 0.7392 MB / 0.4992 GB, free: 3.684 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004748/0.1712, allocations: 0.8065 MB / 0.5 GB, free: 2.852 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001994/0.1715, allocations: 31.42 kB / 0.5 GB, free: 2.82 MB / 346.7 MB Notification: Performance of SimCode: time 9.92e-07/0.1715, allocations: 0 / 0.5 GB, free: 2.82 MB / 346.7 MB Notification: Performance of Templates: time 0.02155/0.193, allocations: 9.787 MB / 0.5096 GB, free: 9.027 MB / 362.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/Dissipation/Verifications/PressureLoss/StraightPipe/dp_overall_DPMFLOW/dp_overall_DPMFLOW.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches