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.001366/0.001366, allocations: 115.2 kB / 17.08 MB, free: 5.832 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.001321/0.001321, allocations: 194.4 kB / 18.01 MB, free: 4.965 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.39/1.39, allocations: 205.1 MB / 223.9 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.53 MB / 314.8 MB, free: 456 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.001617/0.001617, allocations: 68.27 kB / 442.5 MB, free: 5.645 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1108/0.1124, allocations: 57.78 MB / 0.4886 GB, free: 11.79 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW): time 0.003376/0.1159, allocations: 1.827 MB / 0.4903 GB, free: 9.945 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001227/0.1171, allocations: 0.6269 MB / 0.491 GB, free: 9.316 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001125/0.1172, allocations: 0 / 0.491 GB, free: 9.316 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003449/0.1176, allocations: 59.73 kB / 0.491 GB, free: 9.258 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002045/0.1178, allocations: 67.58 kB / 0.4911 GB, free: 9.191 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004757/0.1183, allocations: 131.5 kB / 0.4912 GB, free: 9.062 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003629/0.1187, allocations: 230.8 kB / 0.4914 GB, free: 8.836 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.324e-05/0.1188, allocations: 32.28 kB / 0.4915 GB, free: 8.805 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001446/0.1189, allocations: 87.52 kB / 0.4915 GB, free: 8.719 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001695/0.1191, allocations: 103.5 kB / 0.4916 GB, free: 8.617 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.661e-05/0.1192, allocations: 4 kB / 0.4916 GB, free: 8.613 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004213/0.1196, allocations: 227.7 kB / 0.4919 GB, free: 8.391 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.137e-05/0.1197, allocations: 47.77 kB / 0.4919 GB, free: 8.344 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001269/0.1198, allocations: 103.3 kB / 0.492 GB, free: 8.242 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005421/0.1204, allocations: 330.9 kB / 0.4923 GB, free: 7.918 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.1204, allocations: 0 / 0.4923 GB, free: 7.918 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.1204, allocations: 0 / 0.4923 GB, free: 7.918 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.065e-05/0.1204, allocations: 0 / 0.4923 GB, free: 7.918 MB / 382.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.0008394/0.1212, allocations: 0.5221 MB / 0.4928 GB, free: 7.352 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.041e-05/0.1213, allocations: 15.89 kB / 0.4928 GB, free: 7.336 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0019/0.1232, allocations: 208.2 kB / 0.493 GB, free: 7.133 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003477/0.1236, allocations: 271.9 kB / 0.4933 GB, free: 6.828 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.995e-05/0.1236, allocations: 16.94 kB / 0.4933 GB, free: 6.809 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.456e-05/0.1236, allocations: 24.31 kB / 0.4933 GB, free: 6.785 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001031/0.1247, allocations: 0.4969 MB / 0.4938 GB, free: 6.281 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.187e-05/0.1247, allocations: 0 / 0.4938 GB, free: 6.281 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.126e-05/0.1248, allocations: 12 kB / 0.4938 GB, free: 6.27 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.464e-05/0.1248, allocations: 28.53 kB / 0.4939 GB, free: 6.242 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001292/0.1261, allocations: 0.5798 MB / 0.4944 GB, free: 5.664 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002253/0.1284, allocations: 1.181 MB / 0.4956 GB, free: 4.391 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007168/0.1291, allocations: 166.3 kB / 0.4957 GB, free: 4.219 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003749/0.1295, allocations: 88.77 kB / 0.4958 GB, free: 4.129 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.821e-05/0.1295, allocations: 4 kB / 0.4958 GB, free: 4.125 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.026e-05/0.1295, allocations: 30.56 kB / 0.4959 GB, free: 4.086 MB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 1.713e-06/0.1295, allocations: 0 / 0.4959 GB, free: 4.086 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.001324/0.1309, allocations: 305.2 kB / 0.4961 GB, free: 3.781 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.925e-05/0.1309, allocations: 59.39 kB / 0.4962 GB, free: 3.711 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002814/0.1312, allocations: 278.6 kB / 0.4965 GB, free: 3.434 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.106e-05/0.1313, allocations: 25.7 kB / 0.4965 GB, free: 3.402 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000113/0.1314, allocations: 163.5 kB / 0.4966 GB, free: 3.238 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.351e-05/0.1314, allocations: 27.64 kB / 0.4967 GB, free: 3.211 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.981e-05/0.1315, allocations: 37.59 kB / 0.4967 GB, free: 3.168 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001278/0.1317, allocations: 338.8 kB / 0.497 GB, free: 2.828 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003794/0.132, allocations: 87.91 kB / 0.4971 GB, free: 2.742 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004005/0.1325, allocations: 123.3 kB / 0.4972 GB, free: 2.609 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007541/0.1332, allocations: 207.2 kB / 0.4974 GB, free: 2.395 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.969e-06/0.1332, allocations: 3.938 kB / 0.4974 GB, free: 2.391 MB / 382.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0008894/0.1341, allocations: 257.3 kB / 0.4977 GB, free: 2.133 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.909e-05/0.1342, allocations: 10.66 kB / 0.4977 GB, free: 2.125 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/0.1342, allocations: 96 / 0.4977 GB, free: 2.125 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.793e-05/0.1342, allocations: 7.938 kB / 0.4977 GB, free: 2.117 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005966/0.1402, allocations: 471.2 kB / 0.4982 GB, free: 1.656 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002789/0.143, allocations: 1.945 MB / 0.5 GB, free: 15.64 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004248/0.1434, allocations: 39.66 kB / 0.5001 GB, free: 15.6 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.95e-05/0.1435, allocations: 11.98 kB / 0.5001 GB, free: 15.59 MB / 398.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.0001927/0.1437, allocations: 161.5 kB / 0.5003 GB, free: 15.42 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.868e-05/0.1437, allocations: 23.8 kB / 0.5003 GB, free: 15.4 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.065e-05/0.1438, allocations: 29.81 kB / 0.5003 GB, free: 15.36 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-06/0.1438, allocations: 3.984 kB / 0.5003 GB, free: 15.36 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.099e-06/0.1438, allocations: 0 / 0.5003 GB, free: 15.36 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.1438, allocations: 0 / 0.5003 GB, free: 15.36 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003648/0.1442, allocations: 293.3 kB / 0.5006 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.1442, allocations: 4 kB / 0.5006 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005824/0.1501, allocations: 463.2 kB / 0.501 GB, free: 14.57 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.634e-06/0.1501, allocations: 0 / 0.501 GB, free: 14.57 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.698e-05/0.1501, allocations: 3.984 kB / 0.501 GB, free: 14.56 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002752/0.1529, allocations: 1.941 MB / 0.5029 GB, free: 12.55 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.1529, allocations: 0 / 0.5029 GB, free: 12.55 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000885/0.1538, allocations: 327.4 kB / 0.5032 GB, free: 12.21 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001009/0.1539, allocations: 92.86 kB / 0.5033 GB, free: 12.11 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.441e-05/0.154, allocations: 3.984 kB / 0.5033 GB, free: 12.1 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003888/0.1544, allocations: 19.97 kB / 0.5034 GB, free: 12.08 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.693e-05/0.1545, allocations: 15.92 kB / 0.5034 GB, free: 12.07 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.17e-05/0.1545, allocations: 7.984 kB / 0.5034 GB, free: 12.06 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002342/0.1547, allocations: 209.9 kB / 0.5036 GB, free: 11.85 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1547, allocations: 0 / 0.5036 GB, free: 11.85 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003974/0.1551, allocations: 67.91 kB / 0.5036 GB, free: 11.79 MB / 398.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.0002255/0.1554, allocations: 119.1 kB / 0.5038 GB, free: 11.66 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.00634/0.1617, allocations: 0.5889 MB / 0.5043 GB, free: 11.07 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.378e-06/0.1618, allocations: 0 / 0.5043 GB, free: 11.07 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005774/0.1675, allocations: 499.4 kB / 0.5048 GB, free: 10.58 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004801/0.1681, allocations: 44.64 kB / 0.5049 GB, free: 10.54 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001087/0.1692, allocations: 0.4938 MB / 0.5053 GB, free: 10.02 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003155/0.1695, allocations: 0.7753 MB / 0.5061 GB, free: 9.215 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.322e-05/0.1696, allocations: 23.42 kB / 0.5061 GB, free: 9.191 MB / 398.1 MB Notification: Performance of SimCode: time 9.82e-07/0.1696, allocations: 0 / 0.5061 GB, free: 9.191 MB / 398.1 MB Notification: Performance of Templates: time 0.009142/0.1788, allocations: 6.642 MB / 0.5126 GB, free: 2.559 MB / 398.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 -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