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.001535/0.001535, allocations: 96.14 kB / 15.87 MB, free: 16 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001616/0.001616, allocations: 203.1 kB / 16.79 MB, free: 6.84 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.634/1.634, allocations: 205.1 MB / 222.6 MB, free: 4.75 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4563/0.4563, allocations: 43.49 MB / 313.5 MB, free: 8.5 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.00143/0.001431, allocations: 71.89 kB / 382 MB, free: 8.73 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.163/0.1644, allocations: 57.78 MB / 439.8 MB, free: 14.85 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives): time 0.003886/0.1684, allocations: 1.509 MB / 441.3 MB, free: 13.32 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002396/0.1709, allocations: 1.496 MB / 442.8 MB, free: 11.82 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.224e-05/0.1709, allocations: 0 / 442.8 MB, free: 11.82 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002162/0.1712, allocations: 27.83 kB / 442.9 MB, free: 11.79 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002171/0.1714, allocations: 44.05 kB / 442.9 MB, free: 11.75 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004162/0.1718, allocations: 171.4 kB / 443.1 MB, free: 11.58 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001183/0.1719, allocations: 55.67 kB / 443.1 MB, free: 11.52 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.49e-05/0.172, allocations: 7.984 kB / 443.1 MB, free: 11.52 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.876e-05/0.1721, allocations: 23.86 kB / 443.2 MB, free: 11.49 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.824e-05/0.1722, allocations: 27.84 kB / 443.2 MB, free: 11.46 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.475e-05/0.1722, allocations: 4 kB / 443.2 MB, free: 11.46 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005889/0.1728, allocations: 327.6 kB / 443.5 MB, free: 11.14 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.673e-05/0.1729, allocations: 15.92 kB / 443.5 MB, free: 11.12 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.382e-05/0.173, allocations: 27.86 kB / 443.5 MB, free: 11.1 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005396/0.1735, allocations: 267.4 kB / 443.8 MB, free: 10.84 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.176e-06/0.1735, allocations: 8 kB / 443.8 MB, free: 10.83 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.807e-06/0.1735, allocations: 0 / 443.8 MB, free: 10.83 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.232e-06/0.1735, allocations: 3.938 kB / 443.8 MB, free: 10.82 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.0007438/0.1743, allocations: 419.2 kB / 444.2 MB, free: 10.37 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.399e-05/0.1743, allocations: 11.97 kB / 444.2 MB, free: 10.36 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.101e-05/0.1744, allocations: 8.844 kB / 444.3 MB, free: 10.35 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001727/0.1746, allocations: 168.3 kB / 444.4 MB, free: 10.14 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.322e-05/0.1746, allocations: 384 / 444.4 MB, free: 10.14 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.801e-05/0.1746, allocations: 4.375 kB / 444.4 MB, free: 10.14 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001649/0.1748, allocations: 73.8 kB / 444.5 MB, free: 10.06 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.41e-05/0.1748, allocations: 3.984 kB / 444.5 MB, free: 10.06 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.142e-05/0.1749, allocations: 4 kB / 444.5 MB, free: 10.05 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.1749, allocations: 0 / 444.5 MB, free: 10.05 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.493e-05/0.175, allocations: 51.97 kB / 444.6 MB, free: 10 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002619/0.1752, allocations: 197.4 kB / 444.7 MB, free: 9.762 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001031/0.1753, allocations: 54.64 kB / 444.8 MB, free: 9.699 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.702e-05/0.1754, allocations: 45 kB / 444.8 MB, free: 9.652 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.028e-05/0.1755, allocations: 23.97 kB / 444.9 MB, free: 9.629 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.807e-05/0.1755, allocations: 38.5 kB / 444.9 MB, free: 9.582 MB / 382.1 MB Notification: Performance of pre-optimization done (n=8): time 9.42e-07/0.1755, allocations: 0 / 444.9 MB, free: 9.582 MB / 382.1 MB Notification: Performance of matching and sorting (n=12): time 0.02004/0.1956, allocations: 1.63 MB / 446.5 MB, free: 7.922 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.592e-05/0.1957, allocations: 51.41 kB / 446.6 MB, free: 7.859 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001353/0.1958, allocations: 137.8 kB / 446.7 MB, free: 7.719 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.518e-05/0.1959, allocations: 29.7 kB / 446.7 MB, free: 7.684 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.51e-05/0.1959, allocations: 88.05 kB / 446.8 MB, free: 7.594 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.539e-05/0.196, allocations: 43.39 kB / 446.9 MB, free: 7.551 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001006/0.1961, allocations: 41.69 kB / 446.9 MB, free: 7.504 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001334/0.1963, allocations: 322.8 kB / 447.2 MB, free: 7.18 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006058/0.1969, allocations: 199.9 kB / 447.4 MB, free: 6.984 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005891/0.1975, allocations: 211.8 kB / 447.6 MB, free: 6.777 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001183/0.1987, allocations: 380.7 kB / 448 MB, free: 6.402 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.1987, allocations: 0 / 448 MB, free: 6.402 MB / 382.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.001298/0.2, allocations: 449.3 kB / 448.4 MB, free: 5.957 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.354e-05/0.2, allocations: 8 kB / 448.5 MB, free: 5.949 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.291e-05/0.2, allocations: 0 / 448.5 MB, free: 5.949 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.569e-05/0.2001, allocations: 0 / 448.5 MB, free: 5.949 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005134/0.2006, allocations: 67.88 kB / 448.5 MB, free: 5.883 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.504e-06/0.2006, allocations: 0 / 448.5 MB, free: 5.883 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003934/0.201, allocations: 43.95 kB / 448.6 MB, free: 5.84 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.955e-05/0.201, allocations: 11.98 kB / 448.6 MB, free: 5.828 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.0001374/0.2012, allocations: 117.8 kB / 448.7 MB, free: 5.703 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.378e-05/0.2012, allocations: 3.906 kB / 448.7 MB, free: 5.699 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001389/0.2026, allocations: 369.9 kB / 449.1 MB, free: 5.332 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.017e-05/0.2027, allocations: 4 kB / 449.1 MB, free: 5.328 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.895e-06/0.2027, allocations: 0 / 449.1 MB, free: 5.328 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/0.2027, allocations: 4 kB / 449.1 MB, free: 5.324 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002752/0.2054, allocations: 0.7816 MB / 449.8 MB, free: 4.477 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.225e-06/0.2055, allocations: 0 / 449.8 MB, free: 4.477 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004539/0.2059, allocations: 64.03 kB / 449.9 MB, free: 4.414 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.627e-06/0.2059, allocations: 4 kB / 449.9 MB, free: 4.41 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.528e-05/0.206, allocations: 15.98 kB / 449.9 MB, free: 4.395 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.088e-06/0.206, allocations: 3.938 kB / 449.9 MB, free: 4.391 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.148e-06/0.206, allocations: 7.938 kB / 449.9 MB, free: 4.383 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001204/0.2072, allocations: 413.8 kB / 450.3 MB, free: 3.953 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.159e-05/0.2073, allocations: 105 kB / 450.4 MB, free: 3.832 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.797e-05/0.2073, allocations: 8 kB / 450.4 MB, free: 3.824 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004053/0.2078, allocations: 39.95 kB / 450.5 MB, free: 3.785 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.294e-05/0.2078, allocations: 11.88 kB / 450.5 MB, free: 3.773 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.504e-05/0.2078, allocations: 15.98 kB / 450.5 MB, free: 3.758 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001281/0.208, allocations: 99.27 kB / 450.6 MB, free: 3.66 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.208, allocations: 0 / 450.6 MB, free: 3.66 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006577/0.2086, allocations: 171.9 kB / 450.8 MB, free: 3.492 MB / 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.0007638/0.2094, allocations: 251.1 kB / 451 MB, free: 3.234 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00129/0.2107, allocations: 379.9 kB / 451.4 MB, free: 2.863 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.2107, allocations: 0 / 451.4 MB, free: 2.863 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005496/0.2113, allocations: 148 kB / 451.5 MB, free: 2.719 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004154/0.2117, allocations: 8 kB / 451.5 MB, free: 2.711 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002458/0.2142, allocations: 0.5281 MB / 452.1 MB, free: 2.148 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000269/0.2144, allocations: 0.7005 MB / 452.8 MB, free: 1.422 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002846/0.2147, allocations: 40.62 kB / 452.8 MB, free: 1.379 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001502/0.2149, allocations: 23.42 kB / 452.8 MB, free: 1.355 MB / 382.1 MB Notification: Performance of SimCode: time 1.983e-06/0.2149, allocations: 0 / 452.8 MB, free: 1.355 MB / 382.1 MB Notification: Performance of Templates: time 0.2522/0.4671, allocations: 8.339 MB / 461.2 MB, free: 47.88 MB / 382.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","../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches