Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001005/0.001005, allocations: 95.62 kB / 16.99 MB, free: 5.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008708/0.0008711, allocations: 181 kB / 17.87 MB, free: 5.609 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.365/1.365, allocations: 223.2 MB / 241.8 MB, free: 368 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2057/0.2057, allocations: 44.22 MB / 337.1 MB, free: 2.898 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003098/0.0003099, allocations: 8 kB / 409.6 MB, free: 27.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1285/0.1288, allocations: 61.92 MB / 471.5 MB, free: 13.75 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW): time 0.001845/0.1307, allocations: 1.325 MB / 472.8 MB, free: 12.41 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001195/0.1319, allocations: 0.7798 MB / 473.6 MB, free: 11.63 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.591e-05/0.132, allocations: 4 kB / 473.6 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001886/0.1322, allocations: 23.84 kB / 473.6 MB, free: 11.6 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001461/0.1323, allocations: 39.92 kB / 473.6 MB, free: 11.56 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003397/0.1327, allocations: 111.2 kB / 473.8 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000133/0.1328, allocations: 87.8 kB / 473.8 MB, free: 11.37 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.003e-05/0.1329, allocations: 17.44 kB / 473.9 MB, free: 11.35 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.766e-05/0.133, allocations: 39.84 kB / 473.9 MB, free: 11.31 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.965e-05/0.1331, allocations: 51.78 kB / 473.9 MB, free: 11.26 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.701e-05/0.1331, allocations: 4 kB / 473.9 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003061/0.1334, allocations: 207.6 kB / 474.2 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.96e-05/0.1335, allocations: 27.91 kB / 474.2 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.913e-05/0.1335, allocations: 45.64 kB / 474.2 MB, free: 10.97 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002222/0.1337, allocations: 155.9 kB / 474.4 MB, free: 10.82 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.495e-06/0.1338, allocations: 0 / 474.4 MB, free: 10.82 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.1338, allocations: 0 / 474.4 MB, free: 10.82 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.747e-06/0.1338, allocations: 0 / 474.4 MB, free: 10.82 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.0005572/0.1343, allocations: 454.8 kB / 474.8 MB, free: 10.33 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.679e-05/0.1344, allocations: 8.031 kB / 474.8 MB, free: 10.32 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001025/0.1354, allocations: 115.6 kB / 474.9 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002355/0.1356, allocations: 230.8 kB / 475.2 MB, free: 9.941 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.899e-05/0.1357, allocations: 11.95 kB / 475.2 MB, free: 9.93 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.063e-05/0.1357, allocations: 15.94 kB / 475.2 MB, free: 9.914 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006222/0.1363, allocations: 325.8 kB / 475.5 MB, free: 9.59 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/0.1364, allocations: 0 / 475.5 MB, free: 9.59 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.063e-05/0.1364, allocations: 8 kB / 475.5 MB, free: 9.582 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.371e-05/0.1364, allocations: 15.98 kB / 475.5 MB, free: 9.566 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007377/0.1372, allocations: 335.7 kB / 475.9 MB, free: 9.238 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001433/0.1386, allocations: 0.8415 MB / 476.7 MB, free: 8.305 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006798/0.1393, allocations: 214.3 kB / 476.9 MB, free: 8.086 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.837e-05/0.1394, allocations: 12.03 kB / 476.9 MB, free: 8.074 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.575e-05/0.1394, allocations: 34.56 kB / 477 MB, free: 8.031 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 2.384e-06/0.1394, allocations: 4.266 kB / 477 MB, free: 8.027 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.0009895/0.1404, allocations: 313.1 kB / 477.3 MB, free: 7.715 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.027e-05/0.1404, allocations: 55.34 kB / 477.3 MB, free: 7.648 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001715/0.1406, allocations: 187.3 kB / 477.5 MB, free: 7.453 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.621e-05/0.1407, allocations: 29.7 kB / 477.5 MB, free: 7.418 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.379e-05/0.1407, allocations: 131.5 kB / 477.7 MB, free: 7.285 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.357e-05/0.1408, allocations: 35.48 kB / 477.7 MB, free: 7.25 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.446e-05/0.1408, allocations: 8 kB / 477.7 MB, free: 7.242 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001255/0.1409, allocations: 326.8 kB / 478 MB, free: 6.914 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002789/0.1412, allocations: 87.89 kB / 478.1 MB, free: 6.828 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000314/0.1415, allocations: 141.1 kB / 478.2 MB, free: 6.668 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002859/0.1418, allocations: 100.2 kB / 478.3 MB, free: 6.57 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.659e-06/0.1419, allocations: 11.94 kB / 478.4 MB, free: 6.559 MB / 350.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0006886/0.1425, allocations: 281 kB / 478.6 MB, free: 6.277 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.576e-05/0.1426, allocations: 4.219 kB / 478.6 MB, free: 6.273 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/0.1426, allocations: 8 kB / 478.6 MB, free: 6.266 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.426e-05/0.1426, allocations: 3.953 kB / 478.6 MB, free: 6.262 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004492/0.1431, allocations: 83.91 kB / 478.7 MB, free: 6.18 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008965/0.144, allocations: 1.785 MB / 480.5 MB, free: 4.324 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002109/0.1442, allocations: 23.83 kB / 480.5 MB, free: 4.301 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.902e-05/0.1442, allocations: 15.97 kB / 480.6 MB, free: 4.285 MB / 350.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 (linear and non-linear blocks): 3 * 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: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001615/0.1444, allocations: 146 kB / 480.7 MB, free: 4.133 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.536e-05/0.1445, allocations: 19.81 kB / 480.7 MB, free: 4.113 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007686/0.1452, allocations: 274.8 kB / 481 MB, free: 3.844 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.235e-06/0.1452, allocations: 7.953 kB / 481 MB, free: 3.836 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/0.1453, allocations: 0 / 481 MB, free: 3.836 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.1453, allocations: 0 / 481 MB, free: 3.836 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002983/0.1456, allocations: 257.5 kB / 481.2 MB, free: 3.535 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.1456, allocations: 7.938 kB / 481.3 MB, free: 3.527 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003421/0.1459, allocations: 67.91 kB / 481.3 MB, free: 3.461 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.477e-06/0.1459, allocations: 4 kB / 481.3 MB, free: 3.457 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.171e-05/0.146, allocations: 11.97 kB / 481.3 MB, free: 3.445 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008596/0.1468, allocations: 1.785 MB / 483.1 MB, free: 1.59 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.387e-06/0.1468, allocations: 3.953 kB / 483.1 MB, free: 1.586 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007809/0.1476, allocations: 327.2 kB / 483.4 MB, free: 1.25 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.702e-05/0.1477, allocations: 89 kB / 483.5 MB, free: 1.145 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.616e-05/0.1478, allocations: 4 kB / 483.5 MB, free: 1.141 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001981/0.148, allocations: 11.98 kB / 483.5 MB, free: 1.129 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.836e-05/0.148, allocations: 15.92 kB / 483.6 MB, free: 1.113 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.248e-05/0.1481, allocations: 11.98 kB / 483.6 MB, free: 1.102 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001171/0.1482, allocations: 139.9 kB / 483.7 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of sort global known variables: time 3.81e-07/0.1482, allocations: 0 / 483.7 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003891/0.1486, allocations: 59.84 kB / 483.8 MB, free: 0.9062 MB / 350.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 (linear and non-linear blocks): 3 * 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: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002309/0.1488, allocations: 135.1 kB / 483.9 MB, free: 0.7617 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000833/0.1497, allocations: 243.7 kB / 484.1 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.1497, allocations: 0 / 484.1 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004553/0.1501, allocations: 140.2 kB / 484.3 MB, free: 396 kB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001896/0.1503, allocations: 12.47 kB / 484.3 MB, free: 384 kB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007877/0.1511, allocations: 422.4 kB / 484.7 MB, free: 15.95 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003193/0.1515, allocations: 0.7552 MB / 485.5 MB, free: 15.16 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002139/0.1517, allocations: 65.03 kB / 485.5 MB, free: 15.1 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.14e-05/0.1518, allocations: 31.39 kB / 485.5 MB, free: 15.07 MB / 366.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1518, allocations: 0 / 485.5 MB, free: 15.07 MB / 366.1 MB Notification: Performance of Templates: time 0.005741/0.1575, allocations: 2.528 MB / 488.1 MB, free: 12.57 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW_res.mat","/var/lib/jenkins/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","../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches