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.001445/0.001445, allocations: 196.6 kB / 18.1 MB, free: 3.617 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.373/1.373, allocations: 226.5 MB / 245.4 MB, free: 8.207 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009291/0.0009291, allocations: 100 kB / 297.5 MB, free: 6.906 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3374/0.3374, allocations: 44.82 MB / 394.3 MB, free: 35.77 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003584/0.0003587, allocations: 11.98 kB / 467.9 MB, free: 12.04 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3437/0.3441, allocations: 62.96 MB / 0.5184 GB, free: 37.43 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1412/0.4853, allocations: 93.09 MB / 0.6094 GB, free: 12.19 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000379/0.4858, allocations: 103.9 kB / 0.6095 GB, free: 12.09 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02387/0.5097, allocations: 6.103 MB / 0.6154 GB, free: 5.879 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.366e-06/0.5097, allocations: 0 / 0.6154 GB, free: 5.879 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.974e-05/0.5098, allocations: 4 kB / 0.6154 GB, free: 5.875 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.0009966/0.5108, allocations: 0.4914 MB / 0.6159 GB, free: 5.336 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.116e-05/0.5108, allocations: 8.031 kB / 0.6159 GB, free: 5.328 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001958/0.5128, allocations: 200.2 kB / 0.6161 GB, free: 5.133 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005904/0.5134, allocations: 271.9 kB / 0.6164 GB, free: 4.828 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.676e-05/0.5135, allocations: 28.94 kB / 0.6164 GB, free: 4.801 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.891e-05/0.5136, allocations: 28.38 kB / 0.6164 GB, free: 4.773 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001602/0.5153, allocations: 485.1 kB / 0.6169 GB, free: 4.297 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.103e-05/0.5153, allocations: 7.938 kB / 0.6169 GB, free: 4.289 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.923e-05/0.5154, allocations: 12 kB / 0.6169 GB, free: 4.277 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.783e-05/0.5155, allocations: 24.48 kB / 0.6169 GB, free: 4.254 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001956/0.5174, allocations: 0.5915 MB / 0.6175 GB, free: 3.66 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003229/0.5207, allocations: 1.157 MB / 0.6186 GB, free: 2.422 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009752/0.5217, allocations: 182.3 kB / 0.6188 GB, free: 2.234 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005434/0.5222, allocations: 88.77 kB / 0.6189 GB, free: 2.145 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.466e-05/0.5223, allocations: 8.141 kB / 0.6189 GB, free: 2.137 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.944e-05/0.5223, allocations: 38.5 kB / 0.6189 GB, free: 2.09 MB / 426.7 MB Notification: Performance of pre-optimization done (n=7): time 3.627e-06/0.5223, allocations: 3.938 kB / 0.6189 GB, free: 2.086 MB / 426.7 MB Notification: Performance of matching and sorting (n=7): time 0.001786/0.5241, allocations: 309.1 kB / 0.6192 GB, free: 1.777 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.304e-05/0.5242, allocations: 51.41 kB / 0.6193 GB, free: 1.715 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004304/0.5246, allocations: 282.5 kB / 0.6195 GB, free: 1.426 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.452e-05/0.5247, allocations: 25.7 kB / 0.6196 GB, free: 1.395 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001566/0.5249, allocations: 167.5 kB / 0.6197 GB, free: 1.227 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.569e-05/0.5249, allocations: 27.66 kB / 0.6198 GB, free: 1.199 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.268e-05/0.525, allocations: 4 kB / 0.6198 GB, free: 1.195 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001748/0.5251, allocations: 330.8 kB / 0.6201 GB, free: 0.8633 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000505/0.5257, allocations: 91.91 kB / 0.6202 GB, free: 0.7734 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005504/0.5262, allocations: 123.3 kB / 0.6203 GB, free: 0.6406 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001023/0.5273, allocations: 219.2 kB / 0.6205 GB, free: 424 kB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/0.5273, allocations: 0 / 0.6205 GB, free: 424 kB / 426.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001211/0.5285, allocations: 269.1 kB / 0.6207 GB, free: 148 kB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.611e-05/0.5286, allocations: 8 kB / 0.6208 GB, free: 140 kB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.225e-06/0.5286, allocations: 3.938 kB / 0.6208 GB, free: 136 kB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.08e-05/0.5286, allocations: 0 / 0.6208 GB, free: 136 kB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007257/0.5359, allocations: 452.2 kB / 0.6212 GB, free: 15.69 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00351/0.5394, allocations: 1.938 MB / 0.6231 GB, free: 13.68 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005617/0.54, allocations: 47.75 kB / 0.6231 GB, free: 13.64 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.383e-05/0.54, allocations: 7.984 kB / 0.6231 GB, free: 13.63 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.0002954/0.5404, allocations: 161.7 kB / 0.6233 GB, free: 13.46 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.179e-05/0.5405, allocations: 19.81 kB / 0.6233 GB, free: 13.44 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001065/0.5406, allocations: 29.64 kB / 0.6233 GB, free: 13.42 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.138e-06/0.5406, allocations: 0 / 0.6233 GB, free: 13.42 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/0.5406, allocations: 0 / 0.6233 GB, free: 13.42 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.083e-06/0.5406, allocations: 4 kB / 0.6233 GB, free: 13.41 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000581/0.5412, allocations: 289.4 kB / 0.6236 GB, free: 13.08 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.5412, allocations: 4 kB / 0.6236 GB, free: 13.08 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007242/0.5485, allocations: 431.4 kB / 0.624 GB, free: 12.66 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.766e-06/0.5485, allocations: 0 / 0.624 GB, free: 12.66 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.209e-05/0.5486, allocations: 7.984 kB / 0.624 GB, free: 12.65 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003362/0.552, allocations: 1.934 MB / 0.6259 GB, free: 10.64 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.09e-06/0.552, allocations: 8.094 kB / 0.6259 GB, free: 10.64 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001246/0.5532, allocations: 335 kB / 0.6263 GB, free: 10.29 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001132/0.5534, allocations: 92.83 kB / 0.6263 GB, free: 10.18 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.143e-05/0.5534, allocations: 11.92 kB / 0.6264 GB, free: 10.17 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004651/0.5539, allocations: 19.97 kB / 0.6264 GB, free: 10.15 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001224/0.5541, allocations: 11.98 kB / 0.6264 GB, free: 10.14 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.243e-05/0.5541, allocations: 4 kB / 0.6264 GB, free: 10.14 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0003231/0.5544, allocations: 209.9 kB / 0.6266 GB, free: 9.934 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.91e-07/0.5545, allocations: 0 / 0.6266 GB, free: 9.934 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0006083/0.5551, allocations: 75.78 kB / 0.6267 GB, free: 9.859 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.0003308/0.5554, allocations: 144.5 kB / 0.6268 GB, free: 9.707 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.007075/0.5625, allocations: 0.5773 MB / 0.6274 GB, free: 9.129 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.72e-06/0.5626, allocations: 0 / 0.6274 GB, free: 9.129 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005763/0.5683, allocations: 487.4 kB / 0.6278 GB, free: 8.652 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006341/0.569, allocations: 45.22 kB / 0.6279 GB, free: 8.609 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001497/0.5705, allocations: 0.53 MB / 0.6284 GB, free: 8.051 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000487/0.571, allocations: 0.7833 MB / 0.6292 GB, free: 7.242 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0002966/0.5713, allocations: 45.92 kB / 0.6292 GB, free: 7.195 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.477e-05/0.5715, allocations: 23.42 kB / 0.6292 GB, free: 7.172 MB / 442.7 MB Notification: Performance of SimCode: time 1.282e-06/0.5715, allocations: 0 / 0.6292 GB, free: 7.172 MB / 442.7 MB Notification: Performance of Templates: time 0.01359/0.5851, allocations: 5.16 MB / 0.6343 GB, free: 2.082 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/jenkins1/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