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.000945/0.000945, allocations: 91.12 kB / 17.35 MB, free: 6.375 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.001068/0.001068, allocations: 180.2 kB / 18.26 MB, free: 5.52 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.534/1.534, allocations: 223.3 MB / 242.3 MB, free: 208 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.2185/0.2185, allocations: 44.25 MB / 337.7 MB, free: 2.656 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003312/0.0003312, allocations: 8 kB / 410.4 MB, free: 27.29 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1158/0.1161, allocations: 61.93 MB / 472.3 MB, free: 13.32 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW): time 0.002065/0.1182, allocations: 1.356 MB / 473.6 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001552/0.1198, allocations: 0.8727 MB / 474.5 MB, free: 11.08 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.034e-05/0.1199, allocations: 3.938 kB / 474.5 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002304/0.1201, allocations: 23.89 kB / 474.5 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001882/0.1203, allocations: 51.73 kB / 474.6 MB, free: 11 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003683/0.1207, allocations: 115.7 kB / 474.7 MB, free: 10.89 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002249/0.1209, allocations: 191.3 kB / 474.9 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.721e-05/0.121, allocations: 13.44 kB / 474.9 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.018e-05/0.1211, allocations: 51.72 kB / 475 MB, free: 10.63 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001292/0.1212, allocations: 71.69 kB / 475 MB, free: 10.56 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.674e-05/0.1212, allocations: 4 kB / 475 MB, free: 10.55 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003176/0.1216, allocations: 211.6 kB / 475.2 MB, free: 10.35 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.329e-05/0.1216, allocations: 35.91 kB / 475.3 MB, free: 10.31 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.967e-05/0.1217, allocations: 89.25 kB / 475.4 MB, free: 10.22 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003516/0.1221, allocations: 239.4 kB / 475.6 MB, free: 9.984 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.1221, allocations: 0 / 475.6 MB, free: 9.984 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.1221, allocations: 0 / 475.6 MB, free: 9.984 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.679e-06/0.1221, allocations: 0 / 475.6 MB, free: 9.984 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.0006649/0.1228, allocations: 447 kB / 476 MB, free: 9.5 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.392e-05/0.1228, allocations: 12.03 kB / 476 MB, free: 9.488 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001145/0.124, allocations: 116.5 kB / 476.1 MB, free: 9.375 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002521/0.1243, allocations: 228 kB / 476.4 MB, free: 9.113 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.903e-05/0.1243, allocations: 12.36 kB / 476.4 MB, free: 9.102 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.665e-05/0.1243, allocations: 12.38 kB / 476.4 MB, free: 9.09 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007197/0.125, allocations: 330.1 kB / 476.7 MB, free: 8.762 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.449e-05/0.1251, allocations: 15.88 kB / 476.7 MB, free: 8.746 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.229e-05/0.1251, allocations: 4 kB / 476.7 MB, free: 8.742 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.24e-05/0.1252, allocations: 19.98 kB / 476.8 MB, free: 8.723 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007908/0.126, allocations: 323.7 kB / 477.1 MB, free: 8.406 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001613/0.1276, allocations: 0.826 MB / 477.9 MB, free: 7.488 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006782/0.1283, allocations: 230.4 kB / 478.1 MB, free: 7.254 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002782/0.1286, allocations: 88.75 kB / 478.2 MB, free: 7.164 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.752e-05/0.1286, allocations: 4 kB / 478.2 MB, free: 7.16 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.463e-05/0.1286, allocations: 34.56 kB / 478.2 MB, free: 7.117 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.363e-06/0.1286, allocations: 0 / 478.2 MB, free: 7.117 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.001005/0.1296, allocations: 313.1 kB / 478.6 MB, free: 6.805 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.724e-05/0.1297, allocations: 55.41 kB / 478.6 MB, free: 6.738 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001873/0.1299, allocations: 191.3 kB / 478.8 MB, free: 6.539 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.793e-05/0.1299, allocations: 29.7 kB / 478.8 MB, free: 6.504 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001087/0.1301, allocations: 139.5 kB / 479 MB, free: 6.363 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.008e-05/0.1301, allocations: 35.48 kB / 479 MB, free: 6.328 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.675e-05/0.1302, allocations: 21.7 kB / 479 MB, free: 6.301 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001725/0.1303, allocations: 322.8 kB / 479.3 MB, free: 5.977 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003081/0.1307, allocations: 95.81 kB / 479.4 MB, free: 5.883 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003705/0.131, allocations: 142.7 kB / 479.6 MB, free: 5.719 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006291/0.1317, allocations: 234.6 kB / 479.8 MB, free: 5.465 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.1317, allocations: 0 / 479.8 MB, free: 5.465 MB / 350.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0007541/0.1324, allocations: 285.2 kB / 480.1 MB, free: 5.18 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.123e-05/0.1325, allocations: 4.469 kB / 480.1 MB, free: 5.176 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.206e-06/0.1325, allocations: 7.938 kB / 480.1 MB, free: 5.168 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.555e-05/0.1325, allocations: 3.938 kB / 480.1 MB, free: 5.164 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004623/0.133, allocations: 83.92 kB / 480.2 MB, free: 5.082 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001022/0.134, allocations: 1.793 MB / 482 MB, free: 3.219 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002287/0.1343, allocations: 27.77 kB / 482 MB, free: 3.191 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.956e-05/0.1343, allocations: 12.27 kB / 482 MB, free: 3.18 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.0001467/0.1344, allocations: 145.8 kB / 482.1 MB, free: 3.027 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.395e-05/0.1345, allocations: 15.75 kB / 482.2 MB, free: 3.012 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008239/0.1353, allocations: 274.7 kB / 482.4 MB, free: 2.742 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.1353, allocations: 0 / 482.4 MB, free: 2.742 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.61e-06/0.1354, allocations: 7.984 kB / 482.4 MB, free: 2.734 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.1354, allocations: 0 / 482.4 MB, free: 2.734 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002806/0.1356, allocations: 257.4 kB / 482.7 MB, free: 2.434 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.1357, allocations: 0 / 482.7 MB, free: 2.434 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003446/0.136, allocations: 79.84 kB / 482.8 MB, free: 2.355 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/0.136, allocations: 3.938 kB / 482.8 MB, free: 2.352 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.105e-05/0.136, allocations: 11.98 kB / 482.8 MB, free: 2.34 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008519/0.1369, allocations: 1.785 MB / 484.6 MB, free: 496 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.1369, allocations: 0 / 484.6 MB, free: 496 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006937/0.1376, allocations: 331.2 kB / 484.9 MB, free: 148 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.418e-05/0.1377, allocations: 85.02 kB / 485 MB, free: 44 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.407e-05/0.1377, allocations: 3.984 kB / 485 MB, free: 40 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000202/0.1379, allocations: 8 kB / 485 MB, free: 32 kB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.422e-05/0.138, allocations: 15.97 kB / 485 MB, free: 16 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.222e-05/0.138, allocations: 15.97 kB / 485 MB, free: 0 / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001321/0.1382, allocations: 136 kB / 485.1 MB, free: 15.86 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.1382, allocations: 4.188 kB / 485.2 MB, free: 15.86 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003724/0.1386, allocations: 63.84 kB / 485.2 MB, free: 15.8 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.0002764/0.1388, allocations: 127.1 kB / 485.3 MB, free: 15.66 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008653/0.1397, allocations: 251.6 kB / 485.6 MB, free: 15.41 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.1397, allocations: 0 / 485.6 MB, free: 15.41 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000459/0.1402, allocations: 140.2 kB / 485.7 MB, free: 15.28 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002794/0.1405, allocations: 11.94 kB / 485.7 MB, free: 15.27 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00078/0.1413, allocations: 446.2 kB / 486.2 MB, free: 14.81 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003169/0.1416, allocations: 0.7436 MB / 486.9 MB, free: 14.04 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002275/0.1418, allocations: 69.34 kB / 487 MB, free: 13.98 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.283e-05/0.1419, allocations: 31.34 kB / 487 MB, free: 13.95 MB / 366.1 MB Notification: Performance of SimCode: time 5.21e-07/0.1419, allocations: 0 / 487 MB, free: 13.95 MB / 366.1 MB Notification: Performance of Templates: time 0.00603/0.148, allocations: 2.624 MB / 489.6 MB, free: 11.36 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","/var/lib/jenkins/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