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.001909/0.001909, allocations: 118 kB / 18.46 MB, free: 4.613 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.00183/0.00183, allocations: 207.4 kB / 21.4 MB, free: 1.668 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.566/1.566, allocations: 227.4 MB / 251.7 MB, free: 76 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.2558/0.2558, allocations: 46.17 MB / 351.1 MB, free: 14.3 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.002265/0.002265, allocations: 81.53 kB / 490.2 MB, free: 28.27 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1292/0.1315, allocations: 62.44 MB / 0.5397 GB, free: 4.387 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives): time 0.002681/0.1342, allocations: 1.478 MB / 0.5411 GB, free: 2.891 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00211/0.1364, allocations: 1.448 MB / 0.5425 GB, free: 1.434 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.092e-05/0.1364, allocations: 0 / 0.5425 GB, free: 1.434 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001671/0.1366, allocations: 23.84 kB / 0.5426 GB, free: 1.41 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002214/0.1368, allocations: 55.62 kB / 0.5426 GB, free: 1.355 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004856/0.1373, allocations: 229.3 kB / 0.5428 GB, free: 1.133 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001246/0.1374, allocations: 55.72 kB / 0.5429 GB, free: 1.078 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.464e-05/0.1375, allocations: 7.984 kB / 0.5429 GB, free: 1.07 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.285e-05/0.1376, allocations: 19.92 kB / 0.5429 GB, free: 1.051 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.372e-05/0.1376, allocations: 27.86 kB / 0.5429 GB, free: 1.023 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.098e-05/0.1377, allocations: 0 / 0.5429 GB, free: 1.023 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006269/0.1383, allocations: 347.5 kB / 0.5433 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.39e-05/0.1383, allocations: 7.938 kB / 0.5433 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.023e-05/0.1384, allocations: 27.81 kB / 0.5433 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004573/0.1388, allocations: 283.1 kB / 0.5436 GB, free: 380 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.636e-06/0.1388, allocations: 0 / 0.5436 GB, free: 380 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1388, allocations: 0 / 0.5436 GB, free: 380 kB / 398.1 MB Notification: Performance of Transformations before backend: time 8.015e-06/0.1389, allocations: 0 / 0.5436 GB, free: 380 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.0005942/0.1394, allocations: 422.7 kB / 0.544 GB, free: 15.91 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.559e-05/0.1395, allocations: 8.031 kB / 0.544 GB, free: 15.9 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.739e-05/0.1395, allocations: 12.88 kB / 0.544 GB, free: 15.89 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001527/0.1397, allocations: 176.3 kB / 0.5442 GB, free: 15.68 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.275e-05/0.1397, allocations: 384 / 0.5442 GB, free: 15.68 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.306e-05/0.1397, allocations: 12.31 kB / 0.5442 GB, free: 15.67 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001353/0.1399, allocations: 65.8 kB / 0.5442 GB, free: 15.6 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.222e-05/0.1399, allocations: 3.938 kB / 0.5443 GB, free: 15.59 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.877e-06/0.1399, allocations: 0 / 0.5443 GB, free: 15.59 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.108e-05/0.1399, allocations: 4 kB / 0.5443 GB, free: 15.59 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.595e-05/0.14, allocations: 51.97 kB / 0.5443 GB, free: 15.54 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002201/0.1403, allocations: 189.5 kB / 0.5445 GB, free: 15.3 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000103/0.1404, allocations: 66.53 kB / 0.5445 GB, free: 15.23 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.952e-05/0.1404, allocations: 40.84 kB / 0.5446 GB, free: 15.19 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.711e-05/0.1405, allocations: 20 kB / 0.5446 GB, free: 15.17 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.216e-05/0.1405, allocations: 38.5 kB / 0.5446 GB, free: 15.12 MB / 414.1 MB Notification: Performance of pre-optimization done (n=8): time 8.41e-07/0.1405, allocations: 0 / 0.5446 GB, free: 15.12 MB / 414.1 MB Notification: Performance of matching and sorting (n=12): time 0.01937/0.1599, allocations: 1.626 MB / 0.5462 GB, free: 13.46 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.927e-05/0.16, allocations: 51.41 kB / 0.5463 GB, free: 13.4 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001469/0.1602, allocations: 139 kB / 0.5464 GB, free: 13.25 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.95e-05/0.1602, allocations: 33.64 kB / 0.5464 GB, free: 13.21 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.95e-05/0.1603, allocations: 92.12 kB / 0.5465 GB, free: 13.12 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.761e-05/0.1604, allocations: 39.64 kB / 0.5466 GB, free: 13.08 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001109/0.1605, allocations: 49.62 kB / 0.5466 GB, free: 13.03 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000171/0.1607, allocations: 322.8 kB / 0.5469 GB, free: 12.7 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006571/0.1613, allocations: 195.9 kB / 0.5471 GB, free: 12.51 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006618/0.162, allocations: 210.5 kB / 0.5473 GB, free: 12.31 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00133/0.1633, allocations: 380.7 kB / 0.5477 GB, free: 11.93 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.1634, allocations: 0 / 0.5477 GB, free: 11.93 MB / 414.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.001425/0.1648, allocations: 460.7 kB / 0.5481 GB, free: 11.48 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.772e-05/0.1648, allocations: 4 kB / 0.5481 GB, free: 11.48 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.859e-06/0.1648, allocations: 7.984 kB / 0.5481 GB, free: 11.47 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.443e-05/0.1649, allocations: 0 / 0.5481 GB, free: 11.47 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005214/0.1654, allocations: 67.94 kB / 0.5482 GB, free: 11.4 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.1654, allocations: 0 / 0.5482 GB, free: 11.4 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000409/0.1658, allocations: 39.95 kB / 0.5482 GB, free: 11.36 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.509e-05/0.1658, allocations: 4 kB / 0.5482 GB, free: 11.36 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.0001346/0.166, allocations: 121.7 kB / 0.5484 GB, free: 11.23 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.113e-05/0.166, allocations: 7.953 kB / 0.5484 GB, free: 11.22 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001446/0.1675, allocations: 358.1 kB / 0.5487 GB, free: 10.87 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.027e-06/0.1675, allocations: 8 kB / 0.5487 GB, free: 10.86 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.145e-06/0.1675, allocations: 7.922 kB / 0.5487 GB, free: 10.85 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.039e-06/0.1675, allocations: 0 / 0.5487 GB, free: 10.85 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002885/0.1704, allocations: 0.7778 MB / 0.5495 GB, free: 10.01 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.335e-06/0.1704, allocations: 0 / 0.5495 GB, free: 10.01 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004848/0.1709, allocations: 71.97 kB / 0.5495 GB, free: 9.938 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.072e-06/0.1709, allocations: 4.094 kB / 0.5495 GB, free: 9.934 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.629e-05/0.171, allocations: 11.92 kB / 0.5496 GB, free: 9.922 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.171, allocations: 0 / 0.5496 GB, free: 9.922 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.382e-06/0.171, allocations: 7.938 kB / 0.5496 GB, free: 9.914 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001322/0.1723, allocations: 421.8 kB / 0.55 GB, free: 9.477 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001022/0.1724, allocations: 105 kB / 0.5501 GB, free: 9.355 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.787e-05/0.1725, allocations: 8 kB / 0.5501 GB, free: 9.348 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004257/0.1729, allocations: 31.97 kB / 0.5501 GB, free: 9.316 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.749e-05/0.1729, allocations: 15.92 kB / 0.5501 GB, free: 9.301 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.659e-05/0.173, allocations: 19.92 kB / 0.5501 GB, free: 9.281 MB / 414.1 MB Notification: Performance of sorting global known variables: time 8.076e-05/0.1731, allocations: 97.23 kB / 0.5502 GB, free: 9.188 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1731, allocations: 0 / 0.5502 GB, free: 9.188 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005874/0.1737, allocations: 167.6 kB / 0.5504 GB, free: 9.023 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.0006811/0.1743, allocations: 254.7 kB / 0.5506 GB, free: 8.766 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001342/0.1757, allocations: 371.7 kB / 0.551 GB, free: 8.402 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.1757, allocations: 0 / 0.551 GB, free: 8.402 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006101/0.1763, allocations: 156 kB / 0.5511 GB, free: 8.25 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003661/0.1767, allocations: 15.98 kB / 0.5512 GB, free: 8.234 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002564/0.1793, allocations: 0.4989 MB / 0.5516 GB, free: 7.699 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003496/0.1796, allocations: 0.7001 MB / 0.5523 GB, free: 6.973 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000196/0.1798, allocations: 44.77 kB / 0.5524 GB, free: 6.926 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001461/0.18, allocations: 27.41 kB / 0.5524 GB, free: 6.898 MB / 414.1 MB Notification: Performance of SimCode: time 2.01e-07/0.18, allocations: 0 / 0.5524 GB, free: 6.898 MB / 414.1 MB Notification: Performance of Templates: time 0.01483/0.1948, allocations: 8.541 MB / 0.5607 GB, free: 14.35 MB / 430.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/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_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: 5.436999399214983]