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) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001688/0.001688, allocations: 107.3 kB / 19.69 MB, free: 2.188 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002473/0.002473, allocations: 195.2 kB / 22.98 MB, free: 5.016 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.616/1.616, allocations: 207.6 MB / 233.7 MB, free: 10.01 MB / 190.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2491/0.2491, allocations: 44.22 MB / 330.2 MB, free: 9.656 MB / 270.1 MB
"
[Timeout remaining time 179]
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=5002,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=5002,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") [Timeout 660]
"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.002519/0.002519, allocations: 74.17 kB / 468 MB, free: 4.066 MB / 334.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.1458/0.1483, allocations: 61.03 MB / 0.5166 GB, free: 6.895 MB / 398.1 MB
Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives): time 0.003797/0.1521, allocations: 1.475 MB / 0.518 GB, free: 5.41 MB / 398.1 MB
Notification: Performance of NFInst.instExpressions: time 0.003145/0.1553, allocations: 1.48 MB / 0.5195 GB, free: 3.918 MB / 398.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 8.338e-05/0.1554, allocations: 4 kB / 0.5195 GB, free: 3.914 MB / 398.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0002355/0.1556, allocations: 31.83 kB / 0.5195 GB, free: 3.883 MB / 398.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0003126/0.1559, allocations: 47.69 kB / 0.5196 GB, free: 3.836 MB / 398.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0007618/0.1567, allocations: 223.1 kB / 0.5198 GB, free: 3.617 MB / 398.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0001821/0.1568, allocations: 63.66 kB / 0.5198 GB, free: 3.555 MB / 398.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 5.499e-05/0.1569, allocations: 3.984 kB / 0.5198 GB, free: 3.551 MB / 398.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 7.634e-05/0.157, allocations: 27.92 kB / 0.5199 GB, free: 3.523 MB / 398.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 8.241e-05/0.1571, allocations: 23.8 kB / 0.5199 GB, free: 3.5 MB / 398.1 MB
Notification: Performance of NFPackage.collectConstants: time 1.586e-05/0.1571, allocations: 4 kB / 0.5199 GB, free: 3.496 MB / 398.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0007875/0.1579, allocations: 335.6 kB / 0.5202 GB, free: 3.168 MB / 398.1 MB
Notification: Performance of NFScalarize.scalarize: time 2.047e-05/0.1579, allocations: 7.984 kB / 0.5202 GB, free: 3.16 MB / 398.1 MB
Notification: Performance of NFVerifyModel.verify: time 5.223e-05/0.1579, allocations: 27.81 kB / 0.5202 GB, free: 3.133 MB / 398.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0006618/0.1586, allocations: 279.2 kB / 0.5205 GB, free: 2.859 MB / 398.1 MB
Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.1586, allocations: 4 kB / 0.5205 GB, free: 2.855 MB / 398.1 MB
Notification: Performance of FrontEnd: time 2.144e-06/0.1586, allocations: 3.938 kB / 0.5205 GB, free: 2.852 MB / 398.1 MB
Notification: Performance of Transformations before backend: time 1.217e-05/0.1586, allocations: 0 / 0.5205 GB, free: 2.852 MB / 398.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.0006719/0.1593, allocations: 337.6 kB / 0.5208 GB, free: 2.492 MB / 398.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.996e-05/0.1593, allocations: 15.97 kB / 0.5208 GB, free: 2.477 MB / 398.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 4.576e-05/0.1594, allocations: 8.891 kB / 0.5209 GB, free: 2.469 MB / 398.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001407/0.1595, allocations: 114.5 kB / 0.521 GB, free: 2.332 MB / 398.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.746e-05/0.1595, allocations: 384 / 0.521 GB, free: 2.332 MB / 398.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 3.31e-05/0.1596, allocations: 8.375 kB / 0.521 GB, free: 2.324 MB / 398.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001841/0.1598, allocations: 73.8 kB / 0.521 GB, free: 2.246 MB / 398.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.81e-05/0.1598, allocations: 3.953 kB / 0.521 GB, free: 2.242 MB / 398.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.553e-05/0.1598, allocations: 0 / 0.521 GB, free: 2.242 MB / 398.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.655e-06/0.1598, allocations: 0 / 0.521 GB, free: 2.242 MB / 398.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001526/0.16, allocations: 67.84 kB / 0.5211 GB, free: 2.176 MB / 398.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003671/0.1603, allocations: 156.7 kB / 0.5213 GB, free: 1.98 MB / 398.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0001484/0.1605, allocations: 50.56 kB / 0.5213 GB, free: 1.922 MB / 398.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 7.457e-05/0.1605, allocations: 40.84 kB / 0.5213 GB, free: 1.879 MB / 398.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 9.212e-05/0.1606, allocations: 23.98 kB / 0.5214 GB, free: 1.855 MB / 398.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.921e-05/0.1607, allocations: 34.5 kB / 0.5214 GB, free: 1.812 MB / 398.1 MB
Notification: Performance of pre-optimization done (n=8): time 1.764e-06/0.1607, allocations: 0 / 0.5214 GB, free: 1.812 MB / 398.1 MB
Notification: Performance of matching and sorting (n=12): time 0.01985/0.1805, allocations: 1.627 MB / 0.523 GB, free: 160 kB / 398.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 5.251e-05/0.1806, allocations: 55.34 kB / 0.523 GB, free: 92 kB / 398.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001937/0.1808, allocations: 149.9 kB / 0.5232 GB, free: 15.93 MB / 414.1 MB
Notification: Performance of collectPreVariables (initialization): time 3.902e-05/0.1808, allocations: 29.7 kB / 0.5232 GB, free: 15.9 MB / 414.1 MB
Notification: Performance of collectInitialEqns (initialization): time 5.939e-05/0.1809, allocations: 84.14 kB / 0.5233 GB, free: 15.81 MB / 414.1 MB
Notification: Performance of collectInitialBindings (initialization): time 6.743e-05/0.1809, allocations: 43.64 kB / 0.5233 GB, free: 15.77 MB / 414.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001136/0.1811, allocations: 45.69 kB / 0.5234 GB, free: 15.72 MB / 414.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001686/0.1812, allocations: 322.8 kB / 0.5237 GB, free: 15.39 MB / 414.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006637/0.1819, allocations: 199.9 kB / 0.5239 GB, free: 15.2 MB / 414.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006265/0.1825, allocations: 211.8 kB / 0.5241 GB, free: 14.99 MB / 414.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.001287/0.1838, allocations: 384.7 kB / 0.5245 GB, free: 14.61 MB / 414.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.1838, allocations: 0 / 0.5245 GB, free: 14.61 MB / 414.1 MB
Notification: Performance of matching and sorting (n=22) (initialization): time 0.001391/0.1852, allocations: 469.4 kB / 0.5249 GB, free: 14.15 MB / 414.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.971e-05/0.1852, allocations: 4 kB / 0.5249 GB, free: 14.14 MB / 414.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.223e-05/0.1852, allocations: 4 kB / 0.5249 GB, free: 14.14 MB / 414.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 2.204e-05/0.1852, allocations: 0 / 0.5249 GB, free: 14.14 MB / 414.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005205/0.1858, allocations: 63.94 kB / 0.525 GB, free: 14.08 MB / 414.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.458e-06/0.1858, allocations: 0 / 0.525 GB, free: 14.08 MB / 414.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003875/0.1862, allocations: 39.95 kB / 0.525 GB, free: 14.04 MB / 414.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.631e-05/0.1862, allocations: 7.984 kB / 0.525 GB, free: 14.03 MB / 414.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.0001323/0.1863, allocations: 121.8 kB / 0.5251 GB, free: 13.9 MB / 414.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 3.388e-05/0.1864, allocations: 7.953 kB / 0.5251 GB, free: 13.89 MB / 414.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001407/0.1878, allocations: 374 kB / 0.5255 GB, free: 13.52 MB / 414.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-06/0.1878, allocations: 0 / 0.5255 GB, free: 13.52 MB / 414.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 9.027e-06/0.1878, allocations: 4 kB / 0.5255 GB, free: 13.52 MB / 414.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.788e-06/0.1878, allocations: 0 / 0.5255 GB, free: 13.52 MB / 414.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002923/0.1907, allocations: 0.7574 MB / 0.5262 GB, free: 12.7 MB / 414.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.1907, allocations: 0 / 0.5262 GB, free: 12.7 MB / 414.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004654/0.1912, allocations: 64.02 kB / 0.5263 GB, free: 12.64 MB / 414.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 6.732e-06/0.1912, allocations: 7.938 kB / 0.5263 GB, free: 12.63 MB / 414.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.485e-05/0.1912, allocations: 8.062 kB / 0.5263 GB, free: 12.62 MB / 414.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/0.1912, allocations: 3.938 kB / 0.5263 GB, free: 12.62 MB / 414.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.923e-06/0.1912, allocations: 7.922 kB / 0.5263 GB, free: 12.61 MB / 414.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00135/0.1926, allocations: 417.9 kB / 0.5267 GB, free: 12.18 MB / 414.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 9.793e-05/0.1927, allocations: 39.8 kB / 0.5268 GB, free: 12.14 MB / 414.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.925e-05/0.1927, allocations: 0 / 0.5268 GB, free: 12.14 MB / 414.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004237/0.1931, allocations: 43.95 kB / 0.5268 GB, free: 12.09 MB / 414.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 3.921e-05/0.1932, allocations: 19.88 kB / 0.5268 GB, free: 12.07 MB / 414.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.268e-05/0.1932, allocations: 7.984 kB / 0.5268 GB, free: 12.07 MB / 414.1 MB
Notification: Performance of sorting global known variables: time 0.0001048/0.1933, allocations: 103.1 kB / 0.5269 GB, free: 11.97 MB / 414.1 MB
Notification: Performance of sort global known variables: time 8e-08/0.1933, allocations: 0 / 0.5269 GB, free: 11.97 MB / 414.1 MB
Notification: Performance of remove unused functions: time 0.0007048/0.194, allocations: 179.5 kB / 0.5271 GB, free: 11.79 MB / 414.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.0007925/0.1948, allocations: 246.7 kB / 0.5273 GB, free: 11.54 MB / 414.1 MB
Notification: Performance of simCode: created initialization part: time 0.001324/0.1961, allocations: 360 kB / 0.5277 GB, free: 11.19 MB / 414.1 MB
Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.1961, allocations: 4 kB / 0.5277 GB, free: 11.19 MB / 414.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0005726/0.1967, allocations: 144 kB / 0.5278 GB, free: 11.05 MB / 414.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004124/0.1971, allocations: 15.98 kB / 0.5278 GB, free: 11.03 MB / 414.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002516/0.1996, allocations: 0.5073 MB / 0.5283 GB, free: 10.49 MB / 414.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003796/0.2, allocations: 0.7001 MB / 0.529 GB, free: 9.762 MB / 414.1 MB
Notification: Performance of simCode: alias equations: time 0.0001994/0.2002, allocations: 40.77 kB / 0.5291 GB, free: 9.719 MB / 414.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001463/0.2003, allocations: 31.41 kB / 0.5291 GB, free: 9.688 MB / 414.1 MB
Notification: Performance of SimCode: time 9.82e-07/0.2003, allocations: 0 / 0.5291 GB, free: 9.688 MB / 414.1 MB
Notification: Performance of Templates: time 0.01708/0.2174, allocations: 8.615 MB / 0.5375 GB, free: 1.055 MB / 414.1 MB
"
[Timeout remaining time 660]
make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.makefile [Timeout 660]
(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) [Timeout 480]
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) [Timeout 660]
""
[Timeout remaining time 660]
Reference file matches
[Calling sys.exit(0), Time elapsed: 5.788472371175885]