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.001154/0.001154, allocations: 115.7 kB / 18.45 MB, free: 4.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001229/0.001229, allocations: 217.9 kB / 19.41 MB, free: 3.691 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.356/1.356, allocations: 227.4 MB / 247.6 MB, free: 10.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2101/0.2101, allocations: 46.1 MB / 344.9 MB, free: 11.53 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001393/0.001393, allocations: 75.88 kB / 482 MB, free: 4.086 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3538/0.3553, allocations: 62.44 MB / 0.5317 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW): time 0.003395/0.3587, allocations: 1.833 MB / 0.5335 GB, free: 12.2 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001168/0.3599, allocations: 0.6309 MB / 0.5341 GB, free: 11.7 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001058/0.36, allocations: 1.375 kB / 0.5341 GB, free: 11.7 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003057/0.3604, allocations: 53.42 kB / 0.5341 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001944/0.3606, allocations: 69.34 kB / 0.5342 GB, free: 11.6 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004403/0.361, allocations: 121.8 kB / 0.5343 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003057/0.3613, allocations: 229.3 kB / 0.5345 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.586e-05/0.3614, allocations: 25.42 kB / 0.5346 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001519/0.3616, allocations: 98.09 kB / 0.5347 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00015/0.3617, allocations: 100.7 kB / 0.5348 GB, free: 11.26 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.393e-05/0.3617, allocations: 5.656 kB / 0.5348 GB, free: 11.26 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004139/0.3622, allocations: 219.4 kB / 0.535 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.452e-05/0.3623, allocations: 59.91 kB / 0.535 GB, free: 11.1 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001059/0.3624, allocations: 94.77 kB / 0.5351 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004439/0.3628, allocations: 332.3 kB / 0.5354 GB, free: 10.84 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.3628, allocations: 1.375 kB / 0.5354 GB, free: 10.84 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.3628, allocations: 0 / 0.5354 GB, free: 10.84 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.612e-06/0.3629, allocations: 4 kB / 0.5354 GB, free: 10.84 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.0006805/0.3635, allocations: 0.5301 MB / 0.536 GB, free: 10.34 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.452e-05/0.3636, allocations: 9.312 kB / 0.536 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001857/0.3655, allocations: 197.3 kB / 0.5362 GB, free: 10.23 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002977/0.3658, allocations: 275.6 kB / 0.5364 GB, free: 9.973 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.814e-05/0.3658, allocations: 18.59 kB / 0.5364 GB, free: 9.965 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.053e-05/0.3659, allocations: 22.2 kB / 0.5365 GB, free: 9.957 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001009/0.3669, allocations: 0.499 MB / 0.5369 GB, free: 9.656 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.087e-05/0.3669, allocations: 1.375 kB / 0.5369 GB, free: 9.656 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.827e-05/0.3669, allocations: 9.375 kB / 0.537 GB, free: 9.648 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.19e-05/0.367, allocations: 29.73 kB / 0.537 GB, free: 9.641 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001303/0.3683, allocations: 0.5839 MB / 0.5376 GB, free: 9.34 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002268/0.3706, allocations: 1.159 MB / 0.5387 GB, free: 8.395 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000724/0.3713, allocations: 173.1 kB / 0.5389 GB, free: 8.305 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003758/0.3717, allocations: 88.22 kB / 0.5389 GB, free: 8.262 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.344e-05/0.3717, allocations: 5.062 kB / 0.5389 GB, free: 8.258 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.32e-05/0.3717, allocations: 31.81 kB / 0.539 GB, free: 8.219 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.523e-06/0.3718, allocations: 0 / 0.539 GB, free: 8.219 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.001321/0.3731, allocations: 304.1 kB / 0.5393 GB, free: 8.066 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.146e-05/0.3731, allocations: 60.56 kB / 0.5393 GB, free: 7.996 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002781/0.3734, allocations: 278 kB / 0.5396 GB, free: 7.809 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.78e-05/0.3735, allocations: 27.23 kB / 0.5396 GB, free: 7.777 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001135/0.3736, allocations: 168.5 kB / 0.5398 GB, free: 7.621 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.452e-05/0.3736, allocations: 24.38 kB / 0.5398 GB, free: 7.602 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.18e-05/0.3737, allocations: 36.62 kB / 0.5398 GB, free: 7.57 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001166/0.3738, allocations: 334.2 kB / 0.5401 GB, free: 7.242 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004174/0.3743, allocations: 89.7 kB / 0.5402 GB, free: 7.203 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004122/0.3747, allocations: 118.2 kB / 0.5403 GB, free: 7.129 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007779/0.3755, allocations: 202.1 kB / 0.5405 GB, free: 7.02 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/0.3755, allocations: 7.875 kB / 0.5405 GB, free: 7.012 MB / 398.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0009489/0.3764, allocations: 270.1 kB / 0.5408 GB, free: 6.867 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.63e-05/0.3765, allocations: 5.812 kB / 0.5408 GB, free: 6.867 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.3765, allocations: 5.469 kB / 0.5408 GB, free: 6.863 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.437e-05/0.3765, allocations: 1.469 kB / 0.5408 GB, free: 6.863 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006292/0.3828, allocations: 468.4 kB / 0.5413 GB, free: 6.668 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002902/0.3857, allocations: 1.941 MB / 0.5432 GB, free: 4.789 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004701/0.3862, allocations: 42.41 kB / 0.5432 GB, free: 4.762 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.92e-05/0.3863, allocations: 9.109 kB / 0.5432 GB, free: 4.758 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.0002072/0.3865, allocations: 161.2 kB / 0.5434 GB, free: 4.613 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.321e-05/0.3866, allocations: 24.89 kB / 0.5434 GB, free: 4.598 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.351e-05/0.3866, allocations: 26.11 kB / 0.5434 GB, free: 4.574 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/0.3867, allocations: 1.25 kB / 0.5434 GB, free: 4.574 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.3867, allocations: 0 / 0.5434 GB, free: 4.574 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.3867, allocations: 1.062 kB / 0.5434 GB, free: 4.574 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004189/0.3871, allocations: 297.7 kB / 0.5437 GB, free: 4.301 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.3871, allocations: 4 kB / 0.5437 GB, free: 4.297 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006086/0.3932, allocations: 455.7 kB / 0.5441 GB, free: 4.105 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.725e-06/0.3932, allocations: 1.219 kB / 0.5441 GB, free: 4.105 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.551e-05/0.3933, allocations: 1.031 kB / 0.5441 GB, free: 4.105 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00283/0.3961, allocations: 1.948 MB / 0.546 GB, free: 2.219 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.889e-06/0.3961, allocations: 3.984 kB / 0.546 GB, free: 2.215 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008824/0.397, allocations: 323 kB / 0.5464 GB, free: 1.992 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001079/0.3971, allocations: 101.2 kB / 0.5464 GB, free: 1.879 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.408e-05/0.3972, allocations: 1.312 kB / 0.5465 GB, free: 1.879 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003892/0.3976, allocations: 17.25 kB / 0.5465 GB, free: 1.871 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.938e-05/0.3977, allocations: 14.44 kB / 0.5465 GB, free: 1.859 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.98e-05/0.3977, allocations: 3.844 kB / 0.5465 GB, free: 1.859 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.00022/0.3979, allocations: 213.5 kB / 0.5467 GB, free: 1.719 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3979, allocations: 0 / 0.5467 GB, free: 1.719 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004196/0.3984, allocations: 70.88 kB / 0.5468 GB, free: 1.707 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.0002553/0.3986, allocations: 116.3 kB / 0.5469 GB, free: 1.605 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0062/0.4048, allocations: 0.5868 MB / 0.5474 GB, free: 1.07 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.4049, allocations: 4.188 kB / 0.5474 GB, free: 1.066 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005535/0.4104, allocations: 0.4914 MB / 0.5479 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004322/0.4109, allocations: 44.7 kB / 0.548 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001034/0.4119, allocations: 0.4906 MB / 0.5484 GB, free: 16 kB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003323/0.4123, allocations: 0.7752 MB / 0.5492 GB, free: 15.21 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.977e-05/0.4124, allocations: 27.42 kB / 0.5492 GB, free: 15.19 MB / 414.1 MB Notification: Performance of SimCode: time 2.204e-06/0.4124, allocations: 0 / 0.5492 GB, free: 15.19 MB / 414.1 MB Notification: Performance of Templates: time 0.00886/0.4212, allocations: 6.649 MB / 0.5557 GB, free: 8.562 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/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","/var/lib/jenkins1/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