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.001304/0.001304, allocations: 111.6 kB / 17.08 MB, free: 6.004 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.001365/0.001365, allocations: 197.3 kB / 18.01 MB, free: 5.086 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.288/1.288, 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.1948/0.1948, allocations: 43.52 MB / 314.8 MB, free: 476 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.001463/0.001463, allocations: 71.89 kB / 442.5 MB, free: 5.668 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1007/0.1022, allocations: 57.78 MB / 0.4885 GB, free: 11.81 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives): time 0.002809/0.105, allocations: 1.458 MB / 0.49 GB, free: 10.35 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002026/0.1071, allocations: 1.453 MB / 0.4914 GB, free: 8.883 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.972e-05/0.1072, allocations: 3.938 kB / 0.4914 GB, free: 8.879 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001871/0.1074, allocations: 31.83 kB / 0.4914 GB, free: 8.848 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002368/0.1076, allocations: 47.7 kB / 0.4915 GB, free: 8.801 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005614/0.1082, allocations: 219.1 kB / 0.4917 GB, free: 8.586 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001291/0.1084, allocations: 51.72 kB / 0.4917 GB, free: 8.535 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.828e-05/0.1084, allocations: 15.98 kB / 0.4917 GB, free: 8.52 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.822e-05/0.1085, allocations: 31.8 kB / 0.4918 GB, free: 8.488 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.417e-05/0.1086, allocations: 27.84 kB / 0.4918 GB, free: 8.461 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.274e-05/0.1086, allocations: 4 kB / 0.4918 GB, free: 8.457 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006528/0.1092, allocations: 331.6 kB / 0.4921 GB, free: 8.133 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.133e-05/0.1093, allocations: 7.984 kB / 0.4921 GB, free: 8.125 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.76e-05/0.1093, allocations: 31.8 kB / 0.4922 GB, free: 8.094 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005851/0.1099, allocations: 271.4 kB / 0.4924 GB, free: 7.828 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.1099, allocations: 0 / 0.4924 GB, free: 7.828 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.1099, allocations: 0 / 0.4924 GB, free: 7.828 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.504e-06/0.11, allocations: 4 kB / 0.4924 GB, free: 7.824 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.0005836/0.1105, allocations: 422.6 kB / 0.4928 GB, free: 7.367 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.174e-05/0.1106, allocations: 15.89 kB / 0.4928 GB, free: 7.352 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.796e-05/0.1106, allocations: 4.844 kB / 0.4928 GB, free: 7.348 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001385/0.1108, allocations: 187.9 kB / 0.493 GB, free: 7.129 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.446e-05/0.1108, allocations: 4.375 kB / 0.493 GB, free: 7.125 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.639e-05/0.1108, allocations: 4.375 kB / 0.493 GB, free: 7.121 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001392/0.111, allocations: 61.81 kB / 0.4931 GB, free: 7.055 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.265e-05/0.111, allocations: 3.984 kB / 0.4931 GB, free: 7.051 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.266e-05/0.111, allocations: 8 kB / 0.4931 GB, free: 7.043 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.501e-06/0.111, allocations: 0 / 0.4931 GB, free: 7.043 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.32e-05/0.1111, allocations: 55.97 kB / 0.4931 GB, free: 6.988 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001994/0.1113, allocations: 185.5 kB / 0.4933 GB, free: 6.758 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000102/0.1114, allocations: 62.5 kB / 0.4934 GB, free: 6.688 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.626e-05/0.1115, allocations: 40.84 kB / 0.4934 GB, free: 6.645 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.227e-05/0.1116, allocations: 20.2 kB / 0.4934 GB, free: 6.625 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.563e-05/0.1116, allocations: 46.48 kB / 0.4935 GB, free: 6.57 MB / 382.1 MB Notification: Performance of pre-optimization done (n=8): time 1.082e-06/0.1116, allocations: 0 / 0.4935 GB, free: 6.57 MB / 382.1 MB Notification: Performance of matching and sorting (n=12): time 0.01921/0.1308, allocations: 1.634 MB / 0.4951 GB, free: 4.906 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.835e-05/0.1309, allocations: 51.41 kB / 0.4951 GB, free: 4.844 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001217/0.131, allocations: 130.1 kB / 0.4953 GB, free: 4.707 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.926e-05/0.1311, allocations: 25.7 kB / 0.4953 GB, free: 4.676 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.393e-05/0.1311, allocations: 92.03 kB / 0.4954 GB, free: 4.582 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.798e-05/0.1312, allocations: 35.47 kB / 0.4954 GB, free: 4.547 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001004/0.1313, allocations: 49.61 kB / 0.4955 GB, free: 4.492 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000114/0.1314, allocations: 322.8 kB / 0.4958 GB, free: 4.168 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005862/0.132, allocations: 203.9 kB / 0.496 GB, free: 3.969 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005871/0.1326, allocations: 207.8 kB / 0.4962 GB, free: 3.766 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001165/0.1338, allocations: 380.7 kB / 0.4965 GB, free: 3.391 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.1338, allocations: 0 / 0.4965 GB, free: 3.391 MB / 382.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.001242/0.1351, allocations: 457.5 kB / 0.497 GB, free: 2.938 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.009e-05/0.1351, allocations: 4 kB / 0.497 GB, free: 2.934 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.797e-06/0.1351, allocations: 0 / 0.497 GB, free: 2.934 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.786e-05/0.1351, allocations: 4 kB / 0.497 GB, free: 2.93 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004744/0.1356, allocations: 71.86 kB / 0.497 GB, free: 2.859 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.404e-06/0.1356, allocations: 0 / 0.497 GB, free: 2.859 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003673/0.136, allocations: 31.97 kB / 0.4971 GB, free: 2.828 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.616e-05/0.136, allocations: 11.98 kB / 0.4971 GB, free: 2.816 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.0001265/0.1362, allocations: 121.8 kB / 0.4972 GB, free: 2.688 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.776e-05/0.1362, allocations: 7.906 kB / 0.4972 GB, free: 2.68 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001309/0.1375, allocations: 370 kB / 0.4975 GB, free: 2.309 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.1375, allocations: 0 / 0.4975 GB, free: 2.309 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.1375, allocations: 4 kB / 0.4975 GB, free: 2.305 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.003e-06/0.1376, allocations: 7.969 kB / 0.4976 GB, free: 2.297 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002582/0.1401, allocations: 0.7777 MB / 0.4983 GB, free: 1.453 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.1402, allocations: 96 / 0.4983 GB, free: 1.453 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004643/0.1406, allocations: 63.94 kB / 0.4984 GB, free: 1.391 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.462e-06/0.1407, allocations: 4 kB / 0.4984 GB, free: 1.387 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.594e-05/0.1407, allocations: 11.98 kB / 0.4984 GB, free: 1.375 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.866e-06/0.1407, allocations: 0 / 0.4984 GB, free: 1.375 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.957e-06/0.1407, allocations: 11.88 kB / 0.4984 GB, free: 1.363 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001156/0.1419, allocations: 417.7 kB / 0.4988 GB, free: 0.9297 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.747e-05/0.142, allocations: 109 kB / 0.4989 GB, free: 0.8047 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.045e-05/0.142, allocations: 7.984 kB / 0.4989 GB, free: 0.7969 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003966/0.1424, allocations: 39.97 kB / 0.499 GB, free: 0.7578 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.229e-05/0.1425, allocations: 11.92 kB / 0.499 GB, free: 0.7461 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.171e-05/0.1425, allocations: 8 kB / 0.499 GB, free: 0.7383 MB / 382.1 MB Notification: Performance of sorting global known variables: time 7.22e-05/0.1426, allocations: 107.2 kB / 0.4991 GB, free: 0.6328 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1426, allocations: 0 / 0.4991 GB, free: 0.6328 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005628/0.1431, allocations: 164 kB / 0.4992 GB, free: 484 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.0006911/0.1438, allocations: 243 kB / 0.4995 GB, free: 232 kB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001202/0.145, allocations: 379.8 kB / 0.4998 GB, free: 15.85 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.1451, allocations: 0 / 0.4998 GB, free: 15.85 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005247/0.1456, allocations: 151.8 kB / 0.5 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.0003622/0.146, allocations: 20.17 kB / 0.5 GB, free: 15.68 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002333/0.1483, allocations: 0.5319 MB / 0.5005 GB, free: 15.11 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002664/0.1486, allocations: 0.7001 MB / 0.5012 GB, free: 14.38 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000141/0.1487, allocations: 23.42 kB / 0.5012 GB, free: 14.36 MB / 398.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1487, allocations: 0 / 0.5012 GB, free: 14.36 MB / 398.1 MB Notification: Performance of Templates: time 0.007783/0.1565, allocations: 4.628 MB / 0.5057 GB, free: 9.727 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