Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_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_pressureLossCoefficient_DPMFLOW,tolerance=1e-05,outputFormat="mat",numberOfIntervals=10100,variableFilter="time|zeta_TOT.1.|zeta_TOT.2.|zeta_TOT.3.|rho|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_pressureLossCoefficient_DPMFLOW") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW,tolerance=1e-05,outputFormat="mat",numberOfIntervals=10100,variableFilter="time|zeta_TOT.1.|zeta_TOT.2.|zeta_TOT.3.|rho|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_pressureLossCoefficient_DPMFLOW") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.002203/0.002202, allocations: 109.1 kB / 17.86 MB, free: 5.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002792/0.002793, allocations: 209.7 kB / 18.79 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.27/2.27, allocations: 227.4 MB / 246.9 MB, free: 8.98 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3942/0.3942, allocations: 46.11 MB / 344.3 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002567/0.002567, allocations: 73.2 kB / 417.5 MB, free: 20.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1941/0.1967, allocations: 62.45 MB / 480 MB, free: 5.613 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW): time 0.005677/0.2024, allocations: 1.746 MB / 481.7 MB, free: 3.852 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002489/0.205, allocations: 0.8414 MB / 482.6 MB, free: 3.008 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001032/0.2051, allocations: 0 / 482.6 MB, free: 3.008 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003758/0.2056, allocations: 39.83 kB / 482.6 MB, free: 2.969 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002998/0.2059, allocations: 47.8 kB / 482.6 MB, free: 2.922 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005258/0.2064, allocations: 79.72 kB / 482.7 MB, free: 2.844 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004546/0.2069, allocations: 215.1 kB / 482.9 MB, free: 2.633 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.961e-05/0.207, allocations: 13.12 kB / 482.9 MB, free: 2.621 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003294/0.2074, allocations: 63.7 kB / 483 MB, free: 2.559 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002601/0.2076, allocations: 71.69 kB / 483.1 MB, free: 2.488 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.226e-05/0.2077, allocations: 4 kB / 483.1 MB, free: 2.484 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005852/0.2083, allocations: 163.8 kB / 483.2 MB, free: 2.324 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001197/0.2084, allocations: 39.77 kB / 483.3 MB, free: 2.285 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001609/0.2086, allocations: 55.67 kB / 483.3 MB, free: 2.23 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004075/0.209, allocations: 155.8 kB / 483.5 MB, free: 2.078 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.2091, allocations: 0 / 483.5 MB, free: 2.078 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.2091, allocations: 0 / 483.5 MB, free: 2.078 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.416e-06/0.2091, allocations: 0 / 483.5 MB, free: 2.078 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: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.0009759/0.2101, allocations: 459 kB / 483.9 MB, free: 1.582 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.954e-05/0.2101, allocations: 12.88 kB / 483.9 MB, free: 1.57 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009597/0.2111, allocations: 64.67 kB / 484 MB, free: 1.508 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003243/0.2115, allocations: 212.1 kB / 484.2 MB, free: 1.262 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.209e-05/0.2115, allocations: 16.38 kB / 484.2 MB, free: 1.246 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.293e-05/0.2115, allocations: 20.11 kB / 484.2 MB, free: 1.227 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006394/0.2122, allocations: 221.5 kB / 484.5 MB, free: 1.004 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.762e-05/0.2122, allocations: 3.984 kB / 484.5 MB, free: 1 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.326e-05/0.2123, allocations: 8 kB / 484.5 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.008e-05/0.2123, allocations: 15.98 kB / 484.5 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006434/0.213, allocations: 231.5 kB / 484.7 MB, free: 0.75 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001773/0.2148, allocations: 0.7248 MB / 485.4 MB, free: 15.93 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003679/0.2152, allocations: 86.52 kB / 485.5 MB, free: 15.84 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002161/0.2154, allocations: 48.81 kB / 485.6 MB, free: 15.79 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.08e-05/0.2154, allocations: 0 / 485.6 MB, free: 15.79 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.787e-05/0.2155, allocations: 38.5 kB / 485.6 MB, free: 15.74 MB / 366.1 MB Notification: Performance of pre-optimization done (n=7): time 5.08e-06/0.2155, allocations: 4 kB / 485.6 MB, free: 15.74 MB / 366.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008588/0.2164, allocations: 177.6 kB / 485.8 MB, free: 15.56 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.693e-05/0.2165, allocations: 55.34 kB / 485.8 MB, free: 15.49 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002976/0.2168, allocations: 189 kB / 486 MB, free: 15.3 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.842e-05/0.2168, allocations: 25.7 kB / 486.1 MB, free: 15.27 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001387/0.217, allocations: 135.5 kB / 486.2 MB, free: 15.13 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.845e-05/0.217, allocations: 27.64 kB / 486.2 MB, free: 15.1 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001111/0.2171, allocations: 33.7 kB / 486.2 MB, free: 15.06 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001951/0.2174, allocations: 322.8 kB / 486.6 MB, free: 14.74 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002113/0.2176, allocations: 39.95 kB / 486.6 MB, free: 14.7 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002791/0.2179, allocations: 110.8 kB / 486.7 MB, free: 14.57 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005314/0.2184, allocations: 158.7 kB / 486.9 MB, free: 14.39 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.118e-06/0.2184, allocations: 0 / 486.9 MB, free: 14.39 MB / 366.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000658/0.2191, allocations: 193.2 kB / 487.1 MB, free: 14.19 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.599e-05/0.2192, allocations: 7.938 kB / 487.1 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.009e-05/0.2192, allocations: 4 kB / 487.1 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.112e-05/0.2192, allocations: 0 / 487.1 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001623/0.2208, allocations: 132 kB / 487.2 MB, free: 14.05 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002143/0.223, allocations: 1.813 MB / 489 MB, free: 12.17 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002626/0.2233, allocations: 19.83 kB / 489 MB, free: 12.15 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.475e-05/0.2233, allocations: 12 kB / 489 MB, free: 12.14 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (14): * Single equations (assignments): 11 * 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.0002367/0.2236, allocations: 138.3 kB / 489.2 MB, free: 11.99 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.665e-05/0.2237, allocations: 15.78 kB / 489.2 MB, free: 11.98 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007675/0.2244, allocations: 186.9 kB / 489.4 MB, free: 11.79 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.804e-06/0.2245, allocations: 4 kB / 489.4 MB, free: 11.79 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.945e-06/0.2245, allocations: 0 / 489.4 MB, free: 11.79 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.668e-06/0.2245, allocations: 0 / 489.4 MB, free: 11.79 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005526/0.2251, allocations: 233.4 kB / 489.6 MB, free: 11.51 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.011e-06/0.2251, allocations: 0 / 489.6 MB, free: 11.51 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001279/0.2264, allocations: 103.9 kB / 489.7 MB, free: 11.41 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.047e-05/0.2264, allocations: 4 kB / 489.7 MB, free: 11.4 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.829e-05/0.2265, allocations: 12 kB / 489.7 MB, free: 11.39 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001717/0.2282, allocations: 1.781 MB / 491.5 MB, free: 9.539 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.397e-06/0.2282, allocations: 0 / 491.5 MB, free: 9.539 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006616/0.2289, allocations: 243.3 kB / 491.7 MB, free: 9.285 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001121/0.229, allocations: 92.86 kB / 491.8 MB, free: 9.176 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.986e-05/0.2291, allocations: 0 / 491.8 MB, free: 9.176 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002547/0.2294, allocations: 11.98 kB / 491.8 MB, free: 9.164 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.733e-05/0.2295, allocations: 12.08 kB / 491.9 MB, free: 9.152 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.142e-05/0.2295, allocations: 4 kB / 491.9 MB, free: 9.148 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003473/0.2298, allocations: 137.8 kB / 492 MB, free: 9.016 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.2299, allocations: 0 / 492 MB, free: 9.016 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006131/0.2305, allocations: 43.98 kB / 492 MB, free: 8.973 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 (11): * Single equations (assignments): 8 * 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.0002773/0.2308, allocations: 107.2 kB / 492.1 MB, free: 8.859 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002227/0.233, allocations: 232.1 kB / 492.4 MB, free: 8.633 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/0.2331, allocations: 0 / 492.4 MB, free: 8.633 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001157/0.2342, allocations: 131.7 kB / 492.5 MB, free: 8.504 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007113/0.235, allocations: 47.8 kB / 492.5 MB, free: 8.457 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001209/0.2362, allocations: 406.3 kB / 492.9 MB, free: 8.035 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004701/0.2367, allocations: 0.7435 MB / 493.7 MB, free: 7.266 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.389e-05/0.2368, allocations: 15.44 kB / 493.7 MB, free: 7.25 MB / 366.1 MB Notification: Performance of SimCode: time 1.323e-06/0.2368, allocations: 3.938 kB / 493.7 MB, free: 7.246 MB / 366.1 MB Notification: Performance of Templates: time 0.01172/0.2485, allocations: 4.427 MB / 498.1 MB, free: 2.828 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_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_pressureLossCoefficient_DPMFLOW/dp_pressureLossCoefficient_DPMFLOW.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches