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.001556/0.001556, allocations: 110.5 kB / 17.86 MB, free: 5.504 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.001796/0.001796, allocations: 201.9 kB / 18.78 MB, free: 4.586 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.351/1.351, allocations: 222.9 MB / 242.5 MB, free: 13.64 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.2045/0.2045, allocations: 44.17 MB / 336.8 MB, free: 2.746 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001344/0.001344, allocations: 60.27 kB / 408.3 MB, free: 27.67 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1144/0.1158, allocations: 60.83 MB / 469.2 MB, free: 14.8 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives): time 0.002508/0.1184, allocations: 1.507 MB / 470.7 MB, free: 13.28 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001829/0.1202, allocations: 1.453 MB / 472.1 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.789e-05/0.1202, allocations: 0 / 472.1 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001784/0.1204, allocations: 27.84 kB / 472.2 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001806/0.1206, allocations: 35.81 kB / 472.2 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003904/0.121, allocations: 174.5 kB / 472.4 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 9.285e-05/0.1211, allocations: 51.72 kB / 472.4 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.867e-05/0.1212, allocations: 4.281 kB / 472.4 MB, free: 11.53 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.187e-05/0.1212, allocations: 27.86 kB / 472.5 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.62e-05/0.1213, allocations: 23.86 kB / 472.5 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.352e-05/0.1213, allocations: 7.938 kB / 472.5 MB, free: 11.47 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005076/0.1219, allocations: 335.6 kB / 472.8 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.388e-05/0.1219, allocations: 7.938 kB / 472.8 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.819e-05/0.1219, allocations: 31.8 kB / 472.9 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002867/0.1222, allocations: 191.5 kB / 473 MB, free: 10.92 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.1222, allocations: 0 / 473 MB, free: 10.92 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.1222, allocations: 0 / 473 MB, free: 10.92 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.985e-06/0.1222, allocations: 0 / 473 MB, free: 10.92 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.0005483/0.1228, allocations: 407.3 kB / 473.4 MB, free: 10.47 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.131e-05/0.1228, allocations: 8.031 kB / 473.4 MB, free: 10.46 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.873e-05/0.1229, allocations: 16.84 kB / 473.5 MB, free: 10.45 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001239/0.123, allocations: 168.3 kB / 473.6 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.002e-05/0.123, allocations: 384 / 473.6 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.987e-05/0.1231, allocations: 4.375 kB / 473.6 MB, free: 10.24 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001357/0.1232, allocations: 69.8 kB / 473.7 MB, free: 10.17 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.066e-05/0.1232, allocations: 0 / 473.7 MB, free: 10.17 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.648e-05/0.1232, allocations: 4 kB / 473.7 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.121e-06/0.1233, allocations: 3.938 kB / 473.7 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.499e-05/0.1234, allocations: 63.88 kB / 473.8 MB, free: 10.1 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001971/0.1236, allocations: 193.5 kB / 474 MB, free: 9.859 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.558e-05/0.1237, allocations: 54.56 kB / 474 MB, free: 9.797 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.012e-05/0.1237, allocations: 40.84 kB / 474.1 MB, free: 9.754 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.906e-05/0.1238, allocations: 19.98 kB / 474.1 MB, free: 9.734 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.379e-05/0.1238, allocations: 34.5 kB / 474.1 MB, free: 9.691 MB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 9.71e-07/0.1238, allocations: 0 / 474.1 MB, free: 9.691 MB / 350.1 MB Notification: Performance of matching and sorting (n=12): time 0.02193/0.1458, allocations: 1.627 MB / 475.7 MB, free: 8.035 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.217e-05/0.1458, allocations: 59.41 kB / 475.8 MB, free: 7.965 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000119/0.146, allocations: 137.4 kB / 475.9 MB, free: 7.82 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.947e-05/0.146, allocations: 29.7 kB / 476 MB, free: 7.785 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.986e-05/0.1461, allocations: 84.12 kB / 476 MB, free: 7.699 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.328e-05/0.1461, allocations: 39.45 kB / 476.1 MB, free: 7.66 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001085/0.1462, allocations: 49.59 kB / 476.1 MB, free: 7.605 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001059/0.1463, allocations: 318.8 kB / 476.4 MB, free: 7.285 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006697/0.147, allocations: 203.9 kB / 476.6 MB, free: 7.086 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006513/0.1477, allocations: 203.8 kB / 476.8 MB, free: 6.887 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001316/0.149, allocations: 386.9 kB / 477.2 MB, free: 6.508 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.149, allocations: 0 / 477.2 MB, free: 6.508 MB / 350.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.001501/0.1505, allocations: 458.8 kB / 477.7 MB, free: 6.055 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.388e-05/0.1506, allocations: 8 kB / 477.7 MB, free: 6.047 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.019e-05/0.1506, allocations: 0 / 477.7 MB, free: 6.047 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.68e-05/0.1506, allocations: 0 / 477.7 MB, free: 6.047 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000568/0.1512, allocations: 67.92 kB / 477.7 MB, free: 5.98 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.086e-05/0.1512, allocations: 3.984 kB / 477.7 MB, free: 5.977 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004427/0.1517, allocations: 39.97 kB / 477.8 MB, free: 5.938 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.476e-05/0.1517, allocations: 11.98 kB / 477.8 MB, free: 5.926 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.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.0001381/0.1518, allocations: 117.8 kB / 477.9 MB, free: 5.801 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.213e-05/0.1519, allocations: 7.906 kB / 477.9 MB, free: 5.793 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001529/0.1534, allocations: 370 kB / 478.3 MB, free: 5.426 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.1534, allocations: 0 / 478.3 MB, free: 5.426 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.1535, allocations: 0 / 478.3 MB, free: 5.426 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.027e-06/0.1535, allocations: 0 / 478.3 MB, free: 5.426 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003008/0.1565, allocations: 0.7816 MB / 479.1 MB, free: 4.578 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.43e-06/0.1565, allocations: 4 kB / 479.1 MB, free: 4.574 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004977/0.157, allocations: 67.97 kB / 479.1 MB, free: 4.508 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.801e-06/0.157, allocations: 0 / 479.1 MB, free: 4.508 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.986e-05/0.1571, allocations: 7.984 kB / 479.1 MB, free: 4.5 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.829e-06/0.1571, allocations: 4 kB / 479.1 MB, free: 4.496 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.1571, allocations: 3.938 kB / 479.1 MB, free: 4.492 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001353/0.1584, allocations: 429.9 kB / 479.6 MB, free: 4.047 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001104/0.1586, allocations: 109 kB / 479.7 MB, free: 3.922 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.117e-05/0.1586, allocations: 0 / 479.7 MB, free: 3.922 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004681/0.1591, allocations: 43.95 kB / 479.7 MB, free: 3.879 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.286e-05/0.1591, allocations: 15.92 kB / 479.7 MB, free: 3.863 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.325e-05/0.1592, allocations: 4 kB / 479.7 MB, free: 3.859 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.952e-05/0.1592, allocations: 99.2 kB / 479.8 MB, free: 3.762 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1592, allocations: 0 / 479.8 MB, free: 3.762 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006246/0.1599, allocations: 168 kB / 480 MB, free: 3.598 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 (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.0007956/0.1607, allocations: 251.5 kB / 480.2 MB, free: 3.344 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001403/0.1621, allocations: 375.7 kB / 480.6 MB, free: 2.977 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.1621, allocations: 0 / 480.6 MB, free: 2.977 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006218/0.1627, allocations: 152.1 kB / 480.7 MB, free: 2.828 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000404/0.1632, allocations: 23.83 kB / 480.8 MB, free: 2.805 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002812/0.166, allocations: 0.5455 MB / 481.3 MB, free: 2.219 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000258/0.1663, allocations: 0.6926 MB / 482 MB, free: 1.5 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001789/0.1664, allocations: 35.34 kB / 482 MB, free: 1.465 MB / 350.1 MB Notification: Performance of SimCode: time 5.21e-07/0.1665, allocations: 0 / 482 MB, free: 1.465 MB / 350.1 MB Notification: Performance of Templates: time 0.008088/0.1746, allocations: 4.592 MB / 486.6 MB, free: 12.86 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Fittings/TestPressureLossDerivatives/TestPressureLossDerivatives.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches