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_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 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_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_4.0.0_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_4.0.0_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.0008056/0.0008058, allocations: 92.62 kB / 18 MB, free: 5.602 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.0008682/0.0008683, allocations: 178.3 kB / 18.91 MB, free: 4.738 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.315/1.315, allocations: 223.3 MB / 243 MB, free: 14.3 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.2028/0.2028, allocations: 44.24 MB / 338.3 MB, free: 2.398 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003233/0.0003233, allocations: 8 kB / 411 MB, free: 27.24 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1034/0.1038, allocations: 61.91 MB / 472.9 MB, free: 13.29 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW): time 0.001755/0.1056, allocations: 1.364 MB / 474.3 MB, free: 11.92 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001349/0.1069, allocations: 0.8649 MB / 475.2 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.082e-05/0.107, allocations: 4 kB / 475.2 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001903/0.1072, allocations: 27.89 kB / 475.2 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001535/0.1074, allocations: 51.73 kB / 475.2 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003936/0.1078, allocations: 115.2 kB / 475.4 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000226/0.108, allocations: 187.2 kB / 475.5 MB, free: 10.67 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.119e-05/0.1081, allocations: 17.44 kB / 475.6 MB, free: 10.65 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.966e-05/0.1082, allocations: 59.7 kB / 475.6 MB, free: 10.59 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001404/0.1083, allocations: 71.69 kB / 475.7 MB, free: 10.52 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.65e-05/0.1083, allocations: 0 / 475.7 MB, free: 10.52 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003804/0.1087, allocations: 211.6 kB / 475.9 MB, free: 10.31 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.843e-05/0.1088, allocations: 35.89 kB / 475.9 MB, free: 10.28 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.997e-05/0.1089, allocations: 89.25 kB / 476 MB, free: 10.18 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002358/0.1092, allocations: 159.8 kB / 476.2 MB, free: 10.03 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.1092, allocations: 0 / 476.2 MB, free: 10.03 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.1092, allocations: 0 / 476.2 MB, free: 10.03 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.151e-06/0.1092, allocations: 0 / 476.2 MB, free: 10.03 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: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.0005693/0.1098, allocations: 457.4 kB / 476.6 MB, free: 9.535 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.597e-05/0.1098, allocations: 8.031 kB / 476.6 MB, free: 9.527 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001122/0.1109, allocations: 120.5 kB / 476.7 MB, free: 9.41 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002203/0.1112, allocations: 224 kB / 477 MB, free: 9.152 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.772e-05/0.1112, allocations: 8.375 kB / 477 MB, free: 9.145 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.133e-05/0.1112, allocations: 20.36 kB / 477 MB, free: 9.125 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006603/0.1119, allocations: 330.1 kB / 477.3 MB, free: 8.797 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.606e-06/0.1119, allocations: 0 / 477.3 MB, free: 8.797 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.93e-05/0.112, allocations: 7.984 kB / 477.3 MB, free: 8.789 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.346e-05/0.112, allocations: 19.98 kB / 477.3 MB, free: 8.77 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008001/0.1128, allocations: 335.7 kB / 477.7 MB, free: 8.441 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001411/0.1142, allocations: 0.8182 MB / 478.5 MB, free: 7.531 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007265/0.115, allocations: 230.2 kB / 478.7 MB, free: 7.297 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003021/0.1153, allocations: 92.81 kB / 478.8 MB, free: 7.203 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.129e-05/0.1153, allocations: 4 kB / 478.8 MB, free: 7.199 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.234e-05/0.1154, allocations: 30.56 kB / 478.8 MB, free: 7.16 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.533e-06/0.1154, allocations: 0 / 478.8 MB, free: 7.16 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.001057/0.1164, allocations: 325.1 kB / 479.2 MB, free: 6.836 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.155e-05/0.1165, allocations: 55.34 kB / 479.2 MB, free: 6.77 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001703/0.1167, allocations: 187.3 kB / 479.4 MB, free: 6.574 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.758e-05/0.1167, allocations: 29.7 kB / 479.4 MB, free: 6.539 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.184e-05/0.1168, allocations: 135.5 kB / 479.5 MB, free: 6.402 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.83e-05/0.1168, allocations: 35.48 kB / 479.6 MB, free: 6.367 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.918e-05/0.1169, allocations: 29.7 kB / 479.6 MB, free: 6.332 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001074/0.117, allocations: 322.8 kB / 479.9 MB, free: 6.008 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003118/0.1173, allocations: 91.81 kB / 480 MB, free: 5.918 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003375/0.1177, allocations: 149.2 kB / 480.2 MB, free: 5.75 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006268/0.1183, allocations: 226.6 kB / 480.4 MB, free: 5.504 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.374e-06/0.1183, allocations: 7.984 kB / 480.4 MB, free: 5.496 MB / 350.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0007578/0.1191, allocations: 273.2 kB / 480.7 MB, free: 5.223 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.935e-05/0.1191, allocations: 4 kB / 480.7 MB, free: 5.219 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.123e-06/0.1191, allocations: 4 kB / 480.7 MB, free: 5.215 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.623e-05/0.1191, allocations: 7.938 kB / 480.7 MB, free: 5.207 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004563/0.1196, allocations: 84.08 kB / 480.8 MB, free: 5.125 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000948/0.1206, allocations: 1.797 MB / 482.6 MB, free: 3.258 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000234/0.1208, allocations: 24.3 kB / 482.6 MB, free: 3.234 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.155e-05/0.1209, allocations: 15.98 kB / 482.6 MB, free: 3.219 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 (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.000145/0.121, allocations: 141.8 kB / 482.7 MB, free: 3.07 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.727e-05/0.1211, allocations: 15.75 kB / 482.7 MB, free: 3.055 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008208/0.1219, allocations: 278.7 kB / 483 MB, free: 2.781 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.711e-06/0.1219, allocations: 4 kB / 483 MB, free: 2.777 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.199e-06/0.1219, allocations: 0 / 483 MB, free: 2.777 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-06/0.1219, allocations: 4 kB / 483 MB, free: 2.773 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003066/0.1222, allocations: 253.4 kB / 483.3 MB, free: 2.477 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.348e-06/0.1223, allocations: 0 / 483.3 MB, free: 2.477 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000365/0.1226, allocations: 75.86 kB / 483.3 MB, free: 2.402 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.052e-05/0.1227, allocations: 11.94 kB / 483.4 MB, free: 2.391 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.084e-05/0.1227, allocations: 3.984 kB / 483.4 MB, free: 2.387 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008273/0.1235, allocations: 1.785 MB / 485.1 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.1235, allocations: 7.922 kB / 485.2 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007073/0.1242, allocations: 327.4 kB / 485.5 MB, free: 192 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.562e-05/0.1243, allocations: 93 kB / 485.6 MB, free: 80 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.573e-05/0.1243, allocations: 4 kB / 485.6 MB, free: 76 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002192/0.1246, allocations: 7.984 kB / 485.6 MB, free: 68 kB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.475e-05/0.1246, allocations: 19.92 kB / 485.6 MB, free: 48 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.549e-05/0.1247, allocations: 15.97 kB / 485.6 MB, free: 32 kB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001313/0.1248, allocations: 135.9 kB / 485.7 MB, free: 15.9 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.1248, allocations: 0 / 485.7 MB, free: 15.9 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003809/0.1252, allocations: 59.84 kB / 485.8 MB, free: 15.84 MB / 366.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.0002275/0.1254, allocations: 135.4 kB / 485.9 MB, free: 15.7 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008822/0.1263, allocations: 248 kB / 486.2 MB, free: 15.45 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.1263, allocations: 0 / 486.2 MB, free: 15.45 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004789/0.1268, allocations: 139.8 kB / 486.3 MB, free: 15.32 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003236/0.1272, allocations: 15.94 kB / 486.3 MB, free: 15.3 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008451/0.128, allocations: 468 kB / 486.8 MB, free: 14.82 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002826/0.1283, allocations: 0.7358 MB / 487.5 MB, free: 14.06 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001322/0.1285, allocations: 39.38 kB / 487.6 MB, free: 14.02 MB / 366.1 MB Notification: Performance of SimCode: time 6.11e-07/0.1285, allocations: 4 kB / 487.6 MB, free: 14.02 MB / 366.1 MB Notification: Performance of Templates: time 0.007494/0.136, allocations: 4.879 MB / 492.4 MB, free: 9.137 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_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_volumeFlowRate_DPMFLOW/dp_volumeFlowRate_DPMFLOW.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches