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.001318/0.001318, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001554/0.001554, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.458/1.458, allocations: 227.4 MB / 246.8 MB, free: 10.63 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2166/0.2166, allocations: 46.1 MB / 344.1 MB, free: 11.61 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001304/0.001304, allocations: 75.38 kB / 417.6 MB, free: 19.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.114/0.1153, allocations: 62.45 MB / 480 MB, free: 5.266 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW): time 0.003388/0.1188, allocations: 1.83 MB / 481.9 MB, free: 3.418 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004649/0.1234, allocations: 2.952 MB / 484.8 MB, free: 468 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001693/0.1237, allocations: 0 / 484.8 MB, free: 468 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003845/0.1241, allocations: 43.75 kB / 484.9 MB, free: 424 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005585/0.1246, allocations: 79.56 kB / 484.9 MB, free: 344 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00273/0.1274, allocations: 0.7238 MB / 485.7 MB, free: 15.61 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003759/0.1278, allocations: 246.8 kB / 485.9 MB, free: 15.37 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.119e-05/0.1279, allocations: 36.38 kB / 486 MB, free: 15.33 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000323/0.1282, allocations: 107.5 kB / 486.1 MB, free: 15.23 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002328/0.1284, allocations: 115.4 kB / 486.2 MB, free: 15.11 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.499e-05/0.1285, allocations: 8 kB / 486.2 MB, free: 15.11 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002154/0.1306, allocations: 1.236 MB / 487.4 MB, free: 13.87 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000156/0.1308, allocations: 71.67 kB / 487.5 MB, free: 13.8 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002012/0.131, allocations: 107.2 kB / 487.6 MB, free: 13.69 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002036/0.1331, allocations: 0.9274 MB / 488.5 MB, free: 12.76 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.1331, allocations: 4 kB / 488.5 MB, free: 12.76 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1331, allocations: 0 / 488.5 MB, free: 12.76 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.262e-05/0.1331, allocations: 0 / 488.5 MB, free: 12.76 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.001119/0.1342, allocations: 0.677 MB / 489.2 MB, free: 12.04 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.571e-05/0.1343, allocations: 12.03 kB / 489.2 MB, free: 12.02 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.339e-05/0.1344, allocations: 28.56 kB / 489.2 MB, free: 12 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000307/0.1347, allocations: 243.3 kB / 489.5 MB, free: 11.72 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.298e-05/0.1348, allocations: 28.55 kB / 489.5 MB, free: 11.69 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.28e-05/0.1348, allocations: 24 kB / 489.5 MB, free: 11.67 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007272/0.1355, allocations: 467.3 kB / 490 MB, free: 11.21 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.102e-05/0.1356, allocations: 0 / 490 MB, free: 11.21 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.913e-05/0.1356, allocations: 11.98 kB / 490 MB, free: 11.2 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.425e-05/0.1357, allocations: 44.97 kB / 490 MB, free: 11.15 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008423/0.1365, allocations: 0.5465 MB / 490.6 MB, free: 10.61 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001936/0.1385, allocations: 1.323 MB / 491.9 MB, free: 9.16 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005562/0.139, allocations: 274.4 kB / 492.2 MB, free: 8.883 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001992/0.1393, allocations: 92.8 kB / 492.3 MB, free: 8.789 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.533e-05/0.1393, allocations: 11.94 kB / 492.3 MB, free: 8.777 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.158e-05/0.1393, allocations: 42.48 kB / 492.3 MB, free: 8.727 MB / 366.1 MB Notification: Performance of pre-optimization done (n=25): time 1.372e-06/0.1393, allocations: 0 / 492.3 MB, free: 8.727 MB / 366.1 MB Notification: Performance of matching and sorting (n=25): time 0.0007738/0.1401, allocations: 329.2 kB / 492.6 MB, free: 8.398 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.408e-05/0.1402, allocations: 55.34 kB / 492.7 MB, free: 8.332 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001365/0.1403, allocations: 148.5 kB / 492.8 MB, free: 8.176 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.179e-05/0.1404, allocations: 29.7 kB / 492.9 MB, free: 8.141 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002222/0.1406, allocations: 196.2 kB / 493.1 MB, free: 7.945 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.38e-05/0.1407, allocations: 86.75 kB / 493.1 MB, free: 7.859 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001167/0.1408, allocations: 69.7 kB / 493.2 MB, free: 7.785 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001639/0.141, allocations: 326.8 kB / 493.5 MB, free: 7.457 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002063/0.1412, allocations: 87.78 kB / 493.6 MB, free: 7.371 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002553/0.1414, allocations: 182 kB / 493.8 MB, free: 7.156 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006006/0.1421, allocations: 282.1 kB / 494.1 MB, free: 6.844 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.1421, allocations: 4 kB / 494.1 MB, free: 6.84 MB / 366.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0005842/0.1427, allocations: 326.1 kB / 494.4 MB, free: 6.516 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.227e-05/0.1427, allocations: 14.56 kB / 494.4 MB, free: 6.504 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.049e-05/0.1427, allocations: 4 kB / 494.4 MB, free: 6.5 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.879e-05/0.1427, allocations: 8 kB / 494.4 MB, free: 6.492 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004676/0.1432, allocations: 115.9 kB / 494.5 MB, free: 6.379 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001299/0.1445, allocations: 2.363 MB / 496.9 MB, free: 3.922 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001782/0.1447, allocations: 39.61 kB / 496.9 MB, free: 3.883 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.69e-05/0.1448, allocations: 16.28 kB / 496.9 MB, free: 3.867 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.0001861/0.1449, allocations: 177.7 kB / 497.1 MB, free: 3.684 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.71e-05/0.145, allocations: 7.906 kB / 497.1 MB, free: 3.676 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007726/0.1458, allocations: 366.3 kB / 497.5 MB, free: 3.312 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.845e-06/0.1458, allocations: 7.938 kB / 497.5 MB, free: 3.305 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.1458, allocations: 0 / 497.5 MB, free: 3.305 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.027e-05/0.1458, allocations: 7.922 kB / 497.5 MB, free: 3.297 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004743/0.1463, allocations: 345.3 kB / 497.8 MB, free: 2.91 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/0.1463, allocations: 0 / 497.8 MB, free: 2.91 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003914/0.1467, allocations: 107.9 kB / 497.9 MB, free: 2.805 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.096e-05/0.1467, allocations: 0 / 497.9 MB, free: 2.805 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.916e-05/0.1468, allocations: 11.94 kB / 498 MB, free: 2.793 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001379/0.1482, allocations: 2.364 MB / 0.4886 GB, free: 344 kB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.407e-06/0.1482, allocations: 0 / 0.4886 GB, free: 344 kB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006356/0.1488, allocations: 367.4 kB / 0.4889 GB, free: 15.96 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.115e-05/0.1489, allocations: 96.89 kB / 0.489 GB, free: 15.85 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.353e-05/0.149, allocations: 4 kB / 0.489 GB, free: 15.84 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001521/0.1491, allocations: 11.98 kB / 0.4891 GB, free: 15.83 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.793e-05/0.1492, allocations: 23.97 kB / 0.4891 GB, free: 15.81 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.171e-05/0.1492, allocations: 12 kB / 0.4891 GB, free: 15.8 MB / 382.1 MB Notification: Performance of sorting global known variables: time 6.605e-05/0.1493, allocations: 107.2 kB / 0.4892 GB, free: 15.69 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1493, allocations: 0 / 0.4892 GB, free: 15.69 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007521/0.1501, allocations: 247.4 kB / 0.4894 GB, free: 15.45 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.0008731/0.1509, allocations: 346.8 kB / 0.4898 GB, free: 15.1 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0008747/0.1518, allocations: 359.8 kB / 0.4901 GB, free: 14.75 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.1518, allocations: 0 / 0.4901 GB, free: 14.75 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004653/0.1523, allocations: 184.9 kB / 0.4903 GB, free: 14.57 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004028/0.1527, allocations: 26.34 kB / 0.4903 GB, free: 14.55 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001219/0.154, allocations: 0.5711 MB / 0.4909 GB, free: 13.96 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004366/0.1544, allocations: 0.7987 MB / 0.4916 GB, free: 13.13 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003106/0.1547, allocations: 97.72 kB / 0.4917 GB, free: 13.04 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.351e-05/0.1548, allocations: 31.42 kB / 0.4918 GB, free: 13 MB / 382.1 MB Notification: Performance of SimCode: time 6.41e-07/0.1548, allocations: 4 kB / 0.4918 GB, free: 13 MB / 382.1 MB Notification: Performance of Templates: time 0.01182/0.1666, allocations: 6.181 MB / 0.4978 GB, free: 6.844 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