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.001268/0.001268, allocations: 108.7 kB / 17.21 MB, free: 6.27 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.001234/0.001235, allocations: 194 kB / 18.12 MB, free: 5.363 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.409/1.409, allocations: 222.9 MB / 241.8 MB, free: 15.55 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.2257/0.2257, allocations: 44.17 MB / 336.1 MB, free: 3.023 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001365/0.001365, allocations: 68.75 kB / 407.7 MB, free: 27.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1459/0.1473, allocations: 60.82 MB / 468.5 MB, free: 14.86 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives): time 0.003741/0.1511, allocations: 1.509 MB / 470 MB, free: 13.33 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002606/0.1538, allocations: 1.456 MB / 471.5 MB, free: 11.87 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.679e-05/0.1539, allocations: 0 / 471.5 MB, free: 11.87 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002507/0.1542, allocations: 31.83 kB / 471.5 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003118/0.1545, allocations: 31.83 kB / 471.5 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000818/0.1553, allocations: 171.5 kB / 471.7 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000155/0.1555, allocations: 63.64 kB / 471.8 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.709e-05/0.1556, allocations: 4.281 kB / 471.8 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.972e-05/0.1556, allocations: 15.94 kB / 471.8 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.134e-05/0.1557, allocations: 31.84 kB / 471.8 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.178e-05/0.1557, allocations: 0 / 471.8 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006605/0.1564, allocations: 335.5 kB / 472.2 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.752e-05/0.1564, allocations: 7.938 kB / 472.2 MB, free: 11.19 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.077e-05/0.1565, allocations: 31.8 kB / 472.2 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004576/0.1569, allocations: 279.3 kB / 472.5 MB, free: 10.88 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.462e-06/0.157, allocations: 3.984 kB / 472.5 MB, free: 10.88 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.002e-06/0.157, allocations: 0 / 472.5 MB, free: 10.88 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.906e-06/0.157, allocations: 0 / 472.5 MB, free: 10.88 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.0006588/0.1576, allocations: 415.3 kB / 472.9 MB, free: 10.43 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.629e-05/0.1577, allocations: 12.03 kB / 472.9 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.547e-05/0.1578, allocations: 4.844 kB / 472.9 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000184/0.1579, allocations: 172.3 kB / 473.1 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.307e-05/0.158, allocations: 8.375 kB / 473.1 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.221e-05/0.158, allocations: 4.375 kB / 473.1 MB, free: 10.19 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001517/0.1582, allocations: 69.8 kB / 473.1 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.471e-05/0.1582, allocations: 0 / 473.1 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.405e-05/0.1582, allocations: 4 kB / 473.1 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.942e-05/0.1582, allocations: 0 / 473.1 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000116/0.1583, allocations: 63.89 kB / 473.2 MB, free: 10.05 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002532/0.1586, allocations: 185.5 kB / 473.4 MB, free: 9.82 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001058/0.1587, allocations: 66.48 kB / 473.5 MB, free: 9.746 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.14e-05/0.1588, allocations: 40.84 kB / 473.5 MB, free: 9.703 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.299e-05/0.1589, allocations: 19.98 kB / 473.5 MB, free: 9.684 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.571e-05/0.1589, allocations: 38.5 kB / 473.5 MB, free: 9.637 MB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 1.202e-06/0.1589, allocations: 0 / 473.5 MB, free: 9.637 MB / 350.1 MB Notification: Performance of matching and sorting (n=12): time 0.02035/0.1793, allocations: 1.611 MB / 475.2 MB, free: 7.996 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.924e-05/0.1794, allocations: 55.41 kB / 475.2 MB, free: 7.93 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001482/0.1795, allocations: 138 kB / 475.3 MB, free: 7.781 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.99e-05/0.1796, allocations: 25.7 kB / 475.4 MB, free: 7.75 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.934e-05/0.1796, allocations: 88.12 kB / 475.5 MB, free: 7.66 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.168e-05/0.1797, allocations: 43.45 kB / 475.5 MB, free: 7.617 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001226/0.1798, allocations: 49.53 kB / 475.6 MB, free: 7.562 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000136/0.18, allocations: 318.8 kB / 475.9 MB, free: 7.242 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000651/0.1806, allocations: 203.9 kB / 476.1 MB, free: 7.043 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006276/0.1813, allocations: 203.8 kB / 476.3 MB, free: 6.844 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001314/0.1826, allocations: 384.7 kB / 476.6 MB, free: 6.465 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.1826, allocations: 3.938 kB / 476.6 MB, free: 6.461 MB / 350.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.001438/0.1841, allocations: 454.6 kB / 477.1 MB, free: 6.012 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.761e-05/0.1841, allocations: 4 kB / 477.1 MB, free: 6.008 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.147e-05/0.1841, allocations: 0 / 477.1 MB, free: 6.008 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.216e-05/0.1841, allocations: 0 / 477.1 MB, free: 6.008 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005547/0.1847, allocations: 67.88 kB / 477.2 MB, free: 5.941 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.455e-05/0.1847, allocations: 4 kB / 477.2 MB, free: 5.938 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004198/0.1852, allocations: 43.95 kB / 477.2 MB, free: 5.895 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.67e-05/0.1852, allocations: 4.156 kB / 477.2 MB, free: 5.891 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.0001386/0.1853, allocations: 125.8 kB / 477.3 MB, free: 5.758 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.756e-05/0.1854, allocations: 7.906 kB / 477.3 MB, free: 5.75 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001482/0.1869, allocations: 366 kB / 477.7 MB, free: 5.387 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.062e-06/0.1869, allocations: 0 / 477.7 MB, free: 5.387 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.437e-06/0.1869, allocations: 4 kB / 477.7 MB, free: 5.383 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.1869, allocations: 4 kB / 477.7 MB, free: 5.379 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002941/0.1899, allocations: 0.7778 MB / 478.5 MB, free: 4.535 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/0.1899, allocations: 3.938 kB / 478.5 MB, free: 4.531 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004808/0.1904, allocations: 68.02 kB / 478.5 MB, free: 4.465 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.26e-06/0.1904, allocations: 0 / 478.5 MB, free: 4.465 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.796e-05/0.1904, allocations: 8 kB / 478.6 MB, free: 4.457 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.849e-06/0.1904, allocations: 4 kB / 478.6 MB, free: 4.453 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.782e-06/0.1904, allocations: 7.875 kB / 478.6 MB, free: 4.445 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001323/0.1918, allocations: 413.8 kB / 479 MB, free: 4.016 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001346/0.1919, allocations: 113 kB / 479.1 MB, free: 3.887 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.013e-05/0.192, allocations: 0 / 479.1 MB, free: 3.887 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004335/0.1924, allocations: 43.95 kB / 479.1 MB, free: 3.844 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.591e-05/0.1925, allocations: 15.88 kB / 479.1 MB, free: 3.828 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.275e-05/0.1925, allocations: 7.984 kB / 479.1 MB, free: 3.82 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.827e-05/0.1926, allocations: 105.7 kB / 479.3 MB, free: 3.719 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1926, allocations: 0 / 479.3 MB, free: 3.719 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007248/0.1933, allocations: 160 kB / 479.4 MB, free: 3.562 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.000861/0.1942, allocations: 259.5 kB / 479.7 MB, free: 3.301 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001315/0.1955, allocations: 371.7 kB / 480 MB, free: 2.938 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.378e-06/0.1955, allocations: 0 / 480 MB, free: 2.938 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005897/0.1961, allocations: 152 kB / 480.2 MB, free: 2.789 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004315/0.1966, allocations: 20.12 kB / 480.2 MB, free: 2.77 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002584/0.1992, allocations: 0.5243 MB / 480.7 MB, free: 2.211 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003427/0.1995, allocations: 0.6965 MB / 481.4 MB, free: 1.488 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002492/0.1998, allocations: 36.66 kB / 481.4 MB, free: 1.449 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001617/0.2, allocations: 27.34 kB / 481.5 MB, free: 1.422 MB / 350.1 MB Notification: Performance of SimCode: time 4.21e-07/0.2, allocations: 0 / 481.5 MB, free: 1.422 MB / 350.1 MB Notification: Performance of Templates: time 0.01666/0.2166, allocations: 8.352 MB / 489.8 MB, free: 9.066 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Fittings/TestPressureLossDerivatives/TestPressureLossDerivatives.csv","/var/lib/jenkins/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