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.001177/0.001177, allocations: 110.1 kB / 18.3 MB, free: 4.84 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.001077/0.001077, allocations: 199.3 kB / 19.23 MB, free: 3.914 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.352/1.352, allocations: 222.9 MB / 242.9 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.2025/0.2025, allocations: 44.17 MB / 337.3 MB, free: 2.762 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002123/0.002123, allocations: 60.38 kB / 409.1 MB, free: 27.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1328/0.135, allocations: 60.82 MB / 469.9 MB, free: 14.36 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW): time 0.004379/0.1394, allocations: 1.65 MB / 471.6 MB, free: 12.7 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002163/0.1416, allocations: 0.8763 MB / 472.5 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.438e-05/0.1417, allocations: 0 / 472.5 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002761/0.142, allocations: 31.84 kB / 472.5 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002605/0.1423, allocations: 55.73 kB / 472.6 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006597/0.143, allocations: 130.7 kB / 472.7 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002749/0.1433, allocations: 139.3 kB / 472.8 MB, free: 11.47 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.852e-05/0.1434, allocations: 17.45 kB / 472.8 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001259/0.1435, allocations: 59.7 kB / 472.9 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001831/0.1437, allocations: 63.75 kB / 473 MB, free: 11.33 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.983e-05/0.1437, allocations: 4 kB / 473 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006491/0.1444, allocations: 207.7 kB / 473.2 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.642e-05/0.1445, allocations: 47.81 kB / 473.2 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001034/0.1446, allocations: 59.61 kB / 473.3 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005237/0.1452, allocations: 239.4 kB / 473.5 MB, free: 10.78 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.908e-06/0.1452, allocations: 0 / 473.5 MB, free: 10.78 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.1452, allocations: 4 kB / 473.5 MB, free: 10.78 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.815e-06/0.1452, allocations: 0 / 473.5 MB, free: 10.78 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.0008491/0.1461, allocations: 467 kB / 474 MB, free: 10.27 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.533e-05/0.1461, allocations: 12.03 kB / 474 MB, free: 10.26 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001844/0.148, allocations: 112.5 kB / 474.1 MB, free: 10.15 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000354/0.1484, allocations: 228 kB / 474.3 MB, free: 9.891 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.785e-05/0.1484, allocations: 16.36 kB / 474.3 MB, free: 9.875 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.029e-05/0.1485, allocations: 16.31 kB / 474.3 MB, free: 9.859 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001076/0.1496, allocations: 333.6 kB / 474.7 MB, free: 9.527 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.357e-05/0.1496, allocations: 0 / 474.7 MB, free: 9.527 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.425e-05/0.1497, allocations: 7.938 kB / 474.7 MB, free: 9.52 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.384e-05/0.1497, allocations: 19.98 kB / 474.7 MB, free: 9.5 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001411/0.1511, allocations: 319.7 kB / 475 MB, free: 9.188 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001701/0.1529, allocations: 0.8259 MB / 475.8 MB, free: 8.27 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007554/0.1536, allocations: 218.3 kB / 476 MB, free: 8.047 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002935/0.1539, allocations: 88.81 kB / 476.1 MB, free: 7.957 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.092e-05/0.154, allocations: 3.984 kB / 476.1 MB, free: 7.953 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.592e-05/0.154, allocations: 30.56 kB / 476.2 MB, free: 7.914 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.914e-06/0.154, allocations: 0 / 476.2 MB, free: 7.914 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.001085/0.1551, allocations: 289.3 kB / 476.4 MB, free: 7.625 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.849e-05/0.1552, allocations: 55.39 kB / 476.5 MB, free: 7.559 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001737/0.1553, allocations: 195.2 kB / 476.7 MB, free: 7.355 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.49e-05/0.1554, allocations: 25.7 kB / 476.7 MB, free: 7.324 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.172e-05/0.1555, allocations: 143.6 kB / 476.9 MB, free: 7.18 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.644e-05/0.1555, allocations: 39.39 kB / 476.9 MB, free: 7.141 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.624e-05/0.1556, allocations: 49.67 kB / 476.9 MB, free: 7.086 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001117/0.1557, allocations: 322.8 kB / 477.3 MB, free: 6.762 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003097/0.156, allocations: 88.22 kB / 477.3 MB, free: 6.676 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003332/0.1564, allocations: 145.2 kB / 477.5 MB, free: 6.512 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006353/0.157, allocations: 218.5 kB / 477.7 MB, free: 6.273 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/0.157, allocations: 0 / 477.7 MB, free: 6.273 MB / 350.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0007795/0.1578, allocations: 277.1 kB / 478 MB, free: 5.996 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.555e-05/0.1578, allocations: 8 kB / 478 MB, free: 5.988 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.1579, allocations: 0 / 478 MB, free: 5.988 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.776e-05/0.1579, allocations: 11.88 kB / 478 MB, free: 5.977 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004612/0.1584, allocations: 79.86 kB / 478.1 MB, free: 5.898 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009341/0.1593, allocations: 1.785 MB / 479.9 MB, free: 4.043 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002304/0.1595, allocations: 27.86 kB / 479.9 MB, free: 4.016 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.69e-05/0.1596, allocations: 11.98 kB / 479.9 MB, free: 4.004 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.0001393/0.1597, allocations: 146 kB / 480 MB, free: 3.852 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.33e-05/0.1598, allocations: 15.75 kB / 480.1 MB, free: 3.836 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008253/0.1606, allocations: 270.8 kB / 480.3 MB, free: 3.57 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.1606, allocations: 0 / 480.3 MB, free: 3.57 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.858e-06/0.1606, allocations: 0 / 480.3 MB, free: 3.57 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.1607, allocations: 0 / 480.3 MB, free: 3.57 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002873/0.1609, allocations: 253.5 kB / 480.6 MB, free: 3.273 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.161, allocations: 96 / 480.6 MB, free: 3.273 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000369/0.1613, allocations: 71.86 kB / 480.6 MB, free: 3.203 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.999e-06/0.1613, allocations: 3.938 kB / 480.6 MB, free: 3.199 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.511e-05/0.1614, allocations: 15.98 kB / 480.7 MB, free: 3.184 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008897/0.1623, allocations: 1.785 MB / 482.4 MB, free: 1.328 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.1623, allocations: 0 / 482.4 MB, free: 1.328 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007527/0.163, allocations: 323.3 kB / 482.8 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.71e-05/0.1631, allocations: 85.02 kB / 482.8 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.971e-05/0.1632, allocations: 7.984 kB / 482.8 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000212/0.1634, allocations: 8 kB / 482.9 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.431e-05/0.1634, allocations: 11.97 kB / 482.9 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.229e-05/0.1635, allocations: 11.97 kB / 482.9 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001162/0.1636, allocations: 143.9 kB / 483 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of sort global known variables: time 2e-07/0.1636, allocations: 0 / 483 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003686/0.164, allocations: 59.84 kB / 483.1 MB, free: 0.6562 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 (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.0002212/0.1642, allocations: 123.2 kB / 483.2 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008879/0.1651, allocations: 255.6 kB / 483.4 MB, free: 280 kB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.1651, allocations: 0 / 483.4 MB, free: 280 kB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004772/0.1656, allocations: 135.8 kB / 483.6 MB, free: 144 kB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002909/0.1659, allocations: 16.03 kB / 483.6 MB, free: 132 kB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007947/0.1667, allocations: 399.3 kB / 484 MB, free: 15.71 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003286/0.167, allocations: 0.7358 MB / 484.7 MB, free: 14.95 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00011/0.1672, allocations: 39.31 kB / 484.8 MB, free: 14.91 MB / 366.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1672, allocations: 0 / 484.8 MB, free: 14.91 MB / 366.1 MB Notification: Performance of Templates: time 0.006996/0.1742, allocations: 4.904 MB / 489.7 MB, free: 10 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/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