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.001945/0.001945, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.002167/0.002167, allocations: 210 kB / 24.48 MB, free: 3.938 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.561/1.561, allocations: 230.6 MB / 258.2 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] 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.2176/0.2176, allocations: 44.93 MB / 359.6 MB, free: 6.133 MB / 286.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: ModelicaTest requested package Modelica of version 4.0.0. Modelica 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.00227/0.00227, allocations: 68.19 kB / 0.4943 GB, free: 10.02 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3101/0.3124, allocations: 65.48 MB / 0.5582 GB, free: 7.426 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives): time 0.002719/0.3151, allocations: 1.448 MB / 0.5596 GB, free: 5.965 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002133/0.3172, allocations: 1.282 MB / 0.5609 GB, free: 4.676 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.523e-05/0.3173, allocations: 0 / 0.5609 GB, free: 4.676 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001762/0.3174, allocations: 27.84 kB / 0.5609 GB, free: 4.648 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002216/0.3177, allocations: 47.5 kB / 0.5609 GB, free: 4.605 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005448/0.3182, allocations: 231.1 kB / 0.5612 GB, free: 4.379 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001175/0.3183, allocations: 59.7 kB / 0.5612 GB, free: 4.32 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.335e-05/0.3184, allocations: 0 / 0.5612 GB, free: 4.32 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.957e-05/0.3184, allocations: 27.86 kB / 0.5612 GB, free: 4.293 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.814e-05/0.3185, allocations: 23.86 kB / 0.5613 GB, free: 4.27 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.201e-05/0.3185, allocations: 8 kB / 0.5613 GB, free: 4.262 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005535/0.3191, allocations: 271.6 kB / 0.5615 GB, free: 3.996 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.497e-05/0.3191, allocations: 8 kB / 0.5615 GB, free: 3.988 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.749e-05/0.3191, allocations: 31.78 kB / 0.5616 GB, free: 3.957 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004268/0.3195, allocations: 261.9 kB / 0.5618 GB, free: 3.707 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.3196, allocations: 0 / 0.5618 GB, free: 3.707 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.3196, allocations: 0 / 0.5618 GB, free: 3.707 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.209e-06/0.3196, allocations: 0 / 0.5618 GB, free: 3.707 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.0005739/0.3201, allocations: 341.5 kB / 0.5621 GB, free: 3.344 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.567e-05/0.3202, allocations: 12.03 kB / 0.5622 GB, free: 3.332 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.177e-05/0.3202, allocations: 12.89 kB / 0.5622 GB, free: 3.32 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001371/0.3204, allocations: 126.4 kB / 0.5623 GB, free: 3.172 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.109e-05/0.3204, allocations: 384 / 0.5623 GB, free: 3.172 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.352e-05/0.3204, allocations: 8.375 kB / 0.5623 GB, free: 3.164 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001544/0.3205, allocations: 69.8 kB / 0.5624 GB, free: 3.09 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.191e-05/0.3206, allocations: 0 / 0.5624 GB, free: 3.09 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.388e-06/0.3206, allocations: 0 / 0.5624 GB, free: 3.09 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.3206, allocations: 0 / 0.5624 GB, free: 3.09 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001007/0.3207, allocations: 55.97 kB / 0.5624 GB, free: 3.035 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001901/0.3209, allocations: 137.2 kB / 0.5625 GB, free: 2.871 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001074/0.321, allocations: 54.5 kB / 0.5626 GB, free: 2.809 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.122e-05/0.321, allocations: 44.83 kB / 0.5626 GB, free: 2.762 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.853e-05/0.3211, allocations: 16 kB / 0.5627 GB, free: 2.746 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.12e-05/0.3211, allocations: 38.56 kB / 0.5627 GB, free: 2.699 MB / 398.1 MB Notification: Performance of pre-optimization done (n=8): time 1.122e-06/0.3211, allocations: 0 / 0.5627 GB, free: 2.699 MB / 398.1 MB Notification: Performance of matching and sorting (n=12): time 0.0204/0.3415, allocations: 1.638 MB / 0.5643 GB, free: 1.031 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.838e-05/0.3416, allocations: 51.41 kB / 0.5643 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001434/0.3417, allocations: 141.1 kB / 0.5645 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.929e-05/0.3418, allocations: 25.7 kB / 0.5645 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.791e-05/0.3418, allocations: 96.12 kB / 0.5646 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.501e-05/0.3419, allocations: 35.66 kB / 0.5646 GB, free: 0.6562 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001035/0.342, allocations: 45.67 kB / 0.5647 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001666/0.3421, allocations: 318.8 kB / 0.565 GB, free: 292 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006507/0.3428, allocations: 207.9 kB / 0.5652 GB, free: 84 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006526/0.3434, allocations: 203.9 kB / 0.5654 GB, free: 15.88 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001335/0.3448, allocations: 403.6 kB / 0.5657 GB, free: 15.48 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.482e-06/0.3448, allocations: 0 / 0.5657 GB, free: 15.48 MB / 414.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.001447/0.3462, allocations: 453.4 kB / 0.5662 GB, free: 15.04 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.079e-05/0.3462, allocations: 4 kB / 0.5662 GB, free: 15.03 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.979e-06/0.3463, allocations: 8.156 kB / 0.5662 GB, free: 15.02 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.786e-05/0.3463, allocations: 0 / 0.5662 GB, free: 15.02 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005399/0.3468, allocations: 67.86 kB / 0.5663 GB, free: 14.96 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.838e-06/0.3468, allocations: 3.984 kB / 0.5663 GB, free: 14.95 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000408/0.3472, allocations: 39.97 kB / 0.5663 GB, free: 14.91 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.761e-05/0.3473, allocations: 7.984 kB / 0.5663 GB, free: 14.91 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.0001333/0.3474, allocations: 117.8 kB / 0.5664 GB, free: 14.78 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.63e-05/0.3474, allocations: 15.95 kB / 0.5664 GB, free: 14.77 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001448/0.3489, allocations: 373.9 kB / 0.5668 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.625e-06/0.3489, allocations: 4 kB / 0.5668 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.59e-06/0.3489, allocations: 0 / 0.5668 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.452e-06/0.3489, allocations: 3.984 kB / 0.5668 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002886/0.3518, allocations: 0.6993 MB / 0.5675 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.3518, allocations: 0 / 0.5675 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004845/0.3523, allocations: 64.03 kB / 0.5675 GB, free: 13.58 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.558e-06/0.3523, allocations: 0 / 0.5675 GB, free: 13.58 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.158e-05/0.3523, allocations: 11.98 kB / 0.5676 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.531e-06/0.3523, allocations: 4 kB / 0.5676 GB, free: 13.56 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.3523, allocations: 0 / 0.5676 GB, free: 13.56 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001334/0.3536, allocations: 429.9 kB / 0.568 GB, free: 13.12 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.726e-05/0.3537, allocations: 35.91 kB / 0.568 GB, free: 13.08 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.753e-05/0.3538, allocations: 4 kB / 0.568 GB, free: 13.08 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000437/0.3542, allocations: 43.95 kB / 0.568 GB, free: 13.04 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.071e-05/0.3542, allocations: 11.92 kB / 0.5681 GB, free: 13.02 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.431e-05/0.3543, allocations: 11.98 kB / 0.5681 GB, free: 13.01 MB / 414.1 MB Notification: Performance of sorting global known variables: time 8.11e-05/0.3544, allocations: 103.2 kB / 0.5682 GB, free: 12.91 MB / 414.1 MB Notification: Performance of sort global known variables: time 6.1e-08/0.3544, allocations: 0 / 0.5682 GB, free: 12.91 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006034/0.355, allocations: 167.6 kB / 0.5683 GB, free: 12.75 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.0006897/0.3556, allocations: 254.7 kB / 0.5686 GB, free: 12.49 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001368/0.357, allocations: 363.4 kB / 0.5689 GB, free: 12.14 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.357, allocations: 0 / 0.5689 GB, free: 12.14 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005973/0.3576, allocations: 152.1 kB / 0.5691 GB, free: 11.99 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003786/0.358, allocations: 13.11 kB / 0.5691 GB, free: 11.98 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002647/0.3606, allocations: 0.54 MB / 0.5696 GB, free: 11.39 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.372e-05/0.3607, allocations: 79.89 kB / 0.5697 GB, free: 11.3 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001715/0.3609, allocations: 31.41 kB / 0.5697 GB, free: 11.27 MB / 414.1 MB Notification: Performance of SimCode: time 8.22e-07/0.3609, allocations: 0 / 0.5697 GB, free: 11.27 MB / 414.1 MB Notification: Performance of Templates: time 0.008183/0.3691, allocations: 4.637 MB / 0.5742 GB, free: 6.621 MB / 414.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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Fittings/TestPressureLossDerivatives/TestPressureLossDerivatives.csv","/var/lib/jenkins1/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: 7.898545478004962]