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.00102/0.001021, allocations: 95.14 kB / 16.99 MB, free: 5.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009371/0.0009373, allocations: 204 kB / 17.9 MB, free: 5.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.381/1.381, allocations: 227.2 MB / 245.9 MB, free: 10.37 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2307/0.2307, allocations: 45.91 MB / 344 MB, free: 12.18 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003301/0.0003301, allocations: 11.98 kB / 418 MB, free: 20.89 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1263/0.1267, allocations: 63.46 MB / 481.4 MB, free: 5.43 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW): time 0.002224/0.129, allocations: 1.49 MB / 482.9 MB, free: 3.922 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003841/0.1328, allocations: 2.542 MB / 485.4 MB, free: 1.375 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.484e-05/0.133, allocations: 0 / 485.4 MB, free: 1.375 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002408/0.1332, allocations: 39.8 kB / 485.5 MB, free: 1.336 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002644/0.1335, allocations: 59.84 kB / 485.5 MB, free: 1.277 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001439/0.1349, allocations: 0.6312 MB / 486.2 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002221/0.1352, allocations: 159.7 kB / 486.3 MB, free: 500 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.708e-05/0.1353, allocations: 36.33 kB / 486.4 MB, free: 464 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001737/0.1354, allocations: 83.62 kB / 486.4 MB, free: 380 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001269/0.1356, allocations: 95.59 kB / 486.5 MB, free: 284 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.251e-05/0.1356, allocations: 8 kB / 486.5 MB, free: 276 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00162/0.1372, allocations: 1.213 MB / 487.8 MB, free: 15.05 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 8.406e-05/0.1373, allocations: 71.72 kB / 487.8 MB, free: 14.98 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 6.126e-05/0.1374, allocations: 65.58 kB / 487.9 MB, free: 14.91 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008355/0.1382, allocations: 0.5266 MB / 488.4 MB, free: 14.39 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.565e-06/0.1382, allocations: 0 / 488.4 MB, free: 14.39 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.1383, allocations: 0 / 488.4 MB, free: 14.39 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.192e-06/0.1383, allocations: 0 / 488.4 MB, free: 14.39 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.0009353/0.1392, allocations: 0.6355 MB / 489.1 MB, free: 13.7 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.439e-05/0.1393, allocations: 15.97 kB / 489.1 MB, free: 13.69 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.307e-05/0.1393, allocations: 31.58 kB / 489.1 MB, free: 13.66 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002753/0.1396, allocations: 242.5 kB / 489.3 MB, free: 13.38 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.2e-05/0.1396, allocations: 16.56 kB / 489.4 MB, free: 13.36 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.099e-05/0.1397, allocations: 31.98 kB / 489.4 MB, free: 13.33 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006917/0.1404, allocations: 467.3 kB / 489.8 MB, free: 12.88 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/0.1404, allocations: 0 / 489.8 MB, free: 12.88 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.227e-05/0.1404, allocations: 8 kB / 489.8 MB, free: 12.87 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.268e-05/0.1405, allocations: 52.95 kB / 489.9 MB, free: 12.81 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008342/0.1414, allocations: 0.562 MB / 490.5 MB, free: 12.25 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00194/0.1433, allocations: 1.335 MB / 491.8 MB, free: 10.79 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006367/0.144, allocations: 298.3 kB / 492.1 MB, free: 10.49 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.701e-05/0.144, allocations: 4 kB / 492.1 MB, free: 10.49 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.26e-05/0.1441, allocations: 42.55 kB / 492.1 MB, free: 10.44 MB / 366.1 MB Notification: Performance of pre-optimization done (n=25): time 1.723e-06/0.1441, allocations: 0 / 492.1 MB, free: 10.44 MB / 366.1 MB Notification: Performance of matching and sorting (n=25): time 0.0008365/0.1449, allocations: 346.2 kB / 492.5 MB, free: 10.09 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.897e-05/0.145, allocations: 55.41 kB / 492.5 MB, free: 10.03 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001445/0.1452, allocations: 138 kB / 492.7 MB, free: 9.879 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.902e-05/0.1452, allocations: 33.7 kB / 492.7 MB, free: 9.84 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001268/0.1453, allocations: 187.8 kB / 492.9 MB, free: 9.652 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.55e-05/0.1454, allocations: 91.12 kB / 493 MB, free: 9.562 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.425e-05/0.1454, allocations: 8 kB / 493 MB, free: 9.555 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001428/0.1456, allocations: 330.8 kB / 493.3 MB, free: 9.223 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001972/0.1458, allocations: 91.92 kB / 493.4 MB, free: 9.133 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002627/0.146, allocations: 189.5 kB / 493.6 MB, free: 8.914 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002255/0.1463, allocations: 111.9 kB / 493.7 MB, free: 8.805 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.1463, allocations: 0 / 493.7 MB, free: 8.805 MB / 366.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006066/0.1469, allocations: 329.1 kB / 494 MB, free: 8.477 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.189e-05/0.1469, allocations: 4 kB / 494 MB, free: 8.473 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.727e-06/0.1469, allocations: 8.281 kB / 494 MB, free: 8.465 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.878e-05/0.147, allocations: 8 kB / 494 MB, free: 8.457 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005472/0.1475, allocations: 135.8 kB / 494.2 MB, free: 8.324 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001343/0.1489, allocations: 2.36 MB / 496.5 MB, free: 5.871 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002013/0.1491, allocations: 47.98 kB / 496.6 MB, free: 5.824 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.561e-05/0.1491, allocations: 16 kB / 496.6 MB, free: 5.809 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 (linear and non-linear blocks): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002139/0.1493, allocations: 177.7 kB / 496.8 MB, free: 5.625 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.234e-05/0.1494, allocations: 11.81 kB / 496.8 MB, free: 5.613 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008075/0.1502, allocations: 370.4 kB / 497.1 MB, free: 5.246 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/0.1502, allocations: 0 / 497.1 MB, free: 5.246 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.466e-06/0.1502, allocations: 4 kB / 497.1 MB, free: 5.242 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.073e-06/0.1503, allocations: 3.953 kB / 497.1 MB, free: 5.238 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004319/0.1507, allocations: 349.2 kB / 497.5 MB, free: 4.848 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.988e-06/0.1507, allocations: 0 / 497.5 MB, free: 4.848 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004761/0.1512, allocations: 119.8 kB / 497.6 MB, free: 4.73 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.572e-06/0.1512, allocations: 4 kB / 497.6 MB, free: 4.727 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.202e-05/0.1512, allocations: 15.92 kB / 497.6 MB, free: 4.711 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001408/0.1527, allocations: 2.364 MB / 500 MB, free: 2.254 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.1527, allocations: 0 / 500 MB, free: 2.254 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005676/0.1532, allocations: 376.5 kB / 0.4886 GB, free: 1.871 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.589e-05/0.1533, allocations: 108.9 kB / 0.4887 GB, free: 1.746 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.064e-05/0.1534, allocations: 0 / 0.4887 GB, free: 1.746 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001552/0.1535, allocations: 19.94 kB / 0.4887 GB, free: 1.727 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.09e-05/0.1536, allocations: 23.97 kB / 0.4888 GB, free: 1.703 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.88e-05/0.1536, allocations: 8 kB / 0.4888 GB, free: 1.695 MB / 366.1 MB Notification: Performance of sorting global known variables: time 6.886e-05/0.1537, allocations: 109.4 kB / 0.4889 GB, free: 1.59 MB / 366.1 MB Notification: Performance of sort global known variables: time 4.01e-07/0.1537, allocations: 0 / 0.4889 GB, free: 1.59 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000784/0.1545, allocations: 235.5 kB / 0.4891 GB, free: 1.359 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 (linear and non-linear blocks): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006724/0.1552, allocations: 359.3 kB / 0.4894 GB, free: 1 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007471/0.1559, allocations: 299.8 kB / 0.4897 GB, free: 0.707 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 6.623e-06/0.1559, allocations: 3.938 kB / 0.4897 GB, free: 0.7031 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004619/0.1564, allocations: 184.2 kB / 0.4899 GB, free: 0.5234 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002921/0.1567, allocations: 11.91 kB / 0.4899 GB, free: 0.5117 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001144/0.1579, allocations: 0.7101 MB / 0.4906 GB, free: 15.79 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003982/0.1583, allocations: 0.8142 MB / 0.4914 GB, free: 14.95 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000303/0.1586, allocations: 97.72 kB / 0.4915 GB, free: 14.85 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.011e-05/0.1587, allocations: 35.42 kB / 0.4915 GB, free: 14.82 MB / 382.1 MB Notification: Performance of SimCode: time 6.92e-07/0.1587, allocations: 0 / 0.4915 GB, free: 14.82 MB / 382.1 MB Notification: Performance of Templates: time 0.01046/0.1691, allocations: 5.844 MB / 0.4972 GB, free: 8.996 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","../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