Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_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.General.dp_nominalDensityViscosity_DPMFLOW,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eta.1.|eta.2.|eta.3.|rho.1.|rho.2.|rho.3.|input_mdot.1.|input_mdot.2.|input_mdot.3.|input_dp.1.|input_dp.2.|input_dp.3.|M_FLOW.1.|M_FLOW.2.|M_FLOW.3.|DP.1.|DP.2.|DP.3.|DP_plot.1.|DP_plot.2.|DP_plot.3.|input_DP.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eta.1.|eta.2.|eta.3.|rho.1.|rho.2.|rho.3.|input_mdot.1.|input_mdot.2.|input_mdot.3.|input_dp.1.|input_dp.2.|input_dp.3.|M_FLOW.1.|M_FLOW.2.|M_FLOW.3.|DP.1.|DP.2.|DP.3.|DP_plot.1.|DP_plot.2.|DP_plot.3.|input_DP.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.002144/0.002144, allocations: 100.5 kB / 17.85 MB, free: 5.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002375/0.002375, 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.104/2.104, allocations: 227.4 MB / 246.9 MB, free: 10.72 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3281/0.3281, allocations: 46.11 MB / 344.3 MB, free: 11.8 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002146/0.002146, allocations: 76.66 kB / 417.5 MB, free: 20.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1825/0.1847, allocations: 62.43 MB / 480 MB, free: 5.727 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW): time 0.006332/0.1911, allocations: 1.899 MB / 481.9 MB, free: 3.809 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002106/0.1933, allocations: 0.6543 MB / 482.5 MB, free: 3.152 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001638/0.1935, allocations: 3.938 kB / 482.5 MB, free: 3.148 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005272/0.1941, allocations: 55.73 kB / 482.6 MB, free: 3.094 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003674/0.1945, allocations: 55.67 kB / 482.6 MB, free: 3.039 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006725/0.1952, allocations: 103.1 kB / 482.7 MB, free: 2.941 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006006/0.1958, allocations: 306.6 kB / 483 MB, free: 2.641 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001169/0.1959, allocations: 28.3 kB / 483 MB, free: 2.613 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002298/0.1962, allocations: 79.58 kB / 483.1 MB, free: 2.535 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003104/0.1965, allocations: 111.4 kB / 483.2 MB, free: 2.426 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.152e-05/0.1966, allocations: 8 kB / 483.2 MB, free: 2.418 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007104/0.1973, allocations: 223.7 kB / 483.5 MB, free: 2.199 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001408/0.1975, allocations: 51.7 kB / 483.5 MB, free: 2.148 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001967/0.1977, allocations: 99.34 kB / 483.6 MB, free: 2.051 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005777/0.1983, allocations: 223.7 kB / 483.8 MB, free: 1.832 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.1983, allocations: 0 / 483.8 MB, free: 1.832 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.1983, allocations: 4 kB / 483.8 MB, free: 1.828 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.223e-05/0.1983, allocations: 0 / 483.8 MB, free: 1.828 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 70 * Number of variables: 70 Notification: Performance of Generate backend data structure: time 0.001295/0.1996, allocations: 0.5266 MB / 484.4 MB, free: 1.254 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.457e-05/0.1997, allocations: 16.81 kB / 484.4 MB, free: 1.238 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003398/0.2031, allocations: 200.3 kB / 484.6 MB, free: 1.043 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005958/0.2038, allocations: 264 kB / 484.8 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.166e-05/0.2038, allocations: 16.92 kB / 484.8 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.256e-05/0.2039, allocations: 24.38 kB / 484.9 MB, free: 0.707 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001871/0.2058, allocations: 0.5007 MB / 485.4 MB, free: 204 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.924e-05/0.2059, allocations: 0 / 485.4 MB, free: 204 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.448e-05/0.2059, allocations: 12 kB / 485.4 MB, free: 192 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.962e-05/0.206, allocations: 28.55 kB / 485.4 MB, free: 160 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00224/0.2083, allocations: 0.5759 MB / 486 MB, free: 15.58 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004103/0.2124, allocations: 1.165 MB / 487.1 MB, free: 14.33 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001134/0.2136, allocations: 174.3 kB / 487.3 MB, free: 14.15 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005746/0.2142, allocations: 84.77 kB / 487.4 MB, free: 14.06 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.558e-05/0.2142, allocations: 8.141 kB / 487.4 MB, free: 14.05 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.13e-05/0.2143, allocations: 30.56 kB / 487.4 MB, free: 14.02 MB / 366.1 MB Notification: Performance of pre-optimization done (n=7): time 2.795e-06/0.2143, allocations: 0 / 487.4 MB, free: 14.02 MB / 366.1 MB Notification: Performance of matching and sorting (n=7): time 0.001952/0.2163, allocations: 301.2 kB / 487.7 MB, free: 13.71 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.003e-05/0.2163, allocations: 51.41 kB / 487.8 MB, free: 13.65 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004905/0.2168, allocations: 286.4 kB / 488.1 MB, free: 13.36 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.228e-05/0.2169, allocations: 25.7 kB / 488.1 MB, free: 13.33 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001839/0.2171, allocations: 171.5 kB / 488.3 MB, free: 13.16 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.552e-05/0.2172, allocations: 23.64 kB / 488.3 MB, free: 13.14 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001491/0.2173, allocations: 33.69 kB / 488.3 MB, free: 13.1 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001892/0.2175, allocations: 346.8 kB / 488.6 MB, free: 12.75 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005959/0.2182, allocations: 83.91 kB / 488.7 MB, free: 12.67 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006062/0.2188, allocations: 135.3 kB / 488.9 MB, free: 12.52 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00114/0.2199, allocations: 207.2 kB / 489.1 MB, free: 12.31 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.993e-06/0.22, allocations: 3.938 kB / 489.1 MB, free: 12.3 MB / 366.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001456/0.2214, allocations: 261.1 kB / 489.3 MB, free: 12.04 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.766e-05/0.2215, allocations: 8 kB / 489.3 MB, free: 12.04 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.047e-06/0.2215, allocations: 0 / 489.3 MB, free: 12.04 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.571e-05/0.2215, allocations: 7.984 kB / 489.3 MB, free: 12.03 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008968/0.2305, allocations: 467.4 kB / 489.8 MB, free: 11.57 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003861/0.2344, allocations: 1.942 MB / 491.7 MB, free: 9.559 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005679/0.2351, allocations: 47.64 kB / 491.8 MB, free: 9.512 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.768e-05/0.2351, allocations: 11.92 kB / 491.8 MB, free: 9.5 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 initialization (13): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * 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): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003117/0.2355, allocations: 157.8 kB / 491.9 MB, free: 9.336 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001025/0.2356, allocations: 23.7 kB / 492 MB, free: 9.312 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001473/0.2357, allocations: 29.7 kB / 492 MB, free: 9.285 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.337e-06/0.2357, allocations: 4 kB / 492 MB, free: 9.281 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.739e-06/0.2358, allocations: 0 / 492 MB, free: 9.281 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.422e-06/0.2358, allocations: 0 / 492 MB, free: 9.281 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005913/0.2364, allocations: 293.4 kB / 492.3 MB, free: 8.945 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.889e-06/0.2364, allocations: 0 / 492.3 MB, free: 8.945 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006535/0.2429, allocations: 447.3 kB / 492.7 MB, free: 8.508 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.978e-06/0.243, allocations: 0 / 492.7 MB, free: 8.508 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.357e-05/0.243, allocations: 11.98 kB / 492.7 MB, free: 8.496 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004353/0.2474, allocations: 1.941 MB / 494.7 MB, free: 6.484 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.472e-06/0.2474, allocations: 3.984 kB / 494.7 MB, free: 6.48 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009314/0.2484, allocations: 327.1 kB / 495 MB, free: 6.145 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001672/0.2486, allocations: 92.91 kB / 495.1 MB, free: 6.035 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.237e-05/0.2487, allocations: 96 / 495.1 MB, free: 6.035 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004273/0.2491, allocations: 31.91 kB / 495.1 MB, free: 6.004 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.639e-05/0.2492, allocations: 7.984 kB / 495.1 MB, free: 5.996 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.754e-05/0.2492, allocations: 3.984 kB / 495.1 MB, free: 5.992 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002771/0.2495, allocations: 213.9 kB / 495.3 MB, free: 5.781 MB / 366.1 MB Notification: Performance of sort global known variables: time 7.22e-07/0.2495, allocations: 0 / 495.3 MB, free: 5.781 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004716/0.25, allocations: 71.84 kB / 495.4 MB, free: 5.711 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 (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * 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): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002854/0.2503, allocations: 115.1 kB / 495.5 MB, free: 5.59 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.006845/0.2572, allocations: 0.5889 MB / 496.1 MB, free: 5 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 6.021e-06/0.2572, allocations: 0 / 496.1 MB, free: 5 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006357/0.2636, allocations: 499.4 kB / 496.6 MB, free: 4.512 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005487/0.2642, allocations: 36.55 kB / 496.6 MB, free: 4.477 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001458/0.2656, allocations: 0.5674 MB / 497.2 MB, free: 3.879 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004722/0.2661, allocations: 0.7716 MB / 498 MB, free: 3.078 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001226/0.2663, allocations: 23.42 kB / 498 MB, free: 3.055 MB / 366.1 MB Notification: Performance of SimCode: time 2.685e-06/0.2663, allocations: 4 kB / 498 MB, free: 3.051 MB / 366.1 MB Notification: Performance of Templates: time 0.01181/0.2781, allocations: 6.642 MB / 0.4928 GB, free: 12.43 MB / 382.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/PressureLoss/General/dp_nominalDensityViscosity_DPMFLOW/dp_nominalDensityViscosity_DPMFLOW.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches