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.001318/0.001318, allocations: 101.5 kB / 17.85 MB, free: 5.66 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.001431/0.001432, allocations: 194 kB / 18.77 MB, free: 4.742 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.355/1.355, allocations: 222.9 MB / 242.4 MB, free: 15.47 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.2277/0.2277, allocations: 44.19 MB / 336.8 MB, free: 3.004 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001446/0.001446, allocations: 68.86 kB / 408.4 MB, free: 27.69 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1065/0.108, allocations: 60.82 MB / 469.2 MB, free: 14.83 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW): time 0.003264/0.1113, allocations: 1.867 MB / 471.1 MB, free: 12.94 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001237/0.1126, allocations: 0.6582 MB / 471.7 MB, free: 12.28 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.036e-05/0.1127, allocations: 4 kB / 471.7 MB, free: 12.28 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002895/0.113, allocations: 47.81 kB / 471.8 MB, free: 12.23 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001926/0.1132, allocations: 75.58 kB / 471.8 MB, free: 12.16 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003582/0.1136, allocations: 87.69 kB / 471.9 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003184/0.1139, allocations: 302.7 kB / 472.2 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.047e-05/0.114, allocations: 28.3 kB / 472.3 MB, free: 11.74 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000117/0.1141, allocations: 79.53 kB / 472.3 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001709/0.1143, allocations: 119.4 kB / 472.5 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.408e-05/0.1143, allocations: 4 kB / 472.5 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003948/0.1147, allocations: 215.8 kB / 472.7 MB, free: 11.33 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001068/0.1148, allocations: 55.69 kB / 472.7 MB, free: 11.28 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001103/0.1149, allocations: 95.36 kB / 472.8 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003614/0.1153, allocations: 239.6 kB / 473 MB, free: 10.95 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.1153, allocations: 0 / 473 MB, free: 10.95 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1153, allocations: 0 / 473 MB, free: 10.95 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.526e-06/0.1154, allocations: 0 / 473 MB, free: 10.95 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.0007628/0.1161, allocations: 0.511 MB / 473.6 MB, free: 10.39 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.357e-05/0.1162, allocations: 12.03 kB / 473.6 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002064/0.1182, allocations: 208.3 kB / 473.8 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003686/0.1186, allocations: 275.8 kB / 474 MB, free: 9.867 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.686e-05/0.1187, allocations: 16.94 kB / 474.1 MB, free: 9.852 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.689e-05/0.1187, allocations: 20.38 kB / 474.1 MB, free: 9.832 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009999/0.1197, allocations: 0.4969 MB / 474.6 MB, free: 9.328 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.084e-05/0.1197, allocations: 0 / 474.6 MB, free: 9.328 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.971e-05/0.1198, allocations: 12 kB / 474.6 MB, free: 9.316 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.155e-05/0.1198, allocations: 28.53 kB / 474.6 MB, free: 9.289 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001294/0.1211, allocations: 0.5837 MB / 475.2 MB, free: 8.703 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002451/0.1236, allocations: 1.177 MB / 476.4 MB, free: 7.438 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006997/0.1243, allocations: 174.3 kB / 476.5 MB, free: 7.258 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000355/0.1247, allocations: 80.77 kB / 476.6 MB, free: 7.176 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.032e-05/0.1247, allocations: 4 kB / 476.6 MB, free: 7.172 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.198e-05/0.1248, allocations: 34.56 kB / 476.7 MB, free: 7.129 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.543e-06/0.1248, allocations: 0 / 476.7 MB, free: 7.129 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.001308/0.1261, allocations: 309.2 kB / 477 MB, free: 6.82 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.042e-05/0.1261, allocations: 51.41 kB / 477 MB, free: 6.758 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002903/0.1264, allocations: 286.4 kB / 477.3 MB, free: 6.469 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.99e-05/0.1265, allocations: 29.7 kB / 477.3 MB, free: 6.434 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001104/0.1266, allocations: 163.5 kB / 477.5 MB, free: 6.27 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.937e-05/0.1266, allocations: 31.64 kB / 477.5 MB, free: 6.238 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001164/0.1268, allocations: 37.69 kB / 477.6 MB, free: 6.195 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000136/0.1269, allocations: 326.8 kB / 477.9 MB, free: 5.867 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003796/0.1273, allocations: 87.89 kB / 478 MB, free: 5.781 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004077/0.1277, allocations: 135.1 kB / 478.1 MB, free: 5.641 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000749/0.1285, allocations: 211.1 kB / 478.3 MB, free: 5.422 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.129e-06/0.1285, allocations: 3.938 kB / 478.3 MB, free: 5.418 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0009117/0.1294, allocations: 269 kB / 478.6 MB, free: 5.148 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.847e-05/0.1294, allocations: 6.5 kB / 478.6 MB, free: 5.145 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.102e-06/0.1294, allocations: 0 / 478.6 MB, free: 5.145 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.441e-05/0.1295, allocations: 8.094 kB / 478.6 MB, free: 5.137 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006821/0.1363, allocations: 471.2 kB / 479 MB, free: 4.676 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003045/0.1394, allocations: 1.941 MB / 481 MB, free: 2.664 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004561/0.1398, allocations: 43.66 kB / 481 MB, free: 2.621 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.902e-05/0.1399, allocations: 12.08 kB / 481 MB, free: 2.609 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.0001993/0.1401, allocations: 153.7 kB / 481.2 MB, free: 2.449 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.501e-05/0.1402, allocations: 27.7 kB / 481.2 MB, free: 2.422 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.193e-05/0.1402, allocations: 21.72 kB / 481.2 MB, free: 2.406 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.493e-06/0.1402, allocations: 7.984 kB / 481.2 MB, free: 2.398 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.1402, allocations: 3.938 kB / 481.2 MB, free: 2.395 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.1403, allocations: 0 / 481.2 MB, free: 2.395 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003907/0.1406, allocations: 289.4 kB / 481.5 MB, free: 2.062 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.1407, allocations: 4 kB / 481.5 MB, free: 2.059 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006588/0.1473, allocations: 451.3 kB / 482 MB, free: 1.617 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.542e-06/0.1473, allocations: 0 / 482 MB, free: 1.617 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.127e-05/0.1473, allocations: 11.98 kB / 482 MB, free: 1.605 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003004/0.1503, allocations: 1.937 MB / 483.9 MB, free: 15.6 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.1504, allocations: 0 / 483.9 MB, free: 15.6 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008696/0.1512, allocations: 327.1 kB / 484.2 MB, free: 15.26 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.131e-05/0.1513, allocations: 100.8 kB / 484.3 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.495e-05/0.1514, allocations: 0 / 484.3 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004064/0.1518, allocations: 23.97 kB / 484.4 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.52e-05/0.1519, allocations: 7.984 kB / 484.4 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.376e-05/0.1519, allocations: 3.984 kB / 484.4 MB, free: 15.11 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002135/0.1522, allocations: 209.9 kB / 484.6 MB, free: 14.91 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1522, allocations: 4 kB / 484.6 MB, free: 14.9 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003881/0.1526, allocations: 67.92 kB / 484.6 MB, free: 14.84 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.0002288/0.1528, allocations: 111.8 kB / 484.8 MB, free: 14.71 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.006818/0.1596, allocations: 0.5928 MB / 485.3 MB, free: 14.12 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.1597, allocations: 192 / 485.3 MB, free: 14.12 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006629/0.1663, allocations: 499.2 kB / 485.8 MB, free: 13.63 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000462/0.1668, allocations: 44.75 kB / 485.9 MB, free: 13.59 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001196/0.168, allocations: 0.5615 MB / 486.4 MB, free: 13 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003654/0.1684, allocations: 0.7794 MB / 487.2 MB, free: 12.19 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001104/0.1685, allocations: 23.42 kB / 487.2 MB, free: 12.16 MB / 366.1 MB Notification: Performance of SimCode: time 1.112e-06/0.1685, allocations: 0 / 487.2 MB, free: 12.16 MB / 366.1 MB Notification: Performance of Templates: time 0.01013/0.1787, allocations: 6.624 MB / 493.9 MB, free: 5.559 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/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