Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_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.General.dp_volumeFlowRate_DPMFLOW,tolerance=1e-05,outputFormat="mat",numberOfIntervals=10100,variableFilter="time|V_flow.1.|V_flow.2.|V_flow.3.|a.1.|a.2.|a.3.|rho|input_mdot.1.|input_mdot.2.|input_mdot.3.|input_dp.1.|input_dp.2.|input_dp.3.|M_FLOW.1.|M_FLOW.2.|M_FLOW.3.|DP.1.|DP.2.|DP.3.|DP_plot.1.|DP_plot.2.|DP_plot.3.|input_DP.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW,tolerance=1e-05,outputFormat="mat",numberOfIntervals=10100,variableFilter="time|V_flow.1.|V_flow.2.|V_flow.3.|a.1.|a.2.|a.3.|rho|input_mdot.1.|input_mdot.2.|input_mdot.3.|input_dp.1.|input_dp.2.|input_dp.3.|M_FLOW.1.|M_FLOW.2.|M_FLOW.3.|DP.1.|DP.2.|DP.3.|DP_plot.1.|DP_plot.2.|DP_plot.3.|input_DP.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001007/0.00101, allocations: 115.8 kB / 18.4 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001165/0.001166, allocations: 199.5 kB / 19.34 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.341/1.341, allocations: 227.4 MB / 247.5 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.2079/0.2079, allocations: 46.1 MB / 344.9 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001436/0.001436, allocations: 71.88 kB / 419 MB, free: 18.98 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1275/0.1289, allocations: 62.46 MB / 481.5 MB, free: 4.488 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW): time 0.003188/0.1321, allocations: 1.654 MB / 483.1 MB, free: 2.824 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001535/0.1337, allocations: 0.9152 MB / 484.1 MB, free: 1.902 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.054e-05/0.1338, allocations: 0 / 484.1 MB, free: 1.902 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002271/0.134, allocations: 23.84 kB / 484.1 MB, free: 1.879 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001722/0.1342, allocations: 51.73 kB / 484.1 MB, free: 1.828 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004054/0.1346, allocations: 139.5 kB / 484.3 MB, free: 1.691 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001883/0.1348, allocations: 143.3 kB / 484.4 MB, free: 1.551 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.13e-05/0.1349, allocations: 9.453 kB / 484.4 MB, free: 1.539 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.081e-05/0.135, allocations: 63.7 kB / 484.5 MB, free: 1.477 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001168/0.1351, allocations: 71.69 kB / 484.5 MB, free: 1.406 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.881e-05/0.1351, allocations: 7.938 kB / 484.6 MB, free: 1.398 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003287/0.1355, allocations: 203.7 kB / 484.8 MB, free: 1.199 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.289e-05/0.1355, allocations: 47.81 kB / 484.8 MB, free: 1.152 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.154e-05/0.1356, allocations: 55.61 kB / 484.9 MB, free: 1.098 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003405/0.136, allocations: 239.2 kB / 485.1 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.136, allocations: 0 / 485.1 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.136, allocations: 0 / 485.1 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.272e-06/0.136, allocations: 0 / 485.1 MB, free: 0.8633 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.0006147/0.1366, allocations: 474.9 kB / 485.6 MB, free: 360 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.813e-05/0.1367, allocations: 8.031 kB / 485.6 MB, free: 352 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001136/0.1378, allocations: 120.5 kB / 485.7 MB, free: 232 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003075/0.1381, allocations: 228.1 kB / 485.9 MB, free: 15.96 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.66e-05/0.1382, allocations: 12.28 kB / 485.9 MB, free: 15.95 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.065e-05/0.1382, allocations: 12.38 kB / 485.9 MB, free: 15.94 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006294/0.1388, allocations: 318.7 kB / 486.2 MB, free: 15.62 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.799e-06/0.1389, allocations: 0 / 486.2 MB, free: 15.62 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.292e-05/0.1389, allocations: 8 kB / 486.2 MB, free: 15.62 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.56e-05/0.1389, allocations: 23.98 kB / 486.3 MB, free: 15.59 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007446/0.1397, allocations: 319.7 kB / 486.6 MB, free: 15.28 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00148/0.1412, allocations: 0.8219 MB / 487.4 MB, free: 14.37 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000677/0.1419, allocations: 218.3 kB / 487.6 MB, free: 14.14 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00026/0.1421, allocations: 84.81 kB / 487.7 MB, free: 14.06 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.187e-05/0.1422, allocations: 4 kB / 487.7 MB, free: 14.05 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.632e-05/0.1422, allocations: 34.66 kB / 487.7 MB, free: 14.01 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 1.272e-06/0.1422, allocations: 3.938 kB / 487.7 MB, free: 14.01 MB / 366.1 MB Notification: Performance of matching and sorting (n=10): time 0.0009744/0.1432, allocations: 297.2 kB / 488 MB, free: 13.71 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.14e-05/0.1432, allocations: 55.34 kB / 488.1 MB, free: 13.64 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001817/0.1434, allocations: 191.3 kB / 488.3 MB, free: 13.45 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.551e-05/0.1435, allocations: 25.7 kB / 488.3 MB, free: 13.41 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.856e-05/0.1436, allocations: 143.5 kB / 488.4 MB, free: 13.27 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.832e-05/0.1436, allocations: 35.41 kB / 488.5 MB, free: 13.23 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.98e-05/0.1437, allocations: 57.61 kB / 488.5 MB, free: 13.17 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001314/0.1438, allocations: 326.8 kB / 488.8 MB, free: 12.84 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002725/0.1441, allocations: 83.89 kB / 488.9 MB, free: 12.76 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003109/0.1444, allocations: 130.8 kB / 489.1 MB, free: 12.61 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006226/0.1451, allocations: 234.6 kB / 489.3 MB, free: 12.36 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.1451, allocations: 0 / 489.3 MB, free: 12.36 MB / 366.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0007303/0.1458, allocations: 265.1 kB / 489.5 MB, free: 12.09 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.386e-05/0.1459, allocations: 10.48 kB / 489.6 MB, free: 12.08 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.998e-06/0.1459, allocations: 7.984 kB / 489.6 MB, free: 12.07 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.253e-05/0.1459, allocations: 8.156 kB / 489.6 MB, free: 12.07 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004694/0.1464, allocations: 87.86 kB / 489.7 MB, free: 11.98 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001242/0.1476, allocations: 1.782 MB / 491.4 MB, free: 10.13 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002116/0.1479, allocations: 19.83 kB / 491.5 MB, free: 10.11 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.761e-05/0.1479, allocations: 19.97 kB / 491.5 MB, free: 10.09 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 initialization (17): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * 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): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001693/0.1481, allocations: 141.8 kB / 491.6 MB, free: 9.941 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.389e-05/0.1481, allocations: 19.75 kB / 491.6 MB, free: 9.922 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007698/0.1489, allocations: 263.2 kB / 491.9 MB, free: 9.66 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.542e-06/0.1489, allocations: 4 kB / 491.9 MB, free: 9.656 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.133e-06/0.1489, allocations: 0 / 491.9 MB, free: 9.656 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.149, allocations: 0 / 491.9 MB, free: 9.656 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003152/0.1493, allocations: 261.5 kB / 492.1 MB, free: 9.352 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.1493, allocations: 0 / 492.1 MB, free: 9.352 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000352/0.1496, allocations: 71.92 kB / 492.2 MB, free: 9.281 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.859e-06/0.1497, allocations: 3.938 kB / 492.2 MB, free: 9.277 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.602e-05/0.1497, allocations: 7.984 kB / 492.2 MB, free: 9.27 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000917/0.1506, allocations: 1.789 MB / 494 MB, free: 7.41 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.1506, allocations: 0 / 494 MB, free: 7.41 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000669/0.1513, allocations: 315.1 kB / 494.3 MB, free: 7.086 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.616e-05/0.1514, allocations: 88.95 kB / 494.4 MB, free: 6.98 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.442e-05/0.1514, allocations: 0 / 494.4 MB, free: 6.98 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001917/0.1516, allocations: 12.08 kB / 494.4 MB, free: 6.969 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.091e-05/0.1517, allocations: 19.97 kB / 494.4 MB, free: 6.949 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.224e-05/0.1517, allocations: 7.984 kB / 494.5 MB, free: 6.941 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001317/0.1519, allocations: 143.9 kB / 494.6 MB, free: 6.801 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1519, allocations: 0 / 494.6 MB, free: 6.801 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003777/0.1522, allocations: 63.84 kB / 494.7 MB, free: 6.738 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 (10): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * 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): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002942/0.1525, allocations: 119.2 kB / 494.8 MB, free: 6.613 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008077/0.1534, allocations: 239.8 kB / 495 MB, free: 6.379 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.746e-06/0.1534, allocations: 448 / 495 MB, free: 6.379 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004269/0.1538, allocations: 135.8 kB / 495.1 MB, free: 6.246 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002759/0.1541, allocations: 15.94 kB / 495.2 MB, free: 6.23 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008636/0.155, allocations: 377.1 kB / 495.5 MB, free: 5.84 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003634/0.1553, allocations: 0.7397 MB / 496.3 MB, free: 5.074 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001745/0.1555, allocations: 65.03 kB / 496.3 MB, free: 5.012 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.835e-05/0.1556, allocations: 35.39 kB / 496.4 MB, free: 4.977 MB / 366.1 MB Notification: Performance of SimCode: time 1.733e-06/0.1556, allocations: 0 / 496.4 MB, free: 4.977 MB / 366.1 MB Notification: Performance of Templates: time 0.006422/0.1621, allocations: 2.815 MB / 499.2 MB, free: 2.199 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/PressureLoss/General/dp_volumeFlowRate_DPMFLOW/dp_volumeFlowRate_DPMFLOW.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches