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_nominalDensityViscosity_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_nominalDensityViscosity_DPMFLOW,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eta.1.|eta.2.|eta.3.|rho.1.|rho.2.|rho.3.|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_nominalDensityViscosity_DPMFLOW") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eta.1.|eta.2.|eta.3.|rho.1.|rho.2.|rho.3.|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_nominalDensityViscosity_DPMFLOW") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001235/0.001235, allocations: 104.5 kB / 17.63 MB, free: 5.344 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.001544/0.001544, allocations: 192 kB / 18.56 MB, free: 4.434 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.34/1.34, allocations: 222.9 MB / 242.2 MB, free: 15.18 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.2093/0.2093, allocations: 44.18 MB / 336.6 MB, free: 2.77 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001365/0.001365, allocations: 64.94 kB / 408.4 MB, free: 27.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1227/0.1241, allocations: 60.84 MB / 469.3 MB, free: 14.36 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW): time 0.003232/0.1273, allocations: 1.802 MB / 471.1 MB, free: 12.54 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001212/0.1286, allocations: 0.6308 MB / 471.7 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.967e-05/0.1287, allocations: 0 / 471.7 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003702/0.129, allocations: 59.67 kB / 471.8 MB, free: 11.85 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001839/0.1292, allocations: 71.58 kB / 471.8 MB, free: 11.78 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003987/0.1297, allocations: 111.5 kB / 472 MB, free: 11.67 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002869/0.13, allocations: 226.8 kB / 472.2 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.053e-05/0.1301, allocations: 32.3 kB / 472.2 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001155/0.1302, allocations: 83.52 kB / 472.3 MB, free: 11.33 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001774/0.1304, allocations: 115.4 kB / 472.4 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.433e-05/0.1304, allocations: 4 kB / 472.4 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004203/0.1308, allocations: 223.8 kB / 472.6 MB, free: 10.99 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001195/0.1309, allocations: 59.64 kB / 472.7 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001163/0.1311, allocations: 95.36 kB / 472.8 MB, free: 10.84 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005063/0.1316, allocations: 327.2 kB / 473.1 MB, free: 10.52 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/0.1316, allocations: 0 / 473.1 MB, free: 10.52 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.325e-06/0.1316, allocations: 0 / 473.1 MB, free: 10.52 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.135e-06/0.1316, allocations: 4 kB / 473.1 MB, free: 10.52 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: 70 * Number of variables: 70 Notification: Performance of Generate backend data structure: time 0.0009004/0.1325, allocations: 0.5188 MB / 473.6 MB, free: 9.949 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.509e-05/0.1326, allocations: 8.031 kB / 473.6 MB, free: 9.941 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001783/0.1344, allocations: 200.3 kB / 473.8 MB, free: 9.746 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003061/0.1347, allocations: 267.9 kB / 474.1 MB, free: 9.445 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.218e-05/0.1347, allocations: 20.92 kB / 474.1 MB, free: 9.426 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.225e-05/0.1348, allocations: 24.31 kB / 474.1 MB, free: 9.402 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009157/0.1357, allocations: 0.5085 MB / 474.6 MB, free: 8.887 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.18e-05/0.1357, allocations: 0 / 474.6 MB, free: 8.887 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.802e-05/0.1357, allocations: 8 kB / 474.6 MB, free: 8.879 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.92e-05/0.1358, allocations: 24.55 kB / 474.7 MB, free: 8.855 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001221/0.137, allocations: 0.5798 MB / 475.2 MB, free: 8.273 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002194/0.1392, allocations: 1.185 MB / 476.4 MB, free: 7 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006531/0.1399, allocations: 178.3 kB / 476.6 MB, free: 6.816 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003364/0.1402, allocations: 88.75 kB / 476.7 MB, free: 6.727 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.813e-05/0.1403, allocations: 8.141 kB / 476.7 MB, free: 6.719 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.396e-05/0.1403, allocations: 30.56 kB / 476.7 MB, free: 6.68 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.473e-06/0.1403, allocations: 3.938 kB / 476.7 MB, free: 6.676 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.001242/0.1415, allocations: 293.2 kB / 477 MB, free: 6.383 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.325e-05/0.1416, allocations: 51.41 kB / 477.1 MB, free: 6.32 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002579/0.1419, allocations: 290.4 kB / 477.4 MB, free: 6.023 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.558e-05/0.1419, allocations: 29.7 kB / 477.4 MB, free: 5.988 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000108/0.142, allocations: 167.5 kB / 477.5 MB, free: 5.82 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.119e-05/0.142, allocations: 23.66 kB / 477.6 MB, free: 5.797 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.97e-05/0.1421, allocations: 37.69 kB / 477.6 MB, free: 5.754 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001274/0.1423, allocations: 338.8 kB / 477.9 MB, free: 5.414 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003588/0.1426, allocations: 83.91 kB / 478 MB, free: 5.332 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003795/0.143, allocations: 119.3 kB / 478.1 MB, free: 5.203 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007115/0.1437, allocations: 207.2 kB / 478.3 MB, free: 4.988 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.849e-06/0.1438, allocations: 3.938 kB / 478.3 MB, free: 4.984 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0008755/0.1447, allocations: 273 kB / 478.6 MB, free: 4.711 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.796e-05/0.1447, allocations: 4 kB / 478.6 MB, free: 4.707 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.135e-06/0.1447, allocations: 8.094 kB / 478.6 MB, free: 4.699 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.706e-05/0.1447, allocations: 0 / 478.6 MB, free: 4.699 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005735/0.1505, allocations: 463.3 kB / 479.1 MB, free: 4.246 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002634/0.1531, allocations: 1.945 MB / 481 MB, free: 2.23 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003921/0.1535, allocations: 43.88 kB / 481.1 MB, free: 2.188 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.513e-05/0.1535, allocations: 7.984 kB / 481.1 MB, free: 2.18 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (13): * Single equations (assignments): 10 * 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.0001945/0.1537, allocations: 161.7 kB / 481.2 MB, free: 2.012 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.423e-05/0.1538, allocations: 19.72 kB / 481.2 MB, free: 1.992 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.166e-05/0.1539, allocations: 25.7 kB / 481.3 MB, free: 1.973 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.701e-06/0.1539, allocations: 4 kB / 481.3 MB, free: 1.969 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.1539, allocations: 0 / 481.3 MB, free: 1.969 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.1539, allocations: 96 / 481.3 MB, free: 1.969 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003636/0.1543, allocations: 297.4 kB / 481.6 MB, free: 1.629 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.1543, allocations: 4 kB / 481.6 MB, free: 1.625 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005668/0.16, allocations: 447.3 kB / 482 MB, free: 1.188 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.969e-06/0.16, allocations: 0 / 482 MB, free: 1.188 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.56e-05/0.16, allocations: 7.984 kB / 482 MB, free: 1.18 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002769/0.1628, allocations: 1.937 MB / 484 MB, free: 15.17 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.438e-06/0.1628, allocations: 8.234 kB / 484 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008981/0.1637, allocations: 327.2 kB / 484.3 MB, free: 14.83 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.803e-05/0.1638, allocations: 100.8 kB / 484.4 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.285e-05/0.1639, allocations: 8 kB / 484.4 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003624/0.1643, allocations: 15.97 kB / 484.4 MB, free: 14.69 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.991e-05/0.1643, allocations: 11.98 kB / 484.4 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.038e-05/0.1644, allocations: 7.984 kB / 484.4 MB, free: 14.67 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002352/0.1646, allocations: 213.9 kB / 484.6 MB, free: 14.46 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.1646, allocations: 0 / 484.6 MB, free: 14.46 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003669/0.165, allocations: 63.94 kB / 484.7 MB, free: 14.4 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 (7): * Single equations (assignments): 4 * 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.0002411/0.1652, allocations: 107.2 kB / 484.8 MB, free: 14.29 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.006187/0.1714, allocations: 0.6006 MB / 485.4 MB, free: 13.68 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 9.999e-06/0.1715, allocations: 8.125 kB / 485.4 MB, free: 13.68 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00553/0.177, allocations: 499.2 kB / 485.9 MB, free: 13.19 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004437/0.1775, allocations: 48.66 kB / 485.9 MB, free: 13.14 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001175/0.1787, allocations: 476.4 kB / 486.4 MB, free: 12.65 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004591/0.1792, allocations: 0.7792 MB / 487.2 MB, free: 11.85 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001949/0.1794, allocations: 45.92 kB / 487.2 MB, free: 11.8 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.451e-05/0.1795, allocations: 23.44 kB / 487.3 MB, free: 11.78 MB / 366.1 MB Notification: Performance of SimCode: time 1.202e-06/0.1795, allocations: 0 / 487.3 MB, free: 11.78 MB / 366.1 MB Notification: Performance of Templates: time 0.009929/0.1894, allocations: 5.181 MB / 492.4 MB, free: 6.668 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_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_nominalDensityViscosity_DPMFLOW/dp_nominalDensityViscosity_DPMFLOW.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches