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.0009171/0.0009172, allocations: 95.09 kB / 18.01 MB, free: 5.734 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001086/0.001086, allocations: 207 kB / 18.94 MB, free: 4.844 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.338/1.338, allocations: 227.7 MB / 247.5 MB, free: 11.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2173/0.2173, allocations: 46.19 MB / 345.9 MB, free: 11.37 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002482/0.0002481, allocations: 4 kB / 420.2 MB, free: 19.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1044/0.1046, allocations: 63.56 MB / 483.8 MB, free: 4.125 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW): time 0.001989/0.1067, allocations: 1.552 MB / 485.3 MB, free: 2.559 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003895/0.1106, allocations: 2.925 MB / 488.2 MB, free: 15.62 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.28e-05/0.1107, allocations: 4 kB / 488.2 MB, free: 15.62 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002278/0.1109, allocations: 39.81 kB / 488.3 MB, free: 15.58 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002751/0.1112, allocations: 79.58 kB / 488.4 MB, free: 15.5 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001472/0.1127, allocations: 0.6387 MB / 489 MB, free: 14.86 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003112/0.113, allocations: 306.7 kB / 489.3 MB, free: 14.56 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.977e-05/0.1131, allocations: 32.33 kB / 489.3 MB, free: 14.53 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002303/0.1133, allocations: 103.5 kB / 489.4 MB, free: 14.43 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001816/0.1135, allocations: 119.5 kB / 489.5 MB, free: 14.31 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.599e-05/0.1136, allocations: 8 kB / 489.5 MB, free: 14.3 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001599/0.1152, allocations: 1.228 MB / 490.8 MB, free: 13.07 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 8.685e-05/0.1153, allocations: 75.66 kB / 490.9 MB, free: 13 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001262/0.1154, allocations: 136.9 kB / 491 MB, free: 12.86 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007984/0.1162, allocations: 0.5497 MB / 491.5 MB, free: 12.31 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.1162, allocations: 4 kB / 491.5 MB, free: 12.3 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.213e-06/0.1162, allocations: 0 / 491.5 MB, free: 12.3 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.853e-06/0.1162, allocations: 0 / 491.5 MB, free: 12.3 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.0009216/0.1172, allocations: 0.628 MB / 492.2 MB, free: 11.63 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.324e-05/0.1172, allocations: 8.875 kB / 492.2 MB, free: 11.62 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.842e-05/0.1173, allocations: 28.56 kB / 492.2 MB, free: 11.59 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002329/0.1175, allocations: 251.2 kB / 492.4 MB, free: 11.31 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.641e-05/0.1176, allocations: 20.56 kB / 492.5 MB, free: 11.29 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.189e-05/0.1176, allocations: 31.94 kB / 492.5 MB, free: 11.26 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006847/0.1183, allocations: 479.3 kB / 493 MB, free: 10.79 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.095e-05/0.1183, allocations: 0 / 493 MB, free: 10.79 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.835e-05/0.1184, allocations: 8 kB / 493 MB, free: 10.78 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.898e-05/0.1184, allocations: 44.97 kB / 493 MB, free: 10.73 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008258/0.1193, allocations: 0.5582 MB / 493.6 MB, free: 10.18 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00169/0.121, allocations: 1.315 MB / 494.9 MB, free: 8.738 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004792/0.1214, allocations: 284.6 kB / 495.2 MB, free: 8.453 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001963/0.1217, allocations: 100.8 kB / 495.3 MB, free: 8.352 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.834e-05/0.1217, allocations: 12.38 kB / 495.3 MB, free: 8.34 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.471e-05/0.1217, allocations: 38.48 kB / 495.3 MB, free: 8.293 MB / 366.1 MB Notification: Performance of pre-optimization done (n=25): time 1.323e-06/0.1217, allocations: 0 / 495.3 MB, free: 8.293 MB / 366.1 MB Notification: Performance of matching and sorting (n=25): time 0.0007064/0.1224, allocations: 353.1 kB / 495.7 MB, free: 7.941 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.621e-05/0.1225, allocations: 51.41 kB / 495.7 MB, free: 7.879 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000105/0.1226, allocations: 149.1 kB / 495.9 MB, free: 7.723 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.218e-05/0.1226, allocations: 37.64 kB / 495.9 MB, free: 7.68 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000108/0.1227, allocations: 191.8 kB / 496.1 MB, free: 7.488 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.042e-05/0.1228, allocations: 82.75 kB / 496.2 MB, free: 7.406 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.242e-05/0.1229, allocations: 37.7 kB / 496.2 MB, free: 7.363 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.528e-05/0.123, allocations: 322.8 kB / 496.5 MB, free: 7.039 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002021/0.1232, allocations: 91.92 kB / 496.6 MB, free: 6.949 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000249/0.1234, allocations: 186.8 kB / 496.8 MB, free: 6.73 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000471/0.1239, allocations: 306 kB / 497.1 MB, free: 6.395 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.1239, allocations: 0 / 497.1 MB, free: 6.395 MB / 366.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0005777/0.1245, allocations: 338.2 kB / 497.4 MB, free: 6.059 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.373e-05/0.1245, allocations: 18.44 kB / 497.4 MB, free: 6.043 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.98e-06/0.1245, allocations: 0 / 497.4 MB, free: 6.043 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.148e-05/0.1246, allocations: 4 kB / 497.4 MB, free: 6.039 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004585/0.125, allocations: 123.9 kB / 497.6 MB, free: 5.918 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001064/0.1261, allocations: 2.36 MB / 499.9 MB, free: 3.465 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001758/0.1263, allocations: 43.91 kB / 500 MB, free: 3.422 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.616e-05/0.1263, allocations: 19.98 kB / 500 MB, free: 3.402 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.0001584/0.1265, allocations: 169.7 kB / 0.4884 GB, free: 3.227 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.251e-05/0.1265, allocations: 15.81 kB / 0.4884 GB, free: 3.211 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007967/0.1273, allocations: 374.4 kB / 0.4888 GB, free: 2.84 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/0.1274, allocations: 4 kB / 0.4888 GB, free: 2.836 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.838e-06/0.1274, allocations: 0 / 0.4888 GB, free: 2.836 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.618e-06/0.1274, allocations: 3.938 kB / 0.4888 GB, free: 2.832 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003562/0.1277, allocations: 345.3 kB / 0.4891 GB, free: 2.445 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.1277, allocations: 0 / 0.4891 GB, free: 2.445 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004008/0.1281, allocations: 99.89 kB / 0.4892 GB, free: 2.348 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.66e-06/0.1282, allocations: 4 kB / 0.4892 GB, free: 2.344 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.249e-05/0.1282, allocations: 19.98 kB / 0.4893 GB, free: 2.324 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001043/0.1292, allocations: 2.356 MB / 0.4916 GB, free: 15.88 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.1293, allocations: 0 / 0.4916 GB, free: 15.88 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005401/0.1298, allocations: 388.6 kB / 0.4919 GB, free: 15.48 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.493e-05/0.1299, allocations: 96.8 kB / 0.492 GB, free: 15.37 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.987e-05/0.1299, allocations: 8 kB / 0.492 GB, free: 15.36 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001505/0.13, allocations: 15.97 kB / 0.492 GB, free: 15.34 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.284e-05/0.1301, allocations: 19.98 kB / 0.4921 GB, free: 15.32 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.444e-05/0.1301, allocations: 11.98 kB / 0.4921 GB, free: 15.31 MB / 382.1 MB Notification: Performance of sorting global known variables: time 5.95e-05/0.1302, allocations: 107.2 kB / 0.4922 GB, free: 15.21 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1302, allocations: 0 / 0.4922 GB, free: 15.21 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006551/0.1309, allocations: 247.5 kB / 0.4924 GB, free: 14.96 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.0006831/0.1316, allocations: 350.7 kB / 0.4927 GB, free: 14.61 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0007283/0.1323, allocations: 316.8 kB / 0.493 GB, free: 14.3 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.1323, allocations: 0 / 0.493 GB, free: 14.3 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004438/0.1328, allocations: 187.8 kB / 0.4932 GB, free: 14.12 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002741/0.1331, allocations: 15.94 kB / 0.4932 GB, free: 14.11 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009813/0.134, allocations: 0.782 MB / 0.494 GB, free: 13.31 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003203/0.1344, allocations: 0.7909 MB / 0.4948 GB, free: 12.49 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.957e-05/0.1345, allocations: 31.44 kB / 0.4948 GB, free: 12.46 MB / 382.1 MB Notification: Performance of SimCode: time 2.8e-07/0.1345, allocations: 0 / 0.4948 GB, free: 12.46 MB / 382.1 MB Notification: Performance of Templates: time 0.01841/0.1529, allocations: 9.969 MB / 0.5045 GB, free: 2.484 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/jenkins1/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/jenkins1/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