Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_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.001599/0.001599, allocations: 112.6 kB / 17.04 MB, free: 6.078 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.00175/0.00175, allocations: 195 kB / 17.97 MB, free: 5.16 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.477/1.477, allocations: 205.1 MB / 223.8 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2/0.2, allocations: 43.52 MB / 314.7 MB, free: 476 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001492/0.001492, allocations: 66 kB / 384.2 MB, free: 56.38 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.113/0.1145, allocations: 57.79 MB / 442 MB, free: 6.145 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW): time 0.002895/0.1175, allocations: 1.81 MB / 443.8 MB, free: 4.316 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009546/0.1184, allocations: 0.6346 MB / 444.4 MB, free: 3.68 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.063e-05/0.1185, allocations: 0 / 444.4 MB, free: 3.68 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002824/0.1188, allocations: 51.69 kB / 444.5 MB, free: 3.629 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001263/0.1189, allocations: 71.58 kB / 444.6 MB, free: 3.559 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002853/0.1192, allocations: 115.5 kB / 444.7 MB, free: 3.445 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001989/0.1194, allocations: 230.8 kB / 444.9 MB, free: 3.219 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.078e-05/0.1195, allocations: 32.3 kB / 444.9 MB, free: 3.188 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.846e-05/0.1196, allocations: 83.52 kB / 445 MB, free: 3.105 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001237/0.1197, allocations: 111.4 kB / 445.1 MB, free: 2.996 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.081e-05/0.1198, allocations: 8 kB / 445.1 MB, free: 2.988 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002913/0.1201, allocations: 223.8 kB / 445.3 MB, free: 2.77 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6e-05/0.1201, allocations: 55.7 kB / 445.4 MB, free: 2.715 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.578e-05/0.1202, allocations: 99.3 kB / 445.5 MB, free: 2.617 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003311/0.1205, allocations: 334.9 kB / 445.8 MB, free: 2.289 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.1205, allocations: 0 / 445.8 MB, free: 2.289 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.032e-06/0.1206, allocations: 0 / 445.8 MB, free: 2.289 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.631e-06/0.1206, allocations: 0 / 445.8 MB, free: 2.289 MB / 318.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.0005309/0.1211, allocations: 0.5265 MB / 446.4 MB, free: 1.715 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.736e-05/0.1211, allocations: 11.89 kB / 446.4 MB, free: 1.703 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001702/0.1229, allocations: 208.2 kB / 446.6 MB, free: 1.5 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000301/0.1232, allocations: 266.9 kB / 446.8 MB, free: 1.203 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.791e-05/0.1232, allocations: 20.94 kB / 446.8 MB, free: 1.18 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.378e-05/0.1232, allocations: 20.36 kB / 446.9 MB, free: 1.16 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007695/0.124, allocations: 0.5047 MB / 447.4 MB, free: 0.6484 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.193e-05/0.124, allocations: 4 kB / 447.4 MB, free: 0.6445 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.301e-05/0.1241, allocations: 15.92 kB / 447.4 MB, free: 0.6289 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.162e-05/0.1241, allocations: 24.55 kB / 447.4 MB, free: 0.6055 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009844/0.1251, allocations: 0.5837 MB / 448 MB, free: 24 kB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002171/0.1273, allocations: 1.154 MB / 449.2 MB, free: 14.78 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006127/0.1279, allocations: 178.3 kB / 449.3 MB, free: 14.6 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003269/0.1282, allocations: 88.77 kB / 449.4 MB, free: 14.51 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.001e-05/0.1283, allocations: 3.984 kB / 449.4 MB, free: 14.5 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.462e-05/0.1283, allocations: 30.56 kB / 449.4 MB, free: 14.46 MB / 334.1 MB Notification: Performance of pre-optimization done (n=7): time 1.663e-06/0.1283, allocations: 0 / 449.4 MB, free: 14.46 MB / 334.1 MB Notification: Performance of matching and sorting (n=7): time 0.001193/0.1295, allocations: 301.3 kB / 449.7 MB, free: 14.16 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.084e-05/0.1296, allocations: 51.41 kB / 449.8 MB, free: 14.1 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003104/0.1299, allocations: 282.6 kB / 450.1 MB, free: 13.82 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.254e-05/0.13, allocations: 29.7 kB / 450.1 MB, free: 13.78 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001411/0.1301, allocations: 163.5 kB / 450.3 MB, free: 13.62 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.614e-05/0.1302, allocations: 31.5 kB / 450.3 MB, free: 13.59 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001028/0.1303, allocations: 37.69 kB / 450.3 MB, free: 13.54 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001745/0.1304, allocations: 338.8 kB / 450.7 MB, free: 13.2 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003488/0.1308, allocations: 87.91 kB / 450.7 MB, free: 13.12 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003537/0.1312, allocations: 119.3 kB / 450.9 MB, free: 12.99 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006607/0.1318, allocations: 211.2 kB / 451.1 MB, free: 12.77 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.24e-06/0.1319, allocations: 3.938 kB / 451.1 MB, free: 12.77 MB / 334.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0007836/0.1326, allocations: 265.2 kB / 451.3 MB, free: 12.5 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.899e-05/0.1327, allocations: 4 kB / 451.3 MB, free: 12.5 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.668e-06/0.1327, allocations: 4 kB / 451.3 MB, free: 12.49 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.898e-05/0.1327, allocations: 3.938 kB / 451.3 MB, free: 12.49 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005943/0.1387, allocations: 459.3 kB / 451.8 MB, free: 12.04 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002616/0.1413, allocations: 1.949 MB / 453.7 MB, free: 10.02 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003756/0.1417, allocations: 43.75 kB / 453.8 MB, free: 9.977 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.692e-05/0.1417, allocations: 7.984 kB / 453.8 MB, free: 9.969 MB / 334.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.0001673/0.1419, allocations: 165.6 kB / 453.9 MB, free: 9.797 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.881e-05/0.1419, allocations: 15.81 kB / 454 MB, free: 9.781 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.205e-05/0.142, allocations: 25.7 kB / 454 MB, free: 9.758 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.838e-06/0.142, allocations: 4 kB / 454 MB, free: 9.754 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.142, allocations: 4 kB / 454 MB, free: 9.75 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.142, allocations: 3.984 kB / 454 MB, free: 9.746 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003311/0.1424, allocations: 293.3 kB / 454.3 MB, free: 9.41 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.1424, allocations: 0 / 454.3 MB, free: 9.41 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005774/0.1482, allocations: 451.3 kB / 454.7 MB, free: 8.969 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.808e-06/0.1482, allocations: 0 / 454.7 MB, free: 8.969 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.51e-05/0.1482, allocations: 11.98 kB / 454.7 MB, free: 8.957 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002542/0.1508, allocations: 1.942 MB / 456.7 MB, free: 6.945 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/0.1508, allocations: 11.91 kB / 456.7 MB, free: 6.934 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007629/0.1516, allocations: 323.1 kB / 457 MB, free: 6.602 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.375e-05/0.1516, allocations: 96.84 kB / 457.1 MB, free: 6.488 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.659e-05/0.1517, allocations: 4 kB / 457.1 MB, free: 6.484 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003464/0.1521, allocations: 15.97 kB / 457.1 MB, free: 6.469 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.61e-05/0.1521, allocations: 7.984 kB / 457.1 MB, free: 6.461 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.301e-05/0.1522, allocations: 7.984 kB / 457.1 MB, free: 6.453 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002089/0.1524, allocations: 221.9 kB / 457.4 MB, free: 6.234 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.1524, allocations: 0 / 457.4 MB, free: 6.234 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000375/0.1528, allocations: 59.91 kB / 457.4 MB, free: 6.176 MB / 334.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.0002495/0.153, allocations: 111.2 kB / 457.5 MB, free: 6.055 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.005948/0.159, allocations: 0.5932 MB / 458.1 MB, free: 5.461 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.599e-06/0.159, allocations: 0 / 458.1 MB, free: 5.461 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005719/0.1647, allocations: 0.4954 MB / 458.6 MB, free: 4.965 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004023/0.1651, allocations: 39.81 kB / 458.7 MB, free: 4.93 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00106/0.1662, allocations: 475.9 kB / 459.1 MB, free: 4.441 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003462/0.1666, allocations: 0.7831 MB / 459.9 MB, free: 3.633 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001547/0.1667, allocations: 50.05 kB / 459.9 MB, free: 3.586 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.458e-05/0.1668, allocations: 15.44 kB / 460 MB, free: 3.57 MB / 334.1 MB Notification: Performance of SimCode: time 5.51e-07/0.1668, allocations: 4 kB / 460 MB, free: 3.566 MB / 334.1 MB Notification: Performance of Templates: time 0.008895/0.1757, allocations: 5.204 MB / 465.2 MB, free: 14.42 MB / 350.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/Dissipation/Verifications/PressureLoss/General/dp_nominalDensityViscosity_DPMFLOW/dp_nominalDensityViscosity_DPMFLOW.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches