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.001379/0.001379, allocations: 105.7 kB / 17.21 MB, free: 6.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001377/0.001377, allocations: 209.7 kB / 18.14 MB, free: 5.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.381/1.381, allocations: 227.4 MB / 246.3 MB, free: 10.85 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.262/0.262, allocations: 46.1 MB / 343.6 MB, free: 11.84 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001307/0.001307, allocations: 71.8 kB / 416.9 MB, free: 20.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1741/0.1755, allocations: 62.44 MB / 479.3 MB, free: 5.719 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW): time 0.004333/0.1798, allocations: 1.895 MB / 481.2 MB, free: 3.805 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006296/0.1862, allocations: 2.987 MB / 484.2 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002182/0.1864, allocations: 4 kB / 484.2 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003813/0.1868, allocations: 35.81 kB / 484.2 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003903/0.1873, allocations: 71.66 kB / 484.3 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002658/0.19, allocations: 0.65 MB / 485 MB, free: 52 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006377/0.1906, allocations: 306.7 kB / 485.3 MB, free: 15.75 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.411e-05/0.1907, allocations: 28.39 kB / 485.3 MB, free: 15.72 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003664/0.1911, allocations: 99.5 kB / 485.4 MB, free: 15.62 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003357/0.1914, allocations: 127.4 kB / 485.5 MB, free: 15.5 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.163e-05/0.1915, allocations: 12 kB / 485.5 MB, free: 15.49 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002811/0.1943, allocations: 1.216 MB / 486.7 MB, free: 14.27 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001259/0.1945, allocations: 75.67 kB / 486.8 MB, free: 14.2 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001458/0.1946, allocations: 115.2 kB / 486.9 MB, free: 14.08 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001793/0.1964, allocations: 0.9196 MB / 487.8 MB, free: 13.16 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.1965, allocations: 0 / 487.8 MB, free: 13.16 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.1965, allocations: 4 kB / 487.8 MB, free: 13.16 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.728e-06/0.1965, allocations: 4 kB / 487.9 MB, free: 13.15 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.001324/0.1978, allocations: 0.6669 MB / 488.5 MB, free: 12.44 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.994e-05/0.1979, allocations: 16.86 kB / 488.5 MB, free: 12.42 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.351e-05/0.198, allocations: 28.56 kB / 488.6 MB, free: 12.39 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003054/0.1983, allocations: 243.3 kB / 488.8 MB, free: 12.12 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.04e-05/0.1983, allocations: 20.56 kB / 488.8 MB, free: 12.1 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.229e-05/0.1984, allocations: 24 kB / 488.8 MB, free: 12.07 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008465/0.1992, allocations: 475.3 kB / 489.3 MB, free: 11.61 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.384e-05/0.1993, allocations: 0 / 489.3 MB, free: 11.61 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.303e-05/0.1993, allocations: 11.98 kB / 489.3 MB, free: 11.59 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.88e-05/0.1994, allocations: 56.84 kB / 489.4 MB, free: 11.54 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008799/0.2003, allocations: 0.5426 MB / 489.9 MB, free: 11 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002275/0.2026, allocations: 1.319 MB / 491.2 MB, free: 9.555 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006213/0.2032, allocations: 277.1 kB / 491.5 MB, free: 9.277 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002727/0.2035, allocations: 96.78 kB / 491.6 MB, free: 9.18 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.541e-05/0.2036, allocations: 8.391 kB / 491.6 MB, free: 9.172 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.151e-05/0.2036, allocations: 34.5 kB / 491.6 MB, free: 9.129 MB / 366.1 MB Notification: Performance of pre-optimization done (n=25): time 2.214e-06/0.2036, allocations: 0 / 491.6 MB, free: 9.129 MB / 366.1 MB Notification: Performance of matching and sorting (n=25): time 0.0008853/0.2045, allocations: 345.1 kB / 492 MB, free: 8.785 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.435e-05/0.2046, allocations: 51.41 kB / 492 MB, free: 8.723 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002173/0.2048, allocations: 138 kB / 492.2 MB, free: 8.574 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.196e-05/0.2049, allocations: 29.7 kB / 492.2 MB, free: 8.539 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001994/0.2051, allocations: 199.8 kB / 492.4 MB, free: 8.34 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.598e-05/0.2052, allocations: 86.75 kB / 492.5 MB, free: 8.254 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001203/0.2053, allocations: 65.7 kB / 492.5 MB, free: 8.184 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002111/0.2055, allocations: 322.8 kB / 492.9 MB, free: 7.859 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002121/0.2057, allocations: 91.78 kB / 492.9 MB, free: 7.77 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002695/0.206, allocations: 182 kB / 493.1 MB, free: 7.555 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004811/0.2065, allocations: 286 kB / 493.4 MB, free: 7.238 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.11e-06/0.2065, allocations: 4 kB / 493.4 MB, free: 7.234 MB / 366.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006466/0.2072, allocations: 325.8 kB / 493.7 MB, free: 6.91 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.544e-05/0.2072, allocations: 14.28 kB / 493.7 MB, free: 6.898 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.455e-06/0.2072, allocations: 0 / 493.7 MB, free: 6.898 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.009e-05/0.2073, allocations: 7.984 kB / 493.7 MB, free: 6.891 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005098/0.2078, allocations: 124.2 kB / 493.9 MB, free: 6.77 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001432/0.2092, allocations: 2.36 MB / 496.2 MB, free: 4.316 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002083/0.2094, allocations: 39.61 kB / 496.3 MB, free: 4.277 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.303e-05/0.2095, allocations: 16 kB / 496.3 MB, free: 4.262 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.0002265/0.2097, allocations: 173.7 kB / 496.5 MB, free: 4.082 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.726e-05/0.2098, allocations: 12.09 kB / 496.5 MB, free: 4.07 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007942/0.2106, allocations: 358.4 kB / 496.8 MB, free: 3.715 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.223e-06/0.2106, allocations: 7.938 kB / 496.8 MB, free: 3.707 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/0.2106, allocations: 0 / 496.8 MB, free: 3.707 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.008e-05/0.2106, allocations: 7.922 kB / 496.8 MB, free: 3.699 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004836/0.2111, allocations: 341.3 kB / 497.2 MB, free: 3.316 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.726e-06/0.2111, allocations: 0 / 497.2 MB, free: 3.316 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004046/0.2115, allocations: 107.9 kB / 497.3 MB, free: 3.211 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.069e-06/0.2116, allocations: 7.984 kB / 497.3 MB, free: 3.203 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.127e-05/0.2116, allocations: 8 kB / 497.3 MB, free: 3.195 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001128/0.2127, allocations: 2.364 MB / 499.6 MB, free: 0.7383 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.22e-06/0.2127, allocations: 4.031 kB / 499.6 MB, free: 0.7344 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005782/0.2133, allocations: 364.7 kB / 0.4883 GB, free: 372 kB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.425e-05/0.2134, allocations: 96.89 kB / 0.4884 GB, free: 256 kB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.27e-05/0.2135, allocations: 8 kB / 0.4884 GB, free: 248 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001483/0.2136, allocations: 11.98 kB / 0.4884 GB, free: 236 kB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.508e-05/0.2137, allocations: 23.97 kB / 0.4884 GB, free: 212 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.421e-05/0.2138, allocations: 12 kB / 0.4884 GB, free: 200 kB / 366.1 MB Notification: Performance of sorting global known variables: time 6.955e-05/0.2138, allocations: 105.8 kB / 0.4885 GB, free: 96 kB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2138, allocations: 0 / 0.4885 GB, free: 96 kB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007903/0.2146, allocations: 251.4 kB / 0.4888 GB, free: 15.85 MB / 382.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.0008961/0.2155, allocations: 346.9 kB / 0.4891 GB, free: 15.5 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0007741/0.2163, allocations: 316.6 kB / 0.4894 GB, free: 15.19 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.167e-06/0.2163, allocations: 0 / 0.4894 GB, free: 15.19 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004764/0.2168, allocations: 171.8 kB / 0.4896 GB, free: 15.02 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004695/0.2173, allocations: 23.81 kB / 0.4896 GB, free: 15 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001507/0.2188, allocations: 0.715 MB / 0.4903 GB, free: 14.27 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000523/0.2194, allocations: 0.8026 MB / 0.4911 GB, free: 13.44 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003342/0.2197, allocations: 97.73 kB / 0.4912 GB, free: 13.34 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.318e-05/0.2198, allocations: 23.44 kB / 0.4912 GB, free: 13.32 MB / 382.1 MB Notification: Performance of SimCode: time 8.92e-07/0.2198, allocations: 0 / 0.4912 GB, free: 13.32 MB / 382.1 MB Notification: Performance of Templates: time 0.01265/0.2325, allocations: 6.026 MB / 0.4971 GB, free: 7.32 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/jenkins/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/jenkins/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