Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001636/0.001636, allocations: 100.4 kB / 20.45 MB, free: 1.262 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.001827/0.001827, allocations: 208.1 kB / 23.74 MB, free: 4.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.439/1.439, allocations: 207.7 MB / 234.6 MB, free: 9.816 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2338/0.2338, allocations: 44.25 MB / 331.1 MB, free: 9.434 MB / 270.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002301/0.002301, allocations: 69.78 kB / 468.8 MB, free: 3.867 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1322/0.1345, allocations: 61.05 MB / 0.5174 GB, free: 6.691 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives): time 0.002784/0.1372, allocations: 1.437 MB / 0.5188 GB, free: 5.242 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002148/0.1394, allocations: 1.305 MB / 0.5201 GB, free: 3.926 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.873e-05/0.1394, allocations: 0 / 0.5201 GB, free: 3.926 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002033/0.1396, allocations: 31.84 kB / 0.5201 GB, free: 3.895 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002504/0.1399, allocations: 47.69 kB / 0.5201 GB, free: 3.848 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005725/0.1405, allocations: 223.1 kB / 0.5203 GB, free: 3.629 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001181/0.1406, allocations: 59.66 kB / 0.5204 GB, free: 3.57 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.261e-05/0.1406, allocations: 11.97 kB / 0.5204 GB, free: 3.559 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.677e-05/0.1407, allocations: 19.94 kB / 0.5204 GB, free: 3.539 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.364e-05/0.1408, allocations: 19.86 kB / 0.5205 GB, free: 3.52 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.337e-05/0.1408, allocations: 4 kB / 0.5205 GB, free: 3.516 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005179/0.1413, allocations: 271.7 kB / 0.5207 GB, free: 3.25 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.92e-05/0.1413, allocations: 15.88 kB / 0.5207 GB, free: 3.234 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.59e-05/0.1414, allocations: 19.86 kB / 0.5208 GB, free: 3.215 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004371/0.1418, allocations: 271.1 kB / 0.521 GB, free: 2.949 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.081e-06/0.1418, allocations: 0 / 0.521 GB, free: 2.949 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.963e-06/0.1418, allocations: 0 / 0.521 GB, free: 2.949 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.935e-06/0.1418, allocations: 0 / 0.521 GB, free: 2.949 MB / 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.0007034/0.1425, allocations: 341.6 kB / 0.5213 GB, free: 2.586 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.667e-05/0.1426, allocations: 8.031 kB / 0.5213 GB, free: 2.578 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.716e-05/0.1426, allocations: 8.891 kB / 0.5214 GB, free: 2.57 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001787/0.1428, allocations: 118.4 kB / 0.5215 GB, free: 2.43 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.744e-05/0.1428, allocations: 4.375 kB / 0.5215 GB, free: 2.426 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.76e-05/0.1428, allocations: 4.375 kB / 0.5215 GB, free: 2.422 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001769/0.143, allocations: 73.78 kB / 0.5215 GB, free: 2.344 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.721e-05/0.143, allocations: 7.891 kB / 0.5216 GB, free: 2.336 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.806e-05/0.143, allocations: 8 kB / 0.5216 GB, free: 2.328 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.032e-06/0.143, allocations: 0 / 0.5216 GB, free: 2.328 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001123/0.1432, allocations: 59.97 kB / 0.5216 GB, free: 2.27 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002168/0.1434, allocations: 125.3 kB / 0.5217 GB, free: 2.117 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001043/0.1435, allocations: 62.48 kB / 0.5218 GB, free: 2.047 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.16e-05/0.1435, allocations: 36.84 kB / 0.5218 GB, free: 2.008 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.212e-05/0.1436, allocations: 16 kB / 0.5218 GB, free: 1.992 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.561e-05/0.1436, allocations: 42.55 kB / 0.5219 GB, free: 1.941 MB / 398.1 MB Notification: Performance of pre-optimization done (n=8): time 1.082e-06/0.1436, allocations: 0 / 0.5219 GB, free: 1.941 MB / 398.1 MB Notification: Performance of matching and sorting (n=12): time 0.01996/0.1636, allocations: 1.623 MB / 0.5235 GB, free: 296 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.634e-05/0.1637, allocations: 55.41 kB / 0.5235 GB, free: 228 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001506/0.1638, allocations: 138 kB / 0.5237 GB, free: 80 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.978e-05/0.1638, allocations: 25.7 kB / 0.5237 GB, free: 48 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.099e-05/0.1639, allocations: 92.11 kB / 0.5238 GB, free: 15.95 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.158e-05/0.164, allocations: 43.64 kB / 0.5238 GB, free: 15.91 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001088/0.1641, allocations: 41.69 kB / 0.5239 GB, free: 15.86 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001417/0.1642, allocations: 318.8 kB / 0.5242 GB, free: 15.54 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006586/0.1649, allocations: 211.8 kB / 0.5244 GB, free: 15.34 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006485/0.1655, allocations: 199.9 kB / 0.5245 GB, free: 15.14 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001335/0.1669, allocations: 400.5 kB / 0.5249 GB, free: 14.75 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.1669, allocations: 0 / 0.5249 GB, free: 14.75 MB / 414.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.001845/0.1687, allocations: 465.5 kB / 0.5254 GB, free: 14.29 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.905e-05/0.1687, allocations: 4 kB / 0.5254 GB, free: 14.28 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.596e-06/0.1687, allocations: 160 / 0.5254 GB, free: 14.28 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.038e-05/0.1688, allocations: 8 kB / 0.5254 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005262/0.1693, allocations: 63.88 kB / 0.5254 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.658e-06/0.1693, allocations: 3.984 kB / 0.5254 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004209/0.1697, allocations: 43.95 kB / 0.5255 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.856e-05/0.1698, allocations: 4 kB / 0.5255 GB, free: 14.16 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.0001641/0.1699, allocations: 117.8 kB / 0.5256 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.547e-05/0.17, allocations: 11.94 kB / 0.5256 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001433/0.1714, allocations: 374 kB / 0.526 GB, free: 13.65 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.459e-06/0.1714, allocations: 0 / 0.526 GB, free: 13.65 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.1714, allocations: 3.938 kB / 0.526 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.773e-06/0.1714, allocations: 4 kB / 0.526 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003005/0.1744, allocations: 0.6994 MB / 0.5267 GB, free: 12.89 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.542e-06/0.1744, allocations: 4 kB / 0.5267 GB, free: 12.89 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004805/0.1749, allocations: 64.03 kB / 0.5267 GB, free: 12.83 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.711e-06/0.1749, allocations: 0 / 0.5267 GB, free: 12.83 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.869e-05/0.1749, allocations: 11.98 kB / 0.5267 GB, free: 12.82 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.099e-06/0.1749, allocations: 4 kB / 0.5267 GB, free: 12.81 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.474e-06/0.1749, allocations: 0 / 0.5267 GB, free: 12.81 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001344/0.1763, allocations: 425.8 kB / 0.5272 GB, free: 12.37 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001088/0.1764, allocations: 31.88 kB / 0.5272 GB, free: 12.34 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.058e-05/0.1764, allocations: 3.984 kB / 0.5272 GB, free: 12.34 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004419/0.1769, allocations: 43.97 kB / 0.5272 GB, free: 12.29 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.619e-05/0.1769, allocations: 11.92 kB / 0.5272 GB, free: 12.28 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.262e-05/0.1769, allocations: 7.984 kB / 0.5272 GB, free: 12.27 MB / 414.1 MB Notification: Performance of sorting global known variables: time 8.087e-05/0.177, allocations: 103.1 kB / 0.5273 GB, free: 12.18 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.177, allocations: 3.938 kB / 0.5273 GB, free: 12.17 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006182/0.1776, allocations: 175.5 kB / 0.5275 GB, free: 12 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.0007385/0.1784, allocations: 254.7 kB / 0.5278 GB, free: 11.74 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001334/0.1797, allocations: 355.7 kB / 0.5281 GB, free: 11.39 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.1797, allocations: 0 / 0.5281 GB, free: 11.39 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005918/0.1803, allocations: 156 kB / 0.5282 GB, free: 11.24 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003894/0.1807, allocations: 8 kB / 0.5283 GB, free: 11.23 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002628/0.1833, allocations: 0.5363 MB / 0.5288 GB, free: 10.66 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.488e-05/0.1834, allocations: 75.89 kB / 0.5289 GB, free: 10.56 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001573/0.1836, allocations: 31.41 kB / 0.5289 GB, free: 10.53 MB / 414.1 MB Notification: Performance of SimCode: time 6.31e-07/0.1836, allocations: 4 kB / 0.5289 GB, free: 10.53 MB / 414.1 MB Notification: Performance of Templates: time 0.008871/0.1924, allocations: 4.64 MB / 0.5334 GB, free: 5.879 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestComponents/Fittings/TestPressureLossDerivatives/TestPressureLossDerivatives.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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.9673837791197]