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_laminar_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_laminar_DPMFLOW,tolerance=1e-05,outputFormat="mat",numberOfIntervals=10100,variableFilter="time|MIN|A_cross|roughness|d_hyd|K.1.|L|eta|rho|input_mdot.1.|input_dp.1.|M_FLOW.1.|DP.1.|velocity.1.|Re.1.|DP_plot.1.|zeta_TOT.1.|lambda_FRI.1.|input_DP.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW,tolerance=1e-05,outputFormat="mat",numberOfIntervals=10100,variableFilter="time|MIN|A_cross|roughness|d_hyd|K.1.|L|eta|rho|input_mdot.1.|input_dp.1.|M_FLOW.1.|DP.1.|velocity.1.|Re.1.|DP_plot.1.|zeta_TOT.1.|lambda_FRI.1.|input_DP.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001551/0.001551, allocations: 182.5 kB / 16.4 MB, free: 5.746 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.944/1.944, allocations: 205.4 MB / 222.5 MB, free: 9.113 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.001115/0.001115, allocations: 92.36 kB / 270.9 MB, free: 8.371 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.5314/0.5314, allocations: 43.56 MB / 362.7 MB, free: 52.16 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004962/0.0004962, allocations: 16 kB / 431.4 MB, free: 6.145 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1248/0.1253, allocations: 58.84 MB / 490.2 MB, free: 11.21 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW): time 0.002675/0.1281, allocations: 1.458 MB / 491.7 MB, free: 9.742 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001713/0.1298, allocations: 0.7417 MB / 492.4 MB, free: 8.996 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.19e-05/0.1299, allocations: 0 / 492.4 MB, free: 8.996 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002332/0.1302, allocations: 31.77 kB / 492.5 MB, free: 8.965 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002857/0.1305, allocations: 55.83 kB / 492.5 MB, free: 8.91 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002292/0.1307, allocations: 59.86 kB / 492.6 MB, free: 8.852 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001768/0.1309, allocations: 83.8 kB / 492.7 MB, free: 8.77 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.782e-05/0.131, allocations: 7.984 kB / 492.7 MB, free: 8.762 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001513/0.1312, allocations: 51.77 kB / 492.7 MB, free: 8.711 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000147/0.1313, allocations: 59.8 kB / 492.8 MB, free: 8.652 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.094e-05/0.1313, allocations: 4 kB / 492.8 MB, free: 8.648 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002489/0.1316, allocations: 63.95 kB / 492.8 MB, free: 8.586 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 7.251e-05/0.1317, allocations: 31.92 kB / 492.9 MB, free: 8.555 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.433e-05/0.1318, allocations: 37.62 kB / 492.9 MB, free: 8.512 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002278/0.132, allocations: 88.09 kB / 493 MB, free: 8.426 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.324e-06/0.132, allocations: 4 kB / 493 MB, free: 8.422 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.943e-06/0.132, allocations: 0 / 493 MB, free: 8.422 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.729e-06/0.132, allocations: 3.938 kB / 493 MB, free: 8.418 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0006927/0.1327, allocations: 399 kB / 493.4 MB, free: 7.98 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.272e-05/0.1328, allocations: 16.03 kB / 493.4 MB, free: 7.965 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004398/0.1332, allocations: 35.83 kB / 493.4 MB, free: 7.93 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002391/0.1335, allocations: 182.9 kB / 493.6 MB, free: 7.711 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.964e-05/0.1335, allocations: 8 kB / 493.6 MB, free: 7.703 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.88e-05/0.1336, allocations: 4 kB / 493.6 MB, free: 7.699 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005536/0.1341, allocations: 188.1 kB / 493.8 MB, free: 7.5 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.458e-05/0.1342, allocations: 0 / 493.8 MB, free: 7.5 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.432e-05/0.1342, allocations: 7.922 kB / 493.8 MB, free: 7.492 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.226e-05/0.1343, allocations: 11.98 kB / 493.8 MB, free: 7.48 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005639/0.1348, allocations: 151.8 kB / 494 MB, free: 7.332 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001302/0.1361, allocations: 0.6407 MB / 494.6 MB, free: 6.621 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005296/0.1367, allocations: 118.6 kB / 494.7 MB, free: 6.496 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.864e-05/0.1367, allocations: 4 kB / 494.7 MB, free: 6.492 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.269e-05/0.1368, allocations: 34.55 kB / 494.8 MB, free: 6.449 MB / 378.7 MB Notification: Performance of pre-optimization done (n=7): time 2.885e-06/0.1368, allocations: 0 / 494.8 MB, free: 6.449 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.0007713/0.1376, allocations: 149.5 kB / 494.9 MB, free: 6.297 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.009e-05/0.1377, allocations: 59.34 kB / 495 MB, free: 6.227 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001427/0.1378, allocations: 130 kB / 495.1 MB, free: 6.09 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.827e-05/0.1378, allocations: 29.7 kB / 495.1 MB, free: 6.055 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001282/0.138, allocations: 190.5 kB / 495.3 MB, free: 5.867 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.447e-05/0.138, allocations: 23.66 kB / 495.3 MB, free: 5.844 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.857e-06/0.1381, allocations: 0 / 495.3 MB, free: 5.844 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001491/0.1382, allocations: 330.8 kB / 495.7 MB, free: 5.512 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002184/0.1384, allocations: 35.97 kB / 495.7 MB, free: 5.477 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002523/0.1387, allocations: 103.3 kB / 495.8 MB, free: 5.352 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002409/0.139, allocations: 59.91 kB / 495.9 MB, free: 5.293 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.928e-06/0.139, allocations: 0 / 495.9 MB, free: 5.293 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005821/0.1396, allocations: 169.5 kB / 496 MB, free: 5.121 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.193e-05/0.1396, allocations: 4 kB / 496 MB, free: 5.117 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.083e-05/0.1397, allocations: 4 kB / 496 MB, free: 5.113 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.905e-05/0.1397, allocations: 4 kB / 496 MB, free: 5.109 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000321/0.14, allocations: 35.98 kB / 496.1 MB, free: 5.074 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.512e-05/0.14, allocations: 11.92 kB / 496.1 MB, free: 5.062 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000168/0.1402, allocations: 19.84 kB / 496.1 MB, free: 5.043 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.505e-05/0.1403, allocations: 8.031 kB / 496.1 MB, free: 5.035 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (15): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001444/0.1404, allocations: 133.8 kB / 496.2 MB, free: 4.895 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.709e-05/0.1405, allocations: 3.906 kB / 496.3 MB, free: 4.891 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005434/0.141, allocations: 141.9 kB / 496.4 MB, free: 4.746 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.679e-06/0.141, allocations: 4 kB / 496.4 MB, free: 4.742 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.1411, allocations: 7.875 kB / 496.4 MB, free: 4.734 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.1411, allocations: 0 / 496.4 MB, free: 4.734 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003024/0.1414, allocations: 201.6 kB / 496.6 MB, free: 4.488 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.1414, allocations: 0 / 496.6 MB, free: 4.488 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002643/0.1417, allocations: 31.98 kB / 496.6 MB, free: 4.457 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.499e-06/0.1417, allocations: 0 / 496.6 MB, free: 4.457 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.252e-05/0.1417, allocations: 4 kB / 496.6 MB, free: 4.453 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.475e-06/0.1417, allocations: 0 / 496.6 MB, free: 4.453 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.1417, allocations: 0 / 496.6 MB, free: 4.453 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005198/0.1423, allocations: 227.3 kB / 496.9 MB, free: 4.215 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.985e-05/0.1423, allocations: 88.95 kB / 496.9 MB, free: 4.109 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.561e-05/0.1424, allocations: 4 kB / 496.9 MB, free: 4.105 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001701/0.1425, allocations: 7.984 kB / 497 MB, free: 4.098 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.972e-05/0.1426, allocations: 7.984 kB / 497 MB, free: 4.09 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.455e-05/0.1426, allocations: 7.984 kB / 497 MB, free: 4.082 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.068e-05/0.1427, allocations: 95.27 kB / 497.1 MB, free: 3.988 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.1427, allocations: 0 / 497.1 MB, free: 3.988 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003735/0.1431, allocations: 24 kB / 497.1 MB, free: 3.965 MB / 378.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 (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001678/0.1433, allocations: 103.2 kB / 497.2 MB, free: 3.852 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005214/0.1438, allocations: 112.8 kB / 497.3 MB, free: 3.742 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.1438, allocations: 0 / 497.3 MB, free: 3.742 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002096/0.1441, allocations: 40.12 kB / 497.3 MB, free: 3.703 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002237/0.1443, allocations: 11.95 kB / 497.3 MB, free: 3.691 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006835/0.145, allocations: 335 kB / 497.7 MB, free: 3.328 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003875/0.1454, allocations: 0.7121 MB / 498.4 MB, free: 2.59 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.334e-05/0.1455, allocations: 15.38 kB / 498.4 MB, free: 2.578 MB / 378.7 MB Notification: Performance of SimCode: time 8.02e-07/0.1455, allocations: 0 / 498.4 MB, free: 2.578 MB / 378.7 MB Notification: Performance of Templates: time 0.004206/0.1497, allocations: 1.3 MB / 499.7 MB, free: 1.285 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_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_laminar_DPMFLOW/dp_laminar_DPMFLOW.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches