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.001663/0.001663, allocations: 107.6 kB / 21.19 MB, free: 0.6484 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.002054/0.002054, allocations: 213.1 kB / 24.48 MB, free: 3.957 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.462/1.462, allocations: 230.6 MB / 258.2 MB, free: 7.746 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.2376/0.2376, allocations: 46.96 MB / 361.6 MB, free: 3.996 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.002024/0.002024, allocations: 71.88 kB / 0.4973 GB, free: 7.18 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3675/0.3695, allocations: 66.04 MB / 0.5618 GB, free: 4.125 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives): time 0.002773/0.3723, allocations: 1.436 MB / 0.5632 GB, free: 2.676 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002091/0.3743, allocations: 1.29 MB / 0.5645 GB, free: 1.379 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.207e-05/0.3744, allocations: 4 kB / 0.5645 GB, free: 1.375 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00019/0.3746, allocations: 27.78 kB / 0.5645 GB, free: 1.348 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002313/0.3748, allocations: 47.5 kB / 0.5646 GB, free: 1.305 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005179/0.3753, allocations: 227.1 kB / 0.5648 GB, free: 1.082 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001142/0.3755, allocations: 59.66 kB / 0.5648 GB, free: 1.023 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.609e-05/0.3755, allocations: 4 kB / 0.5648 GB, free: 1.02 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.345e-05/0.3756, allocations: 23.91 kB / 0.5649 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.628e-05/0.3756, allocations: 31.8 kB / 0.5649 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.005e-05/0.3757, allocations: 0 / 0.5649 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005605/0.3762, allocations: 287.7 kB / 0.5652 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.975e-05/0.3762, allocations: 7.938 kB / 0.5652 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.711e-05/0.3763, allocations: 23.88 kB / 0.5652 GB, free: 0.6523 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004311/0.3767, allocations: 269.7 kB / 0.5655 GB, free: 404 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.3767, allocations: 0 / 0.5655 GB, free: 404 kB / 398.1 MB Notification: Performance of FrontEnd: time 2.334e-06/0.3767, allocations: 0 / 0.5655 GB, free: 404 kB / 398.1 MB Notification: Performance of Transformations before backend: time 6.151e-06/0.3767, allocations: 4 kB / 0.5655 GB, free: 400 kB / 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.0005754/0.3773, allocations: 345.5 kB / 0.5658 GB, free: 24 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.732e-05/0.3773, allocations: 8.031 kB / 0.5658 GB, free: 16 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.377e-05/0.3774, allocations: 8.891 kB / 0.5658 GB, free: 8 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001348/0.3775, allocations: 117.7 kB / 0.5659 GB, free: 15.87 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.886e-05/0.3775, allocations: 8.375 kB / 0.5659 GB, free: 15.86 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.104e-05/0.3775, allocations: 4.375 kB / 0.5659 GB, free: 15.86 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001496/0.3777, allocations: 73.73 kB / 0.566 GB, free: 15.78 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.26e-05/0.3777, allocations: 0 / 0.566 GB, free: 15.78 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.339e-05/0.3777, allocations: 7.969 kB / 0.566 GB, free: 15.77 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-06/0.3777, allocations: 4 kB / 0.566 GB, free: 15.77 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001044/0.3778, allocations: 59.97 kB / 0.5661 GB, free: 15.71 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001791/0.378, allocations: 133.2 kB / 0.5662 GB, free: 15.55 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001003/0.3781, allocations: 50.56 kB / 0.5662 GB, free: 15.49 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.053e-05/0.3782, allocations: 36.84 kB / 0.5663 GB, free: 15.45 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.905e-05/0.3782, allocations: 19.98 kB / 0.5663 GB, free: 15.43 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.092e-05/0.3783, allocations: 42.5 kB / 0.5663 GB, free: 15.38 MB / 414.1 MB Notification: Performance of pre-optimization done (n=8): time 9.62e-07/0.3783, allocations: 0 / 0.5663 GB, free: 15.38 MB / 414.1 MB Notification: Performance of matching and sorting (n=12): time 0.02127/0.3995, allocations: 1.642 MB / 0.5679 GB, free: 13.71 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.575e-05/0.3996, allocations: 51.41 kB / 0.568 GB, free: 13.65 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001361/0.3997, allocations: 134.1 kB / 0.5681 GB, free: 13.5 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.298e-05/0.3998, allocations: 29.7 kB / 0.5681 GB, free: 13.47 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.996e-05/0.3998, allocations: 96.11 kB / 0.5682 GB, free: 13.37 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.543e-05/0.3999, allocations: 35.66 kB / 0.5683 GB, free: 13.34 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001154/0.4, allocations: 53.67 kB / 0.5683 GB, free: 13.28 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001606/0.4001, allocations: 314.8 kB / 0.5686 GB, free: 12.96 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006696/0.4008, allocations: 203.9 kB / 0.5688 GB, free: 12.76 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006547/0.4015, allocations: 207.9 kB / 0.569 GB, free: 12.56 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001319/0.4028, allocations: 391.4 kB / 0.5694 GB, free: 12.18 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.34e-06/0.4028, allocations: 3.984 kB / 0.5694 GB, free: 12.17 MB / 414.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.001435/0.4042, allocations: 464.3 kB / 0.5698 GB, free: 11.71 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.104e-05/0.4043, allocations: 4 kB / 0.5698 GB, free: 11.71 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.437e-06/0.4043, allocations: 0 / 0.5698 GB, free: 11.71 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.842e-05/0.4043, allocations: 0 / 0.5698 GB, free: 11.71 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005498/0.4048, allocations: 71.92 kB / 0.5699 GB, free: 11.64 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.768e-06/0.4048, allocations: 4 kB / 0.5699 GB, free: 11.64 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004309/0.4053, allocations: 35.97 kB / 0.5699 GB, free: 11.6 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.109e-05/0.4053, allocations: 7.984 kB / 0.57 GB, free: 11.59 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.0001376/0.4054, allocations: 125.9 kB / 0.5701 GB, free: 11.46 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.957e-05/0.4055, allocations: 7.953 kB / 0.5701 GB, free: 11.45 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001485/0.407, allocations: 378 kB / 0.5704 GB, free: 11.07 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/0.407, allocations: 0 / 0.5704 GB, free: 11.07 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.407, allocations: 4 kB / 0.5704 GB, free: 11.07 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.512e-06/0.407, allocations: 3.984 kB / 0.5704 GB, free: 11.07 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003037/0.41, allocations: 0.6955 MB / 0.5711 GB, free: 10.32 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.547e-06/0.41, allocations: 0 / 0.5711 GB, free: 10.32 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005112/0.4105, allocations: 67.88 kB / 0.5712 GB, free: 10.26 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.351e-06/0.4105, allocations: 4.094 kB / 0.5712 GB, free: 10.25 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.789e-05/0.4106, allocations: 11.98 kB / 0.5712 GB, free: 10.24 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.567e-06/0.4106, allocations: 0 / 0.5712 GB, free: 10.24 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.155e-06/0.4106, allocations: 4 kB / 0.5712 GB, free: 10.24 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001349/0.4119, allocations: 425.7 kB / 0.5716 GB, free: 9.797 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001088/0.412, allocations: 31.91 kB / 0.5716 GB, free: 9.766 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.165e-05/0.4121, allocations: 4 kB / 0.5717 GB, free: 9.762 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004477/0.4125, allocations: 43.95 kB / 0.5717 GB, free: 9.719 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.048e-05/0.4126, allocations: 11.92 kB / 0.5717 GB, free: 9.707 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.433e-05/0.4126, allocations: 7.984 kB / 0.5717 GB, free: 9.699 MB / 414.1 MB Notification: Performance of sorting global known variables: time 7.647e-05/0.4127, allocations: 103.2 kB / 0.5718 GB, free: 9.598 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4127, allocations: 0 / 0.5718 GB, free: 9.598 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006367/0.4133, allocations: 167.6 kB / 0.572 GB, free: 9.434 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.0006953/0.414, allocations: 253.7 kB / 0.5722 GB, free: 9.18 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001365/0.4154, allocations: 363.8 kB / 0.5726 GB, free: 8.824 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.242e-06/0.4154, allocations: 7.938 kB / 0.5726 GB, free: 8.816 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005768/0.4159, allocations: 140 kB / 0.5727 GB, free: 8.68 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000392/0.4163, allocations: 21.86 kB / 0.5727 GB, free: 8.66 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002644/0.419, allocations: 0.54 MB / 0.5732 GB, free: 8.078 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.891e-05/0.4191, allocations: 75.89 kB / 0.5733 GB, free: 7.984 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001683/0.4192, allocations: 27.41 kB / 0.5733 GB, free: 7.957 MB / 414.1 MB Notification: Performance of SimCode: time 1.022e-06/0.4192, allocations: 0 / 0.5733 GB, free: 7.957 MB / 414.1 MB Notification: Performance of Templates: time 0.007869/0.4271, allocations: 4.646 MB / 0.5779 GB, free: 3.301 MB / 414.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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestComponents/Fittings/TestPressureLossDerivatives/TestPressureLossDerivatives.csv","/var/lib/jenkins1/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: 8.157983705983497]