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_volumeFlowRate_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_volumeFlowRate_DPMFLOW,tolerance=1e-05,outputFormat="mat",numberOfIntervals=10100,variableFilter="time|V_flow.1.|V_flow.2.|V_flow.3.|a.1.|a.2.|a.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_volumeFlowRate_DPMFLOW") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW,tolerance=1e-05,outputFormat="mat",numberOfIntervals=10100,variableFilter="time|V_flow.1.|V_flow.2.|V_flow.3.|a.1.|a.2.|a.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_volumeFlowRate_DPMFLOW") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001268/0.001268, allocations: 116.4 kB / 17.05 MB, free: 6.035 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.001156/0.001156, allocations: 195 kB / 17.98 MB, free: 5.121 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.266/1.266, 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.1936/0.1936, allocations: 43.52 MB / 314.7 MB, free: 472 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.001417/0.001417, allocations: 71.91 kB / 442.4 MB, free: 5.652 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1025/0.104, allocations: 57.79 MB / 0.4885 GB, free: 11.78 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW): time 0.002706/0.1067, allocations: 1.648 MB / 0.4901 GB, free: 10.12 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001403/0.1081, allocations: 0.9122 MB / 0.491 GB, free: 9.199 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.393e-05/0.1082, allocations: 4 kB / 0.491 GB, free: 9.195 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002051/0.1084, allocations: 31.83 kB / 0.491 GB, free: 9.164 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001567/0.1086, allocations: 51.73 kB / 0.4911 GB, free: 9.113 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004132/0.109, allocations: 135.5 kB / 0.4912 GB, free: 8.98 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001791/0.1092, allocations: 147.3 kB / 0.4914 GB, free: 8.836 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.434e-05/0.1093, allocations: 17.42 kB / 0.4914 GB, free: 8.816 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.567e-05/0.1094, allocations: 55.72 kB / 0.4914 GB, free: 8.762 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001082/0.1095, allocations: 71.67 kB / 0.4915 GB, free: 8.691 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.753e-05/0.1095, allocations: 4 kB / 0.4915 GB, free: 8.688 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003392/0.1099, allocations: 207.7 kB / 0.4917 GB, free: 8.484 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.475e-05/0.11, allocations: 39.84 kB / 0.4917 GB, free: 8.445 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.889e-05/0.11, allocations: 67.59 kB / 0.4918 GB, free: 8.379 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00034/0.1104, allocations: 239.2 kB / 0.492 GB, free: 8.145 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.1104, allocations: 4 kB / 0.492 GB, free: 8.141 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.1104, allocations: 0 / 0.492 GB, free: 8.141 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.59e-06/0.1104, allocations: 0 / 0.492 GB, free: 8.141 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: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.0006006/0.111, allocations: 474.9 kB / 0.4925 GB, free: 7.629 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.651e-05/0.1111, allocations: 11.89 kB / 0.4925 GB, free: 7.617 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001114/0.1122, allocations: 116.5 kB / 0.4926 GB, free: 7.504 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002193/0.1124, allocations: 228.1 kB / 0.4928 GB, free: 7.242 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.573e-05/0.1124, allocations: 12.36 kB / 0.4928 GB, free: 7.23 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.901e-05/0.1125, allocations: 12.38 kB / 0.4929 GB, free: 7.219 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006284/0.1131, allocations: 325.5 kB / 0.4932 GB, free: 6.895 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.488e-06/0.1131, allocations: 0 / 0.4932 GB, free: 6.895 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.595e-05/0.1132, allocations: 4 kB / 0.4932 GB, free: 6.891 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.654e-05/0.1132, allocations: 19.98 kB / 0.4932 GB, free: 6.871 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007942/0.114, allocations: 327.7 kB / 0.4935 GB, free: 6.551 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001352/0.1154, allocations: 0.8218 MB / 0.4943 GB, free: 5.641 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007144/0.1161, allocations: 218.3 kB / 0.4945 GB, free: 5.418 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002873/0.1164, allocations: 88.81 kB / 0.4946 GB, free: 5.328 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.97e-05/0.1164, allocations: 3.984 kB / 0.4946 GB, free: 5.324 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.574e-05/0.1165, allocations: 34.56 kB / 0.4946 GB, free: 5.281 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.793e-06/0.1165, allocations: 0 / 0.4946 GB, free: 5.281 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.001042/0.1175, allocations: 289.2 kB / 0.4949 GB, free: 4.992 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.538e-05/0.1176, allocations: 67.33 kB / 0.495 GB, free: 4.914 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001587/0.1177, allocations: 183.3 kB / 0.4952 GB, free: 4.727 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.899e-05/0.1178, allocations: 29.7 kB / 0.4952 GB, free: 4.691 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.464e-05/0.1179, allocations: 139.5 kB / 0.4953 GB, free: 4.551 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.527e-05/0.1179, allocations: 35.53 kB / 0.4953 GB, free: 4.516 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.811e-05/0.118, allocations: 53.95 kB / 0.4954 GB, free: 4.457 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.929e-05/0.1181, allocations: 326.8 kB / 0.4957 GB, free: 4.129 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002849/0.1184, allocations: 83.91 kB / 0.4958 GB, free: 4.047 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003183/0.1187, allocations: 141.6 kB / 0.4959 GB, free: 3.887 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006083/0.1193, allocations: 218.5 kB / 0.4961 GB, free: 3.648 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/0.1194, allocations: 4 kB / 0.4961 GB, free: 3.645 MB / 382.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0007422/0.1201, allocations: 277.2 kB / 0.4964 GB, free: 3.367 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.637e-05/0.1201, allocations: 7.938 kB / 0.4964 GB, free: 3.359 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.757e-06/0.1201, allocations: 4 kB / 0.4964 GB, free: 3.355 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.647e-05/0.1202, allocations: 3.938 kB / 0.4964 GB, free: 3.352 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004552/0.1206, allocations: 83.86 kB / 0.4965 GB, free: 3.27 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009072/0.1215, allocations: 1.782 MB / 0.4982 GB, free: 1.418 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002251/0.1218, allocations: 32.02 kB / 0.4983 GB, free: 1.387 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.905e-05/0.1218, allocations: 15.98 kB / 0.4983 GB, free: 1.371 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 (17): * Single equations (assignments): 14 * 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.0001456/0.122, allocations: 153.5 kB / 0.4984 GB, free: 1.211 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.039e-05/0.122, allocations: 11.84 kB / 0.4984 GB, free: 1.199 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007908/0.1228, allocations: 270.8 kB / 0.4987 GB, free: 0.9219 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.1228, allocations: 0 / 0.4987 GB, free: 0.9219 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.1229, allocations: 3.984 kB / 0.4987 GB, free: 0.918 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.1229, allocations: 4.094 kB / 0.4987 GB, free: 0.9141 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002789/0.1231, allocations: 249.4 kB / 0.4989 GB, free: 0.6211 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.063e-06/0.1232, allocations: 0 / 0.4989 GB, free: 0.6211 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003498/0.1235, allocations: 67.92 kB / 0.499 GB, free: 0.5547 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.661e-06/0.1235, allocations: 7.938 kB / 0.499 GB, free: 0.5469 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.275e-05/0.1236, allocations: 7.984 kB / 0.499 GB, free: 0.5391 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000828/0.1244, allocations: 1.785 MB / 0.5008 GB, free: 14.68 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/0.1244, allocations: 11.98 kB / 0.5008 GB, free: 14.67 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006886/0.1251, allocations: 311.2 kB / 0.5011 GB, free: 14.35 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.307e-05/0.1252, allocations: 88.92 kB / 0.5012 GB, free: 14.25 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.337e-05/0.1252, allocations: 3.984 kB / 0.5012 GB, free: 14.24 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002318/0.1254, allocations: 8 kB / 0.5012 GB, free: 14.23 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.573e-05/0.1255, allocations: 15.91 kB / 0.5012 GB, free: 14.22 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.344e-05/0.1256, allocations: 15.97 kB / 0.5012 GB, free: 14.2 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001139/0.1257, allocations: 140.9 kB / 0.5013 GB, free: 14.07 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1257, allocations: 0 / 0.5013 GB, free: 14.07 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003675/0.1261, allocations: 55.94 kB / 0.5014 GB, free: 14.01 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 (10): * Single equations (assignments): 7 * 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.0002476/0.1263, allocations: 131.2 kB / 0.5015 GB, free: 13.88 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0008364/0.1272, allocations: 235.6 kB / 0.5017 GB, free: 13.64 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.1272, allocations: 0 / 0.5017 GB, free: 13.64 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004553/0.1276, allocations: 132.2 kB / 0.5019 GB, free: 13.52 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002875/0.1279, allocations: 24.41 kB / 0.5019 GB, free: 13.49 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007593/0.1287, allocations: 394.2 kB / 0.5023 GB, free: 13.07 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002626/0.129, allocations: 0.7358 MB / 0.503 GB, free: 12.31 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001145/0.1291, allocations: 39.38 kB / 0.503 GB, free: 12.27 MB / 398.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1291, allocations: 4 kB / 0.503 GB, free: 12.27 MB / 398.1 MB Notification: Performance of Templates: time 0.006764/0.1359, allocations: 4.907 MB / 0.5078 GB, free: 7.359 MB / 398.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_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_volumeFlowRate_DPMFLOW/dp_volumeFlowRate_DPMFLOW.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches