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.001136/0.001136, allocations: 108.2 kB / 18.39 MB, free: 4.629 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.001152/0.001152, allocations: 182.9 kB / 19.33 MB, free: 3.699 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.341/1.341, allocations: 222.9 MB / 243 MB, free: 15.09 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.2096/0.2096, allocations: 44.19 MB / 337.4 MB, free: 2.699 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001368/0.001368, allocations: 61.81 kB / 409.9 MB, free: 26.52 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1208/0.1222, allocations: 60.84 MB / 470.7 MB, free: 13.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW): time 0.00311/0.1253, allocations: 1.812 MB / 472.5 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001118/0.1265, allocations: 0.6347 MB / 473.2 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.19e-05/0.1266, allocations: 3.938 kB / 473.2 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003825/0.127, allocations: 51.73 kB / 473.2 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001743/0.1272, allocations: 67.58 kB / 473.3 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004006/0.1276, allocations: 127.5 kB / 473.4 MB, free: 10.92 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000262/0.1279, allocations: 230.8 kB / 473.6 MB, free: 10.69 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.592e-05/0.1279, allocations: 24.3 kB / 473.7 MB, free: 10.66 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001026/0.128, allocations: 83.58 kB / 473.7 MB, free: 10.58 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001594/0.1282, allocations: 111.4 kB / 473.9 MB, free: 10.47 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.17e-05/0.1282, allocations: 8 kB / 473.9 MB, free: 10.46 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003954/0.1286, allocations: 227.7 kB / 474.1 MB, free: 10.24 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.242e-05/0.1287, allocations: 51.7 kB / 474.1 MB, free: 10.19 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001053/0.1289, allocations: 95.36 kB / 474.2 MB, free: 10.1 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004625/0.1293, allocations: 330.8 kB / 474.6 MB, free: 9.773 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.1293, allocations: 0 / 474.6 MB, free: 9.773 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.264e-06/0.1293, allocations: 0 / 474.6 MB, free: 9.773 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.191e-05/0.1294, allocations: 0 / 474.6 MB, free: 9.773 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.0007656/0.1301, allocations: 0.5266 MB / 475.1 MB, free: 9.199 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.446e-05/0.1302, allocations: 12.03 kB / 475.1 MB, free: 9.188 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00189/0.1321, allocations: 196.3 kB / 475.3 MB, free: 8.996 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004095/0.1325, allocations: 275.6 kB / 475.6 MB, free: 8.691 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.933e-05/0.1325, allocations: 16.88 kB / 475.6 MB, free: 8.676 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.439e-05/0.1326, allocations: 24.38 kB / 475.6 MB, free: 8.652 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000946/0.1335, allocations: 0.5008 MB / 476.1 MB, free: 8.145 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.728e-06/0.1336, allocations: 0 / 476.1 MB, free: 8.145 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.736e-05/0.1336, allocations: 16 kB / 476.1 MB, free: 8.129 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.041e-05/0.1337, allocations: 24.55 kB / 476.1 MB, free: 8.105 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001167/0.1348, allocations: 0.5798 MB / 476.7 MB, free: 7.523 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002167/0.137, allocations: 1.181 MB / 477.9 MB, free: 6.254 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006737/0.1377, allocations: 174.3 kB / 478.1 MB, free: 6.074 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003306/0.138, allocations: 80.77 kB / 478.1 MB, free: 5.992 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.637e-05/0.1381, allocations: 4 kB / 478.1 MB, free: 5.988 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.737e-05/0.1381, allocations: 42.55 kB / 478.2 MB, free: 5.938 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.513e-06/0.1381, allocations: 0 / 478.2 MB, free: 5.938 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.001168/0.1393, allocations: 293.1 kB / 478.5 MB, free: 5.645 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.903e-05/0.1393, allocations: 55.41 kB / 478.5 MB, free: 5.578 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002675/0.1396, allocations: 286.4 kB / 478.8 MB, free: 5.285 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.562e-05/0.1396, allocations: 25.7 kB / 478.8 MB, free: 5.254 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001082/0.1398, allocations: 167.7 kB / 479 MB, free: 5.086 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.015e-05/0.1398, allocations: 27.64 kB / 479 MB, free: 5.059 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.731e-05/0.1399, allocations: 41.62 kB / 479.1 MB, free: 5.012 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001139/0.14, allocations: 334.8 kB / 479.4 MB, free: 4.676 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003341/0.1404, allocations: 83.91 kB / 479.5 MB, free: 4.594 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003456/0.1407, allocations: 119.3 kB / 479.6 MB, free: 4.465 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006657/0.1414, allocations: 211.2 kB / 479.8 MB, free: 4.246 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.1414, allocations: 7.875 kB / 479.8 MB, free: 4.238 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0008242/0.1422, allocations: 261.1 kB / 480.1 MB, free: 3.977 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.842e-05/0.1423, allocations: 8 kB / 480.1 MB, free: 3.969 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.283e-06/0.1423, allocations: 3.984 kB / 480.1 MB, free: 3.965 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.655e-05/0.1423, allocations: 0 / 480.1 MB, free: 3.965 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005764/0.1481, allocations: 467.3 kB / 480.5 MB, free: 3.508 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002771/0.1508, allocations: 1.949 MB / 482.5 MB, free: 1.488 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003956/0.1513, allocations: 39.66 kB / 482.5 MB, free: 1.449 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.863e-05/0.1513, allocations: 8 kB / 482.5 MB, free: 1.441 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.0001914/0.1515, allocations: 157.8 kB / 482.7 MB, free: 1.277 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.075e-05/0.1516, allocations: 23.72 kB / 482.7 MB, free: 1.254 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.021e-05/0.1516, allocations: 25.7 kB / 482.7 MB, free: 1.234 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.1516, allocations: 0 / 482.7 MB, free: 1.234 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.1517, allocations: 0 / 482.7 MB, free: 1.234 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.1517, allocations: 0 / 482.7 MB, free: 1.234 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003906/0.1521, allocations: 293.4 kB / 483 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.736e-06/0.1521, allocations: 0 / 483 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00571/0.1578, allocations: 459.2 kB / 483.5 MB, free: 460 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.769e-06/0.1578, allocations: 0 / 483.5 MB, free: 460 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.633e-05/0.1578, allocations: 7.984 kB / 483.5 MB, free: 452 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002647/0.1605, allocations: 1.941 MB / 485.4 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.1605, allocations: 96 / 485.4 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000785/0.1613, allocations: 331 kB / 485.7 MB, free: 14.09 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.667e-05/0.1614, allocations: 96.81 kB / 485.8 MB, free: 13.98 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.817e-05/0.1614, allocations: 4 kB / 485.8 MB, free: 13.97 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003827/0.1618, allocations: 23.97 kB / 485.9 MB, free: 13.95 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.89e-05/0.1619, allocations: 7.984 kB / 485.9 MB, free: 13.94 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.51e-05/0.1619, allocations: 11.92 kB / 485.9 MB, free: 13.93 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002108/0.1622, allocations: 209.9 kB / 486.1 MB, free: 13.73 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1622, allocations: 0 / 486.1 MB, free: 13.73 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003798/0.1625, allocations: 75.92 kB / 486.2 MB, free: 13.66 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.0002072/0.1628, allocations: 103.2 kB / 486.3 MB, free: 13.54 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.006175/0.1689, allocations: 0.5967 MB / 486.9 MB, free: 12.95 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.457e-06/0.169, allocations: 0 / 486.9 MB, free: 12.95 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005751/0.1747, allocations: 499.4 kB / 487.3 MB, free: 12.46 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004405/0.1752, allocations: 44.2 kB / 487.4 MB, free: 12.41 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001067/0.1763, allocations: 480.4 kB / 487.9 MB, free: 11.92 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000331/0.1766, allocations: 0.7714 MB / 488.6 MB, free: 11.12 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001709/0.1768, allocations: 58.03 kB / 488.7 MB, free: 11.07 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.111e-05/0.1769, allocations: 19.44 kB / 488.7 MB, free: 11.05 MB / 366.1 MB Notification: Performance of SimCode: time 1.393e-06/0.1769, allocations: 0 / 488.7 MB, free: 11.05 MB / 366.1 MB Notification: Performance of Templates: time 0.01002/0.1869, allocations: 5.185 MB / 493.9 MB, free: 5.934 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 -s gbode -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/jenkins1/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/jenkins1/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