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.0017/0.0017, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.002617/0.002617, allocations: 210.8 kB / 24.51 MB, free: 3.918 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.499/1.499, allocations: 230.6 MB / 258.3 MB, free: 7.777 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.2473/0.2473, allocations: 44.94 MB / 359.6 MB, free: 6.062 MB / 286.1 MB " [Timeout remaining time 179] 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: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Fittings_TestPressureLossDerivatives",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Fittings_TestPressureLossDerivatives",fmuType="cs",version="2.0",platforms={"static"}) [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.002233/0.002233, allocations: 71.89 kB / 0.4938 GB, free: 10.52 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3741/0.3763, allocations: 65.46 MB / 0.5577 GB, free: 7.352 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives): time 0.003207/0.3795, allocations: 1.447 MB / 0.5591 GB, free: 6.082 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002114/0.3816, allocations: 1.282 MB / 0.5604 GB, free: 4.793 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.46e-05/0.3817, allocations: 0 / 0.5604 GB, free: 4.793 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002067/0.3819, allocations: 31.64 kB / 0.5604 GB, free: 4.766 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002659/0.3822, allocations: 55.69 kB / 0.5605 GB, free: 4.711 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006628/0.3828, allocations: 223.1 kB / 0.5607 GB, free: 4.492 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001471/0.383, allocations: 55.72 kB / 0.5607 GB, free: 4.438 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.44e-05/0.383, allocations: 4 kB / 0.5608 GB, free: 4.434 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.538e-05/0.3831, allocations: 27.86 kB / 0.5608 GB, free: 4.406 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.965e-05/0.3832, allocations: 27.86 kB / 0.5608 GB, free: 4.379 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.955e-05/0.3832, allocations: 4 kB / 0.5608 GB, free: 4.375 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006515/0.3839, allocations: 287.6 kB / 0.5611 GB, free: 4.094 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 2.037e-05/0.3839, allocations: 7.969 kB / 0.5611 GB, free: 4.086 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.711e-05/0.3839, allocations: 23.88 kB / 0.5611 GB, free: 4.062 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004963/0.3844, allocations: 265.1 kB / 0.5614 GB, free: 3.805 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.3844, allocations: 0 / 0.5614 GB, free: 3.805 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.3844, allocations: 0 / 0.5614 GB, free: 3.805 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.272e-06/0.3844, allocations: 0 / 0.5614 GB, free: 3.805 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.0005961/0.385, allocations: 345.5 kB / 0.5617 GB, free: 3.438 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.498e-05/0.3851, allocations: 12.03 kB / 0.5617 GB, free: 3.426 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.661e-05/0.3851, allocations: 4.188 kB / 0.5617 GB, free: 3.422 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.402e-05/0.3851, allocations: 34.75 kB / 0.5617 GB, free: 3.379 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.228e-05/0.3852, allocations: 12.81 kB / 0.5618 GB, free: 3.367 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001457/0.3853, allocations: 122.5 kB / 0.5619 GB, free: 3.223 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.545e-05/0.3853, allocations: 4.375 kB / 0.5619 GB, free: 3.219 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.387e-05/0.3853, allocations: 8.125 kB / 0.5619 GB, free: 3.211 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001414/0.3855, allocations: 61.69 kB / 0.5619 GB, free: 3.145 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.255e-05/0.3855, allocations: 0 / 0.5619 GB, free: 3.145 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.097e-06/0.3855, allocations: 0 / 0.5619 GB, free: 3.145 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.234e-06/0.3855, allocations: 3.984 kB / 0.5619 GB, free: 3.141 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001022/0.3856, allocations: 63.97 kB / 0.562 GB, free: 3.078 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002103/0.3858, allocations: 160.6 kB / 0.5622 GB, free: 2.879 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000108/0.3859, allocations: 54.55 kB / 0.5622 GB, free: 2.816 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.505e-05/0.386, allocations: 44.78 kB / 0.5623 GB, free: 2.77 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.243e-05/0.3861, allocations: 16 kB / 0.5623 GB, free: 2.754 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.644e-05/0.3861, allocations: 30.56 kB / 0.5623 GB, free: 2.715 MB / 398.1 MB Notification: Performance of pre-optimization done (n=8): time 9.12e-07/0.3861, allocations: 4 kB / 0.5623 GB, free: 2.711 MB / 398.1 MB Notification: Performance of matching and sorting (n=12): time 0.02067/0.4068, allocations: 1.634 MB / 0.5639 GB, free: 1.047 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.424e-05/0.4068, allocations: 55.41 kB / 0.564 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001417/0.407, allocations: 136.9 kB / 0.5641 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.788e-05/0.407, allocations: 33.64 kB / 0.5641 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.024e-05/0.407, allocations: 88.12 kB / 0.5642 GB, free: 0.707 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.472e-05/0.4071, allocations: 47.64 kB / 0.5642 GB, free: 0.6602 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001196/0.4072, allocations: 45.69 kB / 0.5643 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001443/0.4074, allocations: 322.8 kB / 0.5646 GB, free: 292 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006714/0.408, allocations: 203.9 kB / 0.5648 GB, free: 88 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006682/0.4087, allocations: 206.9 kB / 0.565 GB, free: 15.89 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001347/0.4101, allocations: 388.7 kB / 0.5654 GB, free: 15.5 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.019e-06/0.4101, allocations: 4 kB / 0.5654 GB, free: 15.5 MB / 414.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.001515/0.4116, allocations: 462.7 kB / 0.5658 GB, free: 15.04 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.322e-05/0.4116, allocations: 10.48 kB / 0.5658 GB, free: 15.04 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.476e-06/0.4116, allocations: 0 / 0.5658 GB, free: 15.04 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.698e-05/0.4116, allocations: 0 / 0.5658 GB, free: 15.04 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005606/0.4122, allocations: 67.88 kB / 0.5659 GB, free: 14.97 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.038e-05/0.4122, allocations: 4 kB / 0.5659 GB, free: 14.96 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004346/0.4126, allocations: 35.95 kB / 0.5659 GB, free: 14.93 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.212e-05/0.4127, allocations: 12 kB / 0.5659 GB, free: 14.92 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.0001448/0.4128, allocations: 121.7 kB / 0.566 GB, free: 14.79 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.5e-05/0.4129, allocations: 11.94 kB / 0.5661 GB, free: 14.78 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001481/0.4143, allocations: 370 kB / 0.5664 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.031e-06/0.4143, allocations: 3.984 kB / 0.5664 GB, free: 14.4 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.4143, allocations: 0 / 0.5664 GB, free: 14.4 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.4144, allocations: 0 / 0.5664 GB, free: 14.4 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002981/0.4173, allocations: 0.7223 MB / 0.5671 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/0.4173, allocations: 0 / 0.5671 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004876/0.4178, allocations: 68.02 kB / 0.5672 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.67e-06/0.4178, allocations: 0 / 0.5672 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.717e-05/0.4179, allocations: 8 kB / 0.5672 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.817e-06/0.4179, allocations: 7.938 kB / 0.5672 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.128e-06/0.4179, allocations: 7.922 kB / 0.5672 GB, free: 13.53 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001321/0.4192, allocations: 417.8 kB / 0.5676 GB, free: 13.1 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.904e-05/0.4193, allocations: 31.91 kB / 0.5676 GB, free: 13.07 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.282e-05/0.4193, allocations: 4 kB / 0.5676 GB, free: 13.06 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004462/0.4198, allocations: 47.89 kB / 0.5677 GB, free: 13.02 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.531e-05/0.4198, allocations: 7.938 kB / 0.5677 GB, free: 13.01 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.614e-05/0.4198, allocations: 11.98 kB / 0.5677 GB, free: 13 MB / 414.1 MB Notification: Performance of sorting global known variables: time 8.04e-05/0.4199, allocations: 99.27 kB / 0.5678 GB, free: 12.9 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4199, allocations: 4 kB / 0.5678 GB, free: 12.89 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006954/0.4206, allocations: 171.6 kB / 0.568 GB, free: 12.73 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.00233/0.4229, allocations: 1.101 MB / 0.569 GB, free: 11.59 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001378/0.4243, allocations: 360.2 kB / 0.5694 GB, free: 11.24 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.836e-06/0.4243, allocations: 4 kB / 0.5694 GB, free: 11.23 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006186/0.4249, allocations: 144 kB / 0.5695 GB, free: 11.09 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004856/0.4254, allocations: 20 kB / 0.5695 GB, free: 11.07 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007451/0.4329, allocations: 2.781 MB / 0.5723 GB, free: 8.195 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.983e-05/0.433, allocations: 75.89 kB / 0.5723 GB, free: 8.102 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002253/0.4332, allocations: 48.72 kB / 0.5724 GB, free: 8.055 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001921/0.4334, allocations: 35.41 kB / 0.5724 GB, free: 8.02 MB / 414.1 MB Notification: Performance of SimCode: time 1.903e-06/0.4334, allocations: 0 / 0.5724 GB, free: 8.02 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03342/0.4668, allocations: 10.44 MB / 0.5826 GB, free: 13.71 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.57/12.03, allocations: 16.05 kB / 0.5826 GB, free: 13.7 MB / 430.1 MB " [Timeout remaining time 648] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Fittings_TestPressureLossDerivatives_fmu --startTime=0 --stopTime=3 --stepSize=0.00059976 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Fittings_TestPressureLossDerivatives.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe 2>&1) [Timeout 52.5] 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: 15.293136797030456]