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.001082/0.001082, allocations: 95.34 kB / 17.35 MB, free: 6.375 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.001368/0.001368, allocations: 180.2 kB / 18.26 MB, free: 5.52 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.523/1.523, allocations: 223.3 MB / 242.3 MB, free: 216 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2629/0.2629, allocations: 44.25 MB / 337.7 MB, free: 2.676 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003587/0.0003586, allocations: 8.625 kB / 410.3 MB, free: 27.33 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1448/0.1452, allocations: 61.93 MB / 472.3 MB, free: 13.38 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives): time 0.001577/0.1468, allocations: 1.164 MB / 473.4 MB, free: 12.2 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001881/0.1487, allocations: 1.429 MB / 474.9 MB, free: 10.76 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.459e-05/0.1487, allocations: 0 / 474.9 MB, free: 10.76 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001467/0.1489, allocations: 27.84 kB / 474.9 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001601/0.149, allocations: 39.81 kB / 474.9 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003836/0.1494, allocations: 171.4 kB / 475.1 MB, free: 10.53 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001004/0.1495, allocations: 51.67 kB / 475.1 MB, free: 10.48 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.36e-05/0.1496, allocations: 8.266 kB / 475.1 MB, free: 10.47 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.324e-05/0.1496, allocations: 19.94 kB / 475.2 MB, free: 10.45 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.6e-05/0.1497, allocations: 27.86 kB / 475.2 MB, free: 10.42 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.093e-05/0.1497, allocations: 4 kB / 475.2 MB, free: 10.42 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005545/0.1503, allocations: 339.5 kB / 475.5 MB, free: 10.09 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.68e-05/0.1503, allocations: 3.938 kB / 475.5 MB, free: 10.08 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.947e-05/0.1504, allocations: 53.58 kB / 475.6 MB, free: 10.02 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004548/0.1508, allocations: 279.3 kB / 475.9 MB, free: 9.75 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.1508, allocations: 0 / 475.9 MB, free: 9.75 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1509, allocations: 0 / 475.9 MB, free: 9.75 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.51e-06/0.1509, allocations: 0 / 475.9 MB, free: 9.75 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.0005473/0.1514, allocations: 409.5 kB / 476.3 MB, free: 9.305 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.1515, allocations: 12.03 kB / 476.3 MB, free: 9.293 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.924e-05/0.1515, allocations: 8.844 kB / 476.3 MB, free: 9.285 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001327/0.1516, allocations: 174.9 kB / 476.4 MB, free: 9.078 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.468e-05/0.1517, allocations: 384 / 476.4 MB, free: 9.078 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.511e-05/0.1517, allocations: 8.375 kB / 476.5 MB, free: 9.07 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000156/0.1519, allocations: 73.78 kB / 476.5 MB, free: 8.992 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.939e-06/0.1519, allocations: 0 / 476.5 MB, free: 8.992 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.688e-06/0.1519, allocations: 0 / 476.5 MB, free: 8.992 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.1519, allocations: 0 / 476.5 MB, free: 8.992 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.6e-05/0.152, allocations: 51.97 kB / 476.6 MB, free: 8.941 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002047/0.1522, allocations: 205.4 kB / 476.8 MB, free: 8.691 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.502e-05/0.1523, allocations: 54.5 kB / 476.8 MB, free: 8.629 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.029e-05/0.1524, allocations: 40.84 kB / 476.9 MB, free: 8.586 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.921e-05/0.1524, allocations: 19.98 kB / 476.9 MB, free: 8.566 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.436e-05/0.1525, allocations: 34.5 kB / 476.9 MB, free: 8.523 MB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 9.52e-07/0.1525, allocations: 0 / 476.9 MB, free: 8.523 MB / 350.1 MB Notification: Performance of matching and sorting (n=12): time 0.02208/0.1746, allocations: 1.685 MB / 478.6 MB, free: 6.809 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.35e-05/0.1747, allocations: 55.39 kB / 478.7 MB, free: 6.742 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002452/0.175, allocations: 130.1 kB / 478.8 MB, free: 6.602 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.038e-05/0.175, allocations: 33.64 kB / 478.8 MB, free: 6.562 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.887e-05/0.1751, allocations: 96.05 kB / 478.9 MB, free: 6.465 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.221e-05/0.1752, allocations: 35.45 kB / 479 MB, free: 6.43 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.677e-05/0.1753, allocations: 29.7 kB / 479 MB, free: 6.395 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001685/0.1755, allocations: 314.8 kB / 479.3 MB, free: 6.078 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007984/0.1763, allocations: 207.9 kB / 479.5 MB, free: 5.875 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007923/0.1771, allocations: 223.7 kB / 479.7 MB, free: 5.656 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001689/0.1788, allocations: 398.2 kB / 480.1 MB, free: 5.266 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.1788, allocations: 0 / 480.1 MB, free: 5.266 MB / 350.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.00169/0.1805, allocations: 489.2 kB / 480.6 MB, free: 4.781 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.586e-05/0.1805, allocations: 4 kB / 480.6 MB, free: 4.777 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.044e-05/0.1806, allocations: 0 / 480.6 MB, free: 4.777 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.945e-05/0.1806, allocations: 4 kB / 480.6 MB, free: 4.773 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000646/0.1812, allocations: 83.83 kB / 480.7 MB, free: 4.691 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.827e-06/0.1813, allocations: 0 / 480.7 MB, free: 4.691 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005283/0.1818, allocations: 43.95 kB / 480.7 MB, free: 4.648 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.229e-05/0.1818, allocations: 15.97 kB / 480.7 MB, free: 4.633 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.0001394/0.182, allocations: 117.8 kB / 480.8 MB, free: 4.508 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.723e-05/0.182, allocations: 11.84 kB / 480.9 MB, free: 4.496 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001709/0.1837, allocations: 398.1 kB / 481.2 MB, free: 4.102 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.442e-06/0.1838, allocations: 4 kB / 481.2 MB, free: 4.098 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.1838, allocations: 0 / 481.2 MB, free: 4.098 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.427e-06/0.1838, allocations: 4 kB / 481.2 MB, free: 4.094 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003485/0.1873, allocations: 0.8206 MB / 482.1 MB, free: 3.207 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.1873, allocations: 0 / 482.1 MB, free: 3.207 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006045/0.1879, allocations: 79.98 kB / 482.1 MB, free: 3.129 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.432e-06/0.1879, allocations: 96 / 482.1 MB, free: 3.129 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.102e-05/0.188, allocations: 19.91 kB / 482.2 MB, free: 3.109 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.358e-06/0.188, allocations: 0 / 482.2 MB, free: 3.109 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/0.188, allocations: 3.938 kB / 482.2 MB, free: 3.105 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001625/0.1896, allocations: 465.7 kB / 482.6 MB, free: 2.625 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000135/0.1898, allocations: 109 kB / 482.7 MB, free: 2.5 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.169e-05/0.1898, allocations: 0 / 482.7 MB, free: 2.5 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005508/0.1904, allocations: 47.95 kB / 482.8 MB, free: 2.453 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.057e-05/0.1904, allocations: 11.92 kB / 482.8 MB, free: 2.441 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.869e-05/0.1904, allocations: 11.98 kB / 482.8 MB, free: 2.43 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.895e-05/0.1905, allocations: 110.1 kB / 482.9 MB, free: 2.324 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1905, allocations: 3.938 kB / 482.9 MB, free: 2.32 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007369/0.1913, allocations: 164 kB / 483.1 MB, free: 2.16 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.0008759/0.1922, allocations: 247.6 kB / 483.3 MB, free: 1.91 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001593/0.1938, allocations: 407.6 kB / 483.7 MB, free: 1.512 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.1938, allocations: 4 kB / 483.7 MB, free: 1.508 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006895/0.1945, allocations: 164 kB / 483.9 MB, free: 1.348 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000377/0.1949, allocations: 14.06 kB / 483.9 MB, free: 1.336 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003245/0.1981, allocations: 0.587 MB / 484.5 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00041/0.1986, allocations: 0.6926 MB / 485.2 MB, free: 16 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002504/0.1988, allocations: 44.78 kB / 485.2 MB, free: 15.95 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001788/0.199, allocations: 47.34 kB / 485.3 MB, free: 15.9 MB / 366.1 MB Notification: Performance of SimCode: time 5.11e-07/0.199, allocations: 4 kB / 485.3 MB, free: 15.9 MB / 366.1 MB Notification: Performance of Templates: time 0.01561/0.2146, allocations: 8.45 MB / 493.7 MB, free: 7.445 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","/var/lib/jenkins/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