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.001677/0.001677, allocations: 115.8 kB / 20.43 MB, free: 1.457 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.002228/0.002228, allocations: 213.3 kB / 23.75 MB, free: 4.668 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.571/1.571, allocations: 230.6 MB / 257.5 MB, free: 8 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.2389/0.2389, allocations: 44.91 MB / 358.8 MB, free: 6.289 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: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Fittings_TestPressureLossDerivatives",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Fittings_TestPressureLossDerivatives",fmuType="me",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.00228/0.00228, allocations: 66.22 kB / 0.4931 GB, free: 10.71 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3932/0.3955, allocations: 65.48 MB / 0.557 GB, free: 7.52 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives): time 0.00325/0.3988, allocations: 1.483 MB / 0.5585 GB, free: 6.266 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002225/0.401, allocations: 1.461 MB / 0.5599 GB, free: 4.797 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.974e-05/0.401, allocations: 0 / 0.5599 GB, free: 4.797 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001898/0.4012, allocations: 35.64 kB / 0.5599 GB, free: 4.766 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002149/0.4014, allocations: 47.7 kB / 0.56 GB, free: 4.719 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005127/0.4019, allocations: 219.1 kB / 0.5602 GB, free: 4.504 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001305/0.4021, allocations: 63.64 kB / 0.5603 GB, free: 4.441 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.607e-05/0.4021, allocations: 0 / 0.5603 GB, free: 4.441 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.191e-05/0.4022, allocations: 31.92 kB / 0.5603 GB, free: 4.41 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.259e-05/0.4023, allocations: 27.8 kB / 0.5603 GB, free: 4.383 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.343e-05/0.4023, allocations: 4 kB / 0.5603 GB, free: 4.379 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006576/0.403, allocations: 339.5 kB / 0.5606 GB, free: 4.047 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.315e-05/0.403, allocations: 4 kB / 0.5606 GB, free: 4.043 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.139e-05/0.403, allocations: 31.8 kB / 0.5607 GB, free: 4.012 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004726/0.4035, allocations: 277.2 kB / 0.5609 GB, free: 3.742 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.705e-06/0.4035, allocations: 0 / 0.5609 GB, free: 3.742 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.905e-06/0.4035, allocations: 0 / 0.5609 GB, free: 3.742 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.005e-06/0.4035, allocations: 0 / 0.5609 GB, free: 3.742 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.0006533/0.4042, allocations: 345.5 kB / 0.5613 GB, free: 3.375 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.977e-05/0.4042, allocations: 15.97 kB / 0.5613 GB, free: 3.359 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.247e-05/0.4043, allocations: 38.73 kB / 0.5613 GB, free: 3.312 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.707e-05/0.4043, allocations: 8.891 kB / 0.5613 GB, free: 3.305 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001399/0.4044, allocations: 113.3 kB / 0.5614 GB, free: 3.172 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.287e-05/0.4045, allocations: 384 / 0.5614 GB, free: 3.172 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.078e-05/0.4045, allocations: 8.375 kB / 0.5614 GB, free: 3.164 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001775/0.4047, allocations: 77.58 kB / 0.5615 GB, free: 3.082 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.493e-05/0.4047, allocations: 11.88 kB / 0.5615 GB, free: 3.07 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.152e-05/0.4047, allocations: 0 / 0.5615 GB, free: 3.07 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.272e-06/0.4047, allocations: 0 / 0.5615 GB, free: 3.07 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000104/0.4048, allocations: 59.97 kB / 0.5616 GB, free: 3.012 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002379/0.405, allocations: 160.6 kB / 0.5617 GB, free: 2.812 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001109/0.4051, allocations: 62.53 kB / 0.5618 GB, free: 2.742 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.205e-05/0.4052, allocations: 40.84 kB / 0.5618 GB, free: 2.699 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.647e-05/0.4053, allocations: 19.94 kB / 0.5619 GB, free: 2.68 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.224e-05/0.4053, allocations: 38.55 kB / 0.5619 GB, free: 2.633 MB / 398.1 MB Notification: Performance of pre-optimization done (n=8): time 1.002e-06/0.4053, allocations: 0 / 0.5619 GB, free: 2.633 MB / 398.1 MB Notification: Performance of matching and sorting (n=12): time 0.02/0.4253, allocations: 1.63 MB / 0.5635 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.437e-05/0.4254, allocations: 55.34 kB / 0.5635 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001878/0.4256, allocations: 138 kB / 0.5637 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.723e-05/0.4256, allocations: 29.7 kB / 0.5637 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.178e-05/0.4257, allocations: 88.12 kB / 0.5638 GB, free: 0.6328 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.505e-05/0.4257, allocations: 43.64 kB / 0.5638 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001061/0.4258, allocations: 45.69 kB / 0.5639 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001461/0.426, allocations: 326.8 kB / 0.5642 GB, free: 216 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006295/0.4266, allocations: 203.8 kB / 0.5644 GB, free: 12 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006453/0.4273, allocations: 208 kB / 0.5646 GB, free: 15.8 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001283/0.4286, allocations: 390.2 kB / 0.5649 GB, free: 15.42 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.4286, allocations: 0 / 0.5649 GB, free: 15.42 MB / 414.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.001457/0.43, allocations: 463.4 kB / 0.5654 GB, free: 14.96 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.945e-05/0.43, allocations: 8 kB / 0.5654 GB, free: 14.96 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.55e-05/0.4301, allocations: 0 / 0.5654 GB, free: 14.96 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.285e-05/0.4301, allocations: 0 / 0.5654 GB, free: 14.96 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005314/0.4306, allocations: 67.94 kB / 0.5655 GB, free: 14.89 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.504e-06/0.4306, allocations: 0 / 0.5655 GB, free: 14.89 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004006/0.431, allocations: 35.95 kB / 0.5655 GB, free: 14.86 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.969e-05/0.431, allocations: 8 kB / 0.5655 GB, free: 14.85 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.0001519/0.4312, allocations: 133.7 kB / 0.5656 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.472e-05/0.4312, allocations: 3.953 kB / 0.5656 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00145/0.4327, allocations: 370 kB / 0.566 GB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.186e-06/0.4327, allocations: 4 kB / 0.566 GB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.099e-06/0.4327, allocations: 0 / 0.566 GB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.4327, allocations: 0 / 0.566 GB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002883/0.4356, allocations: 0.7572 MB / 0.5667 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.4356, allocations: 96 / 0.5667 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004857/0.4361, allocations: 71.88 kB / 0.5668 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.895e-06/0.4361, allocations: 4 kB / 0.5668 GB, free: 13.44 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.667e-05/0.4361, allocations: 7.984 kB / 0.5668 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.25e-06/0.4361, allocations: 3.938 kB / 0.5668 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.4361, allocations: 4 kB / 0.5668 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001305/0.4374, allocations: 429.8 kB / 0.5672 GB, free: 12.98 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.19e-05/0.4375, allocations: 31.92 kB / 0.5673 GB, free: 12.95 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.11e-05/0.4376, allocations: 7.984 kB / 0.5673 GB, free: 12.94 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004323/0.438, allocations: 39.91 kB / 0.5673 GB, free: 12.9 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.291e-05/0.438, allocations: 11.98 kB / 0.5673 GB, free: 12.89 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.213e-05/0.438, allocations: 7.984 kB / 0.5673 GB, free: 12.88 MB / 414.1 MB Notification: Performance of sorting global known variables: time 7.269e-05/0.4381, allocations: 98.08 kB / 0.5674 GB, free: 12.79 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4381, allocations: 0 / 0.5674 GB, free: 12.79 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000605/0.4387, allocations: 175.6 kB / 0.5676 GB, free: 12.62 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.00216/0.4409, allocations: 1.097 MB / 0.5687 GB, free: 11.48 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.00135/0.4422, allocations: 355.7 kB / 0.569 GB, free: 11.14 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.4422, allocations: 0 / 0.569 GB, free: 11.14 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005784/0.4428, allocations: 148 kB / 0.5691 GB, free: 10.99 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004277/0.4432, allocations: 15.98 kB / 0.5692 GB, free: 10.98 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007249/0.4505, allocations: 2.783 MB / 0.5719 GB, free: 8.094 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003619/0.4508, allocations: 0.6924 MB / 0.5725 GB, free: 7.375 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002025/0.451, allocations: 44.73 kB / 0.5726 GB, free: 7.332 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001783/0.4512, allocations: 39.39 kB / 0.5726 GB, free: 7.293 MB / 414.1 MB Notification: Performance of SimCode: time 1.353e-06/0.4512, allocations: 4 kB / 0.5726 GB, free: 7.289 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04053/0.4918, allocations: 10.09 MB / 0.5825 GB, free: 13.31 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.19/11.68, allocations: 3.875 kB / 0.5825 GB, free: 13.31 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: 14.819743014872074]