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.001869/0.001869, allocations: 104.5 kB / 17.85 MB, free: 5.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002197/0.002197, allocations: 205.8 kB / 18.79 MB, free: 4.727 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.368/2.368, allocations: 227.4 MB / 246.9 MB, free: 9.035 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.309/0.309, allocations: 46.11 MB / 344.3 MB, free: 11.59 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002344/0.002344, allocations: 75.97 kB / 417.5 MB, free: 20.15 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1884/0.1908, allocations: 62.44 MB / 480 MB, free: 5.688 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW): time 0.00468/0.1955, allocations: 1.895 MB / 481.9 MB, free: 3.773 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00335/0.1989, allocations: 1.71 MB / 483.6 MB, free: 2.059 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001301/0.1991, allocations: 0 / 483.6 MB, free: 2.059 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003249/0.1994, allocations: 39.81 kB / 483.6 MB, free: 2.02 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004301/0.1999, allocations: 79.64 kB / 483.7 MB, free: 1.941 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00129/0.2012, allocations: 362.7 kB / 484 MB, free: 1.59 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004242/0.2017, allocations: 310.7 kB / 484.3 MB, free: 1.285 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.672e-05/0.2018, allocations: 28.38 kB / 484.4 MB, free: 1.258 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003542/0.2021, allocations: 103.5 kB / 484.5 MB, free: 1.156 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002463/0.2024, allocations: 127.4 kB / 484.6 MB, free: 1.031 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.096e-05/0.2024, allocations: 11.94 kB / 484.6 MB, free: 1.02 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001339/0.2038, allocations: 0.7173 MB / 485.3 MB, free: 308 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001218/0.2039, allocations: 67.67 kB / 485.4 MB, free: 240 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001605/0.2041, allocations: 111.2 kB / 485.5 MB, free: 128 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008402/0.2049, allocations: 375.4 kB / 485.9 MB, free: 15.76 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.2049, allocations: 4 kB / 485.9 MB, free: 15.75 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.205, allocations: 4 kB / 485.9 MB, free: 15.75 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.488e-06/0.205, allocations: 0 / 485.9 MB, free: 15.75 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.001418/0.2064, allocations: 0.6201 MB / 486.5 MB, free: 15.08 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.974e-05/0.2065, allocations: 8.875 kB / 486.5 MB, free: 15.07 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001164/0.2066, allocations: 28.56 kB / 486.5 MB, free: 15.05 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003762/0.207, allocations: 243.3 kB / 486.8 MB, free: 14.77 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.153e-05/0.207, allocations: 24.44 kB / 486.8 MB, free: 14.75 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.558e-05/0.2071, allocations: 27.98 kB / 486.8 MB, free: 14.72 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008904/0.208, allocations: 471.3 kB / 487.3 MB, free: 14.25 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.71e-05/0.208, allocations: 0 / 487.3 MB, free: 14.25 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.029e-05/0.208, allocations: 12 kB / 487.3 MB, free: 14.24 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.804e-05/0.2081, allocations: 48.95 kB / 487.3 MB, free: 14.19 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009825/0.2091, allocations: 0.5465 MB / 487.9 MB, free: 13.65 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002695/0.2118, allocations: 1.307 MB / 489.2 MB, free: 12.22 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009346/0.2128, allocations: 278.3 kB / 489.5 MB, free: 11.94 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003652/0.2132, allocations: 96.78 kB / 489.6 MB, free: 11.84 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.156e-05/0.2133, allocations: 12.31 kB / 489.6 MB, free: 11.83 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.221e-05/0.2133, allocations: 46.5 kB / 489.6 MB, free: 11.77 MB / 366.1 MB Notification: Performance of pre-optimization done (n=25): time 2.695e-06/0.2133, allocations: 0 / 489.6 MB, free: 11.77 MB / 366.1 MB Notification: Performance of matching and sorting (n=25): time 0.0009564/0.2143, allocations: 333.2 kB / 489.9 MB, free: 11.44 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.343e-05/0.2144, allocations: 55.41 kB / 490 MB, free: 11.38 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001552/0.2145, allocations: 134 kB / 490.1 MB, free: 11.23 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.83e-05/0.2146, allocations: 33.7 kB / 490.2 MB, free: 11.19 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002224/0.2148, allocations: 199.7 kB / 490.4 MB, free: 10.99 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.369e-05/0.2149, allocations: 82.77 kB / 490.4 MB, free: 10.91 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001159/0.215, allocations: 73.62 kB / 490.5 MB, free: 10.83 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001609/0.2152, allocations: 322.8 kB / 490.8 MB, free: 10.51 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002224/0.2154, allocations: 91.78 kB / 490.9 MB, free: 10.42 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002817/0.2157, allocations: 175 kB / 491.1 MB, free: 10.21 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005662/0.2163, allocations: 290 kB / 491.4 MB, free: 9.891 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.799e-06/0.2163, allocations: 4 kB / 491.4 MB, free: 9.887 MB / 366.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009865/0.2173, allocations: 321.8 kB / 491.7 MB, free: 9.566 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.64e-05/0.2173, allocations: 8 kB / 491.7 MB, free: 9.559 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.388e-05/0.2174, allocations: 4.344 kB / 491.7 MB, free: 9.555 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.37e-05/0.2174, allocations: 8 kB / 491.7 MB, free: 9.547 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007447/0.2182, allocations: 115.9 kB / 491.8 MB, free: 9.434 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001769/0.2199, allocations: 2.368 MB / 494.2 MB, free: 6.973 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002555/0.2202, allocations: 39.61 kB / 494.2 MB, free: 6.934 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.993e-05/0.2203, allocations: 16 kB / 494.2 MB, free: 6.918 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.0003452/0.2206, allocations: 177.9 kB / 494.4 MB, free: 6.734 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.77e-05/0.2207, allocations: 11.91 kB / 494.4 MB, free: 6.723 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008898/0.2216, allocations: 358.3 kB / 494.8 MB, free: 6.367 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.005e-06/0.2216, allocations: 4 kB / 494.8 MB, free: 6.363 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/0.2216, allocations: 0 / 494.8 MB, free: 6.363 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.843e-06/0.2216, allocations: 3.938 kB / 494.8 MB, free: 6.359 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005355/0.2222, allocations: 345.3 kB / 495.1 MB, free: 5.973 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.689e-06/0.2222, allocations: 0 / 495.1 MB, free: 5.973 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000479/0.2227, allocations: 111.9 kB / 495.2 MB, free: 5.863 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.153e-06/0.2227, allocations: 0 / 495.2 MB, free: 5.863 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.676e-05/0.2227, allocations: 8 kB / 495.2 MB, free: 5.855 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001508/0.2243, allocations: 2.364 MB / 497.6 MB, free: 3.398 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.2243, allocations: 0 / 497.6 MB, free: 3.398 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006785/0.225, allocations: 372.6 kB / 498 MB, free: 3.02 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.169e-05/0.2251, allocations: 96.83 kB / 498.1 MB, free: 2.906 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.767e-05/0.2251, allocations: 4 kB / 498.1 MB, free: 2.902 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001601/0.2253, allocations: 15.98 kB / 498.1 MB, free: 2.887 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.755e-05/0.2254, allocations: 19.97 kB / 498.1 MB, free: 2.867 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.115e-05/0.2254, allocations: 15.98 kB / 498.1 MB, free: 2.852 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.714e-05/0.2255, allocations: 105.7 kB / 498.2 MB, free: 2.75 MB / 366.1 MB Notification: Performance of sort global known variables: time 5.51e-07/0.2255, allocations: 0 / 498.2 MB, free: 2.75 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007854/0.2263, allocations: 179.5 kB / 498.4 MB, free: 2.574 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.0007027/0.227, allocations: 235 kB / 498.6 MB, free: 2.336 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008892/0.2279, allocations: 308.1 kB / 498.9 MB, free: 2.035 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.387e-06/0.2279, allocations: 0 / 498.9 MB, free: 2.035 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004781/0.2284, allocations: 176.5 kB / 499.1 MB, free: 1.863 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004663/0.2289, allocations: 23.5 kB / 499.1 MB, free: 1.844 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001366/0.2303, allocations: 0.7305 MB / 499.8 MB, free: 1.09 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004941/0.2308, allocations: 0.8026 MB / 0.4889 GB, free: 268 kB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001054/0.2309, allocations: 23.44 kB / 0.4889 GB, free: 244 kB / 366.1 MB Notification: Performance of SimCode: time 4.528e-06/0.2309, allocations: 0 / 0.4889 GB, free: 244 kB / 366.1 MB Notification: Performance of Templates: time 0.01543/0.2464, allocations: 8.884 MB / 0.4976 GB, free: 7.352 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