Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_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_turbulent_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_turbulent_DPMFLOW") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_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_turbulent_DPMFLOW") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.002319/0.002319, allocations: 111.4 kB / 17.99 MB, free: 5.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00372/0.00372, allocations: 205.8 kB / 18.92 MB, free: 4.441 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.3/2.3, allocations: 227.4 MB / 247.1 MB, free: 10.69 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.5497/0.5497, allocations: 46.09 MB / 344.4 MB, free: 11.75 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002469/0.00247, allocations: 76.59 kB / 417.7 MB, free: 20.06 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2915/0.294, allocations: 62.44 MB / 480.2 MB, free: 5.59 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW): time 0.00558/0.2997, allocations: 1.891 MB / 482.1 MB, free: 3.68 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004435/0.3042, allocations: 1.687 MB / 483.8 MB, free: 1.988 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003456/0.3047, allocations: 3.938 kB / 483.8 MB, free: 1.984 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005289/0.3053, allocations: 39.77 kB / 483.8 MB, free: 1.945 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006127/0.3059, allocations: 75.64 kB / 483.9 MB, free: 1.871 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001793/0.3077, allocations: 374.6 kB / 484.2 MB, free: 1.508 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005565/0.3083, allocations: 238.8 kB / 484.5 MB, free: 1.273 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001386/0.3085, allocations: 32.39 kB / 484.5 MB, free: 1.242 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004039/0.3089, allocations: 107.4 kB / 484.6 MB, free: 1.137 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003207/0.3092, allocations: 127.4 kB / 484.7 MB, free: 1.012 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.757e-05/0.3093, allocations: 8 kB / 484.7 MB, free: 1.004 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001797/0.3111, allocations: 0.7173 MB / 485.5 MB, free: 292 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001786/0.3113, allocations: 71.67 kB / 485.5 MB, free: 220 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001943/0.3115, allocations: 111.2 kB / 485.6 MB, free: 108 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001032/0.3125, allocations: 383.5 kB / 486 MB, free: 15.73 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.211e-05/0.3126, allocations: 3.984 kB / 486 MB, free: 15.73 MB / 366.1 MB Notification: Performance of FrontEnd: time 4.268e-06/0.3126, allocations: 0 / 486 MB, free: 15.73 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.163e-05/0.3126, allocations: 0 / 486 MB, free: 15.73 MB / 366.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.001584/0.3142, allocations: 0.6263 MB / 486.6 MB, free: 15.05 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.401e-05/0.3143, allocations: 12.03 kB / 486.7 MB, free: 15.04 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000126/0.3144, allocations: 28.56 kB / 486.7 MB, free: 15.02 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005027/0.3149, allocations: 251.3 kB / 486.9 MB, free: 14.73 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.622e-05/0.315, allocations: 24.55 kB / 486.9 MB, free: 14.71 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.143e-05/0.3151, allocations: 24 kB / 487 MB, free: 14.68 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001171/0.3163, allocations: 467.3 kB / 487.4 MB, free: 14.22 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.027e-05/0.3163, allocations: 0 / 487.4 MB, free: 14.22 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.143e-05/0.3164, allocations: 7.984 kB / 487.4 MB, free: 14.21 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001137/0.3165, allocations: 48.97 kB / 487.5 MB, free: 14.16 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00124/0.3177, allocations: 0.5542 MB / 488 MB, free: 13.61 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002948/0.3207, allocations: 1.307 MB / 489.3 MB, free: 12.18 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007698/0.3215, allocations: 278.3 kB / 489.6 MB, free: 11.9 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002907/0.3218, allocations: 108.8 kB / 489.7 MB, free: 11.79 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.621e-05/0.3219, allocations: 4 kB / 489.7 MB, free: 11.79 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.526e-05/0.3219, allocations: 34.5 kB / 489.8 MB, free: 11.75 MB / 366.1 MB Notification: Performance of pre-optimization done (n=25): time 2.535e-06/0.3219, allocations: 0 / 489.8 MB, free: 11.75 MB / 366.1 MB Notification: Performance of matching and sorting (n=25): time 0.001066/0.323, allocations: 341.1 kB / 490.1 MB, free: 11.41 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.353e-05/0.3231, allocations: 51.41 kB / 490.1 MB, free: 11.34 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001966/0.3233, allocations: 144.7 kB / 490.3 MB, free: 11.19 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.36e-05/0.3234, allocations: 29.7 kB / 490.3 MB, free: 11.16 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001772/0.3236, allocations: 191.8 kB / 490.5 MB, free: 10.96 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001157/0.3237, allocations: 95.06 kB / 490.6 MB, free: 10.87 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001475/0.3238, allocations: 69.69 kB / 490.7 MB, free: 10.8 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001866/0.324, allocations: 326.8 kB / 491 MB, free: 10.47 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002657/0.3243, allocations: 91.72 kB / 491.1 MB, free: 10.38 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003887/0.3247, allocations: 182 kB / 491.3 MB, free: 10.16 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006645/0.3254, allocations: 286 kB / 491.5 MB, free: 9.848 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/0.3254, allocations: 4 kB / 491.5 MB, free: 9.844 MB / 366.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0008526/0.3263, allocations: 326 kB / 491.9 MB, free: 9.52 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.725e-05/0.3263, allocations: 10.5 kB / 491.9 MB, free: 9.512 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.101e-05/0.3264, allocations: 0 / 491.9 MB, free: 9.512 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.308e-05/0.3264, allocations: 8 kB / 491.9 MB, free: 9.504 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000734/0.3271, allocations: 115.9 kB / 492 MB, free: 9.391 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00187/0.329, allocations: 2.36 MB / 494.3 MB, free: 6.938 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002708/0.3293, allocations: 39.91 kB / 494.4 MB, free: 6.898 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.623e-05/0.3294, allocations: 19.98 kB / 494.4 MB, free: 6.879 MB / 366.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.000372/0.3298, allocations: 177.7 kB / 494.6 MB, free: 6.695 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.085e-05/0.3298, allocations: 7.906 kB / 494.6 MB, free: 6.688 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001182/0.331, allocations: 362.4 kB / 494.9 MB, free: 6.328 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.927e-06/0.3311, allocations: 4 kB / 494.9 MB, free: 6.324 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.025e-06/0.3311, allocations: 0 / 494.9 MB, free: 6.324 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.436e-06/0.3311, allocations: 7.938 kB / 494.9 MB, free: 6.316 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006754/0.3318, allocations: 345.3 kB / 495.3 MB, free: 5.93 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.699e-06/0.3318, allocations: 0 / 495.3 MB, free: 5.93 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006017/0.3324, allocations: 99.89 kB / 495.4 MB, free: 5.832 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.223e-05/0.3324, allocations: 0 / 495.4 MB, free: 5.832 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.625e-05/0.3325, allocations: 15.98 kB / 495.4 MB, free: 5.816 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002515/0.335, allocations: 2.363 MB / 497.8 MB, free: 3.359 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.857e-06/0.335, allocations: 384 / 497.8 MB, free: 3.359 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009959/0.336, allocations: 372.5 kB / 498.1 MB, free: 2.98 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001351/0.3362, allocations: 96.89 kB / 498.2 MB, free: 2.867 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.567e-05/0.3363, allocations: 4 kB / 498.2 MB, free: 2.863 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000213/0.3365, allocations: 11.98 kB / 498.2 MB, free: 2.852 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001361/0.3366, allocations: 23.97 kB / 498.3 MB, free: 2.828 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.442e-05/0.3367, allocations: 19.92 kB / 498.3 MB, free: 2.809 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001408/0.3368, allocations: 103.2 kB / 498.4 MB, free: 2.707 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.3369, allocations: 0 / 498.4 MB, free: 2.707 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001142/0.338, allocations: 167.5 kB / 498.5 MB, free: 2.543 MB / 366.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.0008666/0.3389, allocations: 239 kB / 498.8 MB, free: 2.301 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001425/0.3403, allocations: 356.7 kB / 499.1 MB, free: 1.953 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.47e-06/0.3403, allocations: 0 / 499.1 MB, free: 1.953 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007032/0.3411, allocations: 179.8 kB / 499.3 MB, free: 1.777 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007014/0.3418, allocations: 19.94 kB / 499.3 MB, free: 1.758 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002727/0.3445, allocations: 0.7444 MB / 0.4883 GB, free: 0.9883 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009666/0.3455, allocations: 0.7987 MB / 0.4891 GB, free: 168 kB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001633/0.3457, allocations: 35.38 kB / 0.4892 GB, free: 132 kB / 366.1 MB Notification: Performance of SimCode: time 1.683e-06/0.3457, allocations: 0 / 0.4892 GB, free: 132 kB / 366.1 MB Notification: Performance of Templates: time 0.02309/0.3688, allocations: 8.877 MB / 0.4978 GB, free: 7.246 MB / 382.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_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_turbulent_DPMFLOW/dp_turbulent_DPMFLOW.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches