Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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_4.0.0_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.00118/0.00118, allocations: 98.81 kB / 16.99 MB, free: 6.402 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.001378/0.001378, allocations: 178.7 kB / 17.88 MB, free: 5.957 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.427/1.427, allocations: 223.2 MB / 241.8 MB, free: 14.63 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2645/0.2645, allocations: 44.23 MB / 337.1 MB, free: 2.648 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003707/0.0003706, allocations: 8 kB / 409.5 MB, free: 27.67 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1614/0.1618, allocations: 61.92 MB / 471.5 MB, free: 13.72 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives): time 0.001733/0.1636, allocations: 1.133 MB / 472.6 MB, free: 12.58 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001903/0.1656, allocations: 1.244 MB / 473.8 MB, free: 11.33 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.967e-05/0.1656, allocations: 0 / 473.8 MB, free: 11.33 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001774/0.1658, allocations: 39.81 kB / 473.9 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001857/0.166, allocations: 27.94 kB / 473.9 MB, free: 11.26 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003937/0.1664, allocations: 179.5 kB / 474.1 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001027/0.1665, allocations: 39.88 kB / 474.1 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.119e-05/0.1666, allocations: 7.984 kB / 474.1 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.529e-05/0.1667, allocations: 15.94 kB / 474.1 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.757e-05/0.1667, allocations: 31.84 kB / 474.2 MB, free: 10.99 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.067e-05/0.1668, allocations: 0 / 474.2 MB, free: 10.99 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000498/0.1673, allocations: 307.7 kB / 474.5 MB, free: 10.69 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.847e-05/0.1673, allocations: 11.92 kB / 474.5 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.31e-05/0.1673, allocations: 41.64 kB / 474.5 MB, free: 10.63 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003372/0.1677, allocations: 187.9 kB / 474.7 MB, free: 10.45 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.788e-06/0.1677, allocations: 0 / 474.7 MB, free: 10.45 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.046e-06/0.1677, allocations: 0 / 474.7 MB, free: 10.45 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.35e-06/0.1677, allocations: 0 / 474.7 MB, free: 10.45 MB / 350.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.000615/0.1683, allocations: 403 kB / 475.1 MB, free: 10.01 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.481e-05/0.1684, allocations: 8.031 kB / 475.1 MB, free: 10 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.351e-05/0.1684, allocations: 7.906 kB / 475.1 MB, free: 9.992 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001489/0.1686, allocations: 171 kB / 475.3 MB, free: 9.785 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.569e-05/0.1686, allocations: 8 kB / 475.3 MB, free: 9.777 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.558e-05/0.1686, allocations: 7.953 kB / 475.3 MB, free: 9.77 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001528/0.1688, allocations: 57.69 kB / 475.4 MB, free: 9.707 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.543e-05/0.1688, allocations: 3.984 kB / 475.4 MB, free: 9.703 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.082e-05/0.1688, allocations: 7.938 kB / 475.4 MB, free: 9.695 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.162e-06/0.1688, allocations: 3.938 kB / 475.4 MB, free: 9.691 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001112/0.169, allocations: 55.97 kB / 475.4 MB, free: 9.637 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002155/0.1692, allocations: 185.5 kB / 475.6 MB, free: 9.406 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001005/0.1693, allocations: 58.56 kB / 475.7 MB, free: 9.34 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.495e-05/0.1694, allocations: 19.98 kB / 475.7 MB, free: 9.32 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.34e-05/0.1694, allocations: 38.52 kB / 475.7 MB, free: 9.273 MB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 1.082e-06/0.1694, allocations: 0 / 475.7 MB, free: 9.273 MB / 350.1 MB Notification: Performance of matching and sorting (n=12): time 0.01996/0.1894, allocations: 1.685 MB / 477.4 MB, free: 7.559 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.03e-05/0.1895, allocations: 55.41 kB / 477.5 MB, free: 7.492 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001361/0.1896, allocations: 138 kB / 477.6 MB, free: 7.344 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.607e-05/0.1897, allocations: 29.7 kB / 477.6 MB, free: 7.309 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.222e-05/0.1897, allocations: 88.03 kB / 477.7 MB, free: 7.219 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.866e-05/0.1898, allocations: 35.45 kB / 477.7 MB, free: 7.184 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.053e-05/0.1898, allocations: 8 kB / 477.7 MB, free: 7.176 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001253/0.1899, allocations: 318.8 kB / 478.1 MB, free: 6.855 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006654/0.1906, allocations: 212 kB / 478.3 MB, free: 6.648 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006383/0.1913, allocations: 212.2 kB / 478.5 MB, free: 6.441 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006679/0.1919, allocations: 192.6 kB / 478.7 MB, free: 6.254 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.192, allocations: 0 / 478.7 MB, free: 6.254 MB / 350.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.001478/0.1934, allocations: 488.9 kB / 479.1 MB, free: 5.773 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.439e-05/0.1935, allocations: 4 kB / 479.1 MB, free: 5.77 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.207e-05/0.1935, allocations: 3.938 kB / 479.1 MB, free: 5.766 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.419e-05/0.1935, allocations: 0 / 479.1 MB, free: 5.766 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005796/0.1941, allocations: 83.89 kB / 479.2 MB, free: 5.684 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.584e-06/0.1941, allocations: 0 / 479.2 MB, free: 5.684 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004658/0.1946, allocations: 43.95 kB / 479.3 MB, free: 5.641 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.223e-05/0.1946, allocations: 15.97 kB / 479.3 MB, free: 5.625 MB / 350.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.zeta1_at_a,data.zeta2_at_a,data.zetaLaminarKnown) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00013/0.1948, allocations: 118.4 kB / 479.4 MB, free: 5.5 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.444e-05/0.1948, allocations: 11.86 kB / 479.4 MB, free: 5.488 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001512/0.1963, allocations: 401.9 kB / 479.8 MB, free: 5.09 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.418e-06/0.1963, allocations: 0 / 479.8 MB, free: 5.09 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.682e-06/0.1964, allocations: 0 / 479.8 MB, free: 5.09 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.551e-06/0.1964, allocations: 7.984 kB / 479.8 MB, free: 5.082 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003041/0.1994, allocations: 0.8167 MB / 480.6 MB, free: 4.199 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.038e-06/0.1994, allocations: 4 kB / 480.6 MB, free: 4.195 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005207/0.2, allocations: 75.98 kB / 480.7 MB, free: 4.121 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.069e-06/0.2, allocations: 8 kB / 480.7 MB, free: 4.113 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.997e-05/0.2, allocations: 15.97 kB / 480.7 MB, free: 4.098 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.412e-06/0.2, allocations: 7.938 kB / 480.7 MB, free: 4.09 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/0.2, allocations: 0 / 480.7 MB, free: 4.09 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001424/0.2015, allocations: 482.8 kB / 481.2 MB, free: 3.574 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001095/0.2016, allocations: 113 kB / 481.3 MB, free: 3.445 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.333e-05/0.2016, allocations: 8 kB / 481.3 MB, free: 3.438 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004813/0.2021, allocations: 43.91 kB / 481.4 MB, free: 3.395 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.21e-05/0.2022, allocations: 7.938 kB / 481.4 MB, free: 3.387 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.112e-05/0.2022, allocations: 19.97 kB / 481.4 MB, free: 3.367 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.962e-05/0.2023, allocations: 97.8 kB / 481.5 MB, free: 3.273 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2023, allocations: 0 / 481.5 MB, free: 3.273 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006648/0.203, allocations: 171.9 kB / 481.7 MB, free: 3.105 MB / 350.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006202/0.2036, allocations: 248.1 kB / 481.9 MB, free: 2.855 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00139/0.205, allocations: 406.3 kB / 482.3 MB, free: 2.461 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.205, allocations: 3.938 kB / 482.3 MB, free: 2.457 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000627/0.2056, allocations: 164 kB / 482.5 MB, free: 2.297 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002539/0.2059, allocations: 16 kB / 482.5 MB, free: 2.281 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002789/0.2087, allocations: 0.5676 MB / 483.1 MB, free: 1.68 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002625/0.209, allocations: 0.7043 MB / 483.8 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002347/0.2092, allocations: 52.75 kB / 483.8 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001577/0.2094, allocations: 47.28 kB / 483.9 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of SimCode: time 1.012e-06/0.2094, allocations: 0 / 483.9 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of Templates: time 0.01263/0.222, allocations: 8.333 MB / 492.2 MB, free: 8.508 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Fittings/TestPressureLossDerivatives/TestPressureLossDerivatives.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches