Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001293/0.001293, allocations: 123.4 kB / 17.79 MB, free: 5.281 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.001447/0.001447, allocations: 204.3 kB / 20.74 MB, free: 2.34 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.765/1.765, allocations: 230.6 MB / 254.1 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2656/0.2656, allocations: 46.91 MB / 357.1 MB, free: 10.33 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.1.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.1.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002603/0.002603, allocations: 59.91 kB / 0.4914 GB, free: 7.488 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1885/0.1911, allocations: 66 MB / 0.5559 GB, free: 5.367 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives): time 0.003654/0.1948, allocations: 1.469 MB / 0.5573 GB, free: 3.883 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002995/0.1977, allocations: 1.458 MB / 0.5587 GB, free: 2.418 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.573e-05/0.1978, allocations: 0 / 0.5587 GB, free: 2.418 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002386/0.198, allocations: 39.81 kB / 0.5587 GB, free: 2.379 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002862/0.1983, allocations: 43.7 kB / 0.5588 GB, free: 2.336 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007204/0.199, allocations: 219.1 kB / 0.559 GB, free: 2.121 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.000156/0.1992, allocations: 59.66 kB / 0.5591 GB, free: 2.062 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.692e-05/0.1993, allocations: 3.938 kB / 0.5591 GB, free: 2.059 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.358e-05/0.1993, allocations: 35.86 kB / 0.5591 GB, free: 2.023 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.339e-05/0.1994, allocations: 27.84 kB / 0.5591 GB, free: 1.996 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.541e-05/0.1994, allocations: 4 kB / 0.5591 GB, free: 1.992 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009027/0.2003, allocations: 331.6 kB / 0.5594 GB, free: 1.668 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 2.404e-05/0.2004, allocations: 11.98 kB / 0.5595 GB, free: 1.656 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.102e-05/0.2004, allocations: 31.73 kB / 0.5595 GB, free: 1.625 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006128/0.201, allocations: 275.2 kB / 0.5597 GB, free: 1.355 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/0.201, allocations: 0 / 0.5597 GB, free: 1.355 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.664e-06/0.201, allocations: 0 / 0.5597 GB, free: 1.355 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.342e-06/0.201, allocations: 0 / 0.5597 GB, free: 1.355 MB / 414.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.0007/0.2017, allocations: 434.6 kB / 0.5602 GB, free: 0.8828 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.162e-05/0.2018, allocations: 8.031 kB / 0.5602 GB, free: 0.875 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.739e-05/0.2018, allocations: 8.891 kB / 0.5602 GB, free: 0.8672 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001706/0.202, allocations: 174 kB / 0.5603 GB, free: 0.6602 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.35e-05/0.202, allocations: 384 / 0.5603 GB, free: 0.6602 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.357e-05/0.202, allocations: 4.375 kB / 0.5603 GB, free: 0.6562 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001702/0.2022, allocations: 69.8 kB / 0.5604 GB, free: 0.582 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.351e-05/0.2022, allocations: 0 / 0.5604 GB, free: 0.582 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.617e-05/0.2022, allocations: 8 kB / 0.5604 GB, free: 0.5742 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.691e-06/0.2022, allocations: 0 / 0.5604 GB, free: 0.5742 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001133/0.2024, allocations: 59.91 kB / 0.5605 GB, free: 0.5156 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002587/0.2026, allocations: 185.5 kB / 0.5607 GB, free: 292 kB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001024/0.2027, allocations: 50.56 kB / 0.5607 GB, free: 232 kB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.854e-05/0.2028, allocations: 41.06 kB / 0.5607 GB, free: 188 kB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.24e-05/0.2029, allocations: 23.98 kB / 0.5608 GB, free: 164 kB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.415e-05/0.2029, allocations: 42.5 kB / 0.5608 GB, free: 112 kB / 414.1 MB Notification: Performance of pre-optimization done (n=8): time 1.032e-06/0.2029, allocations: 0 / 0.5608 GB, free: 112 kB / 414.1 MB Notification: Performance of matching and sorting (n=12): time 0.02137/0.2243, allocations: 1.634 MB / 0.5624 GB, free: 14.45 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.516e-05/0.2243, allocations: 55.41 kB / 0.5625 GB, free: 14.38 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001682/0.2245, allocations: 136.5 kB / 0.5626 GB, free: 14.23 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.833e-05/0.2246, allocations: 25.7 kB / 0.5626 GB, free: 14.2 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.783e-05/0.2246, allocations: 88.12 kB / 0.5627 GB, free: 14.11 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.023e-05/0.2247, allocations: 35.66 kB / 0.5627 GB, free: 14.08 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001463/0.2248, allocations: 49.67 kB / 0.5628 GB, free: 14.02 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001796/0.225, allocations: 314.8 kB / 0.5631 GB, free: 13.71 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007265/0.2257, allocations: 211.9 kB / 0.5633 GB, free: 13.5 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006955/0.2264, allocations: 199.8 kB / 0.5635 GB, free: 13.3 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001439/0.2279, allocations: 382.7 kB / 0.5638 GB, free: 12.93 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.2279, allocations: 4 kB / 0.5638 GB, free: 12.93 MB / 430.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.001555/0.2294, allocations: 460.1 kB / 0.5643 GB, free: 12.47 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.249e-05/0.2295, allocations: 8 kB / 0.5643 GB, free: 12.46 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.113e-05/0.2295, allocations: 0 / 0.5643 GB, free: 12.46 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.938e-05/0.2295, allocations: 0 / 0.5643 GB, free: 12.46 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005759/0.2301, allocations: 63.92 kB / 0.5643 GB, free: 12.4 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.161e-05/0.2301, allocations: 4 kB / 0.5643 GB, free: 12.4 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004485/0.2305, allocations: 39.97 kB / 0.5644 GB, free: 12.36 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.246e-05/0.2306, allocations: 7.984 kB / 0.5644 GB, free: 12.35 MB / 430.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.0001555/0.2307, allocations: 124.1 kB / 0.5645 GB, free: 12.22 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.08e-05/0.2308, allocations: 7.953 kB / 0.5645 GB, free: 12.21 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001558/0.2323, allocations: 366 kB / 0.5649 GB, free: 11.85 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.458e-06/0.2323, allocations: 0 / 0.5649 GB, free: 11.85 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.96e-06/0.2323, allocations: 0 / 0.5649 GB, free: 11.85 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.823e-06/0.2323, allocations: 3.984 kB / 0.5649 GB, free: 11.85 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003163/0.2355, allocations: 0.7778 MB / 0.5656 GB, free: 11 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.971e-06/0.2355, allocations: 4 kB / 0.5656 GB, free: 11 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000519/0.236, allocations: 67.97 kB / 0.5657 GB, free: 10.93 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.434e-06/0.236, allocations: 3.984 kB / 0.5657 GB, free: 10.93 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.678e-05/0.2361, allocations: 15.98 kB / 0.5657 GB, free: 10.91 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.714e-06/0.2361, allocations: 7.984 kB / 0.5657 GB, free: 10.91 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.088e-06/0.2361, allocations: 7.938 kB / 0.5657 GB, free: 10.9 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001439/0.2375, allocations: 422 kB / 0.5661 GB, free: 10.46 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001278/0.2376, allocations: 105 kB / 0.5662 GB, free: 10.34 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.006e-05/0.2377, allocations: 3.984 kB / 0.5662 GB, free: 10.34 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004674/0.2381, allocations: 47.91 kB / 0.5663 GB, free: 10.29 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.06e-05/0.2382, allocations: 11.92 kB / 0.5663 GB, free: 10.28 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.747e-05/0.2382, allocations: 7.984 kB / 0.5663 GB, free: 10.27 MB / 430.1 MB Notification: Performance of sorting global known variables: time 8.765e-05/0.2383, allocations: 99.27 kB / 0.5664 GB, free: 10.17 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2383, allocations: 0 / 0.5664 GB, free: 10.17 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0006635/0.239, allocations: 171.6 kB / 0.5666 GB, free: 10 MB / 430.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.000954/0.2399, allocations: 246.7 kB / 0.5668 GB, free: 9.754 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001523/0.2414, allocations: 351.8 kB / 0.5671 GB, free: 9.41 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.92e-06/0.2414, allocations: 0 / 0.5671 GB, free: 9.41 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006497/0.2421, allocations: 151.9 kB / 0.5673 GB, free: 9.262 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004665/0.2426, allocations: 27.98 kB / 0.5673 GB, free: 9.234 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002799/0.2454, allocations: 0.4988 MB / 0.5678 GB, free: 8.699 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003873/0.2457, allocations: 0.6963 MB / 0.5685 GB, free: 7.977 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001847/0.2459, allocations: 32.66 kB / 0.5685 GB, free: 7.941 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001624/0.2461, allocations: 27.41 kB / 0.5685 GB, free: 7.914 MB / 430.1 MB Notification: Performance of SimCode: time 7.22e-07/0.2461, allocations: 0 / 0.5685 GB, free: 7.914 MB / 430.1 MB Notification: Performance of Templates: time 0.01645/0.2625, allocations: 8.563 MB / 0.5769 GB, free: 15.34 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestComponents/Fittings/TestPressureLossDerivatives/TestPressureLossDerivatives.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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: 5.813903816044331]