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/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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.0009244/0.0009246, allocations: 179 kB / 18.09 MB, free: 3.75 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.275/1.275, allocations: 223.3 MB / 242.1 MB, free: 11.71 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008283/0.0008282, allocations: 102.4 kB / 293.3 MB, free: 10.78 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3444/0.3444, allocations: 44.15 MB / 388.5 MB, free: 38.72 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00042/0.0004204, allocations: 16 kB / 461.1 MB, free: 1.297 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3221/0.3225, allocations: 61.88 MB / 0.5108 GB, free: 38.24 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.103/0.4256, allocations: 90.55 MB / 0.5992 GB, free: 4.516 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002743/0.4259, allocations: 103.9 kB / 0.5993 GB, free: 4.418 MB / 410.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/Fluid/Dissipation.mo:5503:11-5506:61:writable] Error: Type mismatch in binding rho = rho, expected subtype of Real[3], got type Real. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/Fluid/Dissipation.mo:5514:11-5517:59:writable] Error: Type mismatch in binding rho = rho, expected subtype of Real[3], got type Real. Notification: Performance of FrontEnd - DAE generated: time 0.0219/0.4478, allocations: 7.933 MB / 0.607 GB, free: 12.45 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.254e-06/0.4478, allocations: 0 / 0.607 GB, free: 12.45 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.182e-05/0.4479, allocations: 4 kB / 0.607 GB, free: 12.45 MB / 426.7 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.0005182/0.4484, allocations: 451 kB / 0.6075 GB, free: 11.95 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.732e-05/0.4484, allocations: 16.02 kB / 0.6075 GB, free: 11.94 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005854/0.449, allocations: 88.62 kB / 0.6076 GB, free: 11.85 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002359/0.4493, allocations: 232 kB / 0.6078 GB, free: 11.59 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.867e-05/0.4493, allocations: 16.31 kB / 0.6078 GB, free: 11.57 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.281e-05/0.4493, allocations: 16.31 kB / 0.6078 GB, free: 11.55 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006205/0.45, allocations: 315.3 kB / 0.6081 GB, free: 11.25 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/0.45, allocations: 192 / 0.6081 GB, free: 11.25 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.68e-05/0.45, allocations: 7.938 kB / 0.6081 GB, free: 11.24 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.889e-05/0.4501, allocations: 19.98 kB / 0.6081 GB, free: 11.22 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007096/0.4508, allocations: 323.7 kB / 0.6085 GB, free: 10.9 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001319/0.4521, allocations: 0.8299 MB / 0.6093 GB, free: 9.98 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006303/0.4527, allocations: 230.3 kB / 0.6095 GB, free: 9.746 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002633/0.453, allocations: 92.81 kB / 0.6096 GB, free: 9.652 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.547e-05/0.4531, allocations: 4 kB / 0.6096 GB, free: 9.648 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.086e-05/0.4531, allocations: 38.56 kB / 0.6096 GB, free: 9.602 MB / 426.7 MB Notification: Performance of pre-optimization done (n=10): time 1.202e-06/0.4531, allocations: 0 / 0.6096 GB, free: 9.602 MB / 426.7 MB Notification: Performance of matching and sorting (n=10): time 0.0009296/0.454, allocations: 301.2 kB / 0.6099 GB, free: 9.301 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.654e-05/0.4541, allocations: 59.34 kB / 0.61 GB, free: 9.23 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001736/0.4543, allocations: 191.3 kB / 0.6101 GB, free: 9.027 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.151e-05/0.4543, allocations: 25.7 kB / 0.6102 GB, free: 8.996 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.874e-05/0.4544, allocations: 134.3 kB / 0.6103 GB, free: 8.863 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.455e-05/0.4544, allocations: 39.48 kB / 0.6103 GB, free: 8.824 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.256e-05/0.4544, allocations: 0 / 0.6103 GB, free: 8.824 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000112/0.4545, allocations: 330.8 kB / 0.6106 GB, free: 8.492 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000258/0.4548, allocations: 87.91 kB / 0.6107 GB, free: 8.406 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002869/0.4551, allocations: 139.1 kB / 0.6109 GB, free: 8.246 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005401/0.4557, allocations: 238.5 kB / 0.6111 GB, free: 7.988 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.4557, allocations: 0 / 0.6111 GB, free: 7.988 MB / 426.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0006579/0.4563, allocations: 285 kB / 0.6114 GB, free: 7.703 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.583e-05/0.4564, allocations: 4 kB / 0.6114 GB, free: 7.699 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.234e-06/0.4564, allocations: 4 kB / 0.6114 GB, free: 7.695 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.355e-05/0.4564, allocations: 4 kB / 0.6114 GB, free: 7.691 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003954/0.4568, allocations: 87.8 kB / 0.6115 GB, free: 7.605 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008997/0.4577, allocations: 1.785 MB / 0.6132 GB, free: 5.75 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000196/0.4579, allocations: 32.11 kB / 0.6132 GB, free: 5.719 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.89e-05/0.4579, allocations: 7.984 kB / 0.6132 GB, free: 5.711 MB / 426.7 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 (linear and non-linear blocks): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001342/0.4581, allocations: 145.8 kB / 0.6134 GB, free: 5.559 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.893e-05/0.4581, allocations: 11.81 kB / 0.6134 GB, free: 5.547 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007436/0.4589, allocations: 278.7 kB / 0.6137 GB, free: 5.27 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.4589, allocations: 0 / 0.6137 GB, free: 5.27 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-06/0.4589, allocations: 0 / 0.6137 GB, free: 5.27 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.4589, allocations: 3.984 kB / 0.6137 GB, free: 5.266 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003063/0.4592, allocations: 257.5 kB / 0.6139 GB, free: 4.965 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.4592, allocations: 4 kB / 0.6139 GB, free: 4.961 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003283/0.4596, allocations: 72.02 kB / 0.614 GB, free: 4.891 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.587e-06/0.4596, allocations: 3.938 kB / 0.614 GB, free: 4.887 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.495e-05/0.4596, allocations: 15.92 kB / 0.614 GB, free: 4.871 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009436/0.4606, allocations: 1.781 MB / 0.6157 GB, free: 3.02 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.017e-06/0.4606, allocations: 8.016 kB / 0.6157 GB, free: 3.012 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000656/0.4612, allocations: 323.3 kB / 0.616 GB, free: 2.68 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.661e-05/0.4613, allocations: 92.95 kB / 0.6161 GB, free: 2.57 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.122e-05/0.4614, allocations: 0 / 0.6161 GB, free: 2.57 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001849/0.4616, allocations: 11.98 kB / 0.6161 GB, free: 2.559 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.856e-05/0.4616, allocations: 15.97 kB / 0.6162 GB, free: 2.543 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.98e-05/0.4616, allocations: 7.984 kB / 0.6162 GB, free: 2.535 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001452/0.4618, allocations: 141.3 kB / 0.6163 GB, free: 2.398 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.053e-06/0.4618, allocations: 0 / 0.6163 GB, free: 2.398 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.000385/0.4622, allocations: 75.77 kB / 0.6164 GB, free: 2.324 MB / 426.7 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 (linear and non-linear blocks): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002724/0.4625, allocations: 153.9 kB / 0.6165 GB, free: 2.168 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0007535/0.4632, allocations: 247.6 kB / 0.6168 GB, free: 1.926 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.4633, allocations: 4 kB / 0.6168 GB, free: 1.922 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000421/0.4637, allocations: 140.5 kB / 0.6169 GB, free: 1.785 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002769/0.464, allocations: 11.94 kB / 0.6169 GB, free: 1.773 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007801/0.4648, allocations: 428.6 kB / 0.6173 GB, free: 1.332 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003017/0.4651, allocations: 0.7436 MB / 0.618 GB, free: 0.5625 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0002176/0.4653, allocations: 61.05 kB / 0.6181 GB, free: 0.5039 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.474e-05/0.4654, allocations: 23.41 kB / 0.6181 GB, free: 492 kB / 426.7 MB Notification: Performance of SimCode: time 2.3e-07/0.4654, allocations: 0 / 0.6181 GB, free: 492 kB / 426.7 MB Notification: Performance of Templates: time 0.006156/0.4715, allocations: 2.826 MB / 0.6209 GB, free: 13.7 MB / 442.7 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","../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