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.006187/0.006187, allocations: 100.9 kB / 15.87 MB, free: 6.309 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.001392/0.001392, allocations: 196.2 kB / 16.79 MB, free: 6.238 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.706/1.706, allocations: 205.1 MB / 222.6 MB, free: 4.961 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4092/0.4092, allocations: 43.5 MB / 313.5 MB, free: 8.684 MB / 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.001355/0.001355, allocations: 71.91 kB / 382.1 MB, free: 8.996 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1455/0.1468, allocations: 57.78 MB / 439.8 MB, free: 15.11 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW): time 0.003437/0.1504, allocations: 1.711 MB / 441.6 MB, free: 13.39 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001659/0.1521, allocations: 0.9202 MB / 442.5 MB, free: 12.46 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.653e-05/0.1521, allocations: 0 / 442.5 MB, free: 12.46 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002574/0.1524, allocations: 31.84 kB / 442.5 MB, free: 12.43 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001761/0.1526, allocations: 51.73 kB / 442.6 MB, free: 12.38 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003919/0.153, allocations: 107.7 kB / 442.7 MB, free: 12.27 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002326/0.1532, allocations: 195.3 kB / 442.9 MB, free: 12.08 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.674e-05/0.1533, allocations: 21.7 kB / 442.9 MB, free: 12.05 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.127e-05/0.1534, allocations: 51.72 kB / 442.9 MB, free: 12 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001507/0.1536, allocations: 71.69 kB / 443 MB, free: 11.93 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.067e-05/0.1536, allocations: 4 kB / 443 MB, free: 11.93 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003524/0.1539, allocations: 203.6 kB / 443.2 MB, free: 11.73 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.469e-05/0.154, allocations: 35.89 kB / 443.2 MB, free: 11.7 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.463e-05/0.1541, allocations: 59.55 kB / 443.3 MB, free: 11.64 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003791/0.1545, allocations: 243.1 kB / 443.5 MB, free: 11.4 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.66e-06/0.1545, allocations: 0 / 443.5 MB, free: 11.4 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.1545, allocations: 4 kB / 443.5 MB, free: 11.39 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.272e-06/0.1545, allocations: 0 / 443.5 MB, free: 11.39 MB / 382.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.0007283/0.1553, allocations: 474.9 kB / 444 MB, free: 10.88 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.38e-05/0.1553, allocations: 8.031 kB / 444 MB, free: 10.88 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001224/0.1565, allocations: 116.5 kB / 444.1 MB, free: 10.76 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002541/0.1568, allocations: 232.1 kB / 444.3 MB, free: 10.5 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.948e-05/0.1568, allocations: 8.375 kB / 444.4 MB, free: 10.49 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.386e-05/0.1569, allocations: 12.38 kB / 444.4 MB, free: 10.48 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006988/0.1576, allocations: 333.6 kB / 444.7 MB, free: 10.14 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.253e-05/0.1576, allocations: 0 / 444.7 MB, free: 10.14 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.401e-05/0.1576, allocations: 8 kB / 444.7 MB, free: 10.14 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.074e-05/0.1577, allocations: 27.92 kB / 444.7 MB, free: 10.11 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007646/0.1585, allocations: 319.6 kB / 445 MB, free: 9.797 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001517/0.16, allocations: 0.822 MB / 445.9 MB, free: 8.887 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006887/0.1607, allocations: 218.3 kB / 446.1 MB, free: 8.664 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000277/0.161, allocations: 88.81 kB / 446.2 MB, free: 8.574 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.028e-05/0.161, allocations: 8.031 kB / 446.2 MB, free: 8.566 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.388e-05/0.161, allocations: 30.56 kB / 446.2 MB, free: 8.527 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.342e-06/0.1611, allocations: 0 / 446.2 MB, free: 8.527 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.00103/0.1621, allocations: 301.1 kB / 446.5 MB, free: 8.227 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.152e-05/0.1621, allocations: 51.41 kB / 446.5 MB, free: 8.164 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001913/0.1623, allocations: 191.3 kB / 446.7 MB, free: 7.969 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.083e-05/0.1624, allocations: 29.7 kB / 446.8 MB, free: 7.934 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001015/0.1625, allocations: 139.4 kB / 446.9 MB, free: 7.793 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.136e-05/0.1625, allocations: 35.48 kB / 446.9 MB, free: 7.758 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.242e-05/0.1626, allocations: 57.58 kB / 447 MB, free: 7.695 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000137/0.1628, allocations: 322.8 kB / 447.3 MB, free: 7.371 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002802/0.1631, allocations: 84.27 kB / 447.4 MB, free: 7.289 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003269/0.1634, allocations: 138.4 kB / 447.5 MB, free: 7.133 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006001/0.164, allocations: 230.5 kB / 447.7 MB, free: 6.883 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.164, allocations: 0 / 447.7 MB, free: 6.883 MB / 382.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0007041/0.1647, allocations: 265.2 kB / 448 MB, free: 6.617 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.183e-05/0.1648, allocations: 4 kB / 448 MB, free: 6.613 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.13e-05/0.1648, allocations: 4 kB / 448 MB, free: 6.609 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.215e-05/0.1648, allocations: 11.88 kB / 448 MB, free: 6.598 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004785/0.1653, allocations: 79.86 kB / 448.1 MB, free: 6.52 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001149/0.1665, allocations: 1.789 MB / 449.9 MB, free: 4.66 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002164/0.1667, allocations: 27.67 kB / 449.9 MB, free: 4.633 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.498e-05/0.1667, allocations: 15.98 kB / 449.9 MB, free: 4.617 MB / 382.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.0001654/0.1669, allocations: 142.1 kB / 450.1 MB, free: 4.469 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.259e-05/0.167, allocations: 15.84 kB / 450.1 MB, free: 4.453 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007697/0.1677, allocations: 266.8 kB / 450.3 MB, free: 4.184 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.015e-06/0.1678, allocations: 4 kB / 450.4 MB, free: 4.18 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/0.1678, allocations: 0 / 450.4 MB, free: 4.18 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.1678, allocations: 0 / 450.4 MB, free: 4.18 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000326/0.1681, allocations: 261.4 kB / 450.6 MB, free: 3.875 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.1681, allocations: 96 / 450.6 MB, free: 3.875 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003539/0.1685, allocations: 75.81 kB / 450.7 MB, free: 3.801 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.578e-06/0.1685, allocations: 3.938 kB / 450.7 MB, free: 3.797 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.752e-05/0.1685, allocations: 11.97 kB / 450.7 MB, free: 3.785 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001023/0.1696, allocations: 1.781 MB / 452.5 MB, free: 1.934 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.1696, allocations: 0 / 452.5 MB, free: 1.934 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007067/0.1703, allocations: 323.4 kB / 452.8 MB, free: 1.602 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.63e-05/0.1704, allocations: 88.92 kB / 452.9 MB, free: 1.496 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.136e-05/0.1704, allocations: 8 kB / 452.9 MB, free: 1.488 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002068/0.1706, allocations: 7.984 kB / 452.9 MB, free: 1.48 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.164e-05/0.1707, allocations: 15.97 kB / 452.9 MB, free: 1.465 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.168e-05/0.1707, allocations: 11.98 kB / 452.9 MB, free: 1.453 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001142/0.1708, allocations: 144.9 kB / 453.1 MB, free: 1.312 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1709, allocations: 0 / 453.1 MB, free: 1.312 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000366/0.1712, allocations: 63.92 kB / 453.1 MB, free: 1.25 MB / 382.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.0002618/0.1715, allocations: 123.2 kB / 453.2 MB, free: 1.121 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000842/0.1723, allocations: 235.6 kB / 453.5 MB, free: 0.8906 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.948e-06/0.1724, allocations: 7.938 kB / 453.5 MB, free: 0.8828 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004483/0.1728, allocations: 131.8 kB / 453.6 MB, free: 0.7539 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002949/0.1731, allocations: 16.23 kB / 453.6 MB, free: 0.7383 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008245/0.174, allocations: 440.9 kB / 454.1 MB, free: 292 kB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2194/0.3934, allocations: 0.7385 MB / 454.8 MB, free: 49.33 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003032/0.3938, allocations: 66.12 kB / 454.9 MB, free: 49.33 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001061/0.3939, allocations: 29.89 kB / 454.9 MB, free: 49.32 MB / 382.1 MB Notification: Performance of SimCode: time 1.212e-06/0.3939, allocations: 2.469 kB / 454.9 MB, free: 49.32 MB / 382.1 MB Notification: Performance of Templates: time 0.005343/0.3992, allocations: 2.642 MB / 457.5 MB, free: 49.23 MB / 382.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 -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/jenkins/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","../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