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.001127/0.001127, allocations: 116.9 kB / 17.08 MB, free: 6 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.001057/0.001057, allocations: 193.3 kB / 18.01 MB, free: 5.082 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.307/1.307, 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.195/0.1951, allocations: 43.51 MB / 314.8 MB, free: 464 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.001425/0.001425, allocations: 75.83 kB / 442.5 MB, free: 5.641 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1017/0.1032, allocations: 57.78 MB / 0.4886 GB, free: 11.79 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW): time 0.002969/0.1062, allocations: 1.672 MB / 0.4902 GB, free: 10.1 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001447/0.1076, allocations: 0.8383 MB / 0.491 GB, free: 9.254 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.097e-05/0.1077, allocations: 4 kB / 0.491 GB, free: 9.25 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002342/0.108, allocations: 39.81 kB / 0.4911 GB, free: 9.211 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001649/0.1082, allocations: 55.67 kB / 0.4911 GB, free: 9.156 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000367/0.1086, allocations: 95.64 kB / 0.4912 GB, free: 9.062 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002258/0.1088, allocations: 159.1 kB / 0.4913 GB, free: 8.906 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.154e-05/0.1089, allocations: 24.84 kB / 0.4914 GB, free: 8.883 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001411/0.109, allocations: 63.77 kB / 0.4914 GB, free: 8.82 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001424/0.1092, allocations: 67.62 kB / 0.4915 GB, free: 8.754 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.035e-05/0.1092, allocations: 4 kB / 0.4915 GB, free: 8.75 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003197/0.1095, allocations: 167.8 kB / 0.4917 GB, free: 8.586 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.549e-05/0.1096, allocations: 31.91 kB / 0.4917 GB, free: 8.555 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.638e-05/0.1097, allocations: 63.55 kB / 0.4918 GB, free: 8.492 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003584/0.1101, allocations: 207.4 kB / 0.4919 GB, free: 8.289 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.1101, allocations: 0 / 0.4919 GB, free: 8.289 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.1101, allocations: 0 / 0.4919 GB, free: 8.289 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.545e-06/0.1101, allocations: 0 / 0.4919 GB, free: 8.289 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.0006646/0.1108, allocations: 462.4 kB / 0.4924 GB, free: 7.793 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.821e-05/0.1108, allocations: 11.89 kB / 0.4924 GB, free: 7.781 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005541/0.1114, allocations: 68.67 kB / 0.4925 GB, free: 7.715 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002276/0.1116, allocations: 220.1 kB / 0.4927 GB, free: 7.461 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.773e-05/0.1116, allocations: 16.36 kB / 0.4927 GB, free: 7.445 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.854e-05/0.1117, allocations: 12.12 kB / 0.4927 GB, free: 7.434 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004606/0.1121, allocations: 229.5 kB / 0.4929 GB, free: 7.203 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.274e-05/0.1122, allocations: 0 / 0.4929 GB, free: 7.203 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.296e-05/0.1122, allocations: 11.92 kB / 0.4929 GB, free: 7.191 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.222e-05/0.1122, allocations: 19.92 kB / 0.493 GB, free: 7.172 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004557/0.1127, allocations: 219.8 kB / 0.4932 GB, free: 6.957 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00108/0.1138, allocations: 0.7323 MB / 0.4939 GB, free: 6.137 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002184/0.114, allocations: 86.45 kB / 0.494 GB, free: 6.043 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001392/0.1142, allocations: 52.8 kB / 0.494 GB, free: 5.988 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.788e-05/0.1142, allocations: 0 / 0.494 GB, free: 5.988 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.025e-05/0.1142, allocations: 42.5 kB / 0.4941 GB, free: 5.938 MB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 1.373e-06/0.1142, allocations: 0 / 0.4941 GB, free: 5.938 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005376/0.1148, allocations: 169.5 kB / 0.4942 GB, free: 5.766 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.285e-05/0.1148, allocations: 51.41 kB / 0.4943 GB, free: 5.703 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001807/0.115, allocations: 195.2 kB / 0.4944 GB, free: 5.504 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2e-05/0.115, allocations: 25.7 kB / 0.4945 GB, free: 5.473 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.075e-05/0.1151, allocations: 139.5 kB / 0.4946 GB, free: 5.332 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.326e-05/0.1152, allocations: 23.64 kB / 0.4946 GB, free: 5.309 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.953e-05/0.1152, allocations: 33.7 kB / 0.4947 GB, free: 5.27 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001127/0.1154, allocations: 326.8 kB / 0.495 GB, free: 4.941 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001399/0.1155, allocations: 43.95 kB / 0.495 GB, free: 4.898 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001758/0.1157, allocations: 98.81 kB / 0.4951 GB, free: 4.777 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003151/0.116, allocations: 158.7 kB / 0.4953 GB, free: 4.598 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.116, allocations: 0 / 0.4953 GB, free: 4.598 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003907/0.1164, allocations: 189.4 kB / 0.4954 GB, free: 4.406 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.83e-05/0.1165, allocations: 10.59 kB / 0.4954 GB, free: 4.398 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.233e-06/0.1165, allocations: 4 kB / 0.4955 GB, free: 4.395 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.901e-05/0.1165, allocations: 4 kB / 0.4955 GB, free: 4.391 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009247/0.1174, allocations: 123.8 kB / 0.4956 GB, free: 4.27 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001238/0.1187, allocations: 1.821 MB / 0.4974 GB, free: 2.379 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001588/0.1189, allocations: 19.83 kB / 0.4974 GB, free: 2.359 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.531e-05/0.1189, allocations: 8 kB / 0.4974 GB, free: 2.352 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.0001274/0.119, allocations: 145.6 kB / 0.4975 GB, free: 2.199 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.087e-05/0.1191, allocations: 15.75 kB / 0.4975 GB, free: 2.184 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004546/0.1195, allocations: 186.9 kB / 0.4977 GB, free: 1.988 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.925e-06/0.1195, allocations: 0 / 0.4977 GB, free: 1.988 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.1196, allocations: 0 / 0.4977 GB, free: 1.988 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.005e-06/0.1196, allocations: 0 / 0.4977 GB, free: 1.988 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002439/0.1198, allocations: 237.5 kB / 0.4979 GB, free: 1.707 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.1198, allocations: 0 / 0.4979 GB, free: 1.707 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000734/0.1206, allocations: 107.9 kB / 0.498 GB, free: 1.602 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.968e-06/0.1206, allocations: 0 / 0.498 GB, free: 1.602 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.251e-05/0.1206, allocations: 0 / 0.498 GB, free: 1.602 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001009/0.1216, allocations: 1.781 MB / 0.4998 GB, free: 15.75 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.1216, allocations: 0 / 0.4998 GB, free: 15.75 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003875/0.122, allocations: 259.5 kB / 0.5 GB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.237e-05/0.1221, allocations: 85.02 kB / 0.5001 GB, free: 15.38 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.685e-05/0.1221, allocations: 0 / 0.5001 GB, free: 15.38 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001438/0.1223, allocations: 11.97 kB / 0.5001 GB, free: 15.37 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.235e-05/0.1223, allocations: 11.98 kB / 0.5001 GB, free: 15.36 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.022e-05/0.1224, allocations: 4 kB / 0.5001 GB, free: 15.35 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001071/0.1225, allocations: 136.9 kB / 0.5003 GB, free: 15.22 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1225, allocations: 4 kB / 0.5003 GB, free: 15.21 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003142/0.1228, allocations: 55.83 kB / 0.5003 GB, free: 15.16 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.0001944/0.123, allocations: 103.2 kB / 0.5004 GB, free: 15.05 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001198/0.1242, allocations: 236 kB / 0.5006 GB, free: 14.82 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.1242, allocations: 0 / 0.5006 GB, free: 14.82 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006734/0.1249, allocations: 131.8 kB / 0.5008 GB, free: 14.69 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004087/0.1253, allocations: 43.84 kB / 0.5008 GB, free: 14.65 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006289/0.126, allocations: 354.4 kB / 0.5012 GB, free: 14.27 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003112/0.1263, allocations: 0.7434 MB / 0.5019 GB, free: 13.5 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.091e-05/0.1263, allocations: 15.44 kB / 0.5019 GB, free: 13.48 MB / 398.1 MB Notification: Performance of SimCode: time 3.51e-07/0.1264, allocations: 4 kB / 0.5019 GB, free: 13.48 MB / 398.1 MB Notification: Performance of Templates: time 0.006825/0.1332, allocations: 4.439 MB / 0.5062 GB, free: 9.047 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