Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rho_a|rho_b|mu_a|mu_b|dp|m_flow1|m_flow2|der_m_flow1",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives") translateModel(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rho_a|rho_b|mu_a|mu_b|dp|m_flow1|m_flow2|der_m_flow1",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001669/0.001669, allocations: 104.3 kB / 18.4 MB, free: 4.57 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001996/0.001995, allocations: 191 kB / 19.34 MB, free: 3.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.498/1.498, allocations: 222.9 MB / 243 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2386/0.2386, allocations: 44.18 MB / 337.4 MB, free: 2.711 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001307/0.001307, allocations: 68.23 kB / 409.9 MB, free: 26.53 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1476/0.1489, allocations: 60.82 MB / 470.7 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives): time 0.00297/0.1519, allocations: 1.459 MB / 472.2 MB, free: 12.19 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002104/0.1541, allocations: 1.417 MB / 473.6 MB, free: 10.76 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.44e-05/0.1541, allocations: 0 / 473.6 MB, free: 10.76 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002059/0.1544, allocations: 23.84 kB / 473.6 MB, free: 10.74 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002814/0.1547, allocations: 51.67 kB / 473.7 MB, free: 10.69 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004989/0.1552, allocations: 235 kB / 473.9 MB, free: 10.46 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001159/0.1553, allocations: 51.72 kB / 473.9 MB, free: 10.41 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.077e-05/0.1554, allocations: 4 kB / 473.9 MB, free: 10.4 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.842e-05/0.1554, allocations: 23.92 kB / 474 MB, free: 10.38 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.487e-05/0.1555, allocations: 27.86 kB / 474 MB, free: 10.35 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.194e-05/0.1555, allocations: 0 / 474 MB, free: 10.35 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005695/0.1561, allocations: 335.5 kB / 474.3 MB, free: 10.02 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.586e-05/0.1561, allocations: 15.94 kB / 474.3 MB, free: 10.01 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.506e-05/0.1562, allocations: 31.8 kB / 474.4 MB, free: 9.977 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004451/0.1566, allocations: 275.4 kB / 474.6 MB, free: 9.707 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.621e-06/0.1566, allocations: 0 / 474.6 MB, free: 9.707 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.1566, allocations: 0 / 474.6 MB, free: 9.707 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.312e-06/0.1567, allocations: 0 / 474.6 MB, free: 9.707 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006609/0.1573, allocations: 411.2 kB / 475 MB, free: 9.258 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/0.1574, allocations: 8.031 kB / 475.1 MB, free: 9.25 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.328e-05/0.1574, allocations: 8.844 kB / 475.1 MB, free: 9.242 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000146/0.1576, allocations: 168.4 kB / 475.2 MB, free: 9.039 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.471e-05/0.1576, allocations: 8.375 kB / 475.2 MB, free: 9.031 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.473e-05/0.1576, allocations: 384 / 475.2 MB, free: 9.031 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001613/0.1578, allocations: 73.78 kB / 475.3 MB, free: 8.953 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.247e-05/0.1578, allocations: 7.938 kB / 475.3 MB, free: 8.945 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.09e-05/0.1578, allocations: 4 kB / 475.3 MB, free: 8.941 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.1578, allocations: 0 / 475.3 MB, free: 8.941 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.789e-05/0.1579, allocations: 59.91 kB / 475.4 MB, free: 8.883 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002354/0.1582, allocations: 189.5 kB / 475.6 MB, free: 8.648 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001152/0.1583, allocations: 58.56 kB / 475.6 MB, free: 8.582 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.357e-05/0.1584, allocations: 40.84 kB / 475.7 MB, free: 8.539 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.284e-05/0.1585, allocations: 19.98 kB / 475.7 MB, free: 8.52 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.034e-05/0.1585, allocations: 38.5 kB / 475.7 MB, free: 8.473 MB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 1.152e-06/0.1585, allocations: 0 / 475.7 MB, free: 8.473 MB / 350.1 MB Notification: Performance of matching and sorting (n=12): time 0.01887/0.1774, allocations: 1.619 MB / 477.3 MB, free: 6.824 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.974e-05/0.1774, allocations: 55.41 kB / 477.4 MB, free: 6.758 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001196/0.1776, allocations: 135.4 kB / 477.5 MB, free: 6.613 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.921e-05/0.1776, allocations: 29.7 kB / 477.5 MB, free: 6.578 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.974e-05/0.1777, allocations: 88.12 kB / 477.6 MB, free: 6.488 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.247e-05/0.1777, allocations: 43.39 kB / 477.7 MB, free: 6.445 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.76e-05/0.1778, allocations: 49.59 kB / 477.7 MB, free: 6.391 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001279/0.178, allocations: 318.8 kB / 478 MB, free: 6.07 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005924/0.1786, allocations: 203.8 kB / 478.2 MB, free: 5.871 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000554/0.1791, allocations: 211.8 kB / 478.4 MB, free: 5.664 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001151/0.1803, allocations: 378.2 kB / 478.8 MB, free: 5.293 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.1803, allocations: 0 / 478.8 MB, free: 5.293 MB / 350.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.001271/0.1816, allocations: 462.9 kB / 479.3 MB, free: 4.836 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.236e-05/0.1816, allocations: 4 kB / 479.3 MB, free: 4.832 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.717e-06/0.1816, allocations: 0 / 479.3 MB, free: 4.832 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.819e-05/0.1817, allocations: 0 / 479.3 MB, free: 4.832 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004808/0.1821, allocations: 63.94 kB / 479.3 MB, free: 4.77 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.327e-06/0.1822, allocations: 4 kB / 479.3 MB, free: 4.766 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003804/0.1826, allocations: 39.95 kB / 479.4 MB, free: 4.727 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.932e-05/0.1826, allocations: 11.98 kB / 479.4 MB, free: 4.715 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (data.zetaLaminarKnown,data.zeta2_at_a,data.zeta1_at_a) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001175/0.1827, allocations: 117.8 kB / 479.5 MB, free: 4.59 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.116e-05/0.1827, allocations: 7.906 kB / 479.5 MB, free: 4.582 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001306/0.1841, allocations: 362.1 kB / 479.9 MB, free: 4.223 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.671e-06/0.1841, allocations: 0 / 479.9 MB, free: 4.223 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.196e-06/0.1841, allocations: 4 kB / 479.9 MB, free: 4.219 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.695e-06/0.1841, allocations: 0 / 479.9 MB, free: 4.219 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002775/0.1869, allocations: 0.7856 MB / 480.7 MB, free: 3.367 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.1869, allocations: 4 kB / 480.7 MB, free: 3.363 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004312/0.1873, allocations: 67.97 kB / 480.7 MB, free: 3.297 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.539e-06/0.1874, allocations: 0 / 480.7 MB, free: 3.297 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.847e-05/0.1874, allocations: 7.984 kB / 480.7 MB, free: 3.289 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.86e-06/0.1874, allocations: 4 kB / 480.7 MB, free: 3.285 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.1874, allocations: 3.938 kB / 480.7 MB, free: 3.281 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001142/0.1886, allocations: 414.2 kB / 481.1 MB, free: 2.852 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001016/0.1887, allocations: 116.9 kB / 481.3 MB, free: 2.719 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.476e-05/0.1887, allocations: 0 / 481.3 MB, free: 2.719 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003871/0.1891, allocations: 39.95 kB / 481.3 MB, free: 2.68 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.525e-05/0.1891, allocations: 19.88 kB / 481.3 MB, free: 2.66 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.932e-05/0.1892, allocations: 7.984 kB / 481.3 MB, free: 2.652 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.292e-05/0.1892, allocations: 98.22 kB / 481.4 MB, free: 2.559 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1893, allocations: 3.938 kB / 481.4 MB, free: 2.555 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006301/0.1899, allocations: 175.9 kB / 481.6 MB, free: 2.383 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (12): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000655/0.1905, allocations: 247.1 kB / 481.8 MB, free: 2.133 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0012/0.1918, allocations: 379.5 kB / 482.2 MB, free: 1.766 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.1918, allocations: 0 / 482.2 MB, free: 1.766 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005314/0.1923, allocations: 148 kB / 482.3 MB, free: 1.621 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003795/0.1927, allocations: 23.78 kB / 482.4 MB, free: 1.598 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00234/0.195, allocations: 0.4991 MB / 482.9 MB, free: 1.062 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000316/0.1954, allocations: 0.6924 MB / 483.6 MB, free: 352 kB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000197/0.1956, allocations: 48.81 kB / 483.6 MB, free: 300 kB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001435/0.1957, allocations: 27.42 kB / 483.6 MB, free: 272 kB / 350.1 MB Notification: Performance of SimCode: time 4.61e-07/0.1957, allocations: 3.938 kB / 483.6 MB, free: 268 kB / 350.1 MB Notification: Performance of Templates: time 0.01325/0.209, allocations: 8.519 MB / 492.2 MB, free: 7.734 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Fittings/TestPressureLossDerivatives/TestPressureLossDerivatives.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches