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.001155/0.001155, allocations: 102.2 kB / 16.99 MB, free: 5.941 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.001122/0.001122, allocations: 183.1 kB / 17.87 MB, free: 5.609 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.367/1.367, allocations: 223.2 MB / 241.8 MB, free: 356 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2102/0.2102, allocations: 44.22 MB / 337.1 MB, free: 2.887 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003918/0.0003919, allocations: 10.72 kB / 409.6 MB, free: 27.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1371/0.1376, allocations: 61.91 MB / 471.5 MB, free: 13.73 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW): time 0.001836/0.1394, allocations: 1.462 MB / 472.9 MB, free: 12.25 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009153/0.1404, allocations: 0.5458 MB / 473.5 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.769e-05/0.1404, allocations: 3.938 kB / 473.5 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002515/0.1407, allocations: 51.78 kB / 473.5 MB, free: 11.65 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001122/0.1408, allocations: 51.84 kB / 473.6 MB, free: 11.6 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002882/0.1411, allocations: 91.67 kB / 473.7 MB, free: 11.51 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001806/0.1413, allocations: 155.7 kB / 473.8 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.8e-05/0.1414, allocations: 32.28 kB / 473.9 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.006e-05/0.1415, allocations: 67.66 kB / 473.9 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000107/0.1416, allocations: 79.61 kB / 474 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.744e-05/0.1416, allocations: 4 kB / 474 MB, free: 11.17 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003264/0.1419, allocations: 215.8 kB / 474.2 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.523e-05/0.142, allocations: 51.81 kB / 474.3 MB, free: 10.91 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.683e-05/0.1421, allocations: 65.58 kB / 474.3 MB, free: 10.84 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002556/0.1423, allocations: 207.7 kB / 474.5 MB, free: 10.64 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.884e-06/0.1423, allocations: 0 / 474.5 MB, free: 10.64 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.1423, allocations: 0 / 474.5 MB, free: 10.64 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.909e-06/0.1424, allocations: 0 / 474.5 MB, free: 10.64 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.0006195/0.143, allocations: 0.4953 MB / 475 MB, free: 10.09 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.4e-05/0.143, allocations: 8.031 kB / 475 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001785/0.1448, allocations: 203.2 kB / 475.2 MB, free: 9.887 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003377/0.1452, allocations: 262.7 kB / 475.5 MB, free: 9.59 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.251e-05/0.1452, allocations: 20.52 kB / 475.5 MB, free: 9.57 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.68e-05/0.1452, allocations: 20 kB / 475.5 MB, free: 9.551 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009528/0.1462, allocations: 0.5005 MB / 476 MB, free: 9.043 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.236e-05/0.1462, allocations: 0 / 476 MB, free: 9.043 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.087e-05/0.1463, allocations: 15.98 kB / 476 MB, free: 9.027 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.558e-05/0.1463, allocations: 24.55 kB / 476.1 MB, free: 9.004 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001361/0.1477, allocations: 0.5954 MB / 476.7 MB, free: 8.406 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002407/0.1501, allocations: 1.181 MB / 477.8 MB, free: 7.137 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007097/0.1508, allocations: 174.3 kB / 478 MB, free: 6.957 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.752e-05/0.1509, allocations: 4 kB / 478 MB, free: 6.953 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.236e-05/0.1509, allocations: 30.56 kB / 478 MB, free: 6.914 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 4.028e-06/0.1509, allocations: 0 / 478 MB, free: 6.914 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.001265/0.1522, allocations: 321.3 kB / 478.4 MB, free: 6.594 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.331e-05/0.1523, allocations: 51.41 kB / 478.4 MB, free: 6.531 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003036/0.1526, allocations: 278.5 kB / 478.7 MB, free: 6.25 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.193e-05/0.1526, allocations: 29.7 kB / 478.7 MB, free: 6.215 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001355/0.1528, allocations: 175.4 kB / 478.9 MB, free: 6.039 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.696e-05/0.1528, allocations: 27.64 kB / 478.9 MB, free: 6.012 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.585e-05/0.1528, allocations: 0 / 478.9 MB, free: 6.012 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001387/0.153, allocations: 326.8 kB / 479.2 MB, free: 5.684 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003784/0.1533, allocations: 99.89 kB / 479.3 MB, free: 5.586 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003798/0.1537, allocations: 122.3 kB / 479.4 MB, free: 5.457 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003723/0.1541, allocations: 103.8 kB / 479.5 MB, free: 5.355 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.971e-06/0.1541, allocations: 3.953 kB / 479.6 MB, free: 5.352 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0008395/0.155, allocations: 273.3 kB / 479.8 MB, free: 5.078 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.981e-05/0.155, allocations: 4 kB / 479.8 MB, free: 5.074 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/0.155, allocations: 4 kB / 479.8 MB, free: 5.07 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.602e-05/0.155, allocations: 0 / 479.8 MB, free: 5.07 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00591/0.161, allocations: 471.4 kB / 480.3 MB, free: 4.609 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002741/0.1637, allocations: 1.949 MB / 482.2 MB, free: 2.59 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004584/0.1642, allocations: 51.69 kB / 482.3 MB, free: 2.539 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.612e-05/0.1642, allocations: 7.984 kB / 482.3 MB, free: 2.531 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 (linear and non-linear blocks): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002157/0.1645, allocations: 166.2 kB / 482.5 MB, free: 2.359 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.47e-05/0.1645, allocations: 15.81 kB / 482.5 MB, free: 2.344 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.474e-05/0.1646, allocations: 29.77 kB / 482.5 MB, free: 2.32 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.592e-06/0.1646, allocations: 4 kB / 482.5 MB, free: 2.316 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.1646, allocations: 0 / 482.5 MB, free: 2.316 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.127e-06/0.1646, allocations: 0 / 482.5 MB, free: 2.316 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003696/0.165, allocations: 289.4 kB / 482.8 MB, free: 1.984 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.078e-06/0.165, allocations: 3.953 kB / 482.8 MB, free: 1.98 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005885/0.1709, allocations: 459.3 kB / 483.2 MB, free: 1.531 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.494e-06/0.1709, allocations: 0 / 483.2 MB, free: 1.531 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.734e-05/0.171, allocations: 3.984 kB / 483.2 MB, free: 1.527 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002717/0.1737, allocations: 1.942 MB / 485.2 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.1737, allocations: 7.875 kB / 485.2 MB, free: 15.51 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000869/0.1746, allocations: 331.2 kB / 485.5 MB, free: 15.17 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.652e-05/0.1747, allocations: 100.8 kB / 485.6 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.555e-05/0.1748, allocations: 12 kB / 485.6 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003685/0.1751, allocations: 19.97 kB / 485.6 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.381e-05/0.1752, allocations: 7.984 kB / 485.7 MB, free: 15.01 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.172e-05/0.1752, allocations: 3.984 kB / 485.7 MB, free: 15.01 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002141/0.1755, allocations: 205.9 kB / 485.9 MB, free: 14.81 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1755, allocations: 0 / 485.9 MB, free: 14.81 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003977/0.1759, allocations: 75.83 kB / 485.9 MB, free: 14.73 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 (linear and non-linear blocks): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002226/0.1761, allocations: 111.2 kB / 486 MB, free: 14.61 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.006066/0.1822, allocations: 0.6124 MB / 486.7 MB, free: 14 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.07e-06/0.1822, allocations: 0 / 486.7 MB, free: 14 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005654/0.1879, allocations: 0.4955 MB / 487.2 MB, free: 13.5 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003973/0.1883, allocations: 36.66 kB / 487.2 MB, free: 13.46 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001069/0.1894, allocations: 0.54 MB / 487.7 MB, free: 12.9 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003171/0.1897, allocations: 0.7794 MB / 488.5 MB, free: 12.09 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001775/0.1899, allocations: 53.91 kB / 488.6 MB, free: 12.04 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.76e-05/0.19, allocations: 19.44 kB / 488.6 MB, free: 12.02 MB / 366.1 MB Notification: Performance of SimCode: time 9.22e-07/0.19, allocations: 0 / 488.6 MB, free: 12.02 MB / 366.1 MB Notification: Performance of Templates: time 0.008567/0.1986, allocations: 4.773 MB / 493.4 MB, free: 7.309 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","../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