Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_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.001367/0.001367, allocations: 107.4 kB / 17.03 MB, free: 6.102 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.001255/0.001255, allocations: 194.9 kB / 17.96 MB, free: 5.195 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.589/1.589, allocations: 205.1 MB / 223.8 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2245/0.2245, allocations: 43.53 MB / 314.7 MB, free: 472 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002844/0.002844, allocations: 69.73 kB / 384.2 MB, free: 56.39 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1227/0.1256, allocations: 57.8 MB / 442 MB, free: 6.121 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW): time 0.002443/0.1281, allocations: 1.639 MB / 443.6 MB, free: 4.465 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001138/0.1293, allocations: 0.9121 MB / 444.5 MB, free: 3.543 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.131e-05/0.1293, allocations: 4 kB / 444.5 MB, free: 3.539 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001962/0.1295, allocations: 31.83 kB / 444.6 MB, free: 3.508 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001442/0.1297, allocations: 51.75 kB / 444.6 MB, free: 3.457 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003599/0.1301, allocations: 127.5 kB / 444.8 MB, free: 3.332 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001487/0.1302, allocations: 143.3 kB / 444.9 MB, free: 3.191 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.845e-05/0.1303, allocations: 17.44 kB / 444.9 MB, free: 3.172 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.879e-05/0.1303, allocations: 63.7 kB / 445 MB, free: 3.109 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.169e-05/0.1304, allocations: 63.69 kB / 445 MB, free: 3.047 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.609e-05/0.1305, allocations: 4 kB / 445 MB, free: 3.043 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003103/0.1308, allocations: 211.7 kB / 445.2 MB, free: 2.836 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.736e-05/0.1308, allocations: 43.78 kB / 445.3 MB, free: 2.793 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.307e-05/0.1309, allocations: 59.61 kB / 445.3 MB, free: 2.734 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002801/0.1312, allocations: 251.1 kB / 445.6 MB, free: 2.488 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.1312, allocations: 0 / 445.6 MB, free: 2.488 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.784e-06/0.1312, allocations: 0 / 445.6 MB, free: 2.488 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.28e-06/0.1312, allocations: 0 / 445.6 MB, free: 2.488 MB / 318.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.0005018/0.1317, allocations: 472.1 kB / 446.1 MB, free: 1.98 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.088e-05/0.1318, allocations: 11.89 kB / 446.1 MB, free: 1.969 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00104/0.1328, allocations: 112.5 kB / 446.2 MB, free: 1.859 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002045/0.133, allocations: 224.1 kB / 446.4 MB, free: 1.602 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.219e-05/0.133, allocations: 12.38 kB / 446.4 MB, free: 1.59 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.982e-05/0.1331, allocations: 12.38 kB / 446.4 MB, free: 1.578 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005651/0.1336, allocations: 325.6 kB / 446.7 MB, free: 1.254 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.175e-05/0.1337, allocations: 0 / 446.7 MB, free: 1.254 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.588e-05/0.1337, allocations: 11.98 kB / 446.7 MB, free: 1.242 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.391e-05/0.1337, allocations: 19.98 kB / 446.8 MB, free: 1.223 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006718/0.1344, allocations: 315.7 kB / 447.1 MB, free: 0.9141 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001236/0.1357, allocations: 0.8256 MB / 447.9 MB, free: 0 / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007211/0.1364, allocations: 234.2 kB / 448.1 MB, free: 15.76 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002727/0.1367, allocations: 84.77 kB / 448.2 MB, free: 15.68 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.758e-05/0.1367, allocations: 7.984 kB / 448.2 MB, free: 15.67 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.421e-05/0.1367, allocations: 34.56 kB / 448.3 MB, free: 15.62 MB / 334.1 MB Notification: Performance of pre-optimization done (n=10): time 1.343e-06/0.1368, allocations: 0 / 448.3 MB, free: 15.62 MB / 334.1 MB Notification: Performance of matching and sorting (n=10): time 0.001004/0.1378, allocations: 293.2 kB / 448.5 MB, free: 15.33 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.16e-05/0.1378, allocations: 59.41 kB / 448.6 MB, free: 15.26 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000162/0.138, allocations: 191.2 kB / 448.8 MB, free: 15.07 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.613e-05/0.138, allocations: 29.7 kB / 448.8 MB, free: 15.03 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.577e-05/0.1381, allocations: 139.5 kB / 449 MB, free: 14.89 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.531e-05/0.1382, allocations: 31.55 kB / 449 MB, free: 14.86 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.367e-05/0.1383, allocations: 57.58 kB / 449 MB, free: 14.8 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001139/0.1384, allocations: 326.8 kB / 449.4 MB, free: 14.47 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002873/0.1387, allocations: 79.89 kB / 449.4 MB, free: 14.39 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003146/0.139, allocations: 138.8 kB / 449.6 MB, free: 14.23 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005737/0.1396, allocations: 218.6 kB / 449.8 MB, free: 13.99 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.1396, allocations: 4 kB / 449.8 MB, free: 13.99 MB / 334.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0007069/0.1403, allocations: 273.5 kB / 450.1 MB, free: 13.71 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.632e-05/0.1403, allocations: 4.781 kB / 450.1 MB, free: 13.71 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.1403, allocations: 4 kB / 450.1 MB, free: 13.71 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.591e-05/0.1404, allocations: 3.938 kB / 450.1 MB, free: 13.7 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004411/0.1408, allocations: 83.86 kB / 450.1 MB, free: 13.62 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008841/0.1417, allocations: 1.786 MB / 451.9 MB, free: 11.77 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002111/0.1419, allocations: 27.73 kB / 452 MB, free: 11.74 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.005e-05/0.142, allocations: 11.98 kB / 452 MB, free: 11.73 MB / 334.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.0001298/0.1421, allocations: 149.9 kB / 452.1 MB, free: 11.57 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.19e-05/0.1422, allocations: 19.83 kB / 452.1 MB, free: 11.55 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007629/0.1429, allocations: 266.7 kB / 452.4 MB, free: 11.29 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/0.1429, allocations: 4 kB / 452.4 MB, free: 11.28 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.143, allocations: 4 kB / 452.4 MB, free: 11.28 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.143, allocations: 0 / 452.4 MB, free: 11.28 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000298/0.1433, allocations: 253.5 kB / 452.7 MB, free: 10.98 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.426e-06/0.1433, allocations: 7.938 kB / 452.7 MB, free: 10.97 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003556/0.1436, allocations: 67.92 kB / 452.7 MB, free: 10.91 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.378e-06/0.1437, allocations: 3.938 kB / 452.7 MB, free: 10.9 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.73e-05/0.1437, allocations: 11.98 kB / 452.7 MB, free: 10.89 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009023/0.1446, allocations: 1.781 MB / 454.5 MB, free: 9.039 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.1446, allocations: 0 / 454.5 MB, free: 9.039 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007097/0.1453, allocations: 319.4 kB / 454.8 MB, free: 8.711 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.736e-05/0.1454, allocations: 92.91 kB / 454.9 MB, free: 8.602 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.373e-05/0.1455, allocations: 192 / 454.9 MB, free: 8.602 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002026/0.1457, allocations: 11.98 kB / 454.9 MB, free: 8.59 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.741e-05/0.1457, allocations: 15.86 kB / 455 MB, free: 8.574 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.302e-05/0.1458, allocations: 15.97 kB / 455 MB, free: 8.559 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001037/0.1459, allocations: 135.9 kB / 455.1 MB, free: 8.426 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1459, allocations: 4 kB / 455.1 MB, free: 8.422 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003636/0.1462, allocations: 59.94 kB / 455.2 MB, free: 8.363 MB / 334.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.0002316/0.1465, allocations: 123.2 kB / 455.3 MB, free: 8.23 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0008297/0.1473, allocations: 231.6 kB / 455.5 MB, free: 8.004 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.1473, allocations: 0 / 455.5 MB, free: 8.004 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004552/0.1478, allocations: 135.8 kB / 455.6 MB, free: 7.871 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00028/0.1481, allocations: 17.91 kB / 455.7 MB, free: 7.855 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00076/0.1489, allocations: 385 kB / 456 MB, free: 7.461 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000311/0.1492, allocations: 0.7358 MB / 456.8 MB, free: 6.699 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001777/0.1494, allocations: 69.34 kB / 456.8 MB, free: 6.633 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.953e-05/0.1495, allocations: 31.41 kB / 456.9 MB, free: 6.602 MB / 334.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1495, allocations: 0 / 456.9 MB, free: 6.602 MB / 334.1 MB Notification: Performance of Templates: time 0.006046/0.1555, allocations: 2.806 MB / 459.7 MB, free: 3.824 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/Dissipation/Verifications/PressureLoss/General/dp_volumeFlowRate_DPMFLOW/dp_volumeFlowRate_DPMFLOW.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches