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.001404/0.001404, allocations: 111.4 kB / 17.86 MB, free: 5.504 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.001473/0.001473, allocations: 201.9 kB / 18.78 MB, free: 4.586 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.421/1.421, allocations: 222.9 MB / 242.4 MB, free: 15.43 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.2137/0.2137, allocations: 44.17 MB / 336.8 MB, free: 2.969 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00247/0.00247, allocations: 63.06 kB / 408.4 MB, free: 27.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1443/0.1468, allocations: 60.82 MB / 469.2 MB, free: 14.81 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW): time 0.004432/0.1513, allocations: 1.707 MB / 470.9 MB, free: 13.09 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002333/0.1536, allocations: 0.8843 MB / 471.8 MB, free: 12.2 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.082e-05/0.1538, allocations: 0 / 471.8 MB, free: 12.2 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002856/0.1541, allocations: 31.84 kB / 471.8 MB, free: 12.17 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002406/0.1544, allocations: 51.75 kB / 471.9 MB, free: 12.12 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005574/0.1549, allocations: 111.7 kB / 472 MB, free: 12.01 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003315/0.1553, allocations: 195.3 kB / 472.2 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.157e-05/0.1554, allocations: 17.45 kB / 472.2 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000126/0.1555, allocations: 47.73 kB / 472.2 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001964/0.1557, allocations: 75.67 kB / 472.3 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.37e-05/0.1558, allocations: 0 / 472.3 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005216/0.1563, allocations: 207.6 kB / 472.5 MB, free: 11.47 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.765e-05/0.1564, allocations: 39.83 kB / 472.5 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001048/0.1565, allocations: 59.55 kB / 472.6 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003693/0.1569, allocations: 163.9 kB / 472.8 MB, free: 11.21 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.1569, allocations: 0 / 472.8 MB, free: 11.21 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.1569, allocations: 4 kB / 472.8 MB, free: 11.21 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.813e-06/0.1569, allocations: 0 / 472.8 MB, free: 11.21 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.0008453/0.1578, allocations: 467 kB / 473.2 MB, free: 10.71 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.474e-05/0.1579, allocations: 11.97 kB / 473.2 MB, free: 10.7 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00212/0.16, allocations: 116.5 kB / 473.4 MB, free: 10.58 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003715/0.1604, allocations: 232 kB / 473.6 MB, free: 10.32 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.158e-05/0.1604, allocations: 12.36 kB / 473.6 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.565e-05/0.1605, allocations: 12.38 kB / 473.6 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001219/0.1617, allocations: 330.1 kB / 473.9 MB, free: 9.965 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.263e-05/0.1618, allocations: 0 / 473.9 MB, free: 9.965 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.278e-05/0.1618, allocations: 3.984 kB / 473.9 MB, free: 9.961 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.066e-05/0.1619, allocations: 23.98 kB / 474 MB, free: 9.938 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001524/0.1634, allocations: 319.7 kB / 474.3 MB, free: 9.625 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002349/0.1658, allocations: 0.8298 MB / 475.1 MB, free: 8.703 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001202/0.167, allocations: 214.3 kB / 475.3 MB, free: 8.484 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000515/0.1676, allocations: 88.81 kB / 475.4 MB, free: 8.395 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.743e-05/0.1676, allocations: 0 / 475.4 MB, free: 8.395 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.714e-05/0.1677, allocations: 38.55 kB / 475.4 MB, free: 8.348 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 2.194e-06/0.1677, allocations: 0 / 475.4 MB, free: 8.348 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.001749/0.1695, allocations: 293.3 kB / 475.7 MB, free: 8.055 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.717e-05/0.1695, allocations: 51.41 kB / 475.8 MB, free: 7.992 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002778/0.1698, allocations: 199.2 kB / 476 MB, free: 7.785 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.135e-05/0.1699, allocations: 29.64 kB / 476 MB, free: 7.75 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001075/0.17, allocations: 135.6 kB / 476.1 MB, free: 7.613 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.324e-05/0.1701, allocations: 47.75 kB / 476.2 MB, free: 7.566 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001406/0.1702, allocations: 49.67 kB / 476.2 MB, free: 7.512 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001525/0.1704, allocations: 322.8 kB / 476.5 MB, free: 7.188 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004739/0.1709, allocations: 83.91 kB / 476.6 MB, free: 7.105 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005208/0.1714, allocations: 138.7 kB / 476.7 MB, free: 6.945 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009867/0.1724, allocations: 222.6 kB / 477 MB, free: 6.703 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.998e-06/0.1724, allocations: 0 / 477 MB, free: 6.703 MB / 350.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.00128/0.1737, allocations: 273.1 kB / 477.2 MB, free: 6.43 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.618e-05/0.1738, allocations: 8 kB / 477.2 MB, free: 6.422 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.456e-06/0.1738, allocations: 0 / 477.2 MB, free: 6.422 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.404e-05/0.1738, allocations: 7.938 kB / 477.2 MB, free: 6.414 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007275/0.1746, allocations: 83.86 kB / 477.3 MB, free: 6.332 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001247/0.1758, allocations: 1.785 MB / 479.1 MB, free: 4.477 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003972/0.1762, allocations: 23.86 kB / 479.1 MB, free: 4.453 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.498e-05/0.1763, allocations: 15.98 kB / 479.2 MB, free: 4.438 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.0002343/0.1766, allocations: 154 kB / 479.3 MB, free: 4.277 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.607e-05/0.1767, allocations: 15.75 kB / 479.3 MB, free: 4.262 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001321/0.178, allocations: 262.8 kB / 479.6 MB, free: 4.004 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.861e-06/0.178, allocations: 0 / 479.6 MB, free: 4.004 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.972e-06/0.178, allocations: 96 / 479.6 MB, free: 4.004 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.653e-06/0.1781, allocations: 7.922 kB / 479.6 MB, free: 3.996 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004758/0.1785, allocations: 253.5 kB / 479.8 MB, free: 3.699 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/0.1786, allocations: 0 / 479.8 MB, free: 3.699 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000733/0.1793, allocations: 67.92 kB / 479.9 MB, free: 3.633 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.049e-05/0.1793, allocations: 3.938 kB / 479.9 MB, free: 3.629 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.052e-05/0.1794, allocations: 7.984 kB / 479.9 MB, free: 3.621 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001284/0.1807, allocations: 1.781 MB / 481.7 MB, free: 1.77 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.728e-06/0.1807, allocations: 4.031 kB / 481.7 MB, free: 1.766 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001217/0.1819, allocations: 319.3 kB / 482 MB, free: 1.438 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.671e-05/0.182, allocations: 85.02 kB / 482.1 MB, free: 1.336 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.169e-05/0.1821, allocations: 11.98 kB / 482.1 MB, free: 1.324 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003633/0.1825, allocations: 4 kB / 482.1 MB, free: 1.32 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.05e-05/0.1826, allocations: 11.97 kB / 482.1 MB, free: 1.309 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.474e-05/0.1826, allocations: 19.91 kB / 482.1 MB, free: 1.289 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001806/0.1828, allocations: 144.9 kB / 482.3 MB, free: 1.148 MB / 350.1 MB Notification: Performance of sort global known variables: time 3.81e-07/0.1829, allocations: 0 / 482.3 MB, free: 1.148 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006931/0.1836, allocations: 59.84 kB / 482.3 MB, free: 1.09 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.0003364/0.1839, allocations: 134.9 kB / 482.5 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001611/0.1855, allocations: 239.6 kB / 482.7 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/0.1856, allocations: 0 / 482.7 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008495/0.1864, allocations: 131.8 kB / 482.8 MB, free: 0.5859 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004889/0.1869, allocations: 16.78 kB / 482.8 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001337/0.1883, allocations: 451.2 kB / 483.3 MB, free: 104 kB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004266/0.1887, allocations: 0.7358 MB / 484 MB, free: 15.34 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001938/0.189, allocations: 39.38 kB / 484.1 MB, free: 15.3 MB / 366.1 MB Notification: Performance of SimCode: time 3.687e-06/0.189, allocations: 0 / 484.1 MB, free: 15.3 MB / 366.1 MB Notification: Performance of Templates: time 0.01184/0.2008, allocations: 4.902 MB / 489 MB, free: 10.4 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