Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001544/0.001544, allocations: 197.8 kB / 17.08 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.2/1.2, allocations: 227.2 MB / 245 MB, free: 5.766 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008601/0.0008599, allocations: 102.2 kB / 297.3 MB, free: 5.957 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3081/0.3081, allocations: 45.22 MB / 394.7 MB, free: 31.7 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000346/0.0003464, allocations: 8 kB / 468.4 MB, free: 7.691 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2736/0.274, allocations: 63.24 MB / 0.5192 GB, free: 37.34 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1013/0.3753, allocations: 91.61 MB / 0.6087 GB, free: 11.82 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002808/0.3756, allocations: 99.73 kB / 0.6088 GB, free: 11.73 MB / 426.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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 trunk/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.02274/0.3983, allocations: 7.996 MB / 0.6166 GB, free: 3.688 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.3984, allocations: 0 / 0.6166 GB, free: 3.688 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.069e-05/0.3984, allocations: 4 kB / 0.6166 GB, free: 3.684 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.0004971/0.3989, allocations: 458.7 kB / 0.617 GB, free: 3.188 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.381e-05/0.3989, allocations: 8.031 kB / 0.617 GB, free: 3.18 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000678/0.3996, allocations: 91.67 kB / 0.6171 GB, free: 3.09 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002498/0.3999, allocations: 238.6 kB / 0.6173 GB, free: 2.816 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.499e-05/0.3999, allocations: 8 kB / 0.6173 GB, free: 2.809 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.16e-05/0.3999, allocations: 16 kB / 0.6174 GB, free: 2.793 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006307/0.4006, allocations: 320.2 kB / 0.6177 GB, free: 2.48 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.638e-06/0.4006, allocations: 3.984 kB / 0.6177 GB, free: 2.477 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.415e-05/0.4006, allocations: 4 kB / 0.6177 GB, free: 2.473 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.042e-05/0.4007, allocations: 12 kB / 0.6177 GB, free: 2.461 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007323/0.4014, allocations: 327.7 kB / 0.618 GB, free: 2.141 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001416/0.4028, allocations: 0.8395 MB / 0.6188 GB, free: 1.211 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006681/0.4035, allocations: 234.2 kB / 0.619 GB, free: 0.9727 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.867e-05/0.4035, allocations: 4.031 kB / 0.619 GB, free: 0.9688 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.404e-05/0.4036, allocations: 34.56 kB / 0.6191 GB, free: 0.9258 MB / 426.7 MB Notification: Performance of pre-optimization done (n=10): time 1.202e-06/0.4036, allocations: 0 / 0.6191 GB, free: 0.9258 MB / 426.7 MB Notification: Performance of matching and sorting (n=10): time 0.0009458/0.4045, allocations: 305.5 kB / 0.6194 GB, free: 0.6211 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.708e-05/0.4046, allocations: 51.41 kB / 0.6194 GB, free: 0.5586 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001666/0.4047, allocations: 170.4 kB / 0.6196 GB, free: 392 kB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.332e-05/0.4048, allocations: 25.7 kB / 0.6196 GB, free: 360 kB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.066e-05/0.4049, allocations: 139.6 kB / 0.6197 GB, free: 216 kB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.576e-05/0.4049, allocations: 39.44 kB / 0.6198 GB, free: 176 kB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.515e-05/0.4049, allocations: 7.938 kB / 0.6198 GB, free: 168 kB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001166/0.405, allocations: 322.8 kB / 0.6201 GB, free: 15.84 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002842/0.4053, allocations: 91.83 kB / 0.6202 GB, free: 15.75 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002991/0.4056, allocations: 142.8 kB / 0.6203 GB, free: 15.59 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002906/0.4059, allocations: 99.91 kB / 0.6204 GB, free: 15.49 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.406, allocations: 0 / 0.6204 GB, free: 15.49 MB / 442.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0006918/0.4067, allocations: 285.4 kB / 0.6207 GB, free: 15.2 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.277e-05/0.4067, allocations: 4 kB / 0.6207 GB, free: 15.2 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.4067, allocations: 4 kB / 0.6207 GB, free: 15.2 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.103e-05/0.4067, allocations: 4.094 kB / 0.6207 GB, free: 15.19 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004351/0.4071, allocations: 83.84 kB / 0.6208 GB, free: 15.11 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008247/0.408, allocations: 1.789 MB / 0.6225 GB, free: 13.25 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000221/0.4082, allocations: 32.03 kB / 0.6226 GB, free: 13.22 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.907e-05/0.4082, allocations: 15.97 kB / 0.6226 GB, free: 13.2 MB / 442.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.0001219/0.4084, allocations: 141.8 kB / 0.6227 GB, free: 13.05 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.835e-05/0.4084, allocations: 11.86 kB / 0.6227 GB, free: 13.04 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007559/0.4092, allocations: 274.6 kB / 0.623 GB, free: 12.77 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.068e-06/0.4092, allocations: 4 kB / 0.623 GB, free: 12.77 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.4092, allocations: 0 / 0.623 GB, free: 12.77 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.4092, allocations: 0 / 0.623 GB, free: 12.77 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002586/0.4095, allocations: 253.6 kB / 0.6232 GB, free: 12.47 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.4095, allocations: 0 / 0.6232 GB, free: 12.47 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003702/0.4099, allocations: 67.84 kB / 0.6233 GB, free: 12.4 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.178e-06/0.4099, allocations: 3.953 kB / 0.6233 GB, free: 12.4 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.349e-05/0.4099, allocations: 11.98 kB / 0.6233 GB, free: 12.39 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007781/0.4107, allocations: 1.789 MB / 0.625 GB, free: 10.53 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.4107, allocations: 0 / 0.625 GB, free: 10.53 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006463/0.4114, allocations: 327.4 kB / 0.6254 GB, free: 10.19 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.591e-05/0.4114, allocations: 92.86 kB / 0.6255 GB, free: 10.08 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.941e-05/0.4114, allocations: 3.953 kB / 0.6255 GB, free: 10.08 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002194/0.4117, allocations: 15.98 kB / 0.6255 GB, free: 10.06 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.685e-05/0.4117, allocations: 15.97 kB / 0.6255 GB, free: 10.05 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.122e-05/0.4117, allocations: 7.984 kB / 0.6255 GB, free: 10.04 MB / 442.7 MB Notification: Performance of sorting global known variables: time 9.292e-05/0.4118, allocations: 146 kB / 0.6256 GB, free: 9.898 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4119, allocations: 0 / 0.6256 GB, free: 9.898 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0003442/0.4122, allocations: 71.94 kB / 0.6257 GB, free: 9.828 MB / 442.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.0002169/0.4124, allocations: 145.4 kB / 0.6258 GB, free: 9.676 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.000742/0.4132, allocations: 235.6 kB / 0.6261 GB, free: 9.445 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.4132, allocations: 448 / 0.6261 GB, free: 9.445 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004286/0.4136, allocations: 131.8 kB / 0.6262 GB, free: 9.316 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001575/0.4138, allocations: 14.25 kB / 0.6262 GB, free: 9.305 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006526/0.4145, allocations: 424.8 kB / 0.6266 GB, free: 8.871 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002621/0.4147, allocations: 0.7513 MB / 0.6273 GB, free: 8.094 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0002092/0.4149, allocations: 61.05 kB / 0.6274 GB, free: 8.031 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.757e-05/0.415, allocations: 31.39 kB / 0.6274 GB, free: 8.004 MB / 442.7 MB Notification: Performance of SimCode: time 2.31e-07/0.415, allocations: 0 / 0.6274 GB, free: 8.004 MB / 442.7 MB Notification: Performance of Templates: time 0.005016/0.4201, allocations: 2.77 MB / 0.6301 GB, free: 5.266 MB / 442.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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","../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches