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.001606/0.001606, 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.001915/0.001915, 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.477/2.477, allocations: 227.4 MB / 247 MB, free: 8.898 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4489/0.4489, allocations: 46.11 MB / 344.3 MB, free: 11.57 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00222/0.00222, allocations: 72.81 kB / 417.5 MB, free: 20.15 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1959/0.1981, allocations: 62.45 MB / 480 MB, free: 5.684 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW): time 0.004849/0.203, allocations: 1.899 MB / 481.9 MB, free: 3.766 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006327/0.2094, allocations: 2.98 MB / 484.8 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001915/0.2096, allocations: 3.938 kB / 484.9 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004765/0.2101, allocations: 43.73 kB / 484.9 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003547/0.2106, allocations: 75.66 kB / 485 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002939/0.2135, allocations: 0.6348 MB / 485.6 MB, free: 20 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005576/0.2141, allocations: 306.7 kB / 485.9 MB, free: 15.72 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.808e-05/0.2142, allocations: 36.38 kB / 485.9 MB, free: 15.68 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002793/0.2145, allocations: 99.52 kB / 486 MB, free: 15.59 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002332/0.2147, allocations: 127.4 kB / 486.2 MB, free: 15.46 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.984e-05/0.2148, allocations: 4 kB / 486.2 MB, free: 15.46 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003382/0.2182, allocations: 1.232 MB / 487.4 MB, free: 14.22 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001795/0.2184, allocations: 63.69 kB / 487.5 MB, free: 14.16 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000243/0.2186, allocations: 111.2 kB / 487.6 MB, free: 14.05 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001723/0.2204, allocations: 0.5575 MB / 488.1 MB, free: 13.49 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.553e-06/0.2204, allocations: 0 / 488.1 MB, free: 13.49 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.2204, allocations: 0 / 488.1 MB, free: 13.49 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.744e-06/0.2204, allocations: 0 / 488.1 MB, free: 13.49 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.001505/0.2219, allocations: 0.6708 MB / 488.8 MB, free: 12.77 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.694e-05/0.222, allocations: 8.875 kB / 488.8 MB, free: 12.77 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001145/0.2221, allocations: 32.56 kB / 488.8 MB, free: 12.73 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003821/0.2225, allocations: 247.3 kB / 489.1 MB, free: 12.45 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.654e-05/0.2226, allocations: 16.56 kB / 489.1 MB, free: 12.44 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.157e-05/0.2227, allocations: 27.98 kB / 489.1 MB, free: 12.41 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001091/0.2238, allocations: 467.2 kB / 489.6 MB, free: 11.95 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.611e-05/0.2238, allocations: 0 / 489.6 MB, free: 11.95 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.532e-05/0.2239, allocations: 12 kB / 489.6 MB, free: 11.94 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001009/0.224, allocations: 56.95 kB / 489.6 MB, free: 11.88 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001317/0.2253, allocations: 0.5426 MB / 490.2 MB, free: 11.34 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002823/0.2281, allocations: 1.311 MB / 491.5 MB, free: 9.906 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008788/0.229, allocations: 274.6 kB / 491.8 MB, free: 9.629 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003246/0.2294, allocations: 100.8 kB / 491.9 MB, free: 9.527 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.322e-05/0.2295, allocations: 12.14 kB / 491.9 MB, free: 9.516 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.038e-05/0.2295, allocations: 34.5 kB / 491.9 MB, free: 9.473 MB / 366.1 MB Notification: Performance of pre-optimization done (n=25): time 2.835e-06/0.2295, allocations: 3.938 kB / 491.9 MB, free: 9.469 MB / 366.1 MB Notification: Performance of matching and sorting (n=25): time 0.001139/0.2307, allocations: 341.1 kB / 492.2 MB, free: 9.129 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.664e-05/0.2308, allocations: 55.41 kB / 492.3 MB, free: 9.062 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002083/0.231, allocations: 140.8 kB / 492.4 MB, free: 8.914 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.055e-05/0.231, allocations: 29.7 kB / 492.5 MB, free: 8.879 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002109/0.2312, allocations: 191.8 kB / 492.7 MB, free: 8.688 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001131/0.2314, allocations: 90.73 kB / 492.7 MB, free: 8.598 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001519/0.2315, allocations: 69.62 kB / 492.8 MB, free: 8.523 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001807/0.2317, allocations: 326.8 kB / 493.1 MB, free: 8.195 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002874/0.232, allocations: 95.78 kB / 493.2 MB, free: 8.102 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003941/0.2324, allocations: 175 kB / 493.4 MB, free: 7.895 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000725/0.2332, allocations: 297.9 kB / 493.7 MB, free: 7.566 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.499e-06/0.2332, allocations: 0 / 493.7 MB, free: 7.566 MB / 366.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009162/0.2341, allocations: 325.8 kB / 494 MB, free: 7.242 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.836e-05/0.2342, allocations: 4 kB / 494 MB, free: 7.238 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.568e-06/0.2342, allocations: 4 kB / 494 MB, free: 7.234 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.168e-05/0.2342, allocations: 4 kB / 494 MB, free: 7.23 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007091/0.235, allocations: 119.9 kB / 494.1 MB, free: 7.113 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002091/0.2371, allocations: 2.372 MB / 496.5 MB, free: 4.648 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003056/0.2374, allocations: 39.61 kB / 496.5 MB, free: 4.609 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.474e-05/0.2374, allocations: 16 kB / 496.6 MB, free: 4.594 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.0003318/0.2378, allocations: 169.7 kB / 496.7 MB, free: 4.418 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.158e-05/0.2379, allocations: 15.91 kB / 496.7 MB, free: 4.402 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001168/0.2391, allocations: 362.5 kB / 497.1 MB, free: 4.043 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.277e-06/0.2391, allocations: 4 kB / 497.1 MB, free: 4.039 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.666e-06/0.2391, allocations: 0 / 497.1 MB, free: 4.039 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.325e-05/0.2391, allocations: 3.938 kB / 497.1 MB, free: 4.035 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006555/0.2398, allocations: 337.3 kB / 497.4 MB, free: 3.656 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.065e-06/0.2398, allocations: 0 / 497.4 MB, free: 3.656 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006112/0.2404, allocations: 107.9 kB / 497.5 MB, free: 3.551 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.276e-06/0.2404, allocations: 0 / 497.5 MB, free: 3.551 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.148e-05/0.2405, allocations: 8 kB / 497.5 MB, free: 3.543 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001784/0.2423, allocations: 2.364 MB / 499.9 MB, free: 1.086 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.2423, allocations: 0 / 499.9 MB, free: 1.086 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008357/0.2431, allocations: 372.5 kB / 0.4885 GB, free: 0.707 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.546e-05/0.2432, allocations: 96.89 kB / 0.4886 GB, free: 0.5938 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.907e-05/0.2433, allocations: 4 kB / 0.4886 GB, free: 0.5898 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002282/0.2435, allocations: 16.08 kB / 0.4887 GB, free: 0.5742 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.837e-05/0.2437, allocations: 27.91 kB / 0.4887 GB, free: 0.5469 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.5e-05/0.2437, allocations: 12 kB / 0.4887 GB, free: 0.5352 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.772e-05/0.2438, allocations: 99.2 kB / 0.4888 GB, free: 448 kB / 366.1 MB Notification: Performance of sort global known variables: time 2e-07/0.2438, allocations: 0 / 0.4888 GB, free: 448 kB / 366.1 MB Notification: Performance of remove unused functions: time 0.001277/0.2451, allocations: 255.4 kB / 0.489 GB, free: 192 kB / 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.001093/0.2462, allocations: 358.7 kB / 0.4894 GB, free: 15.83 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001193/0.2474, allocations: 304.7 kB / 0.4897 GB, free: 15.53 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.579e-06/0.2475, allocations: 0 / 0.4897 GB, free: 15.53 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006478/0.2481, allocations: 179.8 kB / 0.4898 GB, free: 15.36 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006041/0.2487, allocations: 15.94 kB / 0.4899 GB, free: 15.34 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001733/0.2505, allocations: 0.7349 MB / 0.4906 GB, free: 14.58 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005567/0.251, allocations: 0.8065 MB / 0.4914 GB, free: 13.75 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001468/0.2512, allocations: 31.42 kB / 0.4914 GB, free: 13.72 MB / 382.1 MB Notification: Performance of SimCode: time 9.42e-07/0.2512, allocations: 0 / 0.4914 GB, free: 13.72 MB / 382.1 MB Notification: Performance of Templates: time 0.02198/0.2732, allocations: 9.999 MB / 0.5012 GB, free: 3.719 MB / 382.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