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.0009612/0.0009611, allocations: 94.02 kB / 18.01 MB, free: 5.605 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.001225/0.001225, allocations: 177.2 kB / 18.91 MB, free: 4.738 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.336/1.336, allocations: 223.3 MB / 242.9 MB, free: 192 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.1829/0.1829, allocations: 44.25 MB / 338.3 MB, free: 2.637 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003024/0.0003025, allocations: 11.98 kB / 411 MB, free: 27.24 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09628/0.0966, allocations: 61.91 MB / 472.9 MB, free: 13.29 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW): time 0.001892/0.09853, allocations: 1.384 MB / 474.3 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001333/0.09989, allocations: 0.7987 MB / 475.1 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.74e-05/0.09998, allocations: 3.938 kB / 475.1 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002114/0.1002, allocations: 35.83 kB / 475.2 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001592/0.1004, allocations: 47.73 kB / 475.2 MB, free: 11 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002772/0.1007, allocations: 75.78 kB / 475.3 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002379/0.1009, allocations: 215.1 kB / 475.5 MB, free: 10.72 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.992e-05/0.101, allocations: 17.11 kB / 475.5 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001345/0.1011, allocations: 63.66 kB / 475.6 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001382/0.1013, allocations: 75.67 kB / 475.6 MB, free: 10.56 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.837e-05/0.1013, allocations: 8 kB / 475.6 MB, free: 10.55 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003026/0.1016, allocations: 151.8 kB / 475.8 MB, free: 10.41 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.33e-05/0.1017, allocations: 35.89 kB / 475.8 MB, free: 10.37 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.833e-05/0.1018, allocations: 89.25 kB / 475.9 MB, free: 10.28 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002272/0.102, allocations: 143.9 kB / 476.1 MB, free: 10.14 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.755e-06/0.102, allocations: 0 / 476.1 MB, free: 10.14 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.102, allocations: 0 / 476.1 MB, free: 10.14 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.4e-06/0.102, allocations: 0 / 476.1 MB, free: 10.14 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.0005553/0.1026, allocations: 443 kB / 476.5 MB, free: 9.656 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.625e-05/0.1026, allocations: 12.03 kB / 476.5 MB, free: 9.645 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005063/0.1031, allocations: 60.69 kB / 476.6 MB, free: 9.586 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002091/0.1034, allocations: 212.2 kB / 476.8 MB, free: 9.34 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.55e-05/0.1034, allocations: 8.359 kB / 476.8 MB, free: 9.332 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.868e-05/0.1034, allocations: 16.12 kB / 476.8 MB, free: 9.316 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004453/0.1039, allocations: 254.9 kB / 477 MB, free: 9.062 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.907e-06/0.1039, allocations: 0 / 477 MB, free: 9.062 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.511e-05/0.1039, allocations: 11.97 kB / 477.1 MB, free: 9.051 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.495e-05/0.104, allocations: 12 kB / 477.1 MB, free: 9.039 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000447/0.1044, allocations: 235.8 kB / 477.3 MB, free: 8.809 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001075/0.1055, allocations: 0.7362 MB / 478 MB, free: 7.98 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002155/0.1057, allocations: 90.52 kB / 478.1 MB, free: 7.883 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001348/0.1059, allocations: 52.81 kB / 478.2 MB, free: 7.828 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.824e-05/0.1059, allocations: 4.094 kB / 478.2 MB, free: 7.824 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.268e-05/0.1059, allocations: 38.5 kB / 478.2 MB, free: 7.777 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.312e-06/0.1059, allocations: 4 kB / 478.2 MB, free: 7.773 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005401/0.1065, allocations: 181.4 kB / 478.4 MB, free: 7.59 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.571e-05/0.1065, allocations: 59.41 kB / 478.5 MB, free: 7.52 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001619/0.1067, allocations: 187.3 kB / 478.6 MB, free: 7.324 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.665e-05/0.1067, allocations: 25.7 kB / 478.7 MB, free: 7.293 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.383e-05/0.1068, allocations: 139.4 kB / 478.8 MB, free: 7.152 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.432e-05/0.1068, allocations: 31.58 kB / 478.8 MB, free: 7.121 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.274e-05/0.1069, allocations: 17.72 kB / 478.8 MB, free: 7.098 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.004e-05/0.107, allocations: 318.8 kB / 479.2 MB, free: 6.777 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001376/0.1071, allocations: 55.95 kB / 479.2 MB, free: 6.723 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001644/0.1073, allocations: 110.5 kB / 479.3 MB, free: 6.594 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003064/0.1076, allocations: 170.7 kB / 479.5 MB, free: 6.402 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.1076, allocations: 3.938 kB / 479.5 MB, free: 6.398 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003896/0.108, allocations: 189.7 kB / 479.7 MB, free: 6.207 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.695e-05/0.108, allocations: 10.44 kB / 479.7 MB, free: 6.199 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/0.108, allocations: 4.078 kB / 479.7 MB, free: 6.195 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.212e-05/0.1081, allocations: 0 / 479.7 MB, free: 6.195 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008717/0.1089, allocations: 112 kB / 479.8 MB, free: 6.086 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00111/0.1101, allocations: 1.813 MB / 481.6 MB, free: 4.203 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001561/0.1102, allocations: 27.86 kB / 481.6 MB, free: 4.176 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.75e-05/0.1103, allocations: 11.94 kB / 481.7 MB, free: 4.164 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.0001254/0.1104, allocations: 149.8 kB / 481.8 MB, free: 4.008 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.786e-05/0.1104, allocations: 19.73 kB / 481.8 MB, free: 3.988 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004611/0.1109, allocations: 179 kB / 482 MB, free: 3.812 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.1109, allocations: 0 / 482 MB, free: 3.812 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.1109, allocations: 0 / 482 MB, free: 3.812 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.582e-06/0.1109, allocations: 11.92 kB / 482 MB, free: 3.801 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002376/0.1112, allocations: 229.5 kB / 482.2 MB, free: 3.527 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.1112, allocations: 0 / 482.2 MB, free: 3.527 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007005/0.1119, allocations: 103.9 kB / 482.3 MB, free: 3.426 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.1119, allocations: 0 / 482.3 MB, free: 3.426 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.333e-05/0.1119, allocations: 7.984 kB / 482.3 MB, free: 3.418 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000898/0.1128, allocations: 1.774 MB / 484.1 MB, free: 1.574 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.1129, allocations: 4.031 kB / 484.1 MB, free: 1.57 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003834/0.1132, allocations: 251.3 kB / 484.4 MB, free: 1.309 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.306e-05/0.1133, allocations: 88.95 kB / 484.4 MB, free: 1.203 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.706e-05/0.1133, allocations: 8 kB / 484.5 MB, free: 1.195 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001528/0.1135, allocations: 7.984 kB / 484.5 MB, free: 1.188 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.26e-05/0.1136, allocations: 15.92 kB / 484.5 MB, free: 1.172 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.838e-06/0.1136, allocations: 4 kB / 484.5 MB, free: 1.168 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001041/0.1137, allocations: 135.9 kB / 484.6 MB, free: 1.035 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.1137, allocations: 4 kB / 484.6 MB, free: 1.031 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000316/0.114, allocations: 43.89 kB / 484.7 MB, free: 0.9883 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.0001622/0.1142, allocations: 111.2 kB / 484.8 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00117/0.1154, allocations: 228.2 kB / 485 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.1154, allocations: 0 / 485 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006547/0.116, allocations: 123.8 kB / 485.1 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004007/0.1164, allocations: 39.91 kB / 485.2 MB, free: 496 kB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006251/0.1171, allocations: 435.1 kB / 485.6 MB, free: 32 kB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002898/0.1174, allocations: 0.7358 MB / 486.3 MB, free: 15.27 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.014e-05/0.1174, allocations: 19.44 kB / 486.3 MB, free: 15.25 MB / 366.1 MB Notification: Performance of SimCode: time 2.7e-07/0.1175, allocations: 0 / 486.3 MB, free: 15.25 MB / 366.1 MB Notification: Performance of Templates: time 0.006388/0.1238, allocations: 4.404 MB / 490.7 MB, free: 10.86 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