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.00164/0.00164, allocations: 111.7 kB / 17.09 MB, free: 5.965 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.00194/0.00194, allocations: 198 kB / 18.02 MB, free: 5.043 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.625/1.625, allocations: 205.1 MB / 223.9 MB, free: 12.26 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.2212/0.2212, allocations: 43.52 MB / 314.8 MB, free: 464 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.001371/0.001371, allocations: 65.47 kB / 442.5 MB, free: 5.668 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1098/0.1111, allocations: 57.79 MB / 0.4886 GB, free: 11.8 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives): time 0.003044/0.1142, allocations: 1.459 MB / 0.49 GB, free: 10.34 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002221/0.1165, allocations: 1.458 MB / 0.4914 GB, free: 8.871 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.478e-05/0.1166, allocations: 0 / 0.4914 GB, free: 8.871 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002076/0.1168, allocations: 31.84 kB / 0.4914 GB, free: 8.84 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002948/0.1171, allocations: 51.67 kB / 0.4915 GB, free: 8.789 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007124/0.1179, allocations: 215.2 kB / 0.4917 GB, free: 8.578 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001465/0.118, allocations: 63.66 kB / 0.4917 GB, free: 8.516 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.045e-05/0.1181, allocations: 15.97 kB / 0.4918 GB, free: 8.5 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.643e-05/0.1182, allocations: 19.88 kB / 0.4918 GB, free: 8.48 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.823e-05/0.1183, allocations: 23.86 kB / 0.4918 GB, free: 8.457 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.215e-05/0.1183, allocations: 4 kB / 0.4918 GB, free: 8.453 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006833/0.119, allocations: 339.5 kB / 0.4921 GB, free: 8.121 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.3e-05/0.1191, allocations: 7.938 kB / 0.4921 GB, free: 8.113 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.355e-05/0.1191, allocations: 27.86 kB / 0.4922 GB, free: 8.086 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005726/0.1197, allocations: 271.4 kB / 0.4924 GB, free: 7.82 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.1197, allocations: 0 / 0.4924 GB, free: 7.82 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.937e-06/0.1197, allocations: 0 / 0.4924 GB, free: 7.82 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.98e-06/0.1197, allocations: 7.938 kB / 0.4924 GB, free: 7.812 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.0005326/0.1203, allocations: 419.2 kB / 0.4928 GB, free: 7.355 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.97e-05/0.1203, allocations: 15.89 kB / 0.4928 GB, free: 7.34 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.88e-05/0.1204, allocations: 4.844 kB / 0.4929 GB, free: 7.336 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001311/0.1205, allocations: 176.2 kB / 0.493 GB, free: 7.125 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.278e-05/0.1205, allocations: 4.375 kB / 0.493 GB, free: 7.121 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.052e-05/0.1205, allocations: 384 / 0.493 GB, free: 7.121 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001389/0.1207, allocations: 73.78 kB / 0.4931 GB, free: 7.043 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.277e-05/0.1207, allocations: 8 kB / 0.4931 GB, free: 7.035 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.03e-05/0.1207, allocations: 0 / 0.4931 GB, free: 7.035 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.1207, allocations: 0 / 0.4931 GB, free: 7.035 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001003/0.1208, allocations: 55.97 kB / 0.4932 GB, free: 6.98 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002119/0.1211, allocations: 185.5 kB / 0.4933 GB, free: 6.75 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.183e-05/0.1212, allocations: 66.48 kB / 0.4934 GB, free: 6.676 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.524e-05/0.1212, allocations: 36.84 kB / 0.4934 GB, free: 6.637 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.47e-05/0.1213, allocations: 19.98 kB / 0.4935 GB, free: 6.617 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.58e-05/0.1213, allocations: 42.5 kB / 0.4935 GB, free: 6.566 MB / 382.1 MB Notification: Performance of pre-optimization done (n=8): time 1.293e-06/0.1213, allocations: 0 / 0.4935 GB, free: 6.566 MB / 382.1 MB Notification: Performance of matching and sorting (n=12): time 0.02029/0.1416, allocations: 1.626 MB / 0.4951 GB, free: 4.91 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.394e-05/0.1417, allocations: 51.41 kB / 0.4951 GB, free: 4.848 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001192/0.1418, allocations: 134.1 kB / 0.4953 GB, free: 4.707 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.044e-05/0.1418, allocations: 25.7 kB / 0.4953 GB, free: 4.676 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.617e-05/0.1419, allocations: 96.03 kB / 0.4954 GB, free: 4.578 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.101e-05/0.142, allocations: 35.45 kB / 0.4954 GB, free: 4.543 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.822e-05/0.1421, allocations: 45.62 kB / 0.4955 GB, free: 4.492 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001728/0.1422, allocations: 326.8 kB / 0.4958 GB, free: 4.164 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006409/0.1429, allocations: 199.9 kB / 0.496 GB, free: 3.969 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006804/0.1436, allocations: 203.8 kB / 0.4961 GB, free: 3.77 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001303/0.1449, allocations: 380.7 kB / 0.4965 GB, free: 3.395 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.472e-06/0.1449, allocations: 0 / 0.4965 GB, free: 3.395 MB / 382.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.001419/0.1463, allocations: 461.4 kB / 0.497 GB, free: 2.938 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.841e-05/0.1464, allocations: 4 kB / 0.497 GB, free: 2.934 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.217e-05/0.1464, allocations: 7.984 kB / 0.497 GB, free: 2.926 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.431e-05/0.1464, allocations: 0 / 0.497 GB, free: 2.926 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005255/0.1469, allocations: 71.88 kB / 0.497 GB, free: 2.855 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.498e-06/0.1469, allocations: 0 / 0.497 GB, free: 2.855 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004585/0.1474, allocations: 39.95 kB / 0.4971 GB, free: 2.816 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.652e-05/0.1474, allocations: 8 kB / 0.4971 GB, free: 2.809 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.0001162/0.1476, allocations: 121.9 kB / 0.4972 GB, free: 2.68 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.568e-05/0.1476, allocations: 11.84 kB / 0.4972 GB, free: 2.668 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001464/0.1491, allocations: 366.1 kB / 0.4976 GB, free: 2.301 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.1491, allocations: 0 / 0.4976 GB, free: 2.301 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-06/0.1491, allocations: 0 / 0.4976 GB, free: 2.301 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001217/0.1492, allocations: 109 kB / 0.4977 GB, free: 2.176 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.881e-05/0.1493, allocations: 4 kB / 0.4977 GB, free: 2.172 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004164/0.1497, allocations: 39.95 kB / 0.4977 GB, free: 2.133 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.566e-05/0.1498, allocations: 7.938 kB / 0.4977 GB, free: 2.125 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001672/0.1515, allocations: 440.7 kB / 0.4981 GB, free: 1.688 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00135/0.1528, allocations: 486.5 kB / 0.4986 GB, free: 1.195 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005613/0.1534, allocations: 143.9 kB / 0.4987 GB, free: 1.055 MB / 382.1 MB Notification: Performance of sorting global known variables: time 6.844e-05/0.1535, allocations: 102.9 kB / 0.4988 GB, free: 0.957 MB / 382.1 MB Notification: Performance of Backend: time 2.21e-07/0.1535, allocations: 0 / 0.4988 GB, free: 0.957 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001952/0.1555, allocations: 476.1 kB / 0.4993 GB, free: 0.4922 MB / 382.1 MB Notification: Performance of SimCode: time 0.000766/0.1562, allocations: 0.6576 MB / 0.4999 GB, free: 15.79 MB / 398.1 MB Notification: Performance of Templates: time 0.01481/0.1711, allocations: 8.656 MB / 0.5084 GB, free: 7.109 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/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) Reference file matches