Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001277/0.001277, allocations: 83.62 kB / 21.43 MB, free: 3.133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.007288/0.007288, allocations: 157.8 kB / 24.7 MB, free: 8.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8669/0.8669, allocations: 177.1 MB / 205 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2461/0.2461, allocations: 34.25 MB / 295.7 MB, free: 0.7188 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|rho_a|rho_b|mu_a|mu_b|dp|m_flow1|m_flow2|der_m_flow1",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives") translateModel(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|rho_a|rho_b|mu_a|mu_b|dp|m_flow1|m_flow2|der_m_flow1",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 443.4 MB, free: 1.176 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.239e-05/2.398e-05, allocations: 2.281 kB / 443.4 MB, free: 1.172 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives): time 0.1832/0.1832, allocations: 1.444 MB / 444.9 MB, free: 43.77 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001168/0.1844, allocations: 1.284 MB / 446.2 MB, free: 43.23 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.484e-05/0.1844, allocations: 2.969 kB / 446.2 MB, free: 43.23 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001254/0.1846, allocations: 40.3 kB / 446.2 MB, free: 43.21 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001608/0.1847, allocations: 46.09 kB / 446.3 MB, free: 43.19 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000291/0.185, allocations: 231.8 kB / 446.5 MB, free: 43.12 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 7.917e-05/0.1851, allocations: 57.66 kB / 446.5 MB, free: 43.1 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.561e-05/0.1851, allocations: 10.02 kB / 446.5 MB, free: 43.09 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.327e-05/0.1852, allocations: 36.09 kB / 446.6 MB, free: 43.09 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.817e-05/0.1852, allocations: 19.12 kB / 446.6 MB, free: 43.09 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.14e-05/0.1852, allocations: 0.5 kB / 446.6 MB, free: 43.09 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002964/0.1855, allocations: 278 kB / 446.9 MB, free: 43.06 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.067e-05/0.1856, allocations: 9.891 kB / 446.9 MB, free: 43.06 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.322e-05/0.1856, allocations: 14.91 kB / 446.9 MB, free: 43.06 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002808/0.1859, allocations: 299.8 kB / 447.2 MB, free: 43.01 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.455e-06/0.1859, allocations: 7.5 kB / 447.2 MB, free: 43 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.1859, allocations: 0 / 447.2 MB, free: 43 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.599e-06/0.1859, allocations: 0 / 447.2 MB, free: 43 MB / 410.7 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.0003532/0.1862, allocations: 347.8 kB / 447.5 MB, free: 42.7 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.772e-05/0.1863, allocations: 8.188 kB / 447.5 MB, free: 42.7 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.368e-05/0.1863, allocations: 10.73 kB / 447.6 MB, free: 42.7 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.572e-05/0.1864, allocations: 123.2 kB / 447.7 MB, free: 42.56 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.086e-05/0.1864, allocations: 3.281 kB / 447.7 MB, free: 42.56 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.012e-05/0.1864, allocations: 3.344 kB / 447.7 MB, free: 42.56 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001015/0.1865, allocations: 71.83 kB / 447.7 MB, free: 42.52 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.959e-06/0.1865, allocations: 3.219 kB / 447.8 MB, free: 42.52 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.908e-06/0.1865, allocations: 4.125 kB / 447.8 MB, free: 42.52 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.618e-06/0.1865, allocations: 0 / 447.8 MB, free: 42.52 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.359e-05/0.1866, allocations: 61.58 kB / 447.8 MB, free: 42.52 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001088/0.1867, allocations: 126.2 kB / 447.9 MB, free: 42.39 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.936e-05/0.1867, allocations: 59.72 kB / 448 MB, free: 42.37 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.661e-05/0.1868, allocations: 43.17 kB / 448 MB, free: 42.36 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.301e-05/0.1868, allocations: 18.58 kB / 448.1 MB, free: 42.36 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.328e-05/0.1868, allocations: 30.56 kB / 448.1 MB, free: 42.32 MB / 410.7 MB Notification: Performance of pre-optimization done (n=8): time 7.62e-07/0.1868, allocations: 2.719 kB / 448.1 MB, free: 42.32 MB / 410.7 MB Notification: Performance of matching and sorting (n=12): time 0.00836/0.1952, allocations: 1.631 MB / 449.7 MB, free: 41.98 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.761e-05/0.1952, allocations: 54.25 kB / 449.8 MB, free: 41.92 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.839e-05/0.1953, allocations: 137 kB / 449.9 MB, free: 41.8 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.574e-05/0.1953, allocations: 29.7 kB / 449.9 MB, free: 41.77 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.211e-05/0.1953, allocations: 92.86 kB / 450 MB, free: 41.68 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.111e-05/0.1954, allocations: 37.61 kB / 450.1 MB, free: 41.65 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.28e-05/0.1954, allocations: 52.27 kB / 450.1 MB, free: 41.62 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.376e-05/0.1955, allocations: 321.2 kB / 450.4 MB, free: 41.3 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002911/0.1957, allocations: 204 kB / 450.6 MB, free: 41.23 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002753/0.196, allocations: 212 kB / 450.8 MB, free: 41.15 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005676/0.1966, allocations: 386.4 kB / 451.2 MB, free: 41.01 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.91e-07/0.1966, allocations: 0 / 451.2 MB, free: 41.01 MB / 410.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0006266/0.1972, allocations: 464.1 kB / 451.7 MB, free: 40.83 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.539e-05/0.1972, allocations: 9.562 kB / 451.7 MB, free: 40.82 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/0.1972, allocations: 0 / 451.7 MB, free: 40.82 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.269e-05/0.1973, allocations: 0 / 451.7 MB, free: 40.82 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002352/0.1975, allocations: 72.53 kB / 451.7 MB, free: 40.82 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.97e-06/0.1975, allocations: 0 / 451.7 MB, free: 40.82 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001651/0.1977, allocations: 40.06 kB / 451.8 MB, free: 40.81 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.422e-05/0.1977, allocations: 6.125 kB / 451.8 MB, free: 40.81 MB / 410.7 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 6.817e-05/0.1977, allocations: 120.8 kB / 451.9 MB, free: 40.69 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.805e-05/0.1978, allocations: 16.45 kB / 451.9 MB, free: 40.68 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006677/0.1984, allocations: 367.1 kB / 452.3 MB, free: 40.56 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.1984, allocations: 3.938 kB / 452.3 MB, free: 40.55 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.1984, allocations: 2.719 kB / 452.3 MB, free: 40.55 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.1984, allocations: 0 / 452.3 MB, free: 40.55 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001247/0.1997, allocations: 0.6976 MB / 453 MB, free: 40.18 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.1997, allocations: 0 / 453 MB, free: 40.18 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001945/0.1999, allocations: 69.92 kB / 453.1 MB, free: 40.18 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.1999, allocations: 0 / 453.1 MB, free: 40.18 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.605e-05/0.1999, allocations: 5.781 kB / 453.1 MB, free: 40.18 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.096e-06/0.1999, allocations: 3.328 kB / 453.1 MB, free: 40.18 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.1999, allocations: 6.906 kB / 453.1 MB, free: 40.18 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005813/0.2005, allocations: 424.7 kB / 453.5 MB, free: 39.95 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.406e-05/0.2005, allocations: 31.34 kB / 453.5 MB, free: 39.93 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.135e-05/0.2006, allocations: 5.938 kB / 453.5 MB, free: 39.93 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001762/0.2007, allocations: 39.7 kB / 453.6 MB, free: 39.93 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.85e-05/0.2008, allocations: 8.922 kB / 453.6 MB, free: 39.93 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.322e-05/0.2008, allocations: 13.16 kB / 453.6 MB, free: 39.92 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.029e-05/0.2008, allocations: 103.3 kB / 453.7 MB, free: 39.84 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2008, allocations: 0 / 453.7 MB, free: 39.84 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003909/0.2012, allocations: 168.3 kB / 453.8 MB, free: 39.81 MB / 410.7 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.0004412/0.2016, allocations: 280.7 kB / 454.1 MB, free: 39.67 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0006341/0.2023, allocations: 358.3 kB / 454.5 MB, free: 39.56 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.2023, allocations: 0 / 454.5 MB, free: 39.56 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002629/0.2025, allocations: 150.1 kB / 454.6 MB, free: 39.52 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002687/0.2028, allocations: 19.45 kB / 454.6 MB, free: 39.51 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001165/0.204, allocations: 0.5086 MB / 455.1 MB, free: 39.27 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.032e-05/0.204, allocations: 80.67 kB / 455.2 MB, free: 39.2 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000104/0.2041, allocations: 25.5 kB / 455.3 MB, free: 39.19 MB / 410.7 MB Notification: Performance of SimCode: time 5.41e-07/0.2041, allocations: 0 / 455.3 MB, free: 39.19 MB / 410.7 MB Notification: Performance of Templates: time 0.004178/0.2083, allocations: 4.672 MB / 459.9 MB, free: 38.84 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestComponents/Fittings/TestPressureLossDerivatives/TestPressureLossDerivatives.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.642288359813392]