Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_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_nominalDensityViscosity_DPMFLOW,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eta.1.|eta.2.|eta.3.|rho.1.|rho.2.|rho.3.|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_nominalDensityViscosity_DPMFLOW") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eta.1.|eta.2.|eta.3.|rho.1.|rho.2.|rho.3.|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_nominalDensityViscosity_DPMFLOW") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001523/0.001523, allocations: 201.8 kB / 17.08 MB, free: 5.059 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.175/1.175, allocations: 227.2 MB / 245 MB, free: 7.613 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009293/0.0009292, allocations: 99.77 kB / 297.3 MB, free: 6.203 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2953/0.2953, allocations: 45.22 MB / 394.7 MB, free: 31.7 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002915/0.0002916, allocations: 8 kB / 468.4 MB, free: 7.742 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3315/0.3319, allocations: 63.24 MB / 0.5192 GB, free: 43.7 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.106/0.4379, allocations: 93.22 MB / 0.6102 GB, free: 12.43 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002924/0.4383, allocations: 103.7 kB / 0.6103 GB, free: 12.33 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01679/0.4551, allocations: 6.111 MB / 0.6163 GB, free: 6.168 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.877e-06/0.4551, allocations: 3.984 kB / 0.6163 GB, free: 6.164 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.339e-05/0.4551, allocations: 4 kB / 0.6163 GB, free: 6.16 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: 70 * Number of variables: 70 Notification: Performance of Generate backend data structure: time 0.0006806/0.4558, allocations: 495 kB / 0.6168 GB, free: 5.629 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.152e-05/0.4559, allocations: 11.97 kB / 0.6168 GB, free: 5.617 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001369/0.4573, allocations: 203.3 kB / 0.617 GB, free: 5.418 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000432/0.4577, allocations: 270.6 kB / 0.6172 GB, free: 5.113 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.355e-05/0.4578, allocations: 20.56 kB / 0.6173 GB, free: 5.094 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.589e-05/0.4578, allocations: 24 kB / 0.6173 GB, free: 5.07 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009565/0.4588, allocations: 496.4 kB / 0.6178 GB, free: 4.578 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.089e-05/0.4588, allocations: 0 / 0.6178 GB, free: 4.578 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.79e-05/0.4589, allocations: 12 kB / 0.6178 GB, free: 4.566 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.947e-05/0.4589, allocations: 20.55 kB / 0.6178 GB, free: 4.547 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00118/0.4601, allocations: 0.5915 MB / 0.6184 GB, free: 3.953 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002192/0.4623, allocations: 1.175 MB / 0.6195 GB, free: 2.703 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005935/0.4629, allocations: 174.4 kB / 0.6197 GB, free: 2.523 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.36e-05/0.463, allocations: 3.938 kB / 0.6197 GB, free: 2.52 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.01e-05/0.463, allocations: 34.56 kB / 0.6197 GB, free: 2.477 MB / 426.7 MB Notification: Performance of pre-optimization done (n=7): time 1.322e-06/0.463, allocations: 0 / 0.6197 GB, free: 2.477 MB / 426.7 MB Notification: Performance of matching and sorting (n=7): time 0.001144/0.4641, allocations: 305.2 kB / 0.62 GB, free: 2.172 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.187e-05/0.4642, allocations: 55.34 kB / 0.6201 GB, free: 2.105 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002546/0.4644, allocations: 261.6 kB / 0.6203 GB, free: 1.844 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.581e-05/0.4645, allocations: 25.7 kB / 0.6203 GB, free: 1.812 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001025/0.4646, allocations: 163.5 kB / 0.6205 GB, free: 1.648 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.202e-05/0.4646, allocations: 31.78 kB / 0.6205 GB, free: 1.617 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.654e-05/0.4646, allocations: 4 kB / 0.6205 GB, free: 1.613 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.00011/0.4648, allocations: 334.8 kB / 0.6209 GB, free: 1.277 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003409/0.4651, allocations: 95.89 kB / 0.6209 GB, free: 1.184 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003354/0.4654, allocations: 123.3 kB / 0.6211 GB, free: 1.051 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003342/0.4658, allocations: 95.91 kB / 0.6212 GB, free: 0.957 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.4658, allocations: 4 kB / 0.6212 GB, free: 0.9531 MB / 426.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0007781/0.4666, allocations: 265.2 kB / 0.6214 GB, free: 0.6875 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.984e-05/0.4666, allocations: 4 kB / 0.6214 GB, free: 0.6836 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.4666, allocations: 4 kB / 0.6214 GB, free: 0.6797 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.848e-05/0.4667, allocations: 96 / 0.6214 GB, free: 0.6797 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005423/0.4721, allocations: 452.2 kB / 0.6218 GB, free: 244 kB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003068/0.4752, allocations: 1.945 MB / 0.6237 GB, free: 14.22 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004568/0.4756, allocations: 51.84 kB / 0.6238 GB, free: 14.17 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.86e-05/0.4757, allocations: 7.984 kB / 0.6238 GB, free: 14.16 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (13): * Single equations (assignments): 10 * 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.0001996/0.4759, allocations: 153.8 kB / 0.6239 GB, free: 14 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.326e-05/0.476, allocations: 19.81 kB / 0.624 GB, free: 13.98 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.897e-05/0.476, allocations: 29.7 kB / 0.624 GB, free: 13.95 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.716e-06/0.476, allocations: 0 / 0.624 GB, free: 13.95 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.4761, allocations: 0 / 0.624 GB, free: 13.95 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.4761, allocations: 0 / 0.624 GB, free: 13.95 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003649/0.4764, allocations: 301.3 kB / 0.6243 GB, free: 13.61 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.4764, allocations: 0 / 0.6243 GB, free: 13.61 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005217/0.4817, allocations: 435.4 kB / 0.6247 GB, free: 13.18 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.001e-05/0.4817, allocations: 0 / 0.6247 GB, free: 13.18 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.411e-05/0.4817, allocations: 11.92 kB / 0.6247 GB, free: 13.17 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002968/0.4847, allocations: 1.945 MB / 0.6266 GB, free: 11.16 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.4847, allocations: 0 / 0.6266 GB, free: 11.16 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007948/0.4855, allocations: 327.1 kB / 0.6269 GB, free: 10.82 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.184e-05/0.4856, allocations: 96.91 kB / 0.627 GB, free: 10.71 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.185e-05/0.4857, allocations: 4 kB / 0.627 GB, free: 10.7 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003879/0.4861, allocations: 23.97 kB / 0.627 GB, free: 10.68 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.932e-05/0.4861, allocations: 7.922 kB / 0.627 GB, free: 10.67 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.095e-05/0.4862, allocations: 7.984 kB / 0.6271 GB, free: 10.66 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0001972/0.4864, allocations: 205.9 kB / 0.6273 GB, free: 10.46 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.31e-07/0.4864, allocations: 0 / 0.6273 GB, free: 10.46 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0003885/0.4868, allocations: 71.84 kB / 0.6273 GB, free: 10.39 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 (7): * Single equations (assignments): 4 * 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.0002645/0.4871, allocations: 149.5 kB / 0.6275 GB, free: 10.24 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.005688/0.4928, allocations: 0.5357 MB / 0.628 GB, free: 9.707 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/0.4928, allocations: 0 / 0.628 GB, free: 9.707 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005253/0.498, allocations: 423.5 kB / 0.6284 GB, free: 9.293 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003657/0.4984, allocations: 52.34 kB / 0.6284 GB, free: 9.246 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001101/0.4995, allocations: 0.5342 MB / 0.629 GB, free: 8.688 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004274/0.5, allocations: 0.7794 MB / 0.6297 GB, free: 7.883 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0001958/0.5002, allocations: 49.92 kB / 0.6298 GB, free: 7.832 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.437e-05/0.5003, allocations: 27.42 kB / 0.6298 GB, free: 7.805 MB / 442.7 MB Notification: Performance of SimCode: time 1.633e-06/0.5003, allocations: 0 / 0.6298 GB, free: 7.805 MB / 442.7 MB Notification: Performance of Templates: time 0.009702/0.51, allocations: 5.465 MB / 0.6351 GB, free: 2.402 MB / 442.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_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_nominalDensityViscosity_DPMFLOW/dp_nominalDensityViscosity_DPMFLOW.csv","../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches