Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_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.StraightPipe.dp_overall_DPMFLOW,tolerance=1e-05,outputFormat="mat",numberOfIntervals=10100,variableFilter="time|MIN|A_cross|roughness|d_hyd|K.1.|K.2.|K.3.|K.4.|L|eta|rho|input_mdot.1.|input_mdot.2.|input_mdot.3.|input_mdot.4.|input_dp.1.|input_dp.2.|input_dp.3.|input_dp.4.|M_FLOW.1.|M_FLOW.2.|M_FLOW.3.|M_FLOW.4.|DP.1.|DP.2.|DP.3.|DP.4.|velocity.1.|velocity.2.|velocity.3.|velocity.4.|Re.1.|Re.2.|Re.3.|Re.4.|DP_plot.1.|DP_plot.2.|DP_plot.3.|DP_plot.4.|zeta_TOT.1.|zeta_TOT.2.|zeta_TOT.3.|zeta_TOT.4.|lambda_FRI.1.|lambda_FRI.2.|lambda_FRI.3.|lambda_FRI.4.|input_DP.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW,tolerance=1e-05,outputFormat="mat",numberOfIntervals=10100,variableFilter="time|MIN|A_cross|roughness|d_hyd|K.1.|K.2.|K.3.|K.4.|L|eta|rho|input_mdot.1.|input_mdot.2.|input_mdot.3.|input_mdot.4.|input_dp.1.|input_dp.2.|input_dp.3.|input_dp.4.|M_FLOW.1.|M_FLOW.2.|M_FLOW.3.|M_FLOW.4.|DP.1.|DP.2.|DP.3.|DP.4.|velocity.1.|velocity.2.|velocity.3.|velocity.4.|Re.1.|Re.2.|Re.3.|Re.4.|DP_plot.1.|DP_plot.2.|DP_plot.3.|DP_plot.4.|zeta_TOT.1.|zeta_TOT.2.|zeta_TOT.3.|zeta_TOT.4.|lambda_FRI.1.|lambda_FRI.2.|lambda_FRI.3.|lambda_FRI.4.|input_DP.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001108/0.001108, allocations: 109 kB / 18.45 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00125/0.00125, allocations: 206.8 kB / 19.4 MB, free: 3.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.336/1.337, allocations: 227.4 MB / 247.6 MB, free: 10.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.223/0.223, allocations: 46.11 MB / 345 MB, free: 11.46 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002649/0.00265, allocations: 79.86 kB / 482 MB, free: 4.016 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3686/0.3713, allocations: 62.43 MB / 0.5317 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW): time 0.003019/0.3744, allocations: 1.825 MB / 0.5335 GB, free: 12.18 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004269/0.3787, allocations: 2.957 MB / 0.5364 GB, free: 9.844 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001025/0.3788, allocations: 0.9688 kB / 0.5364 GB, free: 9.844 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002618/0.3791, allocations: 50.73 kB / 0.5364 GB, free: 9.805 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003144/0.3794, allocations: 84.66 kB / 0.5365 GB, free: 9.738 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00177/0.3812, allocations: 0.7327 MB / 0.5372 GB, free: 9.32 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003494/0.3816, allocations: 239.5 kB / 0.5374 GB, free: 9.188 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.542e-05/0.3816, allocations: 25.72 kB / 0.5375 GB, free: 9.18 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003124/0.382, allocations: 106.4 kB / 0.5376 GB, free: 9.121 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002274/0.3822, allocations: 119.8 kB / 0.5377 GB, free: 9.047 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.207e-05/0.3823, allocations: 7.562 kB / 0.5377 GB, free: 9.047 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002004/0.3843, allocations: 1.231 MB / 0.5389 GB, free: 8.273 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001198/0.3844, allocations: 77.16 kB / 0.5389 GB, free: 8.223 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001423/0.3846, allocations: 108.9 kB / 0.5391 GB, free: 8.152 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001585/0.3861, allocations: 0.933 MB / 0.54 GB, free: 7.57 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.3862, allocations: 1.25 kB / 0.54 GB, free: 7.57 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.3862, allocations: 0 / 0.54 GB, free: 7.57 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.167e-05/0.3862, allocations: 0 / 0.54 GB, free: 7.57 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: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.001268/0.3875, allocations: 0.6832 MB / 0.5406 GB, free: 6.957 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.067e-05/0.3875, allocations: 8.875 kB / 0.5406 GB, free: 6.957 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001023/0.3876, allocations: 30.59 kB / 0.5407 GB, free: 6.941 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003042/0.3879, allocations: 242.1 kB / 0.5409 GB, free: 6.695 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.156e-05/0.388, allocations: 19.72 kB / 0.5409 GB, free: 6.688 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.874e-05/0.388, allocations: 28.47 kB / 0.5409 GB, free: 6.676 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007984/0.3888, allocations: 466.7 kB / 0.5414 GB, free: 6.43 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.383e-05/0.3888, allocations: 1.344 kB / 0.5414 GB, free: 6.43 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.007e-05/0.3889, allocations: 9.281 kB / 0.5414 GB, free: 6.422 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.198e-05/0.389, allocations: 55.59 kB / 0.5415 GB, free: 6.398 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009204/0.3899, allocations: 0.5451 MB / 0.542 GB, free: 6.168 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001976/0.3919, allocations: 1.3 MB / 0.5433 GB, free: 5.098 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005333/0.3924, allocations: 275.1 kB / 0.5435 GB, free: 4.969 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000206/0.3927, allocations: 93.52 kB / 0.5436 GB, free: 4.926 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.95e-05/0.3927, allocations: 20.7 kB / 0.5436 GB, free: 4.91 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.351e-05/0.3927, allocations: 39.59 kB / 0.5437 GB, free: 4.863 MB / 398.1 MB Notification: Performance of pre-optimization done (n=25): time 1.884e-06/0.3927, allocations: 0 / 0.5437 GB, free: 4.863 MB / 398.1 MB Notification: Performance of matching and sorting (n=25): time 0.0007666/0.3935, allocations: 330.9 kB / 0.544 GB, free: 4.707 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.685e-05/0.3936, allocations: 53.62 kB / 0.544 GB, free: 4.645 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001336/0.3937, allocations: 151.5 kB / 0.5442 GB, free: 4.508 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.413e-05/0.3937, allocations: 31.11 kB / 0.5442 GB, free: 4.473 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001307/0.3939, allocations: 187.7 kB / 0.5444 GB, free: 4.301 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.145e-05/0.394, allocations: 86.44 kB / 0.5445 GB, free: 4.227 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.834e-05/0.3941, allocations: 66.28 kB / 0.5445 GB, free: 4.184 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001097/0.3942, allocations: 327.2 kB / 0.5448 GB, free: 3.859 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002117/0.3944, allocations: 87.14 kB / 0.5449 GB, free: 3.824 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002578/0.3947, allocations: 185.4 kB / 0.5451 GB, free: 3.656 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004831/0.3952, allocations: 294.9 kB / 0.5454 GB, free: 3.332 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.3952, allocations: 0 / 0.5454 GB, free: 3.332 MB / 398.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0005807/0.3958, allocations: 329.2 kB / 0.5457 GB, free: 3.004 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.8e-05/0.3958, allocations: 7.938 kB / 0.5457 GB, free: 2.996 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.927e-06/0.3958, allocations: 4 kB / 0.5457 GB, free: 2.992 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.046e-05/0.3958, allocations: 4 kB / 0.5457 GB, free: 2.988 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004877/0.3963, allocations: 119.9 kB / 0.5458 GB, free: 2.871 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001165/0.3975, allocations: 2.364 MB / 0.5481 GB, free: 424 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002054/0.3977, allocations: 35.89 kB / 0.5482 GB, free: 388 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.936e-05/0.3978, allocations: 20 kB / 0.5482 GB, free: 368 kB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 1 (roughness) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * 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): 4 systems {1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002294/0.398, allocations: 177.7 kB / 0.5484 GB, free: 180 kB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.386e-05/0.3981, allocations: 11.91 kB / 0.5484 GB, free: 168 kB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008352/0.3989, allocations: 362.1 kB / 0.5487 GB, free: 15.8 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.505e-06/0.3989, allocations: 4 kB / 0.5487 GB, free: 15.8 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.225e-06/0.3989, allocations: 0 / 0.5487 GB, free: 15.8 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.769e-05/0.399, allocations: 7.922 kB / 0.5487 GB, free: 15.79 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005627/0.3995, allocations: 345.3 kB / 0.5491 GB, free: 15.41 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.611e-06/0.3995, allocations: 4 kB / 0.5491 GB, free: 15.4 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004652/0.4, allocations: 107.9 kB / 0.5492 GB, free: 15.3 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.917e-06/0.4, allocations: 0 / 0.5492 GB, free: 15.3 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.453e-05/0.4001, allocations: 8 kB / 0.5492 GB, free: 15.29 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001244/0.4013, allocations: 2.367 MB / 0.5515 GB, free: 12.83 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.045e-06/0.4013, allocations: 0 / 0.5515 GB, free: 12.83 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006296/0.402, allocations: 371.5 kB / 0.5518 GB, free: 12.45 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.755e-05/0.4021, allocations: 92.89 kB / 0.5519 GB, free: 12.34 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.882e-05/0.4021, allocations: 7.984 kB / 0.5519 GB, free: 12.33 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001524/0.4023, allocations: 12 kB / 0.5519 GB, free: 12.32 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.661e-05/0.4024, allocations: 15.97 kB / 0.552 GB, free: 12.3 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.227e-05/0.4024, allocations: 12 kB / 0.552 GB, free: 12.29 MB / 414.1 MB Notification: Performance of sorting global known variables: time 7.747e-05/0.4025, allocations: 103.2 kB / 0.5521 GB, free: 12.19 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4025, allocations: 4 kB / 0.5521 GB, free: 12.19 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0009023/0.4034, allocations: 243.4 kB / 0.5523 GB, free: 11.95 MB / 414.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 (29): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * 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): 4 systems {1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0009974/0.4044, allocations: 357.8 kB / 0.5526 GB, free: 11.59 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000854/0.4053, allocations: 312 kB / 0.5529 GB, free: 11.29 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.028e-06/0.4053, allocations: 0 / 0.5529 GB, free: 11.29 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004475/0.4057, allocations: 175.8 kB / 0.5531 GB, free: 11.12 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004244/0.4062, allocations: 20.62 kB / 0.5531 GB, free: 11.1 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001195/0.4074, allocations: 0.5927 MB / 0.5537 GB, free: 10.48 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003766/0.4078, allocations: 0.8024 MB / 0.5545 GB, free: 9.648 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.825e-05/0.4079, allocations: 27.44 kB / 0.5545 GB, free: 9.621 MB / 414.1 MB Notification: Performance of SimCode: time 5.81e-07/0.4079, allocations: 0 / 0.5545 GB, free: 9.621 MB / 414.1 MB Notification: Performance of Templates: time 0.01488/0.4228, allocations: 10.03 MB / 0.5643 GB, free: 15.59 MB / 430.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/PressureLoss/StraightPipe/dp_overall_DPMFLOW/dp_overall_DPMFLOW.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches