Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001473/0.001473, allocations: 89.14 kB / 20.68 MB, free: 1.02 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00148/0.00148, allocations: 158.8 kB / 23.95 MB, free: 4.152 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.568/1.568, allocations: 177 MB / 204.1 MB, free: 9.16 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2263/0.2263, allocations: 34.26 MB / 294.8 MB, free: 14.52 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 442.7 MB, free: 5.301 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.736e-05/2.898e-05, allocations: 2.281 kB / 442.7 MB, free: 5.297 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives): time 0.002924/0.002953, allocations: 1.456 MB / 444.1 MB, free: 3.832 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002505/0.005458, allocations: 1.292 MB / 445.4 MB, free: 2.531 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.67e-05/0.005514, allocations: 0 / 445.4 MB, free: 2.531 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002074/0.005722, allocations: 27.78 kB / 445.4 MB, free: 2.504 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002745/0.005996, allocations: 47.69 kB / 445.5 MB, free: 2.457 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005743/0.006571, allocations: 238.8 kB / 445.7 MB, free: 2.223 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001482/0.006719, allocations: 51.72 kB / 445.8 MB, free: 2.172 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.599e-05/0.006785, allocations: 4 kB / 445.8 MB, free: 2.168 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.986e-05/0.006885, allocations: 35.89 kB / 445.8 MB, free: 2.133 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.166e-05/0.006966, allocations: 23.92 kB / 445.8 MB, free: 2.109 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.617e-05/0.006983, allocations: 0 / 445.8 MB, free: 2.109 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006235/0.007606, allocations: 275.5 kB / 446.1 MB, free: 1.84 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 2.12e-05/0.007627, allocations: 7.984 kB / 446.1 MB, free: 1.832 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 3.69e-05/0.007664, allocations: 19.92 kB / 446.1 MB, free: 1.812 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004892/0.008153, allocations: 299.2 kB / 446.4 MB, free: 1.52 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.008156, allocations: 0 / 446.4 MB, free: 1.52 MB / 366.1 MB Notification: Performance of FrontEnd: time 8.62e-07/0.008157, allocations: 0 / 446.4 MB, free: 1.52 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.508e-06/0.008167, allocations: 0 / 446.4 MB, free: 1.52 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.0006316/0.008798, allocations: 341.5 kB / 446.7 MB, free: 1.156 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.815e-05/0.008847, allocations: 12.03 kB / 446.8 MB, free: 1.145 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.846e-05/0.008885, allocations: 4.891 kB / 446.8 MB, free: 1.141 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001565/0.009042, allocations: 121.7 kB / 446.9 MB, free: 0.9961 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.466e-05/0.009056, allocations: 8.359 kB / 446.9 MB, free: 0.9883 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.756e-05/0.009084, allocations: 4.375 kB / 446.9 MB, free: 0.9844 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001622/0.009246, allocations: 70.19 kB / 447 MB, free: 0.9102 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.522e-05/0.009261, allocations: 192 / 447 MB, free: 0.9102 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.221e-05/0.009273, allocations: 4.125 kB / 447 MB, free: 0.9062 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.129e-06/0.009278, allocations: 0 / 447 MB, free: 0.9062 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001064/0.009385, allocations: 63.95 kB / 447 MB, free: 0.8438 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002046/0.009589, allocations: 129.3 kB / 447.2 MB, free: 0.6875 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001092/0.009699, allocations: 58.55 kB / 447.2 MB, free: 0.6211 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.009e-05/0.009769, allocations: 44.78 kB / 447.3 MB, free: 0.5742 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.762e-05/0.009826, allocations: 15.98 kB / 447.3 MB, free: 0.5586 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.308e-05/0.009859, allocations: 38.5 kB / 447.3 MB, free: 0.5117 MB / 366.1 MB Notification: Performance of pre-optimization done (n=8): time 1.383e-06/0.009861, allocations: 4 kB / 447.3 MB, free: 0.5078 MB / 366.1 MB Notification: Performance of matching and sorting (n=12): time 0.2216/0.2315, allocations: 1.633 MB / 448.9 MB, free: 19.21 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.938e-05/0.2315, allocations: 53.5 kB / 449 MB, free: 19.15 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001196/0.2316, allocations: 131.7 kB / 449.1 MB, free: 19.05 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.482e-05/0.2317, allocations: 29.14 kB / 449.2 MB, free: 19.02 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.794e-05/0.2317, allocations: 90.27 kB / 449.2 MB, free: 18.93 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.091e-05/0.2317, allocations: 42.12 kB / 449.3 MB, free: 18.91 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001088/0.2318, allocations: 43.97 kB / 449.3 MB, free: 18.89 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 5.308e-05/0.2319, allocations: 319.9 kB / 449.6 MB, free: 18.58 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006593/0.2326, allocations: 206.4 kB / 449.8 MB, free: 18.52 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006466/0.2332, allocations: 205.7 kB / 450 MB, free: 18.45 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001331/0.2345, allocations: 396.3 kB / 450.4 MB, free: 18.3 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.2345, allocations: 0 / 450.4 MB, free: 18.3 MB / 366.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.001415/0.2359, allocations: 457.8 kB / 450.9 MB, free: 18.12 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.959e-05/0.236, allocations: 5.672 kB / 450.9 MB, free: 18.12 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.085e-06/0.236, allocations: 0 / 450.9 MB, free: 18.12 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.624e-05/0.236, allocations: 1.25 kB / 450.9 MB, free: 18.12 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005693/0.2366, allocations: 68.52 kB / 451 MB, free: 18.12 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.444e-06/0.2366, allocations: 2.734 kB / 451 MB, free: 18.12 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004444/0.237, allocations: 42.91 kB / 451 MB, free: 18.11 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.928e-05/0.2371, allocations: 7.984 kB / 451 MB, free: 18.11 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 9.785e-05/0.2372, allocations: 118.9 kB / 451.1 MB, free: 17.99 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.371e-05/0.2372, allocations: 6.578 kB / 451.1 MB, free: 17.99 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001498/0.2387, allocations: 370.2 kB / 451.5 MB, free: 17.87 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.598e-06/0.2387, allocations: 5.984 kB / 451.5 MB, free: 17.86 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.2387, allocations: 1.375 kB / 451.5 MB, free: 17.86 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.2387, allocations: 0.7031 kB / 451.5 MB, free: 17.86 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002849/0.2415, allocations: 0.7012 MB / 452.2 MB, free: 17.5 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/0.2415, allocations: 2.125 kB / 452.2 MB, free: 17.5 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005005/0.2421, allocations: 60.36 kB / 452.3 MB, free: 17.5 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.978e-06/0.2421, allocations: 5.984 kB / 452.3 MB, free: 17.49 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.653e-05/0.2421, allocations: 10.38 kB / 452.3 MB, free: 17.49 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/0.2421, allocations: 3.359 kB / 452.3 MB, free: 17.49 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.2421, allocations: 0 / 452.3 MB, free: 17.49 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00133/0.2434, allocations: 430.8 kB / 452.7 MB, free: 17.26 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.278e-05/0.2435, allocations: 27.36 kB / 452.7 MB, free: 17.25 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.115e-05/0.2435, allocations: 6.891 kB / 452.7 MB, free: 17.25 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004624/0.244, allocations: 39.75 kB / 452.8 MB, free: 17.24 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.418e-05/0.244, allocations: 16.62 kB / 452.8 MB, free: 17.23 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.754e-05/0.2441, allocations: 9.172 kB / 452.8 MB, free: 17.23 MB / 366.1 MB Notification: Performance of sorting global known variables: time 5.055e-05/0.2441, allocations: 98.09 kB / 452.9 MB, free: 17.16 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2441, allocations: 0 / 452.9 MB, free: 17.16 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006463/0.2448, allocations: 177 kB / 453.1 MB, free: 17.14 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.0006731/0.2454, allocations: 272.1 kB / 453.3 MB, free: 17.02 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001389/0.2468, allocations: 356.9 kB / 453.7 MB, free: 16.91 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.018e-06/0.2468, allocations: 1.281 kB / 453.7 MB, free: 16.91 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000608/0.2474, allocations: 148.8 kB / 453.8 MB, free: 16.88 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003576/0.2478, allocations: 16.8 kB / 453.8 MB, free: 16.87 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002665/0.2505, allocations: 0.4975 MB / 454.3 MB, free: 16.64 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.598e-05/0.2505, allocations: 80.42 kB / 454.4 MB, free: 16.57 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000178/0.2507, allocations: 44.64 kB / 454.5 MB, free: 16.55 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001676/0.2509, allocations: 27.11 kB / 454.5 MB, free: 16.55 MB / 366.1 MB Notification: Performance of SimCode: time 5.81e-07/0.2509, allocations: 0 / 454.5 MB, free: 16.55 MB / 366.1 MB Notification: Performance of Templates: time 0.01621/0.2671, allocations: 8.93 MB / 463.4 MB, free: 14 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_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_trunk_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.357506986707449]