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.001258/0.001258, allocations: 115.9 kB / 17.08 MB, free: 5.832 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.001191/0.001191, allocations: 194.4 kB / 18.01 MB, free: 4.965 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.326/1.326, 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.1948/0.1948, allocations: 43.52 MB / 314.8 MB, free: 476 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.001419/0.001419, allocations: 71.89 kB / 442.5 MB, free: 5.652 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.102/0.1034, allocations: 57.78 MB / 0.4886 GB, free: 11.8 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW): time 0.002991/0.1064, allocations: 1.655 MB / 0.4902 GB, free: 10.13 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001636/0.1081, allocations: 0.9083 MB / 0.4911 GB, free: 9.215 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.863e-05/0.1082, allocations: 4 kB / 0.4911 GB, free: 9.211 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002608/0.1085, allocations: 35.83 kB / 0.4911 GB, free: 9.176 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001901/0.1087, allocations: 51.67 kB / 0.4911 GB, free: 9.125 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005289/0.1092, allocations: 131.5 kB / 0.4913 GB, free: 8.996 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002154/0.1095, allocations: 139.3 kB / 0.4914 GB, free: 8.859 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.489e-05/0.1095, allocations: 29.42 kB / 0.4914 GB, free: 8.828 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.636e-05/0.1096, allocations: 47.84 kB / 0.4915 GB, free: 8.781 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001504/0.1098, allocations: 75.61 kB / 0.4916 GB, free: 8.707 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.422e-05/0.1098, allocations: 4 kB / 0.4916 GB, free: 8.703 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000402/0.1102, allocations: 207.6 kB / 0.4918 GB, free: 8.5 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.398e-05/0.1103, allocations: 39.84 kB / 0.4918 GB, free: 8.461 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.871e-05/0.1104, allocations: 59.61 kB / 0.4919 GB, free: 8.402 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004417/0.1109, allocations: 255.1 kB / 0.4921 GB, free: 8.152 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.1109, allocations: 0 / 0.4921 GB, free: 8.152 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.1109, allocations: 0 / 0.4921 GB, free: 8.152 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.104e-05/0.1109, allocations: 0 / 0.4921 GB, free: 8.152 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.000716/0.1116, allocations: 470.9 kB / 0.4925 GB, free: 7.645 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.736e-05/0.1117, allocations: 19.88 kB / 0.4926 GB, free: 7.625 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001188/0.1129, allocations: 112.5 kB / 0.4927 GB, free: 7.516 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002412/0.1131, allocations: 228.1 kB / 0.4929 GB, free: 7.254 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.788e-05/0.1131, allocations: 12.38 kB / 0.4929 GB, free: 7.242 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.39e-05/0.1132, allocations: 16.36 kB / 0.4929 GB, free: 7.227 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006879/0.1139, allocations: 321.6 kB / 0.4932 GB, free: 6.906 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.192e-05/0.1139, allocations: 0 / 0.4932 GB, free: 6.906 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.881e-05/0.114, allocations: 7.984 kB / 0.4932 GB, free: 6.898 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.694e-05/0.114, allocations: 19.98 kB / 0.4932 GB, free: 6.879 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000781/0.1148, allocations: 319.7 kB / 0.4936 GB, free: 6.566 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001525/0.1163, allocations: 0.8334 MB / 0.4944 GB, free: 5.645 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000724/0.1171, allocations: 214.3 kB / 0.4946 GB, free: 5.426 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002817/0.1174, allocations: 84.81 kB / 0.4947 GB, free: 5.34 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.068e-05/0.1174, allocations: 8 kB / 0.4947 GB, free: 5.332 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.751e-05/0.1174, allocations: 34.55 kB / 0.4947 GB, free: 5.289 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.823e-06/0.1174, allocations: 0 / 0.4947 GB, free: 5.289 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.001054/0.1185, allocations: 293.2 kB / 0.495 GB, free: 4.996 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.612e-05/0.1186, allocations: 51.41 kB / 0.495 GB, free: 4.934 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001892/0.1187, allocations: 195.3 kB / 0.4952 GB, free: 4.734 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.875e-05/0.1188, allocations: 25.7 kB / 0.4952 GB, free: 4.703 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.323e-05/0.1189, allocations: 139.5 kB / 0.4954 GB, free: 4.562 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.528e-05/0.1189, allocations: 39.53 kB / 0.4954 GB, free: 4.523 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.355e-05/0.119, allocations: 53.58 kB / 0.4955 GB, free: 4.465 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001499/0.1192, allocations: 326.8 kB / 0.4958 GB, free: 4.137 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003095/0.1195, allocations: 84.22 kB / 0.4958 GB, free: 4.055 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003321/0.1199, allocations: 141.4 kB / 0.496 GB, free: 3.895 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006569/0.1205, allocations: 222.5 kB / 0.4962 GB, free: 3.652 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.005e-06/0.1205, allocations: 0 / 0.4962 GB, free: 3.652 MB / 382.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.000775/0.1213, allocations: 273.2 kB / 0.4965 GB, free: 3.379 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.191e-05/0.1213, allocations: 8 kB / 0.4965 GB, free: 3.371 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.182e-06/0.1214, allocations: 0 / 0.4965 GB, free: 3.371 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.299e-05/0.1214, allocations: 7.938 kB / 0.4965 GB, free: 3.363 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004699/0.1219, allocations: 83.86 kB / 0.4965 GB, free: 3.281 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001043/0.1229, allocations: 1.785 MB / 0.4983 GB, free: 1.426 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002486/0.1232, allocations: 27.77 kB / 0.4983 GB, free: 1.398 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.076e-05/0.1232, allocations: 11.98 kB / 0.4983 GB, free: 1.387 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.0001649/0.1234, allocations: 157.7 kB / 0.4985 GB, free: 1.223 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.553e-05/0.1235, allocations: 15.84 kB / 0.4985 GB, free: 1.207 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008046/0.1243, allocations: 262.8 kB / 0.4987 GB, free: 0.9375 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.918e-06/0.1243, allocations: 7.938 kB / 0.4988 GB, free: 0.9297 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.98e-06/0.1243, allocations: 0 / 0.4988 GB, free: 0.9297 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.09e-06/0.1243, allocations: 3.984 kB / 0.4988 GB, free: 0.9258 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003083/0.1246, allocations: 249.5 kB / 0.499 GB, free: 0.6328 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.295e-06/0.1246, allocations: 96 / 0.499 GB, free: 0.6328 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000367/0.125, allocations: 71.86 kB / 0.4991 GB, free: 0.5625 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.484e-06/0.125, allocations: 3.938 kB / 0.4991 GB, free: 0.5586 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.799e-05/0.1251, allocations: 11.98 kB / 0.4991 GB, free: 0.5469 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009519/0.126, allocations: 1.781 MB / 0.5008 GB, free: 14.7 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.126, allocations: 0 / 0.5008 GB, free: 14.7 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007467/0.1268, allocations: 319.4 kB / 0.5011 GB, free: 14.37 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.029e-05/0.1269, allocations: 88.92 kB / 0.5012 GB, free: 14.26 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.028e-05/0.1269, allocations: 4 kB / 0.5012 GB, free: 14.26 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002115/0.1271, allocations: 11.98 kB / 0.5012 GB, free: 14.25 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.414e-05/0.1272, allocations: 11.97 kB / 0.5012 GB, free: 14.23 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.028e-05/0.1272, allocations: 7.984 kB / 0.5012 GB, free: 14.23 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001267/0.1274, allocations: 140.9 kB / 0.5014 GB, free: 14.09 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1274, allocations: 8 kB / 0.5014 GB, free: 14.08 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003775/0.1278, allocations: 55.94 kB / 0.5014 GB, free: 14.03 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.0002651/0.128, allocations: 131.1 kB / 0.5016 GB, free: 13.89 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0008873/0.1289, allocations: 239.6 kB / 0.5018 GB, free: 13.66 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.1289, allocations: 0 / 0.5018 GB, free: 13.66 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004807/0.1294, allocations: 131.9 kB / 0.5019 GB, free: 13.53 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003025/0.1297, allocations: 15.94 kB / 0.5019 GB, free: 13.51 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008635/0.1306, allocations: 408.3 kB / 0.5023 GB, free: 13.08 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003366/0.131, allocations: 0.7319 MB / 0.503 GB, free: 12.32 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001327/0.1311, allocations: 43.31 kB / 0.5031 GB, free: 12.28 MB / 398.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1311, allocations: 4 kB / 0.5031 GB, free: 12.28 MB / 398.1 MB Notification: Performance of Templates: time 0.007806/0.1389, allocations: 4.915 MB / 0.5079 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