Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001742/0.001742, allocations: 117.2 kB / 19.13 MB, free: 3.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001969/0.001969, allocations: 210.6 kB / 22.08 MB, free: 0.9961 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.51/1.51, allocations: 227.4 MB / 252.3 MB, free: 104 kB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2284/0.2284, allocations: 46.17 MB / 351.8 MB, free: 14.31 MB / 286.1 MB " [Timeout remaining time 180] 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.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_trunk_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_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002238/0.002238, allocations: 78.59 kB / 490.9 MB, free: 28.09 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1208/0.1231, allocations: 62.45 MB / 0.5404 GB, free: 4.277 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives): time 0.002778/0.1259, allocations: 1.465 MB / 0.5418 GB, free: 2.793 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002193/0.1281, allocations: 1.444 MB / 0.5432 GB, free: 1.34 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.542e-05/0.1282, allocations: 0 / 0.5432 GB, free: 1.34 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001891/0.1284, allocations: 39.75 kB / 0.5432 GB, free: 1.301 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002353/0.1286, allocations: 47.64 kB / 0.5433 GB, free: 1.254 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005182/0.1292, allocations: 227.1 kB / 0.5435 GB, free: 1.031 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001235/0.1293, allocations: 55.66 kB / 0.5435 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.126e-05/0.1294, allocations: 7.984 kB / 0.5436 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.328e-05/0.1294, allocations: 23.92 kB / 0.5436 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.552e-05/0.1295, allocations: 27.84 kB / 0.5436 GB, free: 0.918 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.395e-05/0.1295, allocations: 4 kB / 0.5436 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006626/0.1302, allocations: 331.6 kB / 0.5439 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.728e-05/0.1302, allocations: 19.86 kB / 0.5439 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.664e-05/0.1303, allocations: 31.8 kB / 0.544 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004732/0.1307, allocations: 275.2 kB / 0.5442 GB, free: 276 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.1308, allocations: 0 / 0.5442 GB, free: 276 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.1308, allocations: 0 / 0.5442 GB, free: 276 kB / 398.1 MB Notification: Performance of Transformations before backend: time 6.312e-06/0.1308, allocations: 0 / 0.5442 GB, free: 276 kB / 398.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.0006211/0.1314, allocations: 426.6 kB / 0.5446 GB, free: 15.8 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.779e-05/0.1315, allocations: 8.031 kB / 0.5447 GB, free: 15.8 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.454e-05/0.1315, allocations: 8.891 kB / 0.5447 GB, free: 15.79 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001668/0.1317, allocations: 177.8 kB / 0.5448 GB, free: 15.58 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.361e-05/0.1317, allocations: 8.312 kB / 0.5448 GB, free: 15.57 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.304e-05/0.1317, allocations: 4.375 kB / 0.5448 GB, free: 15.57 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001498/0.1319, allocations: 69.8 kB / 0.5449 GB, free: 15.49 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/0.1319, allocations: 0 / 0.5449 GB, free: 15.49 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.235e-05/0.1319, allocations: 4 kB / 0.5449 GB, free: 15.49 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.1319, allocations: 0 / 0.5449 GB, free: 15.49 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.842e-05/0.132, allocations: 55.97 kB / 0.545 GB, free: 15.43 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002298/0.1323, allocations: 181.6 kB / 0.5451 GB, free: 15.21 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001076/0.1324, allocations: 62.58 kB / 0.5452 GB, free: 15.14 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.594e-05/0.1325, allocations: 44.98 kB / 0.5452 GB, free: 15.09 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.164e-05/0.1325, allocations: 27.97 kB / 0.5453 GB, free: 15.06 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.581e-05/0.1326, allocations: 38.5 kB / 0.5453 GB, free: 15.02 MB / 414.1 MB Notification: Performance of pre-optimization done (n=8): time 1.092e-06/0.1326, allocations: 4 kB / 0.5453 GB, free: 15.01 MB / 414.1 MB Notification: Performance of matching and sorting (n=12): time 0.0206/0.1532, allocations: 1.626 MB / 0.5469 GB, free: 13.36 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.397e-05/0.1533, allocations: 55.41 kB / 0.5469 GB, free: 13.29 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001522/0.1534, allocations: 139.7 kB / 0.5471 GB, free: 13.14 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.207e-05/0.1535, allocations: 25.7 kB / 0.5471 GB, free: 13.11 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.292e-05/0.1536, allocations: 96.06 kB / 0.5472 GB, free: 13.01 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.106e-05/0.1536, allocations: 39.59 kB / 0.5472 GB, free: 12.97 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000113/0.1537, allocations: 49.67 kB / 0.5473 GB, free: 12.92 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001906/0.1539, allocations: 314.8 kB / 0.5476 GB, free: 12.6 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006829/0.1546, allocations: 207.9 kB / 0.5478 GB, free: 12.4 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006787/0.1553, allocations: 202.6 kB / 0.548 GB, free: 12.2 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001366/0.1567, allocations: 384.7 kB / 0.5483 GB, free: 11.82 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.1567, allocations: 0 / 0.5483 GB, free: 11.82 MB / 414.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.001551/0.1583, allocations: 456.2 kB / 0.5488 GB, free: 11.38 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.981e-05/0.1583, allocations: 4 kB / 0.5488 GB, free: 11.37 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.237e-06/0.1583, allocations: 0 / 0.5488 GB, free: 11.37 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.188e-05/0.1583, allocations: 0 / 0.5488 GB, free: 11.37 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005491/0.1589, allocations: 71.86 kB / 0.5488 GB, free: 11.3 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.234e-06/0.1589, allocations: 0 / 0.5488 GB, free: 11.3 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004446/0.1594, allocations: 43.97 kB / 0.5489 GB, free: 11.26 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.824e-05/0.1594, allocations: 7.984 kB / 0.5489 GB, free: 11.25 MB / 414.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.0001331/0.1595, allocations: 117.8 kB / 0.549 GB, free: 11.12 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.377e-05/0.1596, allocations: 7.953 kB / 0.549 GB, free: 11.12 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001621/0.1612, allocations: 362 kB / 0.5494 GB, free: 10.76 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.694e-06/0.1612, allocations: 7.922 kB / 0.5494 GB, free: 10.75 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.1612, allocations: 4 kB / 0.5494 GB, free: 10.75 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.951e-06/0.1613, allocations: 3.984 kB / 0.5494 GB, free: 10.74 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003084/0.1643, allocations: 0.7778 MB / 0.5501 GB, free: 9.898 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.357e-06/0.1644, allocations: 4 kB / 0.5501 GB, free: 9.895 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004974/0.1649, allocations: 64.03 kB / 0.5502 GB, free: 9.832 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.111e-06/0.1649, allocations: 0 / 0.5502 GB, free: 9.832 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.371e-05/0.1649, allocations: 11.98 kB / 0.5502 GB, free: 9.82 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.975e-06/0.1649, allocations: 8 kB / 0.5502 GB, free: 9.812 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.306e-06/0.165, allocations: 7.875 kB / 0.5502 GB, free: 9.805 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001374/0.1663, allocations: 413.9 kB / 0.5506 GB, free: 9.375 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001132/0.1665, allocations: 109 kB / 0.5507 GB, free: 9.25 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.918e-05/0.1665, allocations: 3.984 kB / 0.5507 GB, free: 9.246 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004571/0.167, allocations: 39.97 kB / 0.5508 GB, free: 9.207 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.988e-05/0.167, allocations: 23.8 kB / 0.5508 GB, free: 9.184 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.304e-05/0.167, allocations: 4 kB / 0.5508 GB, free: 9.18 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001022/0.1672, allocations: 103.2 kB / 0.5509 GB, free: 9.078 MB / 414.1 MB Notification: Performance of sort global known variables: time 2e-07/0.1672, allocations: 0 / 0.5509 GB, free: 9.078 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006247/0.1678, allocations: 167.6 kB / 0.5511 GB, free: 8.914 MB / 414.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.0007083/0.1685, allocations: 257 kB / 0.5513 GB, free: 8.656 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001424/0.1699, allocations: 375.7 kB / 0.5517 GB, free: 8.289 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.17, allocations: 0 / 0.5517 GB, free: 8.289 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000629/0.1706, allocations: 152.1 kB / 0.5518 GB, free: 8.141 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003782/0.171, allocations: 15.98 kB / 0.5518 GB, free: 8.125 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002743/0.1737, allocations: 0.524 MB / 0.5523 GB, free: 7.559 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004055/0.1742, allocations: 0.7001 MB / 0.553 GB, free: 6.832 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001592/0.1743, allocations: 27.42 kB / 0.553 GB, free: 6.805 MB / 414.1 MB Notification: Performance of SimCode: time 7.01e-07/0.1743, allocations: 0 / 0.553 GB, free: 6.805 MB / 414.1 MB Notification: Performance of Templates: time 0.008524/0.1829, allocations: 4.627 MB / 0.5576 GB, free: 2.172 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Fittings/TestPressureLossDerivatives/TestPressureLossDerivatives.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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: 7.973176134051755]