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.001293/0.001293, allocations: 106.3 kB / 17.98 MB, free: 5.402 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.001307/0.001308, allocations: 189.3 kB / 18.9 MB, free: 4.48 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.329/1.329, allocations: 222.9 MB / 242.6 MB, free: 15.4 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.2031/0.2031, allocations: 44.18 MB / 336.9 MB, free: 2.863 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001235/0.001236, allocations: 64.34 kB / 408.6 MB, free: 27.57 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1035/0.1047, allocations: 60.82 MB / 469.4 MB, free: 14.71 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW): time 0.00318/0.1079, allocations: 1.735 MB / 471.1 MB, free: 12.96 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001293/0.1093, allocations: 0.7868 MB / 471.9 MB, free: 12.17 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.031e-05/0.1094, allocations: 4 kB / 471.9 MB, free: 12.16 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002382/0.1096, allocations: 35.83 kB / 472 MB, free: 12.13 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001732/0.1098, allocations: 55.72 kB / 472 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003285/0.1101, allocations: 75.8 kB / 472.1 MB, free: 12 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002147/0.1104, allocations: 159.2 kB / 472.2 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.746e-05/0.1104, allocations: 17.11 kB / 472.3 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001382/0.1106, allocations: 59.7 kB / 472.3 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001338/0.1107, allocations: 71.69 kB / 472.4 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.995e-05/0.1107, allocations: 12 kB / 472.4 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002896/0.111, allocations: 159.8 kB / 472.6 MB, free: 11.53 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.994e-05/0.1111, allocations: 39.81 kB / 472.6 MB, free: 11.49 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.011e-05/0.1112, allocations: 67.55 kB / 472.7 MB, free: 11.42 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002409/0.1114, allocations: 143.9 kB / 472.8 MB, free: 11.28 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.1115, allocations: 0 / 472.8 MB, free: 11.28 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.1115, allocations: 0 / 472.8 MB, free: 11.28 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.706e-06/0.1115, allocations: 0 / 472.8 MB, free: 11.28 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.0005923/0.1121, allocations: 467 kB / 473.3 MB, free: 10.78 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.511e-05/0.1121, allocations: 8.031 kB / 473.3 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005312/0.1127, allocations: 64.69 kB / 473.3 MB, free: 10.71 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002162/0.1129, allocations: 216.1 kB / 473.5 MB, free: 10.46 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.113e-05/0.1129, allocations: 12.31 kB / 473.6 MB, free: 10.45 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.767e-05/0.1129, allocations: 12.12 kB / 473.6 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000441/0.1134, allocations: 239 kB / 473.8 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.558e-06/0.1134, allocations: 4 kB / 473.8 MB, free: 10.19 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.071e-05/0.1134, allocations: 8 kB / 473.8 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.117e-05/0.1135, allocations: 15.98 kB / 473.8 MB, free: 10.17 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004111/0.1139, allocations: 219.8 kB / 474 MB, free: 9.953 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001066/0.115, allocations: 0.7363 MB / 474.8 MB, free: 9.125 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002059/0.1152, allocations: 82.52 kB / 474.9 MB, free: 9.035 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001237/0.1153, allocations: 52.81 kB / 474.9 MB, free: 8.98 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.582e-05/0.1153, allocations: 0 / 474.9 MB, free: 8.98 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.031e-05/0.1154, allocations: 38.5 kB / 474.9 MB, free: 8.934 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.222e-06/0.1154, allocations: 4 kB / 474.9 MB, free: 8.93 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004941/0.1159, allocations: 169.5 kB / 475.1 MB, free: 8.758 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.455e-05/0.1159, allocations: 51.41 kB / 475.2 MB, free: 8.695 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001734/0.1161, allocations: 191.3 kB / 475.4 MB, free: 8.496 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.877e-05/0.1161, allocations: 25.7 kB / 475.4 MB, free: 8.465 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.841e-05/0.1162, allocations: 147.4 kB / 475.5 MB, free: 8.316 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.361e-05/0.1163, allocations: 19.66 kB / 475.5 MB, free: 8.297 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.786e-05/0.1163, allocations: 37.7 kB / 475.6 MB, free: 8.254 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001149/0.1164, allocations: 326.8 kB / 475.9 MB, free: 7.926 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001391/0.1166, allocations: 43.95 kB / 475.9 MB, free: 7.883 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001576/0.1168, allocations: 102.6 kB / 476 MB, free: 7.762 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002922/0.1171, allocations: 154.7 kB / 476.2 MB, free: 7.586 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.848e-06/0.1171, allocations: 4 kB / 476.2 MB, free: 7.582 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003916/0.1175, allocations: 181.2 kB / 476.4 MB, free: 7.398 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.561e-05/0.1175, allocations: 7.938 kB / 476.4 MB, free: 7.391 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.1175, allocations: 4.219 kB / 476.4 MB, free: 7.387 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.558e-05/0.1175, allocations: 8 kB / 476.4 MB, free: 7.379 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009145/0.1184, allocations: 135.8 kB / 476.5 MB, free: 7.246 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001208/0.1197, allocations: 1.816 MB / 478.3 MB, free: 5.359 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001478/0.1198, allocations: 24.14 kB / 478.4 MB, free: 5.336 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.506e-05/0.1198, allocations: 8 kB / 478.4 MB, free: 5.328 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.0001257/0.12, allocations: 141.8 kB / 478.5 MB, free: 5.18 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.605e-05/0.12, allocations: 15.78 kB / 478.5 MB, free: 5.164 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004267/0.1204, allocations: 178.9 kB / 478.7 MB, free: 4.988 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.1205, allocations: 0 / 478.7 MB, free: 4.988 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.1205, allocations: 0 / 478.7 MB, free: 4.988 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.1205, allocations: 3.984 kB / 478.7 MB, free: 4.984 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002484/0.1207, allocations: 229.5 kB / 478.9 MB, free: 4.711 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.1207, allocations: 0 / 478.9 MB, free: 4.711 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007188/0.1215, allocations: 115.8 kB / 479 MB, free: 4.598 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.1215, allocations: 0 / 479 MB, free: 4.598 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.254e-05/0.1215, allocations: 0 / 479 MB, free: 4.598 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001102/0.1226, allocations: 1.785 MB / 480.8 MB, free: 2.742 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.06e-06/0.1226, allocations: 0 / 480.8 MB, free: 2.742 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004631/0.1231, allocations: 247.5 kB / 481.1 MB, free: 2.484 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.227e-05/0.1232, allocations: 96.84 kB / 481.2 MB, free: 2.371 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.705e-05/0.1232, allocations: 0 / 481.2 MB, free: 2.371 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001359/0.1233, allocations: 7.938 kB / 481.2 MB, free: 2.363 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.828e-05/0.1234, allocations: 11.98 kB / 481.2 MB, free: 2.352 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.355e-06/0.1234, allocations: 4 kB / 481.2 MB, free: 2.348 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001041/0.1235, allocations: 144.9 kB / 481.3 MB, free: 2.207 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1235, allocations: 0 / 481.3 MB, free: 2.207 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003056/0.1238, allocations: 39.91 kB / 481.4 MB, free: 2.168 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.0001675/0.124, allocations: 111.2 kB / 481.5 MB, free: 2.047 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001218/0.1252, allocations: 248 kB / 481.7 MB, free: 1.805 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.1253, allocations: 0 / 481.7 MB, free: 1.805 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006764/0.1259, allocations: 127.8 kB / 481.8 MB, free: 1.68 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003803/0.1263, allocations: 44.89 kB / 481.9 MB, free: 1.637 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000651/0.127, allocations: 433.8 kB / 482.3 MB, free: 1.188 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00029/0.1273, allocations: 0.7358 MB / 483 MB, free: 436 kB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.965e-05/0.1273, allocations: 15.44 kB / 483.1 MB, free: 420 kB / 350.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1274, allocations: 0 / 483.1 MB, free: 420 kB / 350.1 MB Notification: Performance of Templates: time 0.006628/0.134, allocations: 4.416 MB / 487.5 MB, free: 12 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