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.001196/0.001196, allocations: 109.8 kB / 18.3 MB, free: 4.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001343/0.001343, allocations: 211.9 kB / 19.25 MB, free: 3.895 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.371/1.371, allocations: 227.4 MB / 247.4 MB, free: 10.6 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2154/0.2154, allocations: 46.1 MB / 344.8 MB, free: 11.64 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001399/0.001399, allocations: 73.92 kB / 418.3 MB, free: 19.76 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1291/0.1305, allocations: 62.43 MB / 480.7 MB, free: 5.305 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW): time 0.003671/0.1342, allocations: 1.829 MB / 482.6 MB, free: 3.461 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004708/0.1389, allocations: 2.956 MB / 485.5 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000162/0.1392, allocations: 4 kB / 485.5 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003208/0.1395, allocations: 47.69 kB / 485.6 MB, free: 456 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003825/0.1399, allocations: 79.56 kB / 485.6 MB, free: 376 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002099/0.142, allocations: 0.7238 MB / 486.4 MB, free: 15.64 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003752/0.1424, allocations: 246.8 kB / 486.6 MB, free: 15.4 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.581e-05/0.1425, allocations: 24.39 kB / 486.6 MB, free: 15.38 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002856/0.1428, allocations: 107.5 kB / 486.7 MB, free: 15.27 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002244/0.143, allocations: 127.4 kB / 486.9 MB, free: 15.14 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.921e-05/0.1431, allocations: 8 kB / 486.9 MB, free: 15.14 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001874/0.145, allocations: 1.228 MB / 488.1 MB, free: 13.91 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001278/0.1451, allocations: 71.67 kB / 488.2 MB, free: 13.84 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001281/0.1452, allocations: 111.2 kB / 488.3 MB, free: 13.73 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001528/0.1468, allocations: 0.9235 MB / 489.2 MB, free: 12.8 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.1468, allocations: 7.938 kB / 489.2 MB, free: 12.79 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1468, allocations: 0 / 489.2 MB, free: 12.79 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.059e-05/0.1468, allocations: 0 / 489.2 MB, free: 12.79 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.001128/0.148, allocations: 0.6747 MB / 489.9 MB, free: 12.07 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.249e-05/0.148, allocations: 12.02 kB / 489.9 MB, free: 12.06 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.6e-05/0.1481, allocations: 32.56 kB / 489.9 MB, free: 12.03 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000256/0.1484, allocations: 235.3 kB / 490.1 MB, free: 11.76 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.734e-05/0.1484, allocations: 24.55 kB / 490.2 MB, free: 11.73 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.355e-05/0.1484, allocations: 28 kB / 490.2 MB, free: 11.71 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006891/0.1491, allocations: 467.3 kB / 490.7 MB, free: 11.25 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.286e-05/0.1492, allocations: 3.984 kB / 490.7 MB, free: 11.24 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.201e-05/0.1492, allocations: 15.98 kB / 490.7 MB, free: 11.23 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.677e-05/0.1493, allocations: 40.97 kB / 490.7 MB, free: 11.18 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000809/0.1501, allocations: 0.5504 MB / 491.3 MB, free: 10.64 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001836/0.1519, allocations: 1.315 MB / 492.6 MB, free: 9.199 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005246/0.1525, allocations: 273 kB / 492.8 MB, free: 8.926 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001967/0.1527, allocations: 100.8 kB / 492.9 MB, free: 8.824 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.425e-05/0.1527, allocations: 4 kB / 492.9 MB, free: 8.82 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.791e-05/0.1527, allocations: 42.5 kB / 493 MB, free: 8.77 MB / 366.1 MB Notification: Performance of pre-optimization done (n=25): time 1.924e-06/0.1528, allocations: 3.938 kB / 493 MB, free: 8.766 MB / 366.1 MB Notification: Performance of matching and sorting (n=25): time 0.0007532/0.1535, allocations: 333.2 kB / 493.3 MB, free: 8.434 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.971e-05/0.1536, allocations: 59.34 kB / 493.4 MB, free: 8.363 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001309/0.1537, allocations: 142 kB / 493.5 MB, free: 8.211 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.163e-05/0.1537, allocations: 25.7 kB / 493.5 MB, free: 8.18 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001123/0.1539, allocations: 200.2 kB / 493.7 MB, free: 7.98 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.258e-05/0.1539, allocations: 90.73 kB / 493.8 MB, free: 7.891 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.84e-05/0.154, allocations: 65.7 kB / 493.9 MB, free: 7.82 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001225/0.1542, allocations: 322.8 kB / 494.2 MB, free: 7.496 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002057/0.1544, allocations: 91.78 kB / 494.3 MB, free: 7.406 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002659/0.1546, allocations: 182 kB / 494.5 MB, free: 7.191 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004831/0.1551, allocations: 286 kB / 494.8 MB, free: 6.875 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.1551, allocations: 0 / 494.8 MB, free: 6.875 MB / 366.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006124/0.1558, allocations: 325.8 kB / 495.1 MB, free: 6.551 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.685e-05/0.1558, allocations: 4.344 kB / 495.1 MB, free: 6.547 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.338e-06/0.1558, allocations: 8 kB / 495.1 MB, free: 6.539 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.754e-05/0.1558, allocations: 4 kB / 495.1 MB, free: 6.535 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004868/0.1563, allocations: 123.9 kB / 495.2 MB, free: 6.414 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0013/0.1576, allocations: 2.36 MB / 497.6 MB, free: 3.961 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000187/0.1578, allocations: 39.61 kB / 497.6 MB, free: 3.922 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.712e-05/0.1579, allocations: 16 kB / 497.6 MB, free: 3.906 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.0001925/0.1581, allocations: 174 kB / 497.8 MB, free: 3.727 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.246e-05/0.1581, allocations: 15.84 kB / 497.8 MB, free: 3.711 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008016/0.1589, allocations: 362.4 kB / 498.2 MB, free: 3.352 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.967e-06/0.159, allocations: 0 / 498.2 MB, free: 3.352 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.159, allocations: 4 kB / 498.2 MB, free: 3.348 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.806e-06/0.159, allocations: 7.938 kB / 498.2 MB, free: 3.34 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004059/0.1594, allocations: 341.3 kB / 498.5 MB, free: 2.957 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.1594, allocations: 7.938 kB / 498.5 MB, free: 2.949 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004204/0.1598, allocations: 107.9 kB / 498.6 MB, free: 2.844 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.023e-06/0.1599, allocations: 4 kB / 498.6 MB, free: 2.84 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.2e-05/0.1599, allocations: 8 kB / 498.6 MB, free: 2.832 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001199/0.1611, allocations: 2.36 MB / 0.4892 GB, free: 388 kB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.247e-06/0.1611, allocations: 3.938 kB / 0.4893 GB, free: 384 kB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005669/0.1617, allocations: 371.5 kB / 0.4896 GB, free: 15.99 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.003e-05/0.1617, allocations: 92.89 kB / 0.4897 GB, free: 15.88 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.216e-05/0.1618, allocations: 8 kB / 0.4897 GB, free: 15.88 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001489/0.1619, allocations: 11.94 kB / 0.4897 GB, free: 15.87 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.141e-05/0.162, allocations: 23.97 kB / 0.4897 GB, free: 15.84 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.883e-05/0.162, allocations: 8 kB / 0.4897 GB, free: 15.84 MB / 382.1 MB Notification: Performance of sorting global known variables: time 7.684e-05/0.1621, allocations: 105.7 kB / 0.4898 GB, free: 15.73 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1621, allocations: 4 kB / 0.4898 GB, free: 15.73 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007081/0.1628, allocations: 251.4 kB / 0.4901 GB, free: 15.48 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.0007873/0.1636, allocations: 346.8 kB / 0.4904 GB, free: 15.14 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0008379/0.1645, allocations: 355.8 kB / 0.4908 GB, free: 14.79 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.1645, allocations: 0 / 0.4908 GB, free: 14.79 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004421/0.165, allocations: 184.2 kB / 0.4909 GB, free: 14.61 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003425/0.1653, allocations: 27.5 kB / 0.491 GB, free: 14.59 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00101/0.1663, allocations: 0.5955 MB / 0.4915 GB, free: 13.96 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003827/0.1667, allocations: 0.7987 MB / 0.4923 GB, free: 13.14 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.852e-05/0.1668, allocations: 27.44 kB / 0.4923 GB, free: 13.11 MB / 382.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1668, allocations: 0 / 0.4923 GB, free: 13.11 MB / 382.1 MB Notification: Performance of Templates: time 0.01394/0.1808, allocations: 10.01 MB / 0.5021 GB, free: 3.098 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