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.001252/0.001252, allocations: 106.1 kB / 17.08 MB, free: 6.02 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.001163/0.001163, allocations: 198.2 kB / 18.02 MB, free: 5.094 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.299/1.299, allocations: 205.1 MB / 223.9 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.2046/0.2046, allocations: 43.54 MB / 314.8 MB, free: 472 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.001431/0.001431, allocations: 67.89 kB / 442.5 MB, free: 5.688 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0905/0.09194, allocations: 57.79 MB / 0.4886 GB, free: 11.83 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives): time 0.002334/0.0943, allocations: 1.458 MB / 0.49 GB, free: 10.36 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002107/0.09643, allocations: 1.458 MB / 0.4914 GB, free: 8.895 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.667e-05/0.09653, allocations: 0 / 0.4914 GB, free: 8.895 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002024/0.09675, allocations: 27.78 kB / 0.4914 GB, free: 8.867 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002843/0.09707, allocations: 51.69 kB / 0.4915 GB, free: 8.816 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006546/0.09773, allocations: 227.1 kB / 0.4917 GB, free: 8.594 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000126/0.09787, allocations: 51.72 kB / 0.4917 GB, free: 8.543 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.23e-05/0.09793, allocations: 15.97 kB / 0.4918 GB, free: 8.527 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.228e-05/0.098, allocations: 23.88 kB / 0.4918 GB, free: 8.504 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.042e-05/0.09808, allocations: 27.86 kB / 0.4918 GB, free: 8.477 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.066e-05/0.0981, allocations: 0 / 0.4918 GB, free: 8.477 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006381/0.09874, allocations: 343.5 kB / 0.4921 GB, free: 8.141 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.592e-05/0.09877, allocations: 0 / 0.4921 GB, free: 8.141 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.311e-05/0.09882, allocations: 35.8 kB / 0.4922 GB, free: 8.105 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004682/0.09929, allocations: 271.4 kB / 0.4924 GB, free: 7.84 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.09931, allocations: 0 / 0.4924 GB, free: 7.84 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.09931, allocations: 0 / 0.4924 GB, free: 7.84 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.334e-06/0.09933, allocations: 3.938 kB / 0.4924 GB, free: 7.836 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.0005776/0.09991, allocations: 423.2 kB / 0.4928 GB, free: 7.375 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.789e-05/0.09997, allocations: 11.89 kB / 0.4928 GB, free: 7.363 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.957e-05/0.1, allocations: 8.844 kB / 0.4929 GB, free: 7.355 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001383/0.1002, allocations: 176.2 kB / 0.493 GB, free: 7.145 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.212e-05/0.1002, allocations: 8.375 kB / 0.493 GB, free: 7.137 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.315e-05/0.1002, allocations: 384 / 0.493 GB, free: 7.137 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001297/0.1003, allocations: 69.8 kB / 0.4931 GB, free: 7.062 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.021e-05/0.1004, allocations: 0 / 0.4931 GB, free: 7.062 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.067e-06/0.1004, allocations: 4 kB / 0.4931 GB, free: 7.059 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.1004, allocations: 0 / 0.4931 GB, free: 7.059 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.375e-05/0.1005, allocations: 59.97 kB / 0.4932 GB, free: 7 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002046/0.1007, allocations: 193.5 kB / 0.4933 GB, free: 6.762 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.425e-05/0.1008, allocations: 58.48 kB / 0.4934 GB, free: 6.695 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.804e-05/0.1008, allocations: 44.84 kB / 0.4934 GB, free: 6.648 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.723e-05/0.1009, allocations: 23.97 kB / 0.4935 GB, free: 6.625 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.206e-05/0.1009, allocations: 38.5 kB / 0.4935 GB, free: 6.578 MB / 382.1 MB Notification: Performance of pre-optimization done (n=8): time 1.523e-06/0.101, allocations: 4 kB / 0.4935 GB, free: 6.574 MB / 382.1 MB Notification: Performance of matching and sorting (n=12): time 0.0205/0.1215, allocations: 1.619 MB / 0.4951 GB, free: 4.926 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.788e-05/0.1215, allocations: 55.41 kB / 0.4951 GB, free: 4.859 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001183/0.1216, allocations: 134.1 kB / 0.4953 GB, free: 4.719 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.025e-05/0.1217, allocations: 29.7 kB / 0.4953 GB, free: 4.684 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.918e-05/0.1217, allocations: 84.05 kB / 0.4954 GB, free: 4.598 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.154e-05/0.1218, allocations: 47.44 kB / 0.4954 GB, free: 4.551 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.506e-05/0.1219, allocations: 41.69 kB / 0.4955 GB, free: 4.504 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.966e-05/0.122, allocations: 322.8 kB / 0.4958 GB, free: 4.18 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006106/0.1226, allocations: 203.8 kB / 0.496 GB, free: 3.98 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005851/0.1232, allocations: 203.8 kB / 0.4962 GB, free: 3.781 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001212/0.1244, allocations: 380.7 kB / 0.4965 GB, free: 3.406 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-06/0.1244, allocations: 0 / 0.4965 GB, free: 3.406 MB / 382.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.001336/0.1258, allocations: 465.4 kB / 0.497 GB, free: 2.945 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.341e-05/0.1258, allocations: 4 kB / 0.497 GB, free: 2.941 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.543e-06/0.1258, allocations: 80 / 0.497 GB, free: 2.941 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.196e-05/0.1258, allocations: 0 / 0.497 GB, free: 2.941 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005256/0.1263, allocations: 63.88 kB / 0.497 GB, free: 2.879 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.305e-06/0.1264, allocations: 11.98 kB / 0.497 GB, free: 2.867 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004065/0.1268, allocations: 35.95 kB / 0.4971 GB, free: 2.832 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.233e-05/0.1268, allocations: 4 kB / 0.4971 GB, free: 2.828 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.0001074/0.1269, allocations: 129.8 kB / 0.4972 GB, free: 2.691 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.426e-05/0.127, allocations: 7.906 kB / 0.4972 GB, free: 2.684 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001319/0.1283, allocations: 362 kB / 0.4976 GB, free: 2.32 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/0.1283, allocations: 3.938 kB / 0.4976 GB, free: 2.316 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.1283, allocations: 3.984 kB / 0.4976 GB, free: 2.312 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001117/0.1284, allocations: 105 kB / 0.4977 GB, free: 2.191 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.656e-05/0.1285, allocations: 4 kB / 0.4977 GB, free: 2.188 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004214/0.1289, allocations: 39.95 kB / 0.4977 GB, free: 2.148 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.503e-05/0.1289, allocations: 15.94 kB / 0.4977 GB, free: 2.133 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001545/0.1305, allocations: 432.7 kB / 0.4981 GB, free: 1.703 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001215/0.1317, allocations: 494.7 kB / 0.4986 GB, free: 1.203 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005208/0.1322, allocations: 139.9 kB / 0.4987 GB, free: 1.066 MB / 382.1 MB Notification: Performance of sorting global known variables: time 6.014e-05/0.1323, allocations: 97.38 kB / 0.4988 GB, free: 0.9727 MB / 382.1 MB Notification: Performance of Backend: time 3.5e-07/0.1323, allocations: 0 / 0.4988 GB, free: 0.9727 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001547/0.1339, allocations: 478 kB / 0.4993 GB, free: 0.5 MB / 382.1 MB Notification: Performance of SimCode: time 0.0006069/0.1345, allocations: 0.6498 MB / 0.4999 GB, free: 15.8 MB / 398.1 MB Notification: Performance of Templates: time 0.01226/0.1468, allocations: 8.802 MB / 0.5085 GB, free: 6.984 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