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.001312/0.001312, allocations: 109.3 kB / 18.39 MB, free: 4.629 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.001461/0.001461, allocations: 184.1 kB / 19.33 MB, free: 3.699 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.366/1.366, allocations: 222.9 MB / 243 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2011/0.2011, allocations: 44.18 MB / 337.4 MB, free: 2.711 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001748/0.001748, allocations: 65.23 kB / 409.9 MB, free: 26.51 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1256/0.1274, allocations: 60.83 MB / 470.7 MB, free: 13.63 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW): time 0.003408/0.1308, allocations: 1.646 MB / 472.4 MB, free: 11.98 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001451/0.1323, allocations: 0.8763 MB / 473.2 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.08e-05/0.1324, allocations: 4 kB / 473.3 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002044/0.1326, allocations: 31.77 kB / 473.3 MB, free: 11.06 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001596/0.1328, allocations: 55.73 kB / 473.3 MB, free: 11 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004864/0.1333, allocations: 131.5 kB / 473.5 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002029/0.1335, allocations: 139.3 kB / 473.6 MB, free: 10.74 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.63e-05/0.1335, allocations: 21.31 kB / 473.6 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.222e-05/0.1336, allocations: 51.78 kB / 473.7 MB, free: 10.66 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001353/0.1338, allocations: 71.67 kB / 473.7 MB, free: 10.59 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.361e-05/0.1338, allocations: 8 kB / 473.8 MB, free: 10.58 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003525/0.1342, allocations: 211.6 kB / 474 MB, free: 10.38 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.347e-05/0.1342, allocations: 35.84 kB / 474 MB, free: 10.34 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.798e-05/0.1343, allocations: 63.59 kB / 474.1 MB, free: 10.28 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003381/0.1347, allocations: 243.2 kB / 474.3 MB, free: 10.04 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.1347, allocations: 4 kB / 474.3 MB, free: 10.04 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.1347, allocations: 0 / 474.3 MB, free: 10.04 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.909e-06/0.1347, allocations: 0 / 474.3 MB, free: 10.04 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.0006003/0.1353, allocations: 471 kB / 474.8 MB, free: 9.527 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.373e-05/0.1353, allocations: 8.031 kB / 474.8 MB, free: 9.52 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001126/0.1365, allocations: 112.6 kB / 474.9 MB, free: 9.41 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002768/0.1368, allocations: 228 kB / 475.1 MB, free: 9.148 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.315e-05/0.1368, allocations: 12.36 kB / 475.1 MB, free: 9.137 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.061e-05/0.1369, allocations: 12.38 kB / 475.1 MB, free: 9.125 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006718/0.1375, allocations: 329.5 kB / 475.4 MB, free: 8.797 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/0.1376, allocations: 0 / 475.4 MB, free: 8.797 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.408e-05/0.1376, allocations: 11.94 kB / 475.5 MB, free: 8.785 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.681e-05/0.1376, allocations: 23.97 kB / 475.5 MB, free: 8.762 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007767/0.1384, allocations: 315.7 kB / 475.8 MB, free: 8.453 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001529/0.1399, allocations: 0.822 MB / 476.6 MB, free: 7.539 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007065/0.1407, allocations: 222.3 kB / 476.8 MB, free: 7.312 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003063/0.141, allocations: 84.8 kB / 476.9 MB, free: 7.227 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.251e-05/0.141, allocations: 4 kB / 476.9 MB, free: 7.223 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.571e-05/0.1411, allocations: 34.56 kB / 476.9 MB, free: 7.18 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.222e-06/0.1411, allocations: 0 / 476.9 MB, free: 7.18 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.001006/0.1421, allocations: 297.2 kB / 477.2 MB, free: 6.883 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.621e-05/0.1421, allocations: 55.41 kB / 477.3 MB, free: 6.816 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001629/0.1423, allocations: 187.2 kB / 477.5 MB, free: 6.621 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.076e-05/0.1423, allocations: 25.7 kB / 477.5 MB, free: 6.59 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.751e-05/0.1424, allocations: 143.6 kB / 477.6 MB, free: 6.445 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.61e-05/0.1425, allocations: 39.39 kB / 477.7 MB, free: 6.406 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.45e-05/0.1426, allocations: 49.67 kB / 477.7 MB, free: 6.352 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001103/0.1427, allocations: 326.8 kB / 478 MB, free: 6.023 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002778/0.143, allocations: 83.91 kB / 478.1 MB, free: 5.941 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003296/0.1433, allocations: 142.7 kB / 478.3 MB, free: 5.777 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005966/0.1439, allocations: 218.6 kB / 478.5 MB, free: 5.539 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.125e-06/0.1439, allocations: 4 kB / 478.5 MB, free: 5.535 MB / 350.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0007383/0.1447, allocations: 269.1 kB / 478.7 MB, free: 5.266 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.561e-05/0.1447, allocations: 8 kB / 478.8 MB, free: 5.258 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.704e-06/0.1447, allocations: 0 / 478.8 MB, free: 5.258 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.852e-05/0.1447, allocations: 11.88 kB / 478.8 MB, free: 5.246 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000475/0.1452, allocations: 88.08 kB / 478.9 MB, free: 5.16 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009863/0.1462, allocations: 1.782 MB / 480.6 MB, free: 3.309 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002239/0.1465, allocations: 27.86 kB / 480.7 MB, free: 3.281 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.164e-05/0.1465, allocations: 16.45 kB / 480.7 MB, free: 3.266 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 (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.0001329/0.1466, allocations: 141.8 kB / 480.8 MB, free: 3.117 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.103e-05/0.1467, allocations: 15.75 kB / 480.8 MB, free: 3.102 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007853/0.1475, allocations: 266.8 kB / 481.1 MB, free: 2.84 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.442e-05/0.1475, allocations: 0 / 481.1 MB, free: 2.84 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.1475, allocations: 3.938 kB / 481.1 MB, free: 2.836 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.1475, allocations: 0 / 481.1 MB, free: 2.836 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000287/0.1478, allocations: 253.5 kB / 481.3 MB, free: 2.539 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.1478, allocations: 0 / 481.3 MB, free: 2.539 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003511/0.1482, allocations: 67.92 kB / 481.4 MB, free: 2.473 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.28e-06/0.1482, allocations: 11.94 kB / 481.4 MB, free: 2.461 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.641e-05/0.1482, allocations: 7.984 kB / 481.4 MB, free: 2.453 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009501/0.1492, allocations: 1.785 MB / 483.2 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.1492, allocations: 0 / 483.2 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000686/0.1499, allocations: 319.1 kB / 483.5 MB, free: 276 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001057/0.15, allocations: 92.98 kB / 483.6 MB, free: 164 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.323e-05/0.1501, allocations: 0 / 483.6 MB, free: 164 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002052/0.1503, allocations: 12.08 kB / 483.6 MB, free: 152 kB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.712e-05/0.1503, allocations: 11.98 kB / 483.6 MB, free: 140 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.289e-05/0.1504, allocations: 11.97 kB / 483.7 MB, free: 128 kB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001175/0.1505, allocations: 139.9 kB / 483.8 MB, free: 15.99 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1505, allocations: 0 / 483.8 MB, free: 15.99 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003731/0.1509, allocations: 59.84 kB / 483.8 MB, free: 15.93 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.0002416/0.1511, allocations: 139.3 kB / 484 MB, free: 15.78 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008453/0.152, allocations: 235.5 kB / 484.2 MB, free: 15.55 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.152, allocations: 0 / 484.2 MB, free: 15.55 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004656/0.1525, allocations: 132.3 kB / 484.3 MB, free: 15.42 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002909/0.1528, allocations: 19.59 kB / 484.4 MB, free: 15.41 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007607/0.1535, allocations: 372.5 kB / 484.7 MB, free: 15.02 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000327/0.1539, allocations: 0.7358 MB / 485.5 MB, free: 14.25 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000181/0.1541, allocations: 65.03 kB / 485.5 MB, free: 14.19 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.661e-05/0.1542, allocations: 31.41 kB / 485.6 MB, free: 14.16 MB / 366.1 MB Notification: Performance of SimCode: time 5.01e-07/0.1542, allocations: 384 / 485.6 MB, free: 14.16 MB / 366.1 MB Notification: Performance of Templates: time 0.006873/0.161, allocations: 2.811 MB / 488.4 MB, free: 11.38 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 -s gbode -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/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_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