Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_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_turbulent_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_turbulent_DPMFLOW") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_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_turbulent_DPMFLOW") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001257/0.001257, allocations: 117.3 kB / 17.99 MB, free: 5.367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001316/0.001316, allocations: 205.8 kB / 18.92 MB, free: 4.438 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.432/1.432, allocations: 227.4 MB / 247.1 MB, free: 8.914 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2269/0.2269, allocations: 46.11 MB / 344.5 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002125/0.002125, allocations: 84.59 kB / 417.8 MB, free: 19.97 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1126/0.1148, allocations: 62.45 MB / 480.2 MB, free: 5.508 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW): time 0.003257/0.1181, allocations: 1.895 MB / 482.1 MB, free: 3.598 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002527/0.1206, allocations: 1.691 MB / 483.8 MB, free: 1.902 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.657e-05/0.1207, allocations: 3.938 kB / 483.8 MB, free: 1.898 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002423/0.121, allocations: 43.81 kB / 483.9 MB, free: 1.855 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002518/0.1212, allocations: 75.64 kB / 484 MB, free: 1.781 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007625/0.122, allocations: 367 kB / 484.3 MB, free: 1.422 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002788/0.1223, allocations: 242.8 kB / 484.5 MB, free: 1.184 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.474e-05/0.1224, allocations: 28.39 kB / 484.6 MB, free: 1.156 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001979/0.1226, allocations: 107.4 kB / 484.7 MB, free: 1.051 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001731/0.1228, allocations: 127.4 kB / 484.8 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.151e-05/0.1228, allocations: 8 kB / 484.8 MB, free: 0.918 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009621/0.1238, allocations: 0.725 MB / 485.5 MB, free: 196 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.038e-05/0.1239, allocations: 67.69 kB / 485.6 MB, free: 128 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001239/0.124, allocations: 119.2 kB / 485.7 MB, free: 8 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005575/0.1246, allocations: 383.5 kB / 486.1 MB, free: 15.63 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.1246, allocations: 0 / 486.1 MB, free: 15.63 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.1246, allocations: 0 / 486.1 MB, free: 15.63 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.932e-06/0.1246, allocations: 0 / 486.1 MB, free: 15.63 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.001019/0.1256, allocations: 0.6317 MB / 486.7 MB, free: 14.95 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.134e-05/0.1257, allocations: 8.031 kB / 486.7 MB, free: 14.95 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.498e-05/0.1258, allocations: 28.56 kB / 486.8 MB, free: 14.92 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002828/0.126, allocations: 243.3 kB / 487 MB, free: 14.64 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.134e-05/0.1261, allocations: 16.56 kB / 487 MB, free: 14.62 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.789e-05/0.1261, allocations: 27.98 kB / 487 MB, free: 14.6 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007759/0.1269, allocations: 471.2 kB / 487.5 MB, free: 14.13 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.387e-05/0.1269, allocations: 8 kB / 487.5 MB, free: 14.12 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.995e-05/0.127, allocations: 12 kB / 487.5 MB, free: 14.11 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.988e-05/0.1271, allocations: 40.97 kB / 487.6 MB, free: 14.07 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008729/0.1279, allocations: 0.5543 MB / 488.1 MB, free: 13.52 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00191/0.1299, allocations: 1.296 MB / 489.4 MB, free: 12.1 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005491/0.1304, allocations: 286.2 kB / 489.7 MB, free: 11.81 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002124/0.1306, allocations: 92.8 kB / 489.8 MB, free: 11.72 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.792e-05/0.1307, allocations: 16.34 kB / 489.8 MB, free: 11.7 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.596e-05/0.1307, allocations: 42.5 kB / 489.8 MB, free: 11.65 MB / 366.1 MB Notification: Performance of pre-optimization done (n=25): time 1.623e-06/0.1307, allocations: 0 / 489.8 MB, free: 11.65 MB / 366.1 MB Notification: Performance of matching and sorting (n=25): time 0.0007978/0.1315, allocations: 333.2 kB / 490.2 MB, free: 11.32 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.05e-05/0.1316, allocations: 63.39 kB / 490.2 MB, free: 11.25 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001257/0.1317, allocations: 136.8 kB / 490.4 MB, free: 11.1 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.524e-05/0.1318, allocations: 29.7 kB / 490.4 MB, free: 11.07 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001393/0.1319, allocations: 195.8 kB / 490.6 MB, free: 10.87 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.281e-05/0.132, allocations: 90.67 kB / 490.7 MB, free: 10.78 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001037/0.1321, allocations: 69.69 kB / 490.7 MB, free: 10.71 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001511/0.1323, allocations: 326.8 kB / 491.1 MB, free: 10.38 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002093/0.1325, allocations: 95.72 kB / 491.1 MB, free: 10.29 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002809/0.1328, allocations: 174.1 kB / 491.3 MB, free: 10.08 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004986/0.1333, allocations: 290 kB / 491.6 MB, free: 9.758 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.1333, allocations: 0 / 491.6 MB, free: 9.758 MB / 366.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006122/0.1339, allocations: 329.8 kB / 491.9 MB, free: 9.43 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.584e-05/0.134, allocations: 4 kB / 491.9 MB, free: 9.426 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.436e-05/0.134, allocations: 4 kB / 491.9 MB, free: 9.422 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.624e-05/0.134, allocations: 4 kB / 491.9 MB, free: 9.418 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004916/0.1345, allocations: 116.2 kB / 492 MB, free: 9.305 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001534/0.1361, allocations: 2.375 MB / 494.4 MB, free: 6.836 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001755/0.1362, allocations: 31.62 kB / 494.5 MB, free: 6.805 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.039e-05/0.1363, allocations: 19.98 kB / 494.5 MB, free: 6.785 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.0002141/0.1365, allocations: 173.7 kB / 494.6 MB, free: 6.605 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.523e-05/0.1365, allocations: 11.91 kB / 494.7 MB, free: 6.594 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008301/0.1374, allocations: 354.5 kB / 495 MB, free: 6.242 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.091e-06/0.1374, allocations: 7.938 kB / 495 MB, free: 6.234 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.1374, allocations: 0 / 495 MB, free: 6.234 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.542e-06/0.1374, allocations: 3.938 kB / 495 MB, free: 6.23 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004526/0.1379, allocations: 341.3 kB / 495.3 MB, free: 5.848 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/0.1379, allocations: 0 / 495.3 MB, free: 5.848 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004181/0.1383, allocations: 103.9 kB / 495.4 MB, free: 5.746 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.493e-06/0.1383, allocations: 4 kB / 495.5 MB, free: 5.742 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.309e-05/0.1384, allocations: 11.98 kB / 495.5 MB, free: 5.73 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001477/0.1399, allocations: 2.367 MB / 497.8 MB, free: 3.27 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-06/0.1399, allocations: 0 / 497.8 MB, free: 3.27 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005914/0.1405, allocations: 364.5 kB / 498.2 MB, free: 2.898 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.448e-05/0.1405, allocations: 101.1 kB / 498.3 MB, free: 2.781 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.199e-05/0.1406, allocations: 4 kB / 498.3 MB, free: 2.777 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001472/0.1407, allocations: 16 kB / 498.3 MB, free: 2.762 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.425e-05/0.1408, allocations: 19.97 kB / 498.3 MB, free: 2.742 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.488e-05/0.1408, allocations: 19.92 kB / 498.3 MB, free: 2.723 MB / 366.1 MB Notification: Performance of sorting global known variables: time 7.598e-05/0.1409, allocations: 107.1 kB / 498.5 MB, free: 2.617 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1409, allocations: 0 / 498.5 MB, free: 2.617 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005869/0.1415, allocations: 167.5 kB / 498.6 MB, free: 2.453 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 (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.0004793/0.142, allocations: 231 kB / 498.8 MB, free: 2.219 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008755/0.1429, allocations: 368.2 kB / 499.2 MB, free: 1.859 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.1429, allocations: 0 / 499.2 MB, free: 1.859 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004675/0.1434, allocations: 175.8 kB / 499.4 MB, free: 1.688 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003524/0.1438, allocations: 15.94 kB / 499.4 MB, free: 1.672 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001188/0.1449, allocations: 0.7452 MB / 0.4884 GB, free: 0.9023 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004595/0.1454, allocations: 0.7987 MB / 0.4892 GB, free: 80 kB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.617e-05/0.1455, allocations: 35.42 kB / 0.4892 GB, free: 44 kB / 366.1 MB Notification: Performance of SimCode: time 4.11e-07/0.1455, allocations: 0 / 0.4892 GB, free: 44 kB / 366.1 MB Notification: Performance of Templates: time 0.01301/0.1585, allocations: 8.876 MB / 0.4979 GB, free: 7.164 MB / 382.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_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_turbulent_DPMFLOW/dp_turbulent_DPMFLOW.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches