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.001291/0.001291, allocations: 107.1 kB / 20.44 MB, free: 1.184 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.001483/0.001483, allocations: 207.3 kB / 23.73 MB, free: 4.395 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.433/1.433, allocations: 230.6 MB / 257.5 MB, free: 7.773 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.2319/0.2319, allocations: 46.97 MB / 360.9 MB, free: 4.008 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: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Fluid_TestComponents_Fittings_TestPressureLossDerivatives",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Fluid_TestComponents_Fittings_TestPressureLossDerivatives",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001961/0.001961, allocations: 67.89 kB / 0.4961 GB, free: 7.691 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3217/0.3237, allocations: 66.03 MB / 0.5606 GB, free: 4.227 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives): time 0.002669/0.3263, allocations: 1.444 MB / 0.562 GB, free: 2.77 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002011/0.3283, allocations: 1.282 MB / 0.5633 GB, free: 1.48 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.165e-05/0.3284, allocations: 4 kB / 0.5633 GB, free: 1.477 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001624/0.3285, allocations: 35.62 kB / 0.5633 GB, free: 1.445 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002025/0.3287, allocations: 47.7 kB / 0.5633 GB, free: 1.398 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000509/0.3293, allocations: 227.1 kB / 0.5636 GB, free: 1.176 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000119/0.3294, allocations: 59.72 kB / 0.5636 GB, free: 1.117 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.674e-05/0.3294, allocations: 4 kB / 0.5636 GB, free: 1.113 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.942e-05/0.3295, allocations: 27.91 kB / 0.5636 GB, free: 1.086 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.886e-05/0.3296, allocations: 27.86 kB / 0.5637 GB, free: 1.059 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 8.776e-06/0.3296, allocations: 3.938 kB / 0.5637 GB, free: 1.055 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005392/0.3301, allocations: 291.6 kB / 0.564 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.161e-05/0.3301, allocations: 0 / 0.564 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.64e-05/0.3301, allocations: 23.88 kB / 0.564 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000418/0.3306, allocations: 261.2 kB / 0.5642 GB, free: 0.4922 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.3306, allocations: 3.938 kB / 0.5642 GB, free: 500 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.3306, allocations: 4 kB / 0.5642 GB, free: 496 kB / 398.1 MB Notification: Performance of Transformations before backend: time 4.909e-06/0.3306, allocations: 0 / 0.5642 GB, free: 496 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.0005462/0.3311, allocations: 345.5 kB / 0.5646 GB, free: 120 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.821e-05/0.3312, allocations: 8.031 kB / 0.5646 GB, free: 112 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.681e-05/0.3312, allocations: 34.75 kB / 0.5646 GB, free: 68 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.088e-05/0.3312, allocations: 16.81 kB / 0.5646 GB, free: 52 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001535/0.3314, allocations: 113.4 kB / 0.5647 GB, free: 15.92 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.212e-05/0.3314, allocations: 8.375 kB / 0.5647 GB, free: 15.91 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.213e-05/0.3314, allocations: 384 / 0.5647 GB, free: 15.91 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001364/0.3316, allocations: 73.59 kB / 0.5648 GB, free: 15.83 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.008e-05/0.3316, allocations: 7.938 kB / 0.5648 GB, free: 15.82 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.165e-06/0.3316, allocations: 4 kB / 0.5648 GB, free: 15.82 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.3316, allocations: 0 / 0.5648 GB, free: 15.82 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.787e-05/0.3317, allocations: 59.97 kB / 0.5649 GB, free: 15.76 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001928/0.3319, allocations: 160.6 kB / 0.565 GB, free: 15.56 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001027/0.332, allocations: 54.56 kB / 0.5651 GB, free: 15.5 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.282e-05/0.332, allocations: 40.84 kB / 0.5651 GB, free: 15.46 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.796e-05/0.3321, allocations: 23.92 kB / 0.5651 GB, free: 15.43 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.355e-05/0.3321, allocations: 30.56 kB / 0.5652 GB, free: 15.39 MB / 414.1 MB Notification: Performance of pre-optimization done (n=8): time 1.012e-06/0.3321, allocations: 0 / 0.5652 GB, free: 15.39 MB / 414.1 MB Notification: Performance of matching and sorting (n=12): time 0.02201/0.3541, allocations: 1.634 MB / 0.5668 GB, free: 13.73 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.446e-05/0.3542, allocations: 51.41 kB / 0.5668 GB, free: 13.67 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001381/0.3543, allocations: 142 kB / 0.567 GB, free: 13.52 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 7.438e-05/0.3544, allocations: 33.64 kB / 0.567 GB, free: 13.48 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.637e-05/0.3544, allocations: 92.12 kB / 0.5671 GB, free: 13.38 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.872e-05/0.3545, allocations: 43.64 kB / 0.5671 GB, free: 13.34 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001057/0.3546, allocations: 41.69 kB / 0.5672 GB, free: 13.29 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001424/0.3548, allocations: 322.8 kB / 0.5675 GB, free: 12.97 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006716/0.3554, allocations: 203.8 kB / 0.5677 GB, free: 12.77 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006509/0.3561, allocations: 211.9 kB / 0.5679 GB, free: 12.56 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001308/0.3574, allocations: 386.8 kB / 0.5682 GB, free: 12.18 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.3574, allocations: 0 / 0.5682 GB, free: 12.18 MB / 414.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.001434/0.3588, allocations: 462.9 kB / 0.5687 GB, free: 11.73 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.829e-05/0.3588, allocations: 8 kB / 0.5687 GB, free: 11.72 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.3588, allocations: 0 / 0.5687 GB, free: 11.72 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.461e-05/0.3589, allocations: 0 / 0.5687 GB, free: 11.72 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005742/0.3594, allocations: 67.88 kB / 0.5687 GB, free: 11.65 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.102e-06/0.3594, allocations: 0 / 0.5687 GB, free: 11.65 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004446/0.3599, allocations: 39.95 kB / 0.5688 GB, free: 11.61 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.775e-05/0.3599, allocations: 8 kB / 0.5688 GB, free: 11.61 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.0001307/0.36, allocations: 125.8 kB / 0.5689 GB, free: 11.47 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.343e-05/0.3601, allocations: 3.953 kB / 0.5689 GB, free: 11.47 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001436/0.3615, allocations: 373.9 kB / 0.5693 GB, free: 11.09 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.34e-06/0.3615, allocations: 4 kB / 0.5693 GB, free: 11.09 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.3615, allocations: 0 / 0.5693 GB, free: 11.09 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.3615, allocations: 0 / 0.5693 GB, free: 11.09 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002909/0.3644, allocations: 0.7261 MB / 0.57 GB, free: 10.3 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.3644, allocations: 96 / 0.57 GB, free: 10.3 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005111/0.3649, allocations: 67.94 kB / 0.57 GB, free: 10.24 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.887e-06/0.365, allocations: 0 / 0.57 GB, free: 10.24 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.769e-05/0.365, allocations: 11.98 kB / 0.5701 GB, free: 10.23 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.689e-06/0.365, allocations: 3.938 kB / 0.5701 GB, free: 10.22 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/0.365, allocations: 11.94 kB / 0.5701 GB, free: 10.21 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001312/0.3663, allocations: 422 kB / 0.5705 GB, free: 9.773 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.766e-05/0.3664, allocations: 35.91 kB / 0.5705 GB, free: 9.738 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.911e-05/0.3664, allocations: 0 / 0.5705 GB, free: 9.738 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004745/0.3669, allocations: 47.89 kB / 0.5706 GB, free: 9.691 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.969e-05/0.3669, allocations: 15.92 kB / 0.5706 GB, free: 9.676 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.226e-05/0.367, allocations: 4 kB / 0.5706 GB, free: 9.672 MB / 414.1 MB Notification: Performance of sorting global known variables: time 7.617e-05/0.367, allocations: 102.2 kB / 0.5707 GB, free: 9.574 MB / 414.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.367, allocations: 0 / 0.5707 GB, free: 9.574 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006202/0.3677, allocations: 171.6 kB / 0.5708 GB, free: 9.406 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.002279/0.3699, allocations: 1.097 MB / 0.5719 GB, free: 8.273 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001373/0.3713, allocations: 363 kB / 0.5722 GB, free: 7.922 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.756e-06/0.3713, allocations: 4 kB / 0.5723 GB, free: 7.918 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005881/0.3719, allocations: 144 kB / 0.5724 GB, free: 7.777 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003836/0.3723, allocations: 16 kB / 0.5724 GB, free: 7.762 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007146/0.3794, allocations: 2.775 MB / 0.5751 GB, free: 4.887 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.748e-05/0.3795, allocations: 79.83 kB / 0.5752 GB, free: 4.789 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002025/0.3797, allocations: 48.72 kB / 0.5752 GB, free: 4.742 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001768/0.3799, allocations: 35.41 kB / 0.5753 GB, free: 4.707 MB / 414.1 MB Notification: Performance of SimCode: time 9.62e-07/0.3799, allocations: 0 / 0.5753 GB, free: 4.707 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04303/0.4229, allocations: 10.92 MB / 0.5859 GB, free: 9.906 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.81/11.23, allocations: 4.062 kB / 0.5859 GB, free: 9.902 MB / 430.1 MB " [Timeout remaining time 649] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Fluid_TestComponents_Fittings_TestPressureLossDerivatives_fmu --startTime=0 --stopTime=3 --stepSize=0.00059976 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Fluid_TestComponents_Fittings_TestPressureLossDerivatives.fmu > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe 2>&1) [Timeout 52.5] 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: 14.097279000998242]