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.001108/0.001108, allocations: 109.4 kB / 17.78 MB, free: 5.293 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.001216/0.001216, allocations: 188.1 kB / 18.71 MB, free: 4.363 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.332/1.332, allocations: 222.9 MB / 242.4 MB, free: 15.06 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.2003/0.2003, allocations: 44.19 MB / 336.7 MB, free: 2.625 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001435/0.001435, allocations: 59.91 kB / 470.6 MB, free: 13.1 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3936/0.3951, allocations: 60.82 MB / 0.5189 GB, free: 3.852 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW): time 0.003001/0.3981, allocations: 1.651 MB / 0.5205 GB, free: 2.719 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001411/0.3996, allocations: 0.8728 MB / 0.5214 GB, free: 2.121 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.856e-05/0.3996, allocations: 1.125 kB / 0.5214 GB, free: 2.121 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002277/0.3999, allocations: 36.61 kB / 0.5214 GB, free: 2.102 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001704/0.4001, allocations: 45.11 kB / 0.5215 GB, free: 2.078 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000432/0.4005, allocations: 139.6 kB / 0.5216 GB, free: 2.02 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002043/0.4007, allocations: 142.9 kB / 0.5217 GB, free: 1.957 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.079e-05/0.4008, allocations: 12.98 kB / 0.5218 GB, free: 1.949 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.192e-05/0.4009, allocations: 56.11 kB / 0.5218 GB, free: 1.926 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000132/0.401, allocations: 67.31 kB / 0.5219 GB, free: 1.898 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.936e-05/0.4011, allocations: 8.531 kB / 0.5219 GB, free: 1.895 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000398/0.4015, allocations: 207.3 kB / 0.5221 GB, free: 1.832 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001051/0.4016, allocations: 41.38 kB / 0.5221 GB, free: 1.816 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.452e-05/0.4017, allocations: 55.55 kB / 0.5222 GB, free: 1.785 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005078/0.4022, allocations: 246.2 kB / 0.5224 GB, free: 1.695 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.4022, allocations: 0 / 0.5224 GB, free: 1.695 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.314e-06/0.4022, allocations: 0 / 0.5224 GB, free: 1.695 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.213e-06/0.4022, allocations: 1.188 kB / 0.5224 GB, free: 1.695 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.0006528/0.4029, allocations: 469.5 kB / 0.5229 GB, free: 1.27 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.068e-05/0.4029, allocations: 9.562 kB / 0.5229 GB, free: 1.27 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001056/0.404, allocations: 119.7 kB / 0.523 GB, free: 1.25 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003179/0.4043, allocations: 230.9 kB / 0.5232 GB, free: 1.027 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.517e-05/0.4043, allocations: 8.75 kB / 0.5232 GB, free: 1.023 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.616e-05/0.4044, allocations: 12.91 kB / 0.5232 GB, free: 1.02 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007373/0.4051, allocations: 325.9 kB / 0.5235 GB, free: 0.9062 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.152e-05/0.4051, allocations: 0 / 0.5235 GB, free: 0.9062 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.564e-05/0.4052, allocations: 10.5 kB / 0.5235 GB, free: 0.8984 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.698e-05/0.4052, allocations: 21.06 kB / 0.5236 GB, free: 0.8984 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008039/0.406, allocations: 317 kB / 0.5239 GB, free: 0.8242 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001445/0.4075, allocations: 0.8386 MB / 0.5247 GB, free: 216 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006987/0.4082, allocations: 219 kB / 0.5249 GB, free: 132 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002689/0.4085, allocations: 89.2 kB / 0.525 GB, free: 84 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.779e-05/0.4085, allocations: 2.531 kB / 0.525 GB, free: 84 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.269e-05/0.4086, allocations: 31.44 kB / 0.525 GB, free: 44 kB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 2.154e-06/0.4086, allocations: 96 / 0.525 GB, free: 44 kB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.001042/0.4096, allocations: 300.2 kB / 0.5253 GB, free: 15.88 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.773e-05/0.4097, allocations: 56.44 kB / 0.5253 GB, free: 15.82 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000222/0.4099, allocations: 182 kB / 0.5255 GB, free: 15.68 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.891e-05/0.4099, allocations: 30.86 kB / 0.5255 GB, free: 15.64 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001232/0.4101, allocations: 136.7 kB / 0.5257 GB, free: 15.51 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.215e-05/0.4101, allocations: 40.14 kB / 0.5257 GB, free: 15.48 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001114/0.4102, allocations: 46.92 kB / 0.5258 GB, free: 15.44 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000178/0.4104, allocations: 331 kB / 0.5261 GB, free: 15.11 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003094/0.4108, allocations: 82.08 kB / 0.5262 GB, free: 15.08 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003568/0.4111, allocations: 134.9 kB / 0.5263 GB, free: 14.97 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006768/0.4118, allocations: 224.5 kB / 0.5265 GB, free: 14.82 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.4118, allocations: 7.938 kB / 0.5265 GB, free: 14.82 MB / 398.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.000805/0.4126, allocations: 273.7 kB / 0.5268 GB, free: 14.67 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.363e-05/0.4127, allocations: 5.5 kB / 0.5268 GB, free: 14.67 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.818e-06/0.4127, allocations: 2.75 kB / 0.5268 GB, free: 14.67 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.461e-05/0.4127, allocations: 6.688 kB / 0.5268 GB, free: 14.66 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004711/0.4132, allocations: 85.58 kB / 0.5269 GB, free: 14.63 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00118/0.4144, allocations: 1.784 MB / 0.5286 GB, free: 12.83 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002122/0.4146, allocations: 25.45 kB / 0.5286 GB, free: 12.81 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.785e-05/0.4146, allocations: 16.23 kB / 0.5286 GB, free: 12.8 MB / 398.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.0001872/0.4148, allocations: 146.2 kB / 0.5288 GB, free: 12.67 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.344e-05/0.4149, allocations: 17.25 kB / 0.5288 GB, free: 12.66 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008192/0.4157, allocations: 265.5 kB / 0.5291 GB, free: 12.49 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/0.4157, allocations: 1.594 kB / 0.5291 GB, free: 12.49 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.491e-06/0.4158, allocations: 0 / 0.5291 GB, free: 12.49 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.938e-06/0.4158, allocations: 0 / 0.5291 GB, free: 12.49 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003256/0.4161, allocations: 249.6 kB / 0.5293 GB, free: 12.25 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.4161, allocations: 0 / 0.5293 GB, free: 12.25 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003562/0.4165, allocations: 71.61 kB / 0.5294 GB, free: 12.22 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.654e-06/0.4165, allocations: 9.281 kB / 0.5294 GB, free: 12.21 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.413e-05/0.4165, allocations: 6.797 kB / 0.5294 GB, free: 12.21 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009326/0.4174, allocations: 1.787 MB / 0.5311 GB, free: 10.4 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.4175, allocations: 0 / 0.5311 GB, free: 10.4 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007099/0.4182, allocations: 314.5 kB / 0.5314 GB, free: 10.18 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.056e-05/0.4183, allocations: 92.84 kB / 0.5315 GB, free: 10.07 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.215e-05/0.4183, allocations: 8.875 kB / 0.5315 GB, free: 10.07 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001921/0.4185, allocations: 12.2 kB / 0.5315 GB, free: 10.06 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.261e-05/0.4186, allocations: 9.422 kB / 0.5315 GB, free: 10.05 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.801e-05/0.4186, allocations: 17.06 kB / 0.5316 GB, free: 10.04 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001119/0.4187, allocations: 137.3 kB / 0.5317 GB, free: 9.941 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4187, allocations: 0 / 0.5317 GB, free: 9.941 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004093/0.4191, allocations: 61.28 kB / 0.5317 GB, free: 9.926 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.0002741/0.4194, allocations: 131.9 kB / 0.5319 GB, free: 9.816 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0008632/0.4203, allocations: 230.6 kB / 0.5321 GB, free: 9.723 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.043e-06/0.4203, allocations: 0 / 0.5321 GB, free: 9.723 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004674/0.4208, allocations: 140.2 kB / 0.5322 GB, free: 9.66 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002775/0.4211, allocations: 11.94 kB / 0.5322 GB, free: 9.652 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008323/0.4219, allocations: 361.6 kB / 0.5326 GB, free: 9.418 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003607/0.4223, allocations: 0.7434 MB / 0.5333 GB, free: 8.688 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002016/0.4225, allocations: 69.69 kB / 0.5334 GB, free: 8.66 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.841e-05/0.4226, allocations: 25.44 kB / 0.5334 GB, free: 8.645 MB / 398.1 MB Notification: Performance of SimCode: time 3.1e-07/0.4226, allocations: 0 / 0.5334 GB, free: 8.645 MB / 398.1 MB Notification: Performance of Templates: time 0.006595/0.4292, allocations: 2.905 MB / 0.5362 GB, free: 7.188 MB / 398.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/jenkins/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/jenkins/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