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/ModelicaServices trunk/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices trunk/package.mo): time 0.001452/0.001452, allocations: 117.6 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00177/0.00177, allocations: 200.7 kB / 18.74 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.497/1.497, allocations: 227.4 MB / 246.9 MB, free: 10.55 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2147/0.2147, allocations: 46.11 MB / 344.3 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002187/0.002187, allocations: 79.88 kB / 481.3 MB, free: 4.023 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4486/0.4508, allocations: 62.43 MB / 0.531 GB, free: 13.58 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW): time 0.003654/0.4545, allocations: 1.841 MB / 0.5328 GB, free: 12.15 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001185/0.4557, allocations: 0.6297 MB / 0.5334 GB, free: 11.65 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.871e-05/0.4558, allocations: 1.375 kB / 0.5334 GB, free: 11.65 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003215/0.4562, allocations: 53.48 kB / 0.5335 GB, free: 11.61 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001683/0.4564, allocations: 73.28 kB / 0.5336 GB, free: 11.55 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000426/0.4568, allocations: 117.9 kB / 0.5337 GB, free: 11.47 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003346/0.4571, allocations: 229.8 kB / 0.5339 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001075/0.4572, allocations: 33.53 kB / 0.5339 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001628/0.4574, allocations: 89.48 kB / 0.534 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001838/0.4576, allocations: 99.94 kB / 0.5341 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.534e-05/0.4576, allocations: 6.375 kB / 0.5341 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004594/0.4581, allocations: 223.7 kB / 0.5343 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.793e-05/0.4582, allocations: 51.61 kB / 0.5344 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001222/0.4584, allocations: 106.4 kB / 0.5345 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004954/0.4589, allocations: 331.3 kB / 0.5348 GB, free: 10.79 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.4589, allocations: 1.125 kB / 0.5348 GB, free: 10.79 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.4589, allocations: 0 / 0.5348 GB, free: 10.79 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.833e-06/0.4589, allocations: 0 / 0.5348 GB, free: 10.79 MB / 398.1 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.0007486/0.4596, allocations: 0.5386 MB / 0.5353 GB, free: 10.28 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.602e-05/0.4597, allocations: 8.25 kB / 0.5353 GB, free: 10.28 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001757/0.4615, allocations: 208.6 kB / 0.5355 GB, free: 10.16 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003097/0.4618, allocations: 261.2 kB / 0.5358 GB, free: 9.918 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.548e-05/0.4618, allocations: 18.53 kB / 0.5358 GB, free: 9.91 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.154e-05/0.4619, allocations: 22.58 kB / 0.5358 GB, free: 9.902 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009874/0.4629, allocations: 0.5036 MB / 0.5363 GB, free: 9.598 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.4629, allocations: 0 / 0.5363 GB, free: 9.598 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.706e-05/0.4629, allocations: 9.234 kB / 0.5363 GB, free: 9.59 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.345e-05/0.463, allocations: 29.05 kB / 0.5363 GB, free: 9.582 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001316/0.4643, allocations: 0.5923 MB / 0.5369 GB, free: 9.273 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002284/0.4666, allocations: 1.164 MB / 0.5381 GB, free: 8.324 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007241/0.4673, allocations: 166 kB / 0.5382 GB, free: 8.242 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003715/0.4677, allocations: 91.22 kB / 0.5383 GB, free: 8.195 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.027e-05/0.4677, allocations: 1.219 kB / 0.5383 GB, free: 8.195 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.621e-05/0.4678, allocations: 31.72 kB / 0.5383 GB, free: 8.156 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.423e-06/0.4678, allocations: 0 / 0.5383 GB, free: 8.156 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.00134/0.4691, allocations: 316.2 kB / 0.5386 GB, free: 7.992 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.567e-05/0.4692, allocations: 56.72 kB / 0.5387 GB, free: 7.926 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003283/0.4695, allocations: 274.1 kB / 0.5389 GB, free: 7.742 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.553e-05/0.4696, allocations: 26.95 kB / 0.539 GB, free: 7.711 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001326/0.4697, allocations: 169.8 kB / 0.5391 GB, free: 7.555 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.517e-05/0.4697, allocations: 28.09 kB / 0.5392 GB, free: 7.531 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000101/0.4698, allocations: 37.12 kB / 0.5392 GB, free: 7.5 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001298/0.47, allocations: 328.3 kB / 0.5395 GB, free: 7.176 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003782/0.4704, allocations: 94.64 kB / 0.5396 GB, free: 7.133 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004018/0.4708, allocations: 117.5 kB / 0.5397 GB, free: 7.059 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007323/0.4715, allocations: 203.3 kB / 0.5399 GB, free: 6.949 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.711e-06/0.4715, allocations: 3.938 kB / 0.5399 GB, free: 6.945 MB / 398.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000898/0.4724, allocations: 270.8 kB / 0.5402 GB, free: 6.801 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.906e-05/0.4725, allocations: 5.312 kB / 0.5402 GB, free: 6.801 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.4725, allocations: 1.125 kB / 0.5402 GB, free: 6.801 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.566e-05/0.4725, allocations: 2.344 kB / 0.5402 GB, free: 6.801 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005701/0.4782, allocations: 471.3 kB / 0.5406 GB, free: 6.602 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002941/0.4812, allocations: 1.945 MB / 0.5425 GB, free: 4.719 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004619/0.4816, allocations: 43.06 kB / 0.5426 GB, free: 4.691 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.015e-05/0.4817, allocations: 12.61 kB / 0.5426 GB, free: 4.684 MB / 398.1 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 (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.0002553/0.4819, allocations: 163.9 kB / 0.5427 GB, free: 4.539 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.605e-05/0.482, allocations: 24.7 kB / 0.5428 GB, free: 4.523 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.598e-05/0.4821, allocations: 26.39 kB / 0.5428 GB, free: 4.5 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.4821, allocations: 1.094 kB / 0.5428 GB, free: 4.5 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.753e-06/0.4821, allocations: 1.125 kB / 0.5428 GB, free: 4.5 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.816e-06/0.4821, allocations: 0 / 0.5428 GB, free: 4.5 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004106/0.4825, allocations: 289.3 kB / 0.5431 GB, free: 4.234 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.778e-06/0.4826, allocations: 1.062 kB / 0.5431 GB, free: 4.234 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005454/0.488, allocations: 459.7 kB / 0.5435 GB, free: 4.039 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.344e-06/0.488, allocations: 0 / 0.5435 GB, free: 4.039 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.728e-05/0.4881, allocations: 6.734 kB / 0.5435 GB, free: 4.035 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002702/0.4908, allocations: 1.943 MB / 0.5454 GB, free: 2.152 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.4908, allocations: 1.219 kB / 0.5454 GB, free: 2.152 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008282/0.4916, allocations: 325.9 kB / 0.5457 GB, free: 1.926 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.075e-05/0.4917, allocations: 93.59 kB / 0.5458 GB, free: 1.82 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.528e-05/0.4918, allocations: 1.25 kB / 0.5458 GB, free: 1.82 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000343/0.4921, allocations: 17.19 kB / 0.5458 GB, free: 1.812 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.918e-05/0.4922, allocations: 19.31 kB / 0.5458 GB, free: 1.797 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.316e-05/0.4922, allocations: 10.27 kB / 0.5459 GB, free: 1.789 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002306/0.4925, allocations: 210.7 kB / 0.5461 GB, free: 1.652 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4925, allocations: 0 / 0.5461 GB, free: 1.652 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004052/0.4929, allocations: 70.64 kB / 0.5461 GB, free: 1.641 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 (7): * Single equations (assignments): 4 * 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.0002482/0.4932, allocations: 115.9 kB / 0.5462 GB, free: 1.539 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.005828/0.499, allocations: 0.5851 MB / 0.5468 GB, free: 1.016 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.499, allocations: 0 / 0.5468 GB, free: 1.016 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005245/0.5043, allocations: 0.4916 MB / 0.5473 GB, free: 0.5234 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004527/0.5047, allocations: 57.12 kB / 0.5473 GB, free: 480 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001186/0.5059, allocations: 479.6 kB / 0.5478 GB, free: 15.97 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003993/0.5063, allocations: 0.783 MB / 0.5486 GB, free: 15.17 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001638/0.5065, allocations: 53.86 kB / 0.5486 GB, free: 15.11 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.32e-05/0.5066, allocations: 23.42 kB / 0.5486 GB, free: 15.09 MB / 414.1 MB Notification: Performance of SimCode: time 7.81e-07/0.5066, allocations: 3.938 kB / 0.5486 GB, free: 15.09 MB / 414.1 MB Notification: Performance of Templates: time 0.01079/0.5174, allocations: 5.229 MB / 0.5537 GB, free: 9.934 MB / 414.1 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/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