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.001284/0.001285, allocations: 115.9 kB / 17.08 MB, free: 5.832 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.001321/0.001321, allocations: 194.4 kB / 18.01 MB, free: 4.965 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.368/1.368, 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.2027/0.2027, allocations: 43.53 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.001475/0.001475, allocations: 67.91 kB / 442.5 MB, free: 5.668 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1271/0.1286, allocations: 57.8 MB / 0.4885 GB, free: 11.8 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives): time 0.003847/0.1325, allocations: 1.458 MB / 0.49 GB, free: 10.34 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002777/0.1353, allocations: 1.453 MB / 0.4914 GB, free: 8.875 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.232e-05/0.1354, allocations: 0 / 0.4914 GB, free: 8.875 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002502/0.1357, allocations: 31.83 kB / 0.4914 GB, free: 8.844 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000334/0.1361, allocations: 47.7 kB / 0.4915 GB, free: 8.797 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009466/0.137, allocations: 235.1 kB / 0.4917 GB, free: 8.566 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001938/0.1372, allocations: 43.8 kB / 0.4917 GB, free: 8.523 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.371e-05/0.1373, allocations: 15.97 kB / 0.4917 GB, free: 8.508 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.276e-05/0.1374, allocations: 23.88 kB / 0.4918 GB, free: 8.484 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.728e-05/0.1375, allocations: 27.84 kB / 0.4918 GB, free: 8.457 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.782e-05/0.1376, allocations: 4 kB / 0.4918 GB, free: 8.453 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009366/0.1385, allocations: 335.5 kB / 0.4921 GB, free: 8.125 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.863e-05/0.1385, allocations: 11.98 kB / 0.4921 GB, free: 8.113 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.076e-05/0.1386, allocations: 23.81 kB / 0.4922 GB, free: 8.09 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006565/0.1393, allocations: 275.3 kB / 0.4924 GB, free: 7.82 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.1393, allocations: 0 / 0.4924 GB, free: 7.82 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.1393, allocations: 4 kB / 0.4924 GB, free: 7.816 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.277e-06/0.1393, allocations: 4 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.0006944/0.14, allocations: 423.1 kB / 0.4928 GB, free: 7.352 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5e-05/0.1401, allocations: 15.88 kB / 0.4928 GB, free: 7.336 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.088e-05/0.1401, allocations: 12.84 kB / 0.4929 GB, free: 7.324 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001653/0.1403, allocations: 175.9 kB / 0.493 GB, free: 7.117 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.417e-05/0.1403, allocations: 384 / 0.493 GB, free: 7.117 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.995e-05/0.1404, allocations: 8.359 kB / 0.493 GB, free: 7.109 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001775/0.1406, allocations: 65.8 kB / 0.4931 GB, free: 7.039 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.511e-05/0.1406, allocations: 0 / 0.4931 GB, free: 7.039 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.631e-05/0.1406, allocations: 12 kB / 0.4931 GB, free: 7.027 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.93e-06/0.1406, allocations: 0 / 0.4931 GB, free: 7.027 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001385/0.1408, allocations: 55.91 kB / 0.4932 GB, free: 6.973 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002415/0.141, allocations: 185.5 kB / 0.4933 GB, free: 6.742 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001157/0.1411, allocations: 66.61 kB / 0.4934 GB, free: 6.668 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.434e-05/0.1412, allocations: 40.84 kB / 0.4934 GB, free: 6.625 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.361e-05/0.1413, allocations: 16 kB / 0.4935 GB, free: 6.609 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.606e-05/0.1414, allocations: 42.48 kB / 0.4935 GB, free: 6.559 MB / 382.1 MB Notification: Performance of pre-optimization done (n=8): time 1.393e-06/0.1414, allocations: 0 / 0.4935 GB, free: 6.559 MB / 382.1 MB Notification: Performance of matching and sorting (n=12): time 0.02393/0.1653, allocations: 1.626 MB / 0.4951 GB, free: 4.902 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.635e-05/0.1654, allocations: 55.41 kB / 0.4951 GB, free: 4.836 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000108/0.1655, allocations: 126.1 kB / 0.4953 GB, free: 4.703 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.765e-05/0.1655, allocations: 33.7 kB / 0.4953 GB, free: 4.664 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.859e-05/0.1656, allocations: 88.03 kB / 0.4954 GB, free: 4.574 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.908e-05/0.1657, allocations: 39.45 kB / 0.4954 GB, free: 4.535 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.551e-05/0.1658, allocations: 41.69 kB / 0.4954 GB, free: 4.488 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001194/0.1659, allocations: 326.8 kB / 0.4958 GB, free: 4.16 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006427/0.1665, allocations: 199.9 kB / 0.4959 GB, free: 3.965 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000612/0.1672, allocations: 203.8 kB / 0.4961 GB, free: 3.766 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001295/0.1685, allocations: 384.7 kB / 0.4965 GB, free: 3.387 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.1685, allocations: 0 / 0.4965 GB, free: 3.387 MB / 382.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.001348/0.1698, allocations: 457.4 kB / 0.4969 GB, free: 2.934 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.841e-05/0.1699, allocations: 11.98 kB / 0.497 GB, free: 2.922 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.1699, allocations: 0 / 0.497 GB, free: 2.922 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.418e-05/0.1699, allocations: 0 / 0.497 GB, free: 2.922 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005182/0.1704, allocations: 63.94 kB / 0.497 GB, free: 2.859 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.222e-06/0.1704, allocations: 0 / 0.497 GB, free: 2.859 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004347/0.1709, allocations: 35.95 kB / 0.4971 GB, free: 2.824 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.759e-05/0.1709, allocations: 16.16 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.0001193/0.171, allocations: 125.8 kB / 0.4972 GB, free: 2.676 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.531e-05/0.1711, allocations: 7.891 kB / 0.4972 GB, free: 2.668 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00141/0.1725, allocations: 366.1 kB / 0.4975 GB, free: 2.301 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.721e-06/0.1725, allocations: 4 kB / 0.4975 GB, free: 2.297 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.1725, allocations: 3.938 kB / 0.4976 GB, free: 2.293 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.165e-06/0.1725, allocations: 0 / 0.4976 GB, free: 2.293 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002784/0.1753, allocations: 0.7777 MB / 0.4983 GB, free: 1.449 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.916e-06/0.1753, allocations: 0 / 0.4983 GB, free: 1.449 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004794/0.1758, allocations: 71.97 kB / 0.4984 GB, free: 1.379 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.138e-06/0.1758, allocations: 0 / 0.4984 GB, free: 1.379 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.459e-05/0.1759, allocations: 11.98 kB / 0.4984 GB, free: 1.367 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.825e-06/0.1759, allocations: 0 / 0.4984 GB, free: 1.367 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.721e-06/0.1759, allocations: 11.94 kB / 0.4984 GB, free: 1.355 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001288/0.1772, allocations: 425.8 kB / 0.4988 GB, free: 0.9141 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.956e-05/0.1773, allocations: 105 kB / 0.4989 GB, free: 0.793 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.995e-05/0.1773, allocations: 4 kB / 0.4989 GB, free: 0.7891 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004518/0.1778, allocations: 43.91 kB / 0.499 GB, free: 0.7461 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.295e-05/0.1778, allocations: 11.92 kB / 0.499 GB, free: 0.7344 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.116e-05/0.1779, allocations: 11.98 kB / 0.499 GB, free: 0.7227 MB / 382.1 MB Notification: Performance of sorting global known variables: time 6.542e-05/0.1779, allocations: 99.27 kB / 0.4991 GB, free: 0.625 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1779, allocations: 0 / 0.4991 GB, free: 0.625 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005907/0.1785, allocations: 164 kB / 0.4992 GB, free: 476 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.0007095/0.1792, allocations: 251 kB / 0.4995 GB, free: 216 kB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00133/0.1806, allocations: 371.7 kB / 0.4998 GB, free: 15.85 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.776e-06/0.1806, allocations: 0 / 0.4998 GB, free: 15.85 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005791/0.1812, allocations: 155.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.0003789/0.1816, allocations: 16.12 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.002601/0.1842, allocations: 0.5322 MB / 0.5005 GB, free: 15.11 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003099/0.1845, 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.0001502/0.1847, allocations: 27.41 kB / 0.5012 GB, free: 14.35 MB / 398.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1847, allocations: 0 / 0.5012 GB, free: 14.35 MB / 398.1 MB Notification: Performance of Templates: time 0.007544/0.1922, allocations: 4.609 MB / 0.5057 GB, free: 9.734 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