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_pressureLossCoefficient_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_pressureLossCoefficient_DPMFLOW,tolerance=1e-05,outputFormat="mat",numberOfIntervals=10100,variableFilter="time|zeta_TOT.1.|zeta_TOT.2.|zeta_TOT.3.|rho|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_pressureLossCoefficient_DPMFLOW") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW,tolerance=1e-05,outputFormat="mat",numberOfIntervals=10100,variableFilter="time|zeta_TOT.1.|zeta_TOT.2.|zeta_TOT.3.|rho|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_pressureLossCoefficient_DPMFLOW") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001086/0.001086, allocations: 106.1 kB / 18.3 MB, free: 4.887 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.001109/0.001109, allocations: 195.3 kB / 19.23 MB, free: 3.961 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.315/1.315, allocations: 222.9 MB / 242.9 MB, free: 15.22 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.2137/0.2137, allocations: 44.18 MB / 337.3 MB, free: 2.773 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001341/0.001341, allocations: 64.97 kB / 409.1 MB, free: 27.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1037/0.1051, allocations: 60.83 MB / 470 MB, free: 14.37 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW): time 0.003214/0.1084, allocations: 1.659 MB / 471.6 MB, free: 12.7 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0014/0.1098, allocations: 0.8023 MB / 472.4 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.917e-05/0.1099, allocations: 0 / 472.4 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002461/0.1102, allocations: 39.77 kB / 472.5 MB, free: 11.85 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001903/0.1104, allocations: 55.72 kB / 472.5 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003771/0.1108, allocations: 95.62 kB / 472.6 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002221/0.111, allocations: 155.2 kB / 472.8 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.364e-05/0.1111, allocations: 13.11 kB / 472.8 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001555/0.1112, allocations: 63.7 kB / 472.8 MB, free: 11.47 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001466/0.1114, allocations: 71.69 kB / 472.9 MB, free: 11.4 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.279e-05/0.1114, allocations: 4 kB / 472.9 MB, free: 11.4 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003435/0.1118, allocations: 155.8 kB / 473.1 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8e-05/0.1119, allocations: 47.81 kB / 473.1 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.542e-05/0.1119, allocations: 59.61 kB / 473.2 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003735/0.1123, allocations: 203.6 kB / 473.4 MB, free: 10.94 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.1123, allocations: 4 kB / 473.4 MB, free: 10.94 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.81e-07/0.1123, allocations: 0 / 473.4 MB, free: 10.94 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.015e-06/0.1124, allocations: 0 / 473.4 MB, free: 10.94 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: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.0006419/0.113, allocations: 462.9 kB / 473.8 MB, free: 10.44 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.558e-05/0.1131, allocations: 12.03 kB / 473.8 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005696/0.1136, allocations: 68.67 kB / 473.9 MB, free: 10.36 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002292/0.1139, allocations: 208.1 kB / 474.1 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.785e-05/0.1139, allocations: 12.36 kB / 474.1 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.123e-05/0.1139, allocations: 16.12 kB / 474.1 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000446/0.1144, allocations: 238.5 kB / 474.4 MB, free: 9.852 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.317e-06/0.1144, allocations: 0 / 474.4 MB, free: 9.852 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.161e-05/0.1144, allocations: 4 kB / 474.4 MB, free: 9.848 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.346e-05/0.1145, allocations: 23.98 kB / 474.4 MB, free: 9.824 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004324/0.1149, allocations: 227.6 kB / 474.6 MB, free: 9.602 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001073/0.116, allocations: 0.7207 MB / 475.3 MB, free: 8.789 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002205/0.1162, allocations: 94.5 kB / 475.4 MB, free: 8.688 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001268/0.1164, allocations: 44.81 kB / 475.5 MB, free: 8.641 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.009e-05/0.1164, allocations: 0 / 475.5 MB, free: 8.641 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.728e-05/0.1164, allocations: 50.44 kB / 475.5 MB, free: 8.582 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.343e-06/0.1164, allocations: 0 / 475.5 MB, free: 8.582 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005246/0.117, allocations: 169.8 kB / 475.7 MB, free: 8.41 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.63e-05/0.117, allocations: 59.39 kB / 475.7 MB, free: 8.34 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001728/0.1172, allocations: 181.2 kB / 475.9 MB, free: 8.152 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.723e-05/0.1172, allocations: 29.64 kB / 475.9 MB, free: 8.117 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.56e-05/0.1173, allocations: 147.4 kB / 476.1 MB, free: 7.969 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.676e-05/0.1174, allocations: 27.64 kB / 476.1 MB, free: 7.941 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.022e-05/0.1174, allocations: 25.72 kB / 476.1 MB, free: 7.91 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000118/0.1175, allocations: 326.8 kB / 476.5 MB, free: 7.582 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001394/0.1177, allocations: 51.94 kB / 476.5 MB, free: 7.531 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001628/0.1179, allocations: 97.89 kB / 476.6 MB, free: 7.414 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003225/0.1182, allocations: 166.8 kB / 476.8 MB, free: 7.227 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.1182, allocations: 3.938 kB / 476.8 MB, free: 7.223 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003952/0.1186, allocations: 181.2 kB / 476.9 MB, free: 7.039 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.029e-05/0.1186, allocations: 11.94 kB / 477 MB, free: 7.027 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.573e-06/0.1187, allocations: 0 / 477 MB, free: 7.027 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.642e-05/0.1187, allocations: 4 kB / 477 MB, free: 7.023 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009065/0.1196, allocations: 128 kB / 477.1 MB, free: 6.898 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00121/0.1208, allocations: 1.817 MB / 478.9 MB, free: 5.012 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001525/0.121, allocations: 19.83 kB / 478.9 MB, free: 4.992 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.521e-05/0.121, allocations: 8 kB / 478.9 MB, free: 4.984 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (14): * Single equations (assignments): 11 * 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.0001233/0.1211, allocations: 145.9 kB / 479.1 MB, free: 4.832 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.089e-05/0.1212, allocations: 15.84 kB / 479.1 MB, free: 4.816 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004509/0.1216, allocations: 174.9 kB / 479.3 MB, free: 4.645 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.628e-06/0.1217, allocations: 7.938 kB / 479.3 MB, free: 4.637 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.1217, allocations: 0 / 479.3 MB, free: 4.637 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.1217, allocations: 0 / 479.3 MB, free: 4.637 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000264/0.1219, allocations: 229.5 kB / 479.5 MB, free: 4.363 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.122, allocations: 3.938 kB / 479.5 MB, free: 4.359 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000706/0.1227, allocations: 107.8 kB / 479.6 MB, free: 4.254 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.358e-06/0.1227, allocations: 0 / 479.6 MB, free: 4.254 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.813e-05/0.1227, allocations: 8 kB / 479.6 MB, free: 4.246 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009692/0.1237, allocations: 1.781 MB / 481.4 MB, free: 2.395 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.275e-06/0.1237, allocations: 0 / 481.4 MB, free: 2.395 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003756/0.1241, allocations: 235.3 kB / 481.6 MB, free: 2.148 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.652e-05/0.1241, allocations: 97.05 kB / 481.7 MB, free: 2.035 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.015e-05/0.1242, allocations: 4 kB / 481.7 MB, free: 2.031 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000135/0.1243, allocations: 11.98 kB / 481.7 MB, free: 2.02 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.746e-05/0.1244, allocations: 11.92 kB / 481.7 MB, free: 2.008 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.193e-05/0.1244, allocations: 7.984 kB / 481.7 MB, free: 2 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001102/0.1245, allocations: 135.9 kB / 481.9 MB, free: 1.867 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.533e-06/0.1245, allocations: 0 / 481.9 MB, free: 1.867 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003276/0.1249, allocations: 51.84 kB / 481.9 MB, free: 1.816 MB / 350.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 (11): * Single equations (assignments): 8 * 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.0002099/0.1251, allocations: 115.2 kB / 482 MB, free: 1.691 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001277/0.1264, allocations: 232.1 kB / 482.3 MB, free: 1.465 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.1264, allocations: 0 / 482.3 MB, free: 1.465 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006229/0.127, allocations: 119.9 kB / 482.4 MB, free: 1.348 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004011/0.1274, allocations: 56.2 kB / 482.4 MB, free: 1.293 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006925/0.1281, allocations: 374.8 kB / 482.8 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003074/0.1284, allocations: 0.7358 MB / 483.5 MB, free: 136 kB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.532e-05/0.1285, allocations: 15.44 kB / 483.6 MB, free: 120 kB / 350.1 MB Notification: Performance of SimCode: time 6.72e-07/0.1285, allocations: 0 / 483.6 MB, free: 120 kB / 350.1 MB Notification: Performance of Templates: time 0.006912/0.1354, allocations: 4.429 MB / 488 MB, free: 11.7 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_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_pressureLossCoefficient_DPMFLOW/dp_pressureLossCoefficient_DPMFLOW.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches