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.001205/0.001205, allocations: 115.9 kB / 18.4 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001522/0.001522, allocations: 199.5 kB / 19.34 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.385/1.385, allocations: 227.4 MB / 247.5 MB, free: 10.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2204/0.2204, allocations: 46.1 MB / 344.9 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001407/0.001407, allocations: 80.44 kB / 419 MB, free: 18.99 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1101/0.1116, allocations: 62.44 MB / 481.5 MB, free: 4.512 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW): time 0.003592/0.1152, allocations: 1.843 MB / 483.3 MB, free: 2.656 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001166/0.1164, allocations: 0.6308 MB / 483.9 MB, free: 2.023 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.165e-05/0.1165, allocations: 0 / 483.9 MB, free: 2.023 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000307/0.1168, allocations: 51.67 kB / 484 MB, free: 1.973 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001855/0.117, allocations: 71.59 kB / 484.1 MB, free: 1.902 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000375/0.1174, allocations: 119.5 kB / 484.2 MB, free: 1.785 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00027/0.1177, allocations: 234.7 kB / 484.4 MB, free: 1.555 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.613e-05/0.1178, allocations: 32.3 kB / 484.4 MB, free: 1.523 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001085/0.1179, allocations: 79.58 kB / 484.5 MB, free: 1.445 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001517/0.118, allocations: 107.4 kB / 484.6 MB, free: 1.34 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.329e-05/0.1181, allocations: 8 kB / 484.6 MB, free: 1.332 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003738/0.1185, allocations: 223.7 kB / 484.8 MB, free: 1.113 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.389e-05/0.1185, allocations: 55.69 kB / 484.9 MB, free: 1.059 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001101/0.1187, allocations: 99.34 kB / 485 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004495/0.1191, allocations: 330.9 kB / 485.3 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.803e-06/0.1191, allocations: 0 / 485.3 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1191, allocations: 3.938 kB / 485.3 MB, free: 0.6328 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.833e-06/0.1191, allocations: 0 / 485.3 MB, free: 0.6328 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.0007965/0.1199, allocations: 0.5226 MB / 485.8 MB, free: 64 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.96e-05/0.12, allocations: 8.031 kB / 485.9 MB, free: 56 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001841/0.1218, allocations: 204.3 kB / 486.1 MB, free: 15.86 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003834/0.1222, allocations: 267.9 kB / 486.3 MB, free: 15.55 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.01e-05/0.1223, allocations: 16.94 kB / 486.3 MB, free: 15.54 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.388e-05/0.1223, allocations: 20.36 kB / 486.4 MB, free: 15.52 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008834/0.1232, allocations: 0.5047 MB / 486.9 MB, free: 15.01 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/0.1232, allocations: 0 / 486.9 MB, free: 15.01 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.644e-05/0.1233, allocations: 15.98 kB / 486.9 MB, free: 14.99 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.263e-05/0.1233, allocations: 28.53 kB / 486.9 MB, free: 14.96 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001159/0.1245, allocations: 0.5798 MB / 487.5 MB, free: 14.38 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00216/0.1267, allocations: 1.162 MB / 488.6 MB, free: 13.13 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006294/0.1273, allocations: 178.3 kB / 488.8 MB, free: 12.95 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000315/0.1276, allocations: 88.77 kB / 488.9 MB, free: 12.86 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.801e-05/0.1277, allocations: 0 / 488.9 MB, free: 12.86 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.383e-05/0.1277, allocations: 30.56 kB / 488.9 MB, free: 12.82 MB / 366.1 MB Notification: Performance of pre-optimization done (n=7): time 1.062e-06/0.1277, allocations: 4 kB / 488.9 MB, free: 12.82 MB / 366.1 MB Notification: Performance of matching and sorting (n=7): time 0.001113/0.1288, allocations: 297.3 kB / 489.2 MB, free: 12.52 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.322e-05/0.1289, allocations: 55.41 kB / 489.3 MB, free: 12.45 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002728/0.1291, allocations: 294.4 kB / 489.6 MB, free: 12.16 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.33e-05/0.1292, allocations: 29.7 kB / 489.6 MB, free: 12.12 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001001/0.1293, allocations: 159.5 kB / 489.8 MB, free: 11.96 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.2e-05/0.1293, allocations: 27.64 kB / 489.8 MB, free: 11.93 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.596e-05/0.1294, allocations: 41.62 kB / 489.8 MB, free: 11.89 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001226/0.1295, allocations: 330.8 kB / 490.1 MB, free: 11.55 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003276/0.1299, allocations: 91.89 kB / 490.2 MB, free: 11.46 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003339/0.1302, allocations: 119.3 kB / 490.4 MB, free: 11.34 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006577/0.1309, allocations: 207.2 kB / 490.6 MB, free: 11.12 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.839e-06/0.1309, allocations: 3.938 kB / 490.6 MB, free: 11.12 MB / 366.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0008546/0.1318, allocations: 269.1 kB / 490.8 MB, free: 10.85 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.987e-05/0.1318, allocations: 8 kB / 490.8 MB, free: 10.84 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.1318, allocations: 0 / 490.8 MB, free: 10.84 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.676e-05/0.1318, allocations: 0 / 490.8 MB, free: 10.84 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005751/0.1376, allocations: 467.3 kB / 491.3 MB, free: 10.38 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002993/0.1406, allocations: 1.949 MB / 493.2 MB, free: 8.363 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003889/0.141, allocations: 39.69 kB / 493.3 MB, free: 8.324 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.894e-05/0.141, allocations: 7.984 kB / 493.3 MB, free: 8.316 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.000204/0.1412, allocations: 157.7 kB / 493.4 MB, free: 8.152 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.796e-05/0.1413, allocations: 19.72 kB / 493.5 MB, free: 8.133 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.094e-05/0.1414, allocations: 33.8 kB / 493.5 MB, free: 8.102 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.526e-06/0.1414, allocations: 0 / 493.5 MB, free: 8.102 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.1414, allocations: 0 / 493.5 MB, free: 8.102 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.172e-06/0.1414, allocations: 3.984 kB / 493.5 MB, free: 8.098 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003698/0.1418, allocations: 285.5 kB / 493.8 MB, free: 7.77 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.1418, allocations: 0 / 493.8 MB, free: 7.77 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005555/0.1473, allocations: 455.3 kB / 494.2 MB, free: 7.324 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.212e-06/0.1474, allocations: 4 kB / 494.2 MB, free: 7.32 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.663e-05/0.1474, allocations: 7.984 kB / 494.2 MB, free: 7.312 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002704/0.1501, allocations: 1.941 MB / 496.2 MB, free: 5.301 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.1501, allocations: 4 kB / 496.2 MB, free: 5.297 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007597/0.1509, allocations: 319.1 kB / 496.5 MB, free: 4.969 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.595e-05/0.151, allocations: 88.92 kB / 496.6 MB, free: 4.863 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.691e-05/0.151, allocations: 8 kB / 496.6 MB, free: 4.855 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003489/0.1514, allocations: 15.97 kB / 496.6 MB, free: 4.84 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.94e-05/0.1515, allocations: 11.97 kB / 496.6 MB, free: 4.828 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.831e-05/0.1515, allocations: 15.98 kB / 496.6 MB, free: 4.812 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002251/0.1517, allocations: 209.9 kB / 496.8 MB, free: 4.605 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1518, allocations: 0 / 496.8 MB, free: 4.605 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000383/0.1521, allocations: 71.84 kB / 496.9 MB, free: 4.535 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.0002506/0.1524, allocations: 119.1 kB / 497 MB, free: 4.41 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.005808/0.1582, allocations: 0.5928 MB / 497.6 MB, free: 3.816 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.1582, allocations: 0 / 497.6 MB, free: 3.816 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006257/0.1645, allocations: 499.4 kB / 498.1 MB, free: 3.328 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005938/0.1651, allocations: 40.73 kB / 498.1 MB, free: 3.289 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001397/0.1665, allocations: 483.8 kB / 498.6 MB, free: 2.797 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004573/0.167, allocations: 0.7831 MB / 499.4 MB, free: 1.988 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002371/0.1673, allocations: 49.92 kB / 499.4 MB, free: 1.938 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.914e-05/0.1674, allocations: 19.42 kB / 499.5 MB, free: 1.918 MB / 366.1 MB Notification: Performance of SimCode: time 4.71e-07/0.1674, allocations: 0 / 499.5 MB, free: 1.918 MB / 366.1 MB Notification: Performance of Templates: time 0.01334/0.1807, allocations: 5.208 MB / 0.4928 GB, free: 12.78 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 -s cvode -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