Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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.1.0-beta.om_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.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001294/0.001294, allocations: 109.2 kB / 17.21 MB, free: 6.27 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001335/0.001335, allocations: 213.7 kB / 18.14 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.474/1.474, allocations: 227.4 MB / 246.3 MB, free: 10.81 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2267/0.2267, allocations: 46.12 MB / 343.7 MB, free: 11.77 MB / 286.1 MB Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002299/0.002299, allocations: 81.58 kB / 417 MB, free: 20.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1229/0.1252, allocations: 62.45 MB / 479.4 MB, free: 5.66 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW): time 0.003216/0.1284, allocations: 1.897 MB / 481.3 MB, free: 3.746 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001128/0.1296, allocations: 0.6543 MB / 482 MB, free: 3.09 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.969e-05/0.1297, allocations: 0 / 482 MB, free: 3.09 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002611/0.1299, allocations: 47.73 kB / 482 MB, free: 3.043 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001475/0.1301, allocations: 71.64 kB / 482.1 MB, free: 2.973 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002876/0.1304, allocations: 95.69 kB / 482.2 MB, free: 2.879 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003194/0.1307, allocations: 302.7 kB / 482.5 MB, free: 2.582 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.95e-05/0.1308, allocations: 24.3 kB / 482.5 MB, free: 2.559 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.447e-05/0.1309, allocations: 83.42 kB / 482.6 MB, free: 2.477 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001776/0.1311, allocations: 119.4 kB / 482.7 MB, free: 2.359 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.121e-05/0.1311, allocations: 4 kB / 482.7 MB, free: 2.355 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003731/0.1315, allocations: 219.8 kB / 482.9 MB, free: 2.141 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.589e-05/0.1316, allocations: 59.67 kB / 483 MB, free: 2.082 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000108/0.1317, allocations: 91.36 kB / 483 MB, free: 1.992 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004226/0.1321, allocations: 323.2 kB / 483.4 MB, free: 1.676 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.743e-06/0.1321, allocations: 0 / 483.4 MB, free: 1.676 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.02e-07/0.1321, allocations: 3.938 kB / 483.4 MB, free: 1.672 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.37e-06/0.1321, allocations: 0 / 483.4 MB, free: 1.672 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.0007173/0.1329, allocations: 0.5227 MB / 483.9 MB, free: 1.102 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.757e-05/0.1329, allocations: 16.81 kB / 483.9 MB, free: 1.086 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001976/0.1349, allocations: 200.3 kB / 484.1 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003679/0.1353, allocations: 260 kB / 484.4 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.991e-05/0.1353, allocations: 20.92 kB / 484.4 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.559e-05/0.1354, allocations: 24.38 kB / 484.4 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001014/0.1364, allocations: 0.5007 MB / 484.9 MB, free: 48 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.1e-05/0.1364, allocations: 0 / 484.9 MB, free: 48 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.503e-05/0.1364, allocations: 8 kB / 484.9 MB, free: 40 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.185e-05/0.1365, allocations: 32.53 kB / 484.9 MB, free: 4 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001303/0.1378, allocations: 0.5798 MB / 485.5 MB, free: 15.43 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002319/0.1401, allocations: 1.162 MB / 486.7 MB, free: 14.18 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000705/0.1409, allocations: 174.3 kB / 486.8 MB, free: 14 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003623/0.1412, allocations: 84.77 kB / 486.9 MB, free: 13.91 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.614e-05/0.1413, allocations: 12.08 kB / 486.9 MB, free: 13.9 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.536e-05/0.1414, allocations: 34.56 kB / 487 MB, free: 13.86 MB / 366.1 MB Notification: Performance of pre-optimization done (n=7): time 3.236e-06/0.1414, allocations: 3.984 kB / 487 MB, free: 13.85 MB / 366.1 MB Notification: Performance of matching and sorting (n=7): time 0.001255/0.1426, allocations: 297.2 kB / 487.3 MB, free: 13.55 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.957e-05/0.1427, allocations: 55.41 kB / 487.3 MB, free: 13.49 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003883/0.1431, allocations: 282.5 kB / 487.6 MB, free: 13.2 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.084e-05/0.1431, allocations: 25.7 kB / 487.6 MB, free: 13.17 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001336/0.1433, allocations: 175.5 kB / 487.8 MB, free: 13 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.675e-05/0.1433, allocations: 27.58 kB / 487.8 MB, free: 12.97 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001018/0.1434, allocations: 41.69 kB / 487.9 MB, free: 12.92 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001508/0.1436, allocations: 326.8 kB / 488.2 MB, free: 12.59 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000364/0.1439, allocations: 95.89 kB / 488.3 MB, free: 12.5 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003918/0.1443, allocations: 111.3 kB / 488.4 MB, free: 12.38 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007989/0.1451, allocations: 215.1 kB / 488.6 MB, free: 12.16 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.873e-06/0.1452, allocations: 7.938 kB / 488.6 MB, free: 12.15 MB / 366.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0008959/0.1461, allocations: 269.2 kB / 488.9 MB, free: 11.88 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.676e-05/0.1461, allocations: 4 kB / 488.9 MB, free: 11.88 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.112e-06/0.1461, allocations: 0 / 488.9 MB, free: 11.88 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.513e-05/0.1461, allocations: 4 kB / 488.9 MB, free: 11.87 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006795/0.1529, allocations: 467.3 kB / 489.3 MB, free: 11.41 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003381/0.1563, allocations: 1.941 MB / 491.3 MB, free: 9.402 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004468/0.1568, allocations: 39.66 kB / 491.3 MB, free: 9.363 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.293e-05/0.1568, allocations: 11.98 kB / 491.3 MB, free: 9.352 MB / 366.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.0002192/0.157, allocations: 157.7 kB / 491.5 MB, free: 9.188 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.672e-05/0.1571, allocations: 19.72 kB / 491.5 MB, free: 9.168 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.261e-05/0.1572, allocations: 29.8 kB / 491.5 MB, free: 9.141 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.171e-06/0.1572, allocations: 4 kB / 491.5 MB, free: 9.137 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.775e-06/0.1572, allocations: 3.984 kB / 491.5 MB, free: 9.133 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.1572, allocations: 0 / 491.5 MB, free: 9.133 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004108/0.1577, allocations: 293.4 kB / 491.8 MB, free: 8.797 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.1577, allocations: 0 / 491.8 MB, free: 8.797 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006174/0.1638, allocations: 455.3 kB / 492.3 MB, free: 8.352 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.919e-06/0.1639, allocations: 0 / 492.3 MB, free: 8.352 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.81e-05/0.1639, allocations: 7.984 kB / 492.3 MB, free: 8.344 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003006/0.1669, allocations: 1.941 MB / 494.2 MB, free: 6.332 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.731e-06/0.1669, allocations: 0 / 494.2 MB, free: 6.332 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008745/0.1678, allocations: 335 kB / 494.5 MB, free: 5.988 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.045e-05/0.1679, allocations: 88.92 kB / 494.6 MB, free: 5.883 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.024e-05/0.168, allocations: 7.984 kB / 494.6 MB, free: 5.875 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003854/0.1684, allocations: 15.97 kB / 494.7 MB, free: 5.859 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.582e-05/0.1684, allocations: 11.98 kB / 494.7 MB, free: 5.848 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.484e-05/0.1685, allocations: 11.98 kB / 494.7 MB, free: 5.836 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002151/0.1687, allocations: 209.9 kB / 494.9 MB, free: 5.629 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1687, allocations: 0 / 494.9 MB, free: 5.629 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003714/0.1691, allocations: 63.94 kB / 494.9 MB, free: 5.566 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.00021/0.1693, allocations: 119.2 kB / 495.1 MB, free: 5.441 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.006612/0.1759, allocations: 0.5893 MB / 495.6 MB, free: 4.852 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.35e-06/0.1759, allocations: 7.938 kB / 495.7 MB, free: 4.844 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005927/0.1819, allocations: 495.4 kB / 496.1 MB, free: 4.359 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004511/0.1823, allocations: 40.67 kB / 496.2 MB, free: 4.32 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001163/0.1835, allocations: 0.5502 MB / 496.7 MB, free: 3.746 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004366/0.184, allocations: 0.7755 MB / 497.5 MB, free: 2.941 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000201/0.1842, allocations: 58.03 kB / 497.6 MB, free: 2.883 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.309e-05/0.1843, allocations: 19.44 kB / 497.6 MB, free: 2.863 MB / 366.1 MB Notification: Performance of SimCode: time 9.72e-07/0.1843, allocations: 0 / 497.6 MB, free: 2.863 MB / 366.1 MB Notification: Performance of Templates: time 0.01032/0.1946, allocations: 4.929 MB / 0.4907 GB, free: 14 MB / 382.1 MB make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.makefile (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/Dissipation/Verifications/PressureLoss/General/dp_nominalDensityViscosity_DPMFLOW/dp_nominalDensityViscosity_DPMFLOW.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches