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.001349/0.001349, allocations: 115.1 kB / 18.45 MB, free: 4.566 MB / 14.72 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.001459/0.001459, allocations: 215.2 kB / 21.42 MB, free: 1.605 MB / 14.72 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 1.499/1.499, allocations: 230.6 MB / 254.8 MB, free: 15.22 MB / 206.1 MB " [Timeout remaining time 178] 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.3237/0.3237, allocations: 46.91 MB / 357.8 MB, free: 10.41 MB / 286.1 MB " [Timeout remaining time 179] 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 0.00196/0.00196, allocations: 63.91 kB / 0.4921 GB, free: 7.523 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1329/0.1349, allocations: 66 MB / 0.5565 GB, free: 5.398 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives): time 0.003362/0.1382, allocations: 1.462 MB / 0.5579 GB, free: 3.922 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002511/0.1407, allocations: 1.462 MB / 0.5594 GB, free: 2.453 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.122e-05/0.1408, allocations: 0 / 0.5594 GB, free: 2.453 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002226/0.141, allocations: 31.81 kB / 0.5594 GB, free: 2.422 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002898/0.1413, allocations: 47.7 kB / 0.5595 GB, free: 2.375 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007352/0.1421, allocations: 223.1 kB / 0.5597 GB, free: 2.156 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001578/0.1422, allocations: 55.66 kB / 0.5597 GB, free: 2.102 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.721e-05/0.1423, allocations: 7.938 kB / 0.5597 GB, free: 2.094 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.74e-05/0.1423, allocations: 31.84 kB / 0.5598 GB, free: 2.062 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.446e-05/0.1424, allocations: 27.86 kB / 0.5598 GB, free: 2.035 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.062e-05/0.1424, allocations: 4 kB / 0.5598 GB, free: 2.031 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007172/0.1431, allocations: 335.6 kB / 0.5601 GB, free: 1.703 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 2.269e-05/0.1432, allocations: 15.97 kB / 0.5601 GB, free: 1.688 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.07e-05/0.1432, allocations: 23.81 kB / 0.5601 GB, free: 1.664 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005702/0.1438, allocations: 275.2 kB / 0.5604 GB, free: 1.395 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.1438, allocations: 0 / 0.5604 GB, free: 1.395 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.1438, allocations: 0 / 0.5604 GB, free: 1.395 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.012e-06/0.1438, allocations: 4 kB / 0.5604 GB, free: 1.391 MB / 414.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.0006862/0.1445, allocations: 426.6 kB / 0.5608 GB, free: 0.9258 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.094e-05/0.1445, allocations: 12.03 kB / 0.5608 GB, free: 0.9141 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.503e-05/0.1446, allocations: 12.89 kB / 0.5608 GB, free: 0.9023 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001655/0.1447, allocations: 172.3 kB / 0.561 GB, free: 0.6953 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.501e-05/0.1447, allocations: 384 / 0.561 GB, free: 0.6953 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.924e-05/0.1448, allocations: 4.375 kB / 0.561 GB, free: 0.6914 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001565/0.1449, allocations: 65.8 kB / 0.5611 GB, free: 0.6211 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.24e-05/0.1449, allocations: 0 / 0.5611 GB, free: 0.6211 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.481e-05/0.145, allocations: 4 kB / 0.5611 GB, free: 0.6172 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.124e-05/0.145, allocations: 7.984 kB / 0.5611 GB, free: 0.6094 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.888e-05/0.1451, allocations: 55.91 kB / 0.5611 GB, free: 0.5547 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002441/0.1453, allocations: 193.5 kB / 0.5613 GB, free: 324 kB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001039/0.1454, allocations: 54.5 kB / 0.5614 GB, free: 260 kB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.999e-05/0.1455, allocations: 40.84 kB / 0.5614 GB, free: 216 kB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.767e-05/0.1455, allocations: 23.98 kB / 0.5614 GB, free: 192 kB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.661e-05/0.1456, allocations: 34.5 kB / 0.5615 GB, free: 148 kB / 414.1 MB Notification: Performance of pre-optimization done (n=8): time 1.062e-06/0.1456, allocations: 0 / 0.5615 GB, free: 148 kB / 414.1 MB Notification: Performance of matching and sorting (n=12): time 0.02138/0.167, allocations: 1.63 MB / 0.5631 GB, free: 14.48 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.012e-05/0.167, allocations: 55.41 kB / 0.5631 GB, free: 14.42 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001682/0.1672, allocations: 136 kB / 0.5632 GB, free: 14.27 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.411e-05/0.1672, allocations: 25.7 kB / 0.5633 GB, free: 14.24 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.789e-05/0.1673, allocations: 92.08 kB / 0.5634 GB, free: 14.15 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.696e-05/0.1673, allocations: 43.62 kB / 0.5634 GB, free: 14.11 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001266/0.1675, allocations: 45.67 kB / 0.5634 GB, free: 14.05 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001524/0.1676, allocations: 318.8 kB / 0.5637 GB, free: 13.73 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006922/0.1683, allocations: 203.9 kB / 0.5639 GB, free: 13.54 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000681/0.169, allocations: 206.8 kB / 0.5641 GB, free: 13.34 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001411/0.1704, allocations: 380.7 kB / 0.5645 GB, free: 12.96 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.1704, allocations: 0 / 0.5645 GB, free: 12.96 MB / 430.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.001559/0.172, allocations: 457.3 kB / 0.5649 GB, free: 12.51 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.479e-05/0.172, allocations: 9.875 kB / 0.5649 GB, free: 12.5 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.278e-06/0.172, allocations: 0 / 0.5649 GB, free: 12.5 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.161e-05/0.172, allocations: 4 kB / 0.5649 GB, free: 12.5 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005812/0.1726, allocations: 63.92 kB / 0.565 GB, free: 12.43 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.917e-06/0.1726, allocations: 0 / 0.565 GB, free: 12.43 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004522/0.1731, allocations: 39.97 kB / 0.565 GB, free: 12.39 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.002e-05/0.1731, allocations: 7.984 kB / 0.5651 GB, free: 12.39 MB / 430.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.0001421/0.1732, allocations: 128 kB / 0.5652 GB, free: 12.25 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.224e-05/0.1733, allocations: 11.95 kB / 0.5652 GB, free: 12.24 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001532/0.1748, allocations: 366.1 kB / 0.5655 GB, free: 11.88 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.332e-06/0.1748, allocations: 4 kB / 0.5655 GB, free: 11.88 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.172e-06/0.1748, allocations: 0 / 0.5655 GB, free: 11.88 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.499e-06/0.1748, allocations: 0 / 0.5655 GB, free: 11.88 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003087/0.1779, allocations: 0.7778 MB / 0.5663 GB, free: 11.03 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.087e-06/0.1779, allocations: 0 / 0.5663 GB, free: 11.03 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004993/0.1784, allocations: 67.97 kB / 0.5664 GB, free: 10.96 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.484e-06/0.1784, allocations: 4 kB / 0.5664 GB, free: 10.96 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.116e-05/0.1785, allocations: 12.08 kB / 0.5664 GB, free: 10.95 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.677e-06/0.1785, allocations: 3.938 kB / 0.5664 GB, free: 10.95 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.591e-06/0.1785, allocations: 7.938 kB / 0.5664 GB, free: 10.94 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001424/0.1799, allocations: 425.9 kB / 0.5668 GB, free: 10.5 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001314/0.18, allocations: 109 kB / 0.5669 GB, free: 10.37 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.953e-05/0.1801, allocations: 4 kB / 0.5669 GB, free: 10.37 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004589/0.1805, allocations: 43.95 kB / 0.5669 GB, free: 10.32 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.253e-05/0.1806, allocations: 11.92 kB / 0.567 GB, free: 10.31 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.502e-05/0.1806, allocations: 8 kB / 0.567 GB, free: 10.3 MB / 430.1 MB Notification: Performance of sorting global known variables: time 8.951e-05/0.1807, allocations: 105.1 kB / 0.5671 GB, free: 10.2 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1807, allocations: 0 / 0.5671 GB, free: 10.2 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0006689/0.1814, allocations: 167.6 kB / 0.5672 GB, free: 10.04 MB / 430.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.0008141/0.1822, allocations: 246.7 kB / 0.5675 GB, free: 9.789 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001448/0.1836, allocations: 355.7 kB / 0.5678 GB, free: 9.441 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.628e-06/0.1836, allocations: 0 / 0.5678 GB, free: 9.441 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006117/0.1842, allocations: 148 kB / 0.5679 GB, free: 9.297 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004177/0.1846, allocations: 18.98 kB / 0.568 GB, free: 9.281 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00276/0.1874, allocations: 0.5278 MB / 0.5685 GB, free: 8.711 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003635/0.1878, allocations: 0.7002 MB / 0.5692 GB, free: 7.984 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001779/0.1879, allocations: 23.42 kB / 0.5692 GB, free: 7.961 MB / 430.1 MB Notification: Performance of SimCode: time 8.32e-07/0.1879, allocations: 0 / 0.5692 GB, free: 7.961 MB / 430.1 MB Notification: Performance of Templates: time 0.009528/0.1975, allocations: 4.62 MB / 0.5737 GB, free: 3.336 MB / 430.1 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestComponents/Fittings/TestPressureLossDerivatives/TestPressureLossDerivatives.csv","/var/lib/jenkins1/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: 8.127746627025772]