Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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_4.0.0_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.001585/0.001585, allocations: 106.1 kB / 18.3 MB, free: 4.887 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.00108/0.00108, allocations: 195.3 kB / 19.23 MB, free: 3.961 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.313/1.313, allocations: 222.9 MB / 242.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2288/0.2288, allocations: 44.18 MB / 337.3 MB, free: 2.766 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001222/0.001222, allocations: 56.69 kB / 409.1 MB, free: 27.25 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.103/0.1043, allocations: 60.83 MB / 469.9 MB, free: 14.38 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives): time 0.002808/0.1071, allocations: 1.442 MB / 471.4 MB, free: 12.93 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00198/0.1091, allocations: 1.417 MB / 472.8 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.825e-05/0.1092, allocations: 4 kB / 472.8 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001802/0.1094, allocations: 27.84 kB / 472.8 MB, free: 11.47 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002401/0.1097, allocations: 51.69 kB / 472.9 MB, free: 11.42 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005536/0.1102, allocations: 227.4 kB / 473.1 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001135/0.1104, allocations: 59.66 kB / 473.2 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.313e-05/0.1104, allocations: 4 kB / 473.2 MB, free: 11.13 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.209e-05/0.1105, allocations: 23.92 kB / 473.2 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.173e-05/0.1105, allocations: 23.86 kB / 473.2 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.004e-05/0.1106, allocations: 0 / 473.2 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006141/0.1112, allocations: 335.5 kB / 473.5 MB, free: 10.76 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.408e-05/0.1112, allocations: 15.92 kB / 473.5 MB, free: 10.74 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.166e-05/0.1113, allocations: 23.81 kB / 473.6 MB, free: 10.72 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004855/0.1118, allocations: 275.4 kB / 473.8 MB, free: 10.45 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.1118, allocations: 4 kB / 473.8 MB, free: 10.45 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.1118, allocations: 4 kB / 473.8 MB, free: 10.44 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.789e-06/0.1118, allocations: 0 / 473.8 MB, free: 10.44 MB / 350.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.000545/0.1124, allocations: 419.1 kB / 474.3 MB, free: 9.984 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.838e-05/0.1124, allocations: 8.031 kB / 474.3 MB, free: 9.977 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.096e-05/0.1124, allocations: 8.844 kB / 474.3 MB, free: 9.969 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001303/0.1126, allocations: 168.4 kB / 474.4 MB, free: 9.766 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.119e-05/0.1126, allocations: 384 / 474.4 MB, free: 9.766 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.367e-05/0.1126, allocations: 8.375 kB / 474.4 MB, free: 9.758 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001316/0.1128, allocations: 65.81 kB / 474.5 MB, free: 9.688 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.138e-05/0.1128, allocations: 3.984 kB / 474.5 MB, free: 9.684 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.05e-05/0.1128, allocations: 4 kB / 474.5 MB, free: 9.68 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.1128, allocations: 0 / 474.5 MB, free: 9.68 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.346e-05/0.1129, allocations: 59.89 kB / 474.6 MB, free: 9.621 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002115/0.1131, allocations: 189.5 kB / 474.8 MB, free: 9.387 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001029/0.1132, allocations: 58.55 kB / 474.8 MB, free: 9.32 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.923e-05/0.1133, allocations: 44.84 kB / 474.9 MB, free: 9.273 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.05e-05/0.1134, allocations: 19.98 kB / 474.9 MB, free: 9.254 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.935e-05/0.1134, allocations: 38.5 kB / 474.9 MB, free: 9.207 MB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 1.183e-06/0.1134, allocations: 3.938 kB / 474.9 MB, free: 9.203 MB / 350.1 MB Notification: Performance of matching and sorting (n=12): time 0.02161/0.135, allocations: 1.619 MB / 476.5 MB, free: 7.555 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.39e-05/0.1351, allocations: 51.41 kB / 476.6 MB, free: 7.492 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001145/0.1352, allocations: 141 kB / 476.7 MB, free: 7.344 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.853e-05/0.1353, allocations: 29.7 kB / 476.8 MB, free: 7.309 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.326e-05/0.1353, allocations: 92.11 kB / 476.8 MB, free: 7.215 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.234e-05/0.1354, allocations: 35.41 kB / 476.9 MB, free: 7.18 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001036/0.1355, allocations: 53.58 kB / 476.9 MB, free: 7.121 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.379e-05/0.1356, allocations: 318.8 kB / 477.2 MB, free: 6.801 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006614/0.1363, allocations: 207.9 kB / 477.4 MB, free: 6.598 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006416/0.1369, allocations: 203.8 kB / 477.6 MB, free: 6.398 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001327/0.1383, allocations: 382.9 kB / 478 MB, free: 6.023 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/0.1383, allocations: 3.984 kB / 478 MB, free: 6.02 MB / 350.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.001429/0.1397, allocations: 446.3 kB / 478.5 MB, free: 5.578 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/0.1397, allocations: 8 kB / 478.5 MB, free: 5.57 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.054e-05/0.1397, allocations: 0 / 478.5 MB, free: 5.57 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.326e-05/0.1398, allocations: 7.875 kB / 478.5 MB, free: 5.562 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005509/0.1403, allocations: 71.92 kB / 478.5 MB, free: 5.492 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.887e-06/0.1403, allocations: 0 / 478.5 MB, free: 5.492 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004427/0.1408, allocations: 43.91 kB / 478.6 MB, free: 5.449 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.644e-05/0.1408, allocations: 11.98 kB / 478.6 MB, free: 5.438 MB / 350.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.0001208/0.141, allocations: 117.9 kB / 478.7 MB, free: 5.312 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.677e-05/0.141, allocations: 7.906 kB / 478.7 MB, free: 5.305 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001471/0.1425, allocations: 362.1 kB / 479.1 MB, free: 4.945 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.651e-06/0.1425, allocations: 4 kB / 479.1 MB, free: 4.941 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.1425, allocations: 0 / 479.1 MB, free: 4.941 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.1425, allocations: 7.984 kB / 479.1 MB, free: 4.934 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002952/0.1455, allocations: 0.7739 MB / 479.9 MB, free: 4.094 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.1455, allocations: 0 / 479.9 MB, free: 4.094 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005087/0.146, allocations: 68.03 kB / 479.9 MB, free: 4.027 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.599e-06/0.146, allocations: 4 kB / 479.9 MB, free: 4.023 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.479e-05/0.1461, allocations: 7.984 kB / 479.9 MB, free: 4.016 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.637e-06/0.1461, allocations: 3.938 kB / 479.9 MB, free: 4.012 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.588e-06/0.1461, allocations: 7.938 kB / 480 MB, free: 4.004 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001362/0.1474, allocations: 413.8 kB / 480.4 MB, free: 3.574 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.288e-05/0.1475, allocations: 105 kB / 480.5 MB, free: 3.453 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.432e-05/0.1476, allocations: 15.98 kB / 480.5 MB, free: 3.438 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004613/0.1481, allocations: 31.97 kB / 480.5 MB, free: 3.406 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.58e-05/0.1481, allocations: 15.86 kB / 480.5 MB, free: 3.391 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.177e-05/0.1481, allocations: 12 kB / 480.5 MB, free: 3.379 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.008e-05/0.1482, allocations: 103.3 kB / 480.6 MB, free: 3.277 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1482, allocations: 3.938 kB / 480.6 MB, free: 3.273 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005963/0.1488, allocations: 167.9 kB / 480.8 MB, free: 3.109 MB / 350.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.0007001/0.1495, allocations: 251 kB / 481 MB, free: 2.855 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001385/0.1509, allocations: 379.7 kB / 481.4 MB, free: 2.484 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.1509, allocations: 0 / 481.4 MB, free: 2.484 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006273/0.1516, allocations: 152 kB / 481.6 MB, free: 2.336 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003843/0.152, allocations: 19.89 kB / 481.6 MB, free: 2.316 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002673/0.1546, allocations: 0.5203 MB / 482.1 MB, free: 1.754 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002329/0.1549, allocations: 0.7002 MB / 482.8 MB, free: 1.027 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001723/0.1551, allocations: 27.41 kB / 482.8 MB, free: 1 MB / 350.1 MB Notification: Performance of SimCode: time 7.01e-07/0.1551, allocations: 0 / 482.8 MB, free: 1 MB / 350.1 MB Notification: Performance of Templates: time 0.007439/0.1625, allocations: 4.609 MB / 487.4 MB, free: 12.39 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Fittings/TestPressureLossDerivatives/TestPressureLossDerivatives.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches