Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_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_pressureLossCoefficient_DPMFLOW,tolerance=1e-05,outputFormat="mat",numberOfIntervals=10100,variableFilter="time|zeta_TOT.1.|zeta_TOT.2.|zeta_TOT.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_pressureLossCoefficient_DPMFLOW") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW,tolerance=1e-05,outputFormat="mat",numberOfIntervals=10100,variableFilter="time|zeta_TOT.1.|zeta_TOT.2.|zeta_TOT.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_pressureLossCoefficient_DPMFLOW") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001412/0.001418, allocations: 118.8 kB / 17.78 MB, free: 5.242 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001712/0.001712, allocations: 198 kB / 18.73 MB, free: 4.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.395/1.395, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2186/0.2186, allocations: 46.1 MB / 344.3 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00132/0.00132, allocations: 71.89 kB / 481.3 MB, free: 4.047 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3856/0.3869, allocations: 62.44 MB / 0.531 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW): time 0.003177/0.3901, allocations: 1.685 MB / 0.5327 GB, free: 12.3 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001476/0.3916, allocations: 0.8324 MB / 0.5335 GB, free: 11.64 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.58e-05/0.3917, allocations: 1.219 kB / 0.5335 GB, free: 11.64 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002345/0.392, allocations: 30.98 kB / 0.5335 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001928/0.3922, allocations: 54.36 kB / 0.5336 GB, free: 11.58 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003362/0.3925, allocations: 105.4 kB / 0.5337 GB, free: 11.51 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002213/0.3927, allocations: 151 kB / 0.5338 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.31e-05/0.3928, allocations: 18.39 kB / 0.5338 GB, free: 11.42 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002185/0.393, allocations: 68.14 kB / 0.5339 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001315/0.3932, allocations: 69.66 kB / 0.534 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.813e-05/0.3932, allocations: 4.125 kB / 0.534 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003312/0.3935, allocations: 160.8 kB / 0.5341 GB, free: 11.26 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.231e-05/0.3936, allocations: 49.5 kB / 0.5342 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.788e-05/0.3937, allocations: 56.38 kB / 0.5342 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003428/0.3941, allocations: 208.7 kB / 0.5344 GB, free: 11.07 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.145e-06/0.3941, allocations: 0 / 0.5344 GB, free: 11.07 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.3941, allocations: 1.375 kB / 0.5344 GB, free: 11.07 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.976e-06/0.3941, allocations: 0 / 0.5344 GB, free: 11.07 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: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.0006549/0.3948, allocations: 463.3 kB / 0.5349 GB, free: 10.63 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.291e-05/0.3948, allocations: 13.62 kB / 0.5349 GB, free: 10.62 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005219/0.3953, allocations: 66.41 kB / 0.5349 GB, free: 10.59 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002727/0.3956, allocations: 218.2 kB / 0.5351 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.603e-05/0.3956, allocations: 8.688 kB / 0.5351 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.141e-05/0.3957, allocations: 20.7 kB / 0.5352 GB, free: 10.35 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005099/0.3962, allocations: 231.2 kB / 0.5354 GB, free: 10.21 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.084e-05/0.3962, allocations: 0 / 0.5354 GB, free: 10.21 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.41e-05/0.3963, allocations: 5.375 kB / 0.5354 GB, free: 10.21 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.671e-05/0.3963, allocations: 17.72 kB / 0.5354 GB, free: 10.2 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004879/0.3968, allocations: 228.4 kB / 0.5356 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001264/0.3981, allocations: 0.7308 MB / 0.5363 GB, free: 9.418 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002319/0.3983, allocations: 90.28 kB / 0.5364 GB, free: 9.363 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001384/0.3985, allocations: 49.12 kB / 0.5365 GB, free: 9.336 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.083e-05/0.3985, allocations: 0 / 0.5365 GB, free: 9.336 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.807e-05/0.3985, allocations: 39.56 kB / 0.5365 GB, free: 9.289 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.142e-06/0.3985, allocations: 1.094 kB / 0.5365 GB, free: 9.289 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005643/0.3991, allocations: 170.1 kB / 0.5367 GB, free: 9.195 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.827e-05/0.3992, allocations: 56.75 kB / 0.5367 GB, free: 9.129 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001771/0.3993, allocations: 185 kB / 0.5369 GB, free: 8.98 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.931e-05/0.3994, allocations: 26.8 kB / 0.5369 GB, free: 8.949 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.082e-05/0.3995, allocations: 140.8 kB / 0.5371 GB, free: 8.816 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.617e-05/0.3995, allocations: 23.78 kB / 0.5371 GB, free: 8.797 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.383e-05/0.3996, allocations: 32.27 kB / 0.5371 GB, free: 8.77 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000129/0.3997, allocations: 322.5 kB / 0.5374 GB, free: 8.449 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001422/0.3998, allocations: 46.7 kB / 0.5375 GB, free: 8.43 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001776/0.4, allocations: 99.62 kB / 0.5376 GB, free: 8.34 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003212/0.4004, allocations: 157 kB / 0.5377 GB, free: 8.223 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.357e-06/0.4004, allocations: 1.094 kB / 0.5377 GB, free: 8.223 MB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004097/0.4008, allocations: 194.8 kB / 0.5379 GB, free: 8.109 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.954e-05/0.4008, allocations: 9.656 kB / 0.5379 GB, free: 8.105 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.4008, allocations: 2.281 kB / 0.5379 GB, free: 8.105 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.647e-05/0.4008, allocations: 2.344 kB / 0.5379 GB, free: 8.105 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000913/0.4018, allocations: 130.9 kB / 0.538 GB, free: 8.055 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001294/0.4031, allocations: 1.812 MB / 0.5398 GB, free: 6.246 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001594/0.4032, allocations: 21.73 kB / 0.5398 GB, free: 6.234 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.013e-05/0.4033, allocations: 9.266 kB / 0.5398 GB, free: 6.23 MB / 398.1 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 (14): * Single equations (assignments): 11 * 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.0001412/0.4034, allocations: 143.8 kB / 0.54 GB, free: 6.098 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.071e-05/0.4035, allocations: 17.44 kB / 0.54 GB, free: 6.086 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005034/0.404, allocations: 185.6 kB / 0.5402 GB, free: 5.961 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.408e-06/0.404, allocations: 5.156 kB / 0.5402 GB, free: 5.957 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/0.404, allocations: 1.125 kB / 0.5402 GB, free: 5.957 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/0.404, allocations: 3.984 kB / 0.5402 GB, free: 5.953 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002932/0.4043, allocations: 224.8 kB / 0.5404 GB, free: 5.723 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/0.4043, allocations: 1.344 kB / 0.5404 GB, free: 5.723 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007222/0.4051, allocations: 105.6 kB / 0.5405 GB, free: 5.688 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.4051, allocations: 0 / 0.5405 GB, free: 5.688 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.807e-05/0.4051, allocations: 9.312 kB / 0.5405 GB, free: 5.68 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001098/0.4062, allocations: 1.785 MB / 0.5423 GB, free: 3.875 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.704e-06/0.4062, allocations: 1.688 kB / 0.5423 GB, free: 3.875 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003837/0.4066, allocations: 239.4 kB / 0.5425 GB, free: 3.691 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.357e-05/0.4067, allocations: 93.5 kB / 0.5426 GB, free: 3.586 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.765e-05/0.4067, allocations: 1.406 kB / 0.5426 GB, free: 3.586 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001334/0.4069, allocations: 12.38 kB / 0.5426 GB, free: 3.578 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.462e-05/0.4069, allocations: 12.36 kB / 0.5426 GB, free: 3.57 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.828e-06/0.4069, allocations: 3.125 kB / 0.5426 GB, free: 3.57 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001286/0.4071, allocations: 141.9 kB / 0.5427 GB, free: 3.465 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.4071, allocations: 0 / 0.5427 GB, free: 3.465 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003388/0.4074, allocations: 47.09 kB / 0.5428 GB, free: 3.453 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 (11): * Single equations (assignments): 8 * 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.0002779/0.4077, allocations: 115.4 kB / 0.5429 GB, free: 3.352 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.00122/0.4089, allocations: 227.7 kB / 0.5431 GB, free: 3.266 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.4089, allocations: 0 / 0.5431 GB, free: 3.266 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006693/0.4096, allocations: 130.4 kB / 0.5432 GB, free: 3.211 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004088/0.41, allocations: 46.03 kB / 0.5433 GB, free: 3.184 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007454/0.4108, allocations: 325 kB / 0.5436 GB, free: 2.965 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003756/0.4112, allocations: 0.7437 MB / 0.5443 GB, free: 2.234 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001186/0.4113, allocations: 39.64 kB / 0.5443 GB, free: 2.215 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.387e-05/0.4114, allocations: 19.41 kB / 0.5444 GB, free: 2.203 MB / 398.1 MB Notification: Performance of SimCode: time 2.5e-07/0.4114, allocations: 0 / 0.5444 GB, free: 2.203 MB / 398.1 MB Notification: Performance of Templates: time 0.007194/0.4186, allocations: 3.147 MB / 0.5474 GB, free: 356 kB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_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_pressureLossCoefficient_DPMFLOW/dp_pressureLossCoefficient_DPMFLOW.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches