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.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.001488/0.001488, allocations: 84.92 kB / 20.68 MB, free: 1.035 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.001619/0.001619, allocations: 164.5 kB / 23.95 MB, free: 4.168 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.376/1.376, allocations: 177.1 MB / 204.3 MB, free: 9.188 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2018/0.2018, allocations: 32.8 MB / 293.5 MB, free: 44 kB / 270.1 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.0.0_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_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.382e-06/1.382e-06, allocations: 0 / 440.1 MB, free: 8.176 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.408e-05/2.546e-05, allocations: 6.281 kB / 440.1 MB, free: 8.168 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives): time 0.002419/0.002444, allocations: 1.444 MB / 441.5 MB, free: 6.715 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00189/0.004334, allocations: 1.296 MB / 442.8 MB, free: 5.41 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.839e-05/0.004373, allocations: 0 / 442.8 MB, free: 5.41 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001658/0.004538, allocations: 31.83 kB / 442.9 MB, free: 5.379 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000203/0.004741, allocations: 47.64 kB / 442.9 MB, free: 5.332 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004839/0.005225, allocations: 234.9 kB / 443.1 MB, free: 5.102 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001169/0.005342, allocations: 59.66 kB / 443.2 MB, free: 5.043 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.736e-05/0.00538, allocations: 3.984 kB / 443.2 MB, free: 5.039 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.582e-05/0.005455, allocations: 35.91 kB / 443.2 MB, free: 5.004 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.715e-05/0.005512, allocations: 11.98 kB / 443.3 MB, free: 4.992 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.495e-05/0.005527, allocations: 4 kB / 443.3 MB, free: 4.988 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005174/0.006045, allocations: 275.5 kB / 443.5 MB, free: 4.719 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 1.513e-05/0.00606, allocations: 7.938 kB / 443.5 MB, free: 4.711 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 2.99e-05/0.00609, allocations: 16 kB / 443.5 MB, free: 4.695 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004635/0.006553, allocations: 307.1 kB / 443.8 MB, free: 4.395 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.916e-06/0.006556, allocations: 0 / 443.8 MB, free: 4.395 MB / 366.1 MB Notification: Performance of FrontEnd: time 9.22e-07/0.006557, allocations: 4 kB / 443.9 MB, free: 4.391 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.458e-06/0.006562, allocations: 0 / 443.9 MB, free: 4.391 MB / 366.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.000529/0.007091, allocations: 337.6 kB / 444.2 MB, free: 4.031 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.771e-05/0.007128, allocations: 8.031 kB / 444.2 MB, free: 4.023 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.642e-05/0.007165, allocations: 12.89 kB / 444.2 MB, free: 4.012 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001149/0.00728, allocations: 113.7 kB / 444.3 MB, free: 3.875 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.405e-05/0.007294, allocations: 384 / 444.3 MB, free: 3.875 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.438e-05/0.007318, allocations: 8.312 kB / 444.3 MB, free: 3.867 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001474/0.007466, allocations: 74.22 kB / 444.4 MB, free: 3.789 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.232e-05/0.007478, allocations: 192 / 444.4 MB, free: 3.789 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.422e-05/0.007492, allocations: 8.125 kB / 444.4 MB, free: 3.781 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.157e-06/0.007501, allocations: 0 / 444.4 MB, free: 3.781 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001078/0.007609, allocations: 59.97 kB / 444.5 MB, free: 3.723 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001805/0.00779, allocations: 137.2 kB / 444.6 MB, free: 3.559 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001017/0.007891, allocations: 54.56 kB / 444.6 MB, free: 3.496 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.632e-05/0.007958, allocations: 44.78 kB / 444.7 MB, free: 3.449 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.483e-05/0.008012, allocations: 19.98 kB / 444.7 MB, free: 3.43 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.863e-05/0.008041, allocations: 34.5 kB / 444.7 MB, free: 3.387 MB / 366.1 MB Notification: Performance of pre-optimization done (n=8): time 3.236e-06/0.008044, allocations: 7.984 kB / 444.8 MB, free: 3.379 MB / 366.1 MB Notification: Performance of matching and sorting (n=12): time 0.02049/0.02853, allocations: 1.631 MB / 446.4 MB, free: 1.719 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.639e-05/0.02858, allocations: 55.41 kB / 446.4 MB, free: 1.652 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001375/0.02872, allocations: 137.1 kB / 446.6 MB, free: 1.508 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.631e-05/0.02875, allocations: 33.7 kB / 446.6 MB, free: 1.469 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.173e-05/0.02881, allocations: 84.09 kB / 446.7 MB, free: 1.383 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.67e-05/0.02886, allocations: 43.67 kB / 446.7 MB, free: 1.34 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001063/0.02897, allocations: 45.64 kB / 446.8 MB, free: 1.289 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001419/0.02911, allocations: 322.8 kB / 447.1 MB, free: 0.9648 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006583/0.02977, allocations: 203.9 kB / 447.3 MB, free: 0.7656 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006608/0.03043, allocations: 215.1 kB / 447.5 MB, free: 0.5586 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001333/0.03176, allocations: 388.6 kB / 447.9 MB, free: 180 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-06/0.03176, allocations: 0 / 447.9 MB, free: 180 kB / 366.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.1955/0.2272, allocations: 454.3 kB / 448.3 MB, free: 21.28 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.637e-05/0.2273, allocations: 6.125 kB / 448.3 MB, free: 21.28 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.06e-05/0.2273, allocations: 1.031 kB / 448.3 MB, free: 21.28 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.943e-05/0.2273, allocations: 4.344 kB / 448.3 MB, free: 21.28 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005428/0.2278, allocations: 64.38 kB / 448.4 MB, free: 21.28 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.164e-06/0.2278, allocations: 5.109 kB / 448.4 MB, free: 21.28 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004308/0.2283, allocations: 42.14 kB / 448.4 MB, free: 21.28 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.764e-05/0.2283, allocations: 7.609 kB / 448.4 MB, free: 21.28 MB / 366.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.0001012/0.2284, allocations: 118.2 kB / 448.6 MB, free: 21.16 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.362e-05/0.2284, allocations: 14.81 kB / 448.6 MB, free: 21.16 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001428/0.2299, allocations: 363.1 kB / 448.9 MB, free: 21.13 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.2299, allocations: 1.094 kB / 448.9 MB, free: 21.13 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.2299, allocations: 0 / 448.9 MB, free: 21.13 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.2299, allocations: 1.844 kB / 448.9 MB, free: 21.13 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002778/0.2326, allocations: 0.6988 MB / 449.6 MB, free: 20.82 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.2326, allocations: 1.031 kB / 449.6 MB, free: 20.82 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004881/0.2331, allocations: 72.23 kB / 449.7 MB, free: 20.82 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.478e-06/0.2331, allocations: 4.375 kB / 449.7 MB, free: 20.82 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.52e-05/0.2332, allocations: 7.688 kB / 449.7 MB, free: 20.82 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.747e-06/0.2332, allocations: 1.75 kB / 449.7 MB, free: 20.82 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.2332, allocations: 1.156 kB / 449.7 MB, free: 20.82 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001304/0.2345, allocations: 431.1 kB / 450.1 MB, free: 20.6 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.467e-05/0.2346, allocations: 33.81 kB / 450.2 MB, free: 20.59 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.055e-05/0.2346, allocations: 2.25 kB / 450.2 MB, free: 20.59 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004602/0.2351, allocations: 43.98 kB / 450.2 MB, free: 20.59 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.811e-05/0.2351, allocations: 7.641 kB / 450.2 MB, free: 20.59 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.548e-05/0.2351, allocations: 7.828 kB / 450.2 MB, free: 20.59 MB / 366.1 MB Notification: Performance of sorting global known variables: time 5.624e-05/0.2352, allocations: 104.8 kB / 450.3 MB, free: 20.5 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2352, allocations: 0 / 450.3 MB, free: 20.5 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006522/0.2358, allocations: 171 kB / 450.5 MB, free: 20.5 MB / 366.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.000675/0.2365, allocations: 276 kB / 450.8 MB, free: 20.39 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001301/0.2378, allocations: 357.1 kB / 451.1 MB, free: 20.29 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.2378, allocations: 1.375 kB / 451.1 MB, free: 20.29 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006012/0.2384, allocations: 147.1 kB / 451.3 MB, free: 20.25 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003083/0.2387, allocations: 13.17 kB / 451.3 MB, free: 20.24 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002527/0.2412, allocations: 497.6 kB / 451.8 MB, free: 20.03 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.885e-05/0.2413, allocations: 83.55 kB / 451.8 MB, free: 19.95 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001642/0.2415, allocations: 44.03 kB / 451.9 MB, free: 19.93 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001517/0.2416, allocations: 27.45 kB / 451.9 MB, free: 19.92 MB / 366.1 MB Notification: Performance of SimCode: time 3.01e-07/0.2416, allocations: 0 / 451.9 MB, free: 19.92 MB / 366.1 MB Notification: Performance of Templates: time 0.01512/0.2567, allocations: 8.933 MB / 460.8 MB, free: 17.92 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.makefile [Timeout 660] (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) [Timeout 480] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.768567711114883]