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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002194/0.002194, allocations: 108.3 kB / 19.7 MB, free: 1.918 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002714/0.002714, allocations: 216.1 kB / 22.99 MB, free: 4.977 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.524/1.524, allocations: 207.7 MB / 233.8 MB, free: 9.797 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.2352/0.2352, allocations: 44.27 MB / 330.3 MB, free: 9.293 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002409/0.002409, allocations: 71.89 kB / 468 MB, free: 3.82 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1383/0.1407, allocations: 61.05 MB / 0.5166 GB, free: 6.648 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives): time 0.002836/0.1435, allocations: 1.437 MB / 0.5181 GB, free: 5.199 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002256/0.1458, allocations: 1.305 MB / 0.5193 GB, free: 3.883 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.766e-05/0.1458, allocations: 0 / 0.5193 GB, free: 3.883 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001856/0.146, allocations: 27.84 kB / 0.5194 GB, free: 3.855 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002337/0.1462, allocations: 55.69 kB / 0.5194 GB, free: 3.801 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005679/0.1468, allocations: 219.1 kB / 0.5196 GB, free: 3.586 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000114/0.1469, allocations: 55.67 kB / 0.5197 GB, free: 3.531 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.012e-05/0.147, allocations: 11.97 kB / 0.5197 GB, free: 3.52 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.499e-05/0.147, allocations: 23.92 kB / 0.5197 GB, free: 3.496 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.656e-05/0.1471, allocations: 27.84 kB / 0.5197 GB, free: 3.469 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.051e-05/0.1471, allocations: 4 kB / 0.5197 GB, free: 3.465 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005403/0.1476, allocations: 263.7 kB / 0.52 GB, free: 3.207 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 2.133e-05/0.1477, allocations: 15.88 kB / 0.52 GB, free: 3.191 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.588e-05/0.1477, allocations: 19.86 kB / 0.52 GB, free: 3.172 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004665/0.1482, allocations: 275.1 kB / 0.5203 GB, free: 2.902 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.1482, allocations: 0 / 0.5203 GB, free: 2.902 MB / 398.1 MB Notification: Performance of FrontEnd: time 9.62e-07/0.1482, allocations: 0 / 0.5203 GB, free: 2.902 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.52e-06/0.1482, allocations: 0 / 0.5203 GB, free: 2.902 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.0005529/0.1487, allocations: 341.5 kB / 0.5206 GB, free: 2.539 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.65e-05/0.1488, allocations: 12.03 kB / 0.5206 GB, free: 2.527 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.447e-05/0.1488, allocations: 8.891 kB / 0.5206 GB, free: 2.52 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001285/0.1489, allocations: 110.5 kB / 0.5207 GB, free: 2.387 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.32e-05/0.149, allocations: 4.375 kB / 0.5207 GB, free: 2.383 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.677e-05/0.149, allocations: 4.375 kB / 0.5207 GB, free: 2.379 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001482/0.1491, allocations: 77.72 kB / 0.5208 GB, free: 2.297 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.534e-05/0.1491, allocations: 3.953 kB / 0.5208 GB, free: 2.293 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.67e-05/0.1492, allocations: 4 kB / 0.5208 GB, free: 2.289 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/0.1492, allocations: 0 / 0.5208 GB, free: 2.289 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.859e-05/0.1493, allocations: 55.97 kB / 0.5209 GB, free: 2.234 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001899/0.1495, allocations: 129.3 kB / 0.521 GB, free: 2.078 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001082/0.1496, allocations: 66.53 kB / 0.5211 GB, free: 2.004 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.691e-05/0.1496, allocations: 40.78 kB / 0.5211 GB, free: 1.961 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.119e-05/0.1497, allocations: 19.98 kB / 0.5211 GB, free: 1.941 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.845e-05/0.1497, allocations: 34.56 kB / 0.5212 GB, free: 1.898 MB / 398.1 MB Notification: Performance of pre-optimization done (n=8): time 1.142e-06/0.1497, allocations: 0 / 0.5212 GB, free: 1.898 MB / 398.1 MB Notification: Performance of matching and sorting (n=12): time 0.02066/0.1704, allocations: 1.627 MB / 0.5227 GB, free: 248 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.495e-05/0.1704, allocations: 59.34 kB / 0.5228 GB, free: 176 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001649/0.1706, allocations: 142 kB / 0.5229 GB, free: 24 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 5.897e-05/0.1707, allocations: 25.7 kB / 0.523 GB, free: 15.99 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.092e-05/0.1707, allocations: 84.14 kB / 0.523 GB, free: 15.91 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.546e-05/0.1708, allocations: 47.62 kB / 0.5231 GB, free: 15.86 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001122/0.1709, allocations: 41.69 kB / 0.5231 GB, free: 15.81 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001739/0.1711, allocations: 322.8 kB / 0.5234 GB, free: 15.49 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006833/0.1718, allocations: 207.9 kB / 0.5236 GB, free: 15.29 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006441/0.1724, allocations: 199.9 kB / 0.5238 GB, free: 15.09 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00131/0.1737, allocations: 396.5 kB / 0.5242 GB, free: 14.7 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.1737, allocations: 4 kB / 0.5242 GB, free: 14.7 MB / 414.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.001437/0.1752, allocations: 461.5 kB / 0.5246 GB, free: 14.24 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.811e-05/0.1752, allocations: 8 kB / 0.5247 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.347e-06/0.1752, allocations: 0 / 0.5247 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.135e-05/0.1752, allocations: 4 kB / 0.5247 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005424/0.1757, allocations: 59.94 kB / 0.5247 GB, free: 14.17 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.745e-06/0.1758, allocations: 4 kB / 0.5247 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004089/0.1762, allocations: 43.95 kB / 0.5248 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.373e-05/0.1762, allocations: 4 kB / 0.5248 GB, free: 14.12 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.0001343/0.1763, allocations: 129.7 kB / 0.5249 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.315e-05/0.1764, allocations: 7.953 kB / 0.5249 GB, free: 13.97 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00138/0.1777, allocations: 374 kB / 0.5252 GB, free: 13.6 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.768e-06/0.1777, allocations: 0 / 0.5252 GB, free: 13.6 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.1777, allocations: 0 / 0.5252 GB, free: 13.6 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.1777, allocations: 4 kB / 0.5253 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002775/0.1805, allocations: 0.6877 MB / 0.5259 GB, free: 12.86 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.009e-06/0.1805, allocations: 7.938 kB / 0.5259 GB, free: 12.85 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004636/0.181, allocations: 68.02 kB / 0.526 GB, free: 12.79 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.826e-06/0.181, allocations: 0 / 0.526 GB, free: 12.79 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.565e-05/0.181, allocations: 8 kB / 0.526 GB, free: 12.78 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.242e-06/0.181, allocations: 4 kB / 0.526 GB, free: 12.77 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.181, allocations: 0 / 0.526 GB, free: 12.77 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00128/0.1823, allocations: 429.7 kB / 0.5264 GB, free: 12.33 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001014/0.1824, allocations: 39.84 kB / 0.5265 GB, free: 12.29 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.378e-05/0.1824, allocations: 0 / 0.5265 GB, free: 12.29 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000429/0.1829, allocations: 43.97 kB / 0.5265 GB, free: 12.25 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.974e-05/0.1829, allocations: 11.92 kB / 0.5265 GB, free: 12.23 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.385e-05/0.1829, allocations: 7.984 kB / 0.5265 GB, free: 12.23 MB / 414.1 MB Notification: Performance of sorting global known variables: time 7.904e-05/0.183, allocations: 103.1 kB / 0.5266 GB, free: 12.13 MB / 414.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.183, allocations: 0 / 0.5266 GB, free: 12.13 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006493/0.1837, allocations: 179.5 kB / 0.5268 GB, free: 11.95 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.0006636/0.1843, allocations: 246.7 kB / 0.527 GB, free: 11.7 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001327/0.1856, allocations: 359.7 kB / 0.5274 GB, free: 11.35 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.1856, allocations: 0 / 0.5274 GB, free: 11.35 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005828/0.1862, allocations: 148.1 kB / 0.5275 GB, free: 11.21 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003843/0.1866, allocations: 12 kB / 0.5275 GB, free: 11.2 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002589/0.1892, allocations: 0.5073 MB / 0.528 GB, free: 10.65 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.298e-05/0.1893, allocations: 79.89 kB / 0.5281 GB, free: 10.55 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002127/0.1895, allocations: 44.62 kB / 0.5281 GB, free: 10.51 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001434/0.1896, allocations: 23.42 kB / 0.5282 GB, free: 10.48 MB / 414.1 MB Notification: Performance of SimCode: time 3.71e-07/0.1896, allocations: 0 / 0.5282 GB, free: 10.48 MB / 414.1 MB Notification: Performance of Templates: time 0.01495/0.2046, allocations: 8.991 MB / 0.5369 GB, free: 1.484 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.663635805249214]