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_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 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_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_3.2.3_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_3.2.3_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.001312/0.001312, allocations: 116.9 kB / 17.08 MB, free: 6.012 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.001282/0.001282, allocations: 194.3 kB / 18.01 MB, free: 5.094 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.243/1.243, 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.1814/0.1814, allocations: 43.53 MB / 314.8 MB, free: 468 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.001309/0.001309, allocations: 71.89 kB / 442.5 MB, free: 5.652 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09974/0.1011, allocations: 57.79 MB / 0.4886 GB, free: 11.8 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW): time 0.002931/0.104, allocations: 1.676 MB / 0.4902 GB, free: 10.11 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001387/0.1054, allocations: 0.8344 MB / 0.491 GB, free: 9.266 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.548e-05/0.1055, allocations: 7.938 kB / 0.491 GB, free: 9.258 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002276/0.1058, allocations: 39.77 kB / 0.4911 GB, free: 9.219 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001718/0.106, allocations: 51.73 kB / 0.4911 GB, free: 9.168 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003226/0.1063, allocations: 95.62 kB / 0.4912 GB, free: 9.074 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000219/0.1066, allocations: 147.2 kB / 0.4913 GB, free: 8.93 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.804e-05/0.1066, allocations: 28.84 kB / 0.4914 GB, free: 8.902 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001553/0.1068, allocations: 63.7 kB / 0.4914 GB, free: 8.84 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001357/0.1069, allocations: 75.61 kB / 0.4915 GB, free: 8.766 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.841e-05/0.1069, allocations: 4 kB / 0.4915 GB, free: 8.762 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003156/0.1073, allocations: 159.8 kB / 0.4917 GB, free: 8.605 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.062e-05/0.1073, allocations: 35.84 kB / 0.4917 GB, free: 8.57 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.354e-05/0.1074, allocations: 63.55 kB / 0.4917 GB, free: 8.508 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003294/0.1078, allocations: 207.4 kB / 0.4919 GB, free: 8.305 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.1078, allocations: 4 kB / 0.492 GB, free: 8.301 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.1078, allocations: 0 / 0.492 GB, free: 8.301 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.553e-06/0.1078, allocations: 0 / 0.492 GB, free: 8.301 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: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.0006226/0.1084, allocations: 455 kB / 0.4924 GB, free: 7.809 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.925e-05/0.1085, allocations: 11.89 kB / 0.4924 GB, free: 7.797 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005308/0.109, allocations: 72.67 kB / 0.4925 GB, free: 7.727 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002059/0.1092, allocations: 220 kB / 0.4927 GB, free: 7.473 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.738e-05/0.1092, allocations: 12.38 kB / 0.4927 GB, free: 7.461 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.675e-05/0.1093, allocations: 16.06 kB / 0.4927 GB, free: 7.445 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004159/0.1097, allocations: 233.5 kB / 0.4929 GB, free: 7.211 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.709e-06/0.1097, allocations: 0 / 0.4929 GB, free: 7.211 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.054e-05/0.1098, allocations: 7.938 kB / 0.4929 GB, free: 7.203 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.13e-05/0.1098, allocations: 19.98 kB / 0.493 GB, free: 7.184 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003948/0.1102, allocations: 219.8 kB / 0.4932 GB, free: 6.969 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00103/0.1112, allocations: 0.7323 MB / 0.4939 GB, free: 6.148 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002005/0.1114, allocations: 86.45 kB / 0.494 GB, free: 6.055 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001153/0.1116, allocations: 48.81 kB / 0.494 GB, free: 6.004 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.811e-05/0.1116, allocations: 4 kB / 0.494 GB, free: 6 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.237e-05/0.1116, allocations: 38.5 kB / 0.494 GB, free: 5.953 MB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 1.133e-06/0.1116, allocations: 0 / 0.494 GB, free: 5.953 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004571/0.1121, allocations: 161.7 kB / 0.4942 GB, free: 5.789 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.187e-05/0.1121, allocations: 51.41 kB / 0.4942 GB, free: 5.727 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001699/0.1123, allocations: 195.2 kB / 0.4944 GB, free: 5.527 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.749e-05/0.1123, allocations: 29.7 kB / 0.4945 GB, free: 5.492 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.384e-05/0.1124, allocations: 139.7 kB / 0.4946 GB, free: 5.352 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.276e-05/0.1125, allocations: 27.58 kB / 0.4946 GB, free: 5.324 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.787e-05/0.1125, allocations: 33.7 kB / 0.4947 GB, free: 5.285 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001121/0.1126, allocations: 326.8 kB / 0.495 GB, free: 4.957 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001232/0.1128, allocations: 43.95 kB / 0.495 GB, free: 4.914 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001555/0.1129, allocations: 98.81 kB / 0.4951 GB, free: 4.793 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002821/0.1132, allocations: 166.7 kB / 0.4953 GB, free: 4.605 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.1132, allocations: 0 / 0.4953 GB, free: 4.605 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003532/0.1136, allocations: 177.5 kB / 0.4954 GB, free: 4.426 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.685e-05/0.1136, allocations: 14.59 kB / 0.4954 GB, free: 4.414 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.1136, allocations: 0 / 0.4954 GB, free: 4.414 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.528e-05/0.1137, allocations: 7.938 kB / 0.4955 GB, free: 4.406 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008822/0.1145, allocations: 127.8 kB / 0.4956 GB, free: 4.281 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001242/0.1158, allocations: 1.813 MB / 0.4973 GB, free: 2.398 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001568/0.116, allocations: 23.86 kB / 0.4974 GB, free: 2.375 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.63e-05/0.116, allocations: 8 kB / 0.4974 GB, free: 2.367 MB / 382.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.0001332/0.1161, allocations: 149.5 kB / 0.4975 GB, free: 2.211 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.876e-05/0.1162, allocations: 19.69 kB / 0.4975 GB, free: 2.191 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004112/0.1166, allocations: 175.1 kB / 0.4977 GB, free: 2.008 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.1166, allocations: 0 / 0.4977 GB, free: 2.008 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.122e-06/0.1166, allocations: 4 kB / 0.4977 GB, free: 2.004 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.1166, allocations: 3.938 kB / 0.4977 GB, free: 2 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002378/0.1169, allocations: 237.5 kB / 0.4979 GB, free: 1.719 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.1169, allocations: 4 kB / 0.4979 GB, free: 1.715 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006706/0.1176, allocations: 103.9 kB / 0.498 GB, free: 1.613 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.377e-06/0.1176, allocations: 0 / 0.498 GB, free: 1.613 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.202e-05/0.1176, allocations: 0 / 0.498 GB, free: 1.613 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009116/0.1185, allocations: 1.785 MB / 0.4998 GB, free: 15.76 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.744e-06/0.1185, allocations: 0 / 0.4998 GB, free: 15.76 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003323/0.1188, allocations: 255.4 kB / 0.5 GB, free: 15.49 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.088e-05/0.1189, allocations: 85.02 kB / 0.5001 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.569e-05/0.1189, allocations: 3.938 kB / 0.5001 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001366/0.1191, allocations: 11.98 kB / 0.5001 GB, free: 15.38 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.843e-05/0.1191, allocations: 11.98 kB / 0.5001 GB, free: 15.36 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.574e-06/0.1192, allocations: 0 / 0.5001 GB, free: 15.36 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001077/0.1193, allocations: 140.9 kB / 0.5003 GB, free: 15.23 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1193, allocations: 4 kB / 0.5003 GB, free: 15.22 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003049/0.1196, allocations: 51.84 kB / 0.5003 GB, free: 15.17 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 (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.0001763/0.1198, allocations: 107.2 kB / 0.5004 GB, free: 15.06 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001163/0.1209, allocations: 235.9 kB / 0.5007 GB, free: 14.83 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.121, allocations: 0 / 0.5007 GB, free: 14.83 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006108/0.1216, allocations: 124 kB / 0.5008 GB, free: 14.71 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003732/0.122, allocations: 39.91 kB / 0.5008 GB, free: 14.67 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006332/0.1226, allocations: 362.3 kB / 0.5012 GB, free: 14.28 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002657/0.1229, allocations: 0.7395 MB / 0.5019 GB, free: 13.52 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.719e-05/0.1229, allocations: 15.44 kB / 0.5019 GB, free: 13.5 MB / 398.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1229, allocations: 4 kB / 0.5019 GB, free: 13.5 MB / 398.1 MB Notification: Performance of Templates: time 0.006565/0.1295, allocations: 4.466 MB / 0.5063 GB, free: 9.035 MB / 398.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_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_pressureLossCoefficient_DPMFLOW/dp_pressureLossCoefficient_DPMFLOW.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches