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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001431/0.001431, allocations: 112.3 kB / 16.41 MB, free: 6.027 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001397/0.001398, allocations: 185.1 kB / 17.34 MB, free: 5.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.452/1.452, allocations: 205.1 MB / 223.2 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2025/0.2025, allocations: 43.53 MB / 314.1 MB, free: 468 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001322/0.001322, allocations: 67.91 kB / 441.8 MB, free: 5.664 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1155/0.1169, allocations: 57.79 MB / 499.6 MB, free: 11.8 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives): time 0.002661/0.1196, allocations: 1.457 MB / 0.4893 GB, free: 10.34 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001976/0.1216, allocations: 1.453 MB / 0.4907 GB, free: 8.871 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.383e-05/0.1216, allocations: 0 / 0.4907 GB, free: 8.871 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001735/0.1218, allocations: 31.83 kB / 0.4908 GB, free: 8.84 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002197/0.122, allocations: 47.7 kB / 0.4908 GB, free: 8.793 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004745/0.1225, allocations: 227.1 kB / 0.491 GB, free: 8.57 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001137/0.1226, allocations: 55.72 kB / 0.4911 GB, free: 8.516 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.059e-05/0.1227, allocations: 7.984 kB / 0.4911 GB, free: 8.508 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.689e-05/0.1228, allocations: 31.91 kB / 0.4911 GB, free: 8.477 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.893e-05/0.1228, allocations: 23.86 kB / 0.4911 GB, free: 8.453 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.939e-06/0.1229, allocations: 7.938 kB / 0.4911 GB, free: 8.445 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005642/0.1234, allocations: 331.6 kB / 0.4915 GB, free: 8.121 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.242e-05/0.1235, allocations: 15.91 kB / 0.4915 GB, free: 8.105 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.093e-05/0.1235, allocations: 19.88 kB / 0.4915 GB, free: 8.086 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004175/0.1239, allocations: 283.2 kB / 0.4918 GB, free: 7.809 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.763e-06/0.124, allocations: 4 kB / 0.4918 GB, free: 7.805 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.124, allocations: 0 / 0.4918 GB, free: 7.805 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.391e-06/0.124, allocations: 0 / 0.4918 GB, free: 7.805 MB / 382.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.0005985/0.1246, allocations: 422.7 kB / 0.4922 GB, free: 7.348 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.48e-05/0.1246, allocations: 11.89 kB / 0.4922 GB, free: 7.336 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.662e-05/0.1247, allocations: 8.844 kB / 0.4922 GB, free: 7.328 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000144/0.1248, allocations: 172.2 kB / 0.4924 GB, free: 7.121 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.758e-05/0.1249, allocations: 8.359 kB / 0.4924 GB, free: 7.113 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.448e-05/0.1249, allocations: 8.359 kB / 0.4924 GB, free: 7.105 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001477/0.125, allocations: 65.8 kB / 0.4924 GB, free: 7.035 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.268e-05/0.1251, allocations: 0 / 0.4924 GB, free: 7.035 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.143e-05/0.1251, allocations: 4 kB / 0.4924 GB, free: 7.031 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.701e-06/0.1251, allocations: 4 kB / 0.4924 GB, free: 7.027 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.89e-05/0.1252, allocations: 63.89 kB / 0.4925 GB, free: 6.965 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002557/0.1255, allocations: 189.5 kB / 0.4927 GB, free: 6.73 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.554e-05/0.1255, allocations: 54.56 kB / 0.4927 GB, free: 6.668 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.741e-05/0.1256, allocations: 44.84 kB / 0.4928 GB, free: 6.621 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.709e-05/0.1257, allocations: 19.98 kB / 0.4928 GB, free: 6.602 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.201e-05/0.1257, allocations: 38.5 kB / 0.4928 GB, free: 6.555 MB / 382.1 MB Notification: Performance of pre-optimization done (n=8): time 1.092e-06/0.1257, allocations: 0 / 0.4928 GB, free: 6.555 MB / 382.1 MB Notification: Performance of matching and sorting (n=12): time 0.02043/0.1461, allocations: 1.634 MB / 0.4944 GB, free: 4.891 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.247e-05/0.1462, allocations: 55.41 kB / 0.4945 GB, free: 4.824 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000119/0.1464, allocations: 126.1 kB / 0.4946 GB, free: 4.691 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.097e-05/0.1464, allocations: 33.7 kB / 0.4946 GB, free: 4.652 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.972e-05/0.1464, allocations: 84.05 kB / 0.4947 GB, free: 4.566 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.995e-05/0.1465, allocations: 39.44 kB / 0.4948 GB, free: 4.527 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001065/0.1466, allocations: 45.69 kB / 0.4948 GB, free: 4.477 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001144/0.1467, allocations: 322.8 kB / 0.4951 GB, free: 4.152 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006323/0.1474, allocations: 203.9 kB / 0.4953 GB, free: 3.953 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006496/0.148, allocations: 207.8 kB / 0.4955 GB, free: 3.75 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001296/0.1493, allocations: 372.7 kB / 0.4959 GB, free: 3.383 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.1494, allocations: 4 kB / 0.4959 GB, free: 3.379 MB / 382.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.00135/0.1507, allocations: 457.4 kB / 0.4963 GB, free: 2.926 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.982e-05/0.1508, allocations: 12 kB / 0.4963 GB, free: 2.914 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.117e-06/0.1508, allocations: 0 / 0.4963 GB, free: 2.914 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.658e-05/0.1508, allocations: 0 / 0.4963 GB, free: 2.914 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005283/0.1513, allocations: 67.92 kB / 0.4964 GB, free: 2.848 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.562e-06/0.1513, allocations: 4 kB / 0.4964 GB, free: 2.844 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004092/0.1518, allocations: 31.97 kB / 0.4964 GB, free: 2.812 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.458e-05/0.1518, allocations: 11.98 kB / 0.4964 GB, free: 2.801 MB / 382.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.0001733/0.152, allocations: 125.8 kB / 0.4965 GB, free: 2.668 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.078e-05/0.152, allocations: 7.844 kB / 0.4965 GB, free: 2.66 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001395/0.1534, allocations: 366 kB / 0.4969 GB, free: 2.293 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.1534, allocations: 4 kB / 0.4969 GB, free: 2.289 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.1534, allocations: 0 / 0.4969 GB, free: 2.289 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.1534, allocations: 0 / 0.4969 GB, free: 2.289 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002861/0.1563, allocations: 0.7777 MB / 0.4977 GB, free: 1.445 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.1563, allocations: 0 / 0.4977 GB, free: 1.445 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004829/0.1568, allocations: 71.97 kB / 0.4977 GB, free: 1.375 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.17e-06/0.1568, allocations: 0 / 0.4977 GB, free: 1.375 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.421e-05/0.1569, allocations: 7.984 kB / 0.4977 GB, free: 1.367 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.297e-06/0.1569, allocations: 0 / 0.4977 GB, free: 1.367 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.057e-06/0.1569, allocations: 7.938 kB / 0.4977 GB, free: 1.359 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001264/0.1582, allocations: 426 kB / 0.4981 GB, free: 0.918 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.512e-05/0.1583, allocations: 101 kB / 0.4982 GB, free: 0.8008 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.774e-05/0.1583, allocations: 8 kB / 0.4982 GB, free: 0.793 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004386/0.1588, allocations: 39.95 kB / 0.4983 GB, free: 0.7539 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.325e-05/0.1588, allocations: 19.86 kB / 0.4983 GB, free: 0.7344 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.08e-05/0.1588, allocations: 8 kB / 0.4983 GB, free: 0.7266 MB / 382.1 MB Notification: Performance of sorting global known variables: time 5.618e-05/0.1589, allocations: 99.06 kB / 0.4984 GB, free: 0.6328 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1589, allocations: 0 / 0.4984 GB, free: 0.6328 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005698/0.1595, allocations: 168 kB / 0.4986 GB, free: 480 kB / 382.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.0006456/0.1601, allocations: 251 kB / 0.4988 GB, free: 220 kB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001298/0.1614, allocations: 379.8 kB / 0.4992 GB, free: 15.84 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.1614, allocations: 96 / 0.4992 GB, free: 15.84 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005714/0.162, allocations: 152 kB / 0.4993 GB, free: 15.7 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003675/0.1624, allocations: 31.86 kB / 0.4993 GB, free: 15.66 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002469/0.1649, allocations: 0.499 MB / 0.4998 GB, free: 15.13 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002419/0.1651, allocations: 0.6924 MB / 0.5005 GB, free: 14.41 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001879/0.1653, allocations: 44.62 kB / 0.5006 GB, free: 14.36 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001415/0.1655, allocations: 23.41 kB / 0.5006 GB, free: 14.34 MB / 398.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1655, allocations: 0 / 0.5006 GB, free: 14.34 MB / 398.1 MB Notification: Performance of Templates: time 0.01252/0.178, allocations: 8.545 MB / 0.5089 GB, free: 5.777 MB / 398.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.makefile (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) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestComponents/Fittings/TestPressureLossDerivatives/TestPressureLossDerivatives.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches