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.001312/0.001311, allocations: 105.8 kB / 16.27 MB, free: 5.93 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.001341/0.001341, allocations: 190.9 kB / 17.2 MB, free: 5.574 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.685/1.685, allocations: 205.1 MB / 223.1 MB, free: 12.3 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.2435/0.2435, allocations: 43.53 MB / 313.9 MB, free: 0.5273 MB / 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.0015/0.0015, allocations: 76.41 kB / 382.7 MB, free: 56.74 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1605/0.1621, allocations: 57.78 MB / 440.5 MB, free: 6.926 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives): time 0.004192/0.1663, allocations: 1.452 MB / 442 MB, free: 5.457 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002231/0.1686, allocations: 1.447 MB / 443.4 MB, free: 4 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.886e-05/0.1688, allocations: 0 / 443.4 MB, free: 4 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002368/0.169, allocations: 43.98 kB / 443.5 MB, free: 3.957 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002965/0.1693, allocations: 43.7 kB / 443.5 MB, free: 3.914 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006879/0.17, allocations: 223.1 kB / 443.7 MB, free: 3.695 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001507/0.1702, allocations: 55.72 kB / 443.8 MB, free: 3.641 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.083e-05/0.1702, allocations: 7.984 kB / 443.8 MB, free: 3.633 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.405e-05/0.1703, allocations: 19.88 kB / 443.8 MB, free: 3.613 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.901e-05/0.1704, allocations: 35.78 kB / 443.8 MB, free: 3.578 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.307e-05/0.1704, allocations: 0 / 443.8 MB, free: 3.578 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006838/0.1711, allocations: 335.6 kB / 444.2 MB, free: 3.25 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.343e-05/0.1711, allocations: 8 kB / 444.2 MB, free: 3.242 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.71e-05/0.1712, allocations: 27.8 kB / 444.2 MB, free: 3.215 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005741/0.1718, allocations: 275.4 kB / 444.5 MB, free: 2.945 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.274e-06/0.1718, allocations: 7.984 kB / 444.5 MB, free: 2.938 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.735e-06/0.1718, allocations: 0 / 444.5 MB, free: 2.938 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.494e-06/0.1718, allocations: 0 / 444.5 MB, free: 2.938 MB / 318.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.0006117/0.1724, allocations: 419.1 kB / 444.9 MB, free: 2.48 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.6e-05/0.1725, allocations: 11.89 kB / 444.9 MB, free: 2.469 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.187e-05/0.1725, allocations: 12.84 kB / 444.9 MB, free: 2.457 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001199/0.1727, allocations: 172.2 kB / 445.1 MB, free: 2.25 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.832e-05/0.1727, allocations: 384 / 445.1 MB, free: 2.25 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.927e-05/0.1727, allocations: 4.375 kB / 445.1 MB, free: 2.246 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001653/0.1729, allocations: 73.73 kB / 445.2 MB, free: 2.168 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.511e-05/0.1729, allocations: 0 / 445.2 MB, free: 2.168 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.295e-05/0.1729, allocations: 4 kB / 445.2 MB, free: 2.164 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.001e-06/0.173, allocations: 0 / 445.2 MB, free: 2.164 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001025/0.1731, allocations: 51.97 kB / 445.2 MB, free: 2.113 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001927/0.1733, allocations: 193.5 kB / 445.4 MB, free: 1.875 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.681e-05/0.1734, allocations: 58.55 kB / 445.5 MB, free: 1.809 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.459e-05/0.1734, allocations: 40.84 kB / 445.5 MB, free: 1.766 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.597e-05/0.1735, allocations: 19.98 kB / 445.5 MB, free: 1.746 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.391e-05/0.1735, allocations: 38.44 kB / 445.6 MB, free: 1.699 MB / 318.1 MB Notification: Performance of pre-optimization done (n=8): time 1.673e-06/0.1735, allocations: 0 / 445.6 MB, free: 1.699 MB / 318.1 MB Notification: Performance of matching and sorting (n=12): time 0.01988/0.1934, allocations: 1.626 MB / 447.2 MB, free: 44 kB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001079/0.1936, allocations: 55.34 kB / 447.2 MB, free: 15.98 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002365/0.1939, allocations: 145.3 kB / 447.4 MB, free: 15.83 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.45e-05/0.1939, allocations: 29.7 kB / 447.4 MB, free: 15.79 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.047e-05/0.194, allocations: 88.05 kB / 447.5 MB, free: 15.7 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.951e-05/0.1941, allocations: 39.44 kB / 447.5 MB, free: 15.66 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001587/0.1943, allocations: 41.69 kB / 447.6 MB, free: 15.62 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0003213/0.1946, allocations: 326.8 kB / 447.9 MB, free: 15.29 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007196/0.1953, allocations: 199.9 kB / 448.1 MB, free: 15.09 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006587/0.196, allocations: 207.8 kB / 448.3 MB, free: 14.89 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001487/0.1975, allocations: 384.7 kB / 448.7 MB, free: 14.51 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.1975, allocations: 3.938 kB / 448.7 MB, free: 14.51 MB / 334.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.001644/0.1992, allocations: 457.9 kB / 449.1 MB, free: 14.05 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.942e-05/0.1992, allocations: 8 kB / 449.1 MB, free: 14.05 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.969e-05/0.1993, allocations: 0 / 449.1 MB, free: 14.05 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.07e-05/0.1993, allocations: 0 / 449.1 MB, free: 14.05 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005568/0.1999, allocations: 63.94 kB / 449.2 MB, free: 13.98 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.228e-05/0.1999, allocations: 0 / 449.2 MB, free: 13.98 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004484/0.2004, allocations: 47.94 kB / 449.2 MB, free: 13.94 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.995e-05/0.2004, allocations: 8.156 kB / 449.2 MB, free: 13.93 MB / 334.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.0001817/0.2006, allocations: 129.7 kB / 449.4 MB, free: 13.79 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.661e-05/0.2006, allocations: 3.906 kB / 449.4 MB, free: 13.79 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001568/0.2022, allocations: 362.1 kB / 449.7 MB, free: 13.43 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.946e-06/0.2022, allocations: 4 kB / 449.7 MB, free: 13.42 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.603e-06/0.2023, allocations: 0 / 449.7 MB, free: 13.42 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.07e-06/0.2023, allocations: 0 / 449.7 MB, free: 13.42 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003098/0.2054, allocations: 0.7738 MB / 450.5 MB, free: 12.58 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.521e-06/0.2054, allocations: 0 / 450.5 MB, free: 12.58 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005144/0.2059, allocations: 75.95 kB / 450.6 MB, free: 12.51 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.853e-06/0.2059, allocations: 0 / 450.6 MB, free: 12.51 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.39e-05/0.206, allocations: 8 kB / 450.6 MB, free: 12.5 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.799e-06/0.206, allocations: 0 / 450.6 MB, free: 12.5 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.233e-06/0.206, allocations: 7.938 kB / 450.6 MB, free: 12.49 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001603/0.2076, allocations: 429.7 kB / 451 MB, free: 12.05 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001526/0.2078, allocations: 105 kB / 451.1 MB, free: 11.93 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.207e-05/0.2078, allocations: 4 kB / 451.1 MB, free: 11.92 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004506/0.2083, allocations: 44.05 kB / 451.2 MB, free: 11.88 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001549/0.2085, allocations: 11.88 kB / 451.2 MB, free: 11.87 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.668e-05/0.2085, allocations: 11.98 kB / 451.2 MB, free: 11.86 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.913e-05/0.2086, allocations: 99.27 kB / 451.3 MB, free: 11.76 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2086, allocations: 0 / 451.3 MB, free: 11.76 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0007636/0.2094, allocations: 167.9 kB / 451.4 MB, free: 11.59 MB / 334.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.0008598/0.2103, allocations: 255 kB / 451.7 MB, free: 11.34 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001469/0.2117, allocations: 383.7 kB / 452.1 MB, free: 10.96 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 6.262e-06/0.2118, allocations: 0 / 452.1 MB, free: 10.96 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006238/0.2124, allocations: 148 kB / 452.2 MB, free: 10.82 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005175/0.2129, allocations: 18.61 kB / 452.2 MB, free: 10.8 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002736/0.2157, allocations: 0.503 MB / 452.7 MB, free: 10.26 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004705/0.2161, allocations: 0.6924 MB / 453.4 MB, free: 9.543 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002559/0.2164, allocations: 40.64 kB / 453.5 MB, free: 9.5 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001402/0.2166, allocations: 19.42 kB / 453.5 MB, free: 9.48 MB / 334.1 MB Notification: Performance of SimCode: time 7.61e-07/0.2166, allocations: 8 kB / 453.5 MB, free: 9.473 MB / 334.1 MB Notification: Performance of Templates: time 0.01749/0.2341, allocations: 8.541 MB / 462 MB, free: 0.9297 MB / 334.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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestComponents/Fittings/TestPressureLossDerivatives/TestPressureLossDerivatives.csv","/var/lib/jenkins/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