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.001307/0.001307, allocations: 113.1 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.002059/0.002059, allocations: 213.6 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.412/1.412, allocations: 230.6 MB / 257.5 MB, free: 8.004 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.2308/0.2308, allocations: 46.94 MB / 360.9 MB, free: 4.344 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.002117/0.002117, allocations: 63.91 kB / 0.4962 GB, free: 7.891 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3577/0.3598, allocations: 66.03 MB / 0.5606 GB, free: 4.449 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives): time 0.002708/0.3625, allocations: 1.491 MB / 0.5621 GB, free: 2.945 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002132/0.3647, allocations: 1.457 MB / 0.5635 GB, free: 1.48 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.948e-05/0.3647, allocations: 0 / 0.5635 GB, free: 1.48 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001622/0.3649, allocations: 39.62 kB / 0.5636 GB, free: 1.445 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001987/0.3651, allocations: 47.69 kB / 0.5636 GB, free: 1.398 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004763/0.3655, allocations: 227.1 kB / 0.5638 GB, free: 1.176 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001145/0.3657, allocations: 51.72 kB / 0.5639 GB, free: 1.125 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.125e-05/0.3657, allocations: 8 kB / 0.5639 GB, free: 1.117 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.715e-05/0.3658, allocations: 27.86 kB / 0.5639 GB, free: 1.09 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.056e-05/0.3658, allocations: 27.8 kB / 0.5639 GB, free: 1.062 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.16e-05/0.3658, allocations: 4 kB / 0.5639 GB, free: 1.059 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000663/0.3665, allocations: 343.5 kB / 0.5643 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.139e-05/0.3665, allocations: 0 / 0.5643 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.732e-05/0.3666, allocations: 35.8 kB / 0.5643 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004594/0.367, allocations: 273.2 kB / 0.5646 GB, free: 432 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.93e-06/0.367, allocations: 0 / 0.5646 GB, free: 432 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.367, allocations: 0 / 0.5646 GB, free: 432 kB / 398.1 MB Notification: Performance of Transformations before backend: time 1.195e-05/0.367, allocations: 0 / 0.5646 GB, free: 432 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.0005202/0.3676, allocations: 353.5 kB / 0.5649 GB, free: 48 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.664e-05/0.3676, allocations: 12.03 kB / 0.5649 GB, free: 36 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.666e-05/0.3676, allocations: 34.73 kB / 0.5649 GB, free: 15.99 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.603e-05/0.3677, allocations: 8.891 kB / 0.565 GB, free: 15.98 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001159/0.3678, allocations: 114.5 kB / 0.5651 GB, free: 15.85 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.596e-05/0.3678, allocations: 8.375 kB / 0.5651 GB, free: 15.84 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.907e-05/0.3678, allocations: 384 / 0.5651 GB, free: 15.84 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001366/0.368, allocations: 73.55 kB / 0.5651 GB, free: 15.76 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.008e-05/0.368, allocations: 4 kB / 0.5651 GB, free: 15.76 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.777e-06/0.368, allocations: 0 / 0.5651 GB, free: 15.76 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.138e-06/0.368, allocations: 4 kB / 0.5651 GB, free: 15.75 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.575e-05/0.3681, allocations: 59.97 kB / 0.5652 GB, free: 15.7 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002028/0.3683, allocations: 156.6 kB / 0.5654 GB, free: 15.5 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001051/0.3684, allocations: 62.53 kB / 0.5654 GB, free: 15.43 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.842e-05/0.3685, allocations: 36.84 kB / 0.5655 GB, free: 15.39 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.458e-05/0.3685, allocations: 19.94 kB / 0.5655 GB, free: 15.37 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.477e-05/0.3685, allocations: 46.48 kB / 0.5655 GB, free: 15.32 MB / 414.1 MB Notification: Performance of pre-optimization done (n=8): time 9.51e-07/0.3685, allocations: 0 / 0.5655 GB, free: 15.32 MB / 414.1 MB Notification: Performance of matching and sorting (n=12): time 0.01983/0.3884, allocations: 1.626 MB / 0.5671 GB, free: 13.66 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.527e-05/0.3884, allocations: 63.34 kB / 0.5672 GB, free: 13.59 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001349/0.3886, allocations: 133.2 kB / 0.5673 GB, free: 13.45 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.291e-05/0.3886, allocations: 29.7 kB / 0.5673 GB, free: 13.41 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.905e-05/0.3886, allocations: 84.12 kB / 0.5674 GB, free: 13.32 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.146e-05/0.3887, allocations: 47.64 kB / 0.5674 GB, free: 13.28 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001218/0.3888, allocations: 45.69 kB / 0.5675 GB, free: 13.23 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001534/0.389, allocations: 322.8 kB / 0.5678 GB, free: 12.9 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006456/0.3896, allocations: 207.8 kB / 0.568 GB, free: 12.7 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006266/0.3903, allocations: 203.9 kB / 0.5682 GB, free: 12.5 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001312/0.3916, allocations: 397 kB / 0.5686 GB, free: 12.11 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.3916, allocations: 3.938 kB / 0.5686 GB, free: 12.11 MB / 414.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.001383/0.393, allocations: 461.4 kB / 0.569 GB, free: 11.65 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.661e-05/0.393, allocations: 4 kB / 0.569 GB, free: 11.65 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.304e-06/0.393, allocations: 0 / 0.569 GB, free: 11.65 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.592e-05/0.393, allocations: 0 / 0.569 GB, free: 11.65 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005161/0.3935, allocations: 63.94 kB / 0.5691 GB, free: 11.59 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/0.3935, allocations: 0 / 0.5691 GB, free: 11.59 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003991/0.3939, allocations: 43.95 kB / 0.5691 GB, free: 11.54 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.936e-05/0.3939, allocations: 12 kB / 0.5691 GB, free: 11.53 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.0001295/0.3941, allocations: 125.7 kB / 0.5692 GB, free: 11.4 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.273e-05/0.3941, allocations: 11.94 kB / 0.5693 GB, free: 11.39 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001358/0.3955, allocations: 369.9 kB / 0.5696 GB, free: 11.02 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.5e-06/0.3955, allocations: 4 kB / 0.5696 GB, free: 11.01 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.3955, allocations: 0 / 0.5696 GB, free: 11.01 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.3955, allocations: 0 / 0.5696 GB, free: 11.01 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00279/0.3983, allocations: 0.7534 MB / 0.5704 GB, free: 10.2 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.3983, allocations: 4.094 kB / 0.5704 GB, free: 10.2 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004749/0.3987, allocations: 67.88 kB / 0.5704 GB, free: 10.13 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/0.3988, allocations: 0 / 0.5704 GB, free: 10.13 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.674e-05/0.3988, allocations: 11.98 kB / 0.5704 GB, free: 10.12 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.448e-06/0.3988, allocations: 7.938 kB / 0.5704 GB, free: 10.11 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.3988, allocations: 4 kB / 0.5704 GB, free: 10.11 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001266/0.4001, allocations: 421.8 kB / 0.5708 GB, free: 9.668 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.438e-05/0.4001, allocations: 31.92 kB / 0.5709 GB, free: 9.637 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.017e-05/0.4002, allocations: 7.984 kB / 0.5709 GB, free: 9.629 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004346/0.4006, allocations: 43.91 kB / 0.5709 GB, free: 9.586 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.024e-05/0.4006, allocations: 7.984 kB / 0.5709 GB, free: 9.578 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.553e-05/0.4007, allocations: 11.98 kB / 0.5709 GB, free: 9.566 MB / 414.1 MB Notification: Performance of sorting global known variables: time 7.195e-05/0.4007, allocations: 99.27 kB / 0.571 GB, free: 9.469 MB / 414.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.4007, allocations: 4 kB / 0.571 GB, free: 9.465 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006001/0.4013, allocations: 167.6 kB / 0.5712 GB, free: 9.301 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.002184/0.4035, allocations: 1.105 MB / 0.5723 GB, free: 8.16 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.00134/0.4049, allocations: 359.7 kB / 0.5726 GB, free: 7.809 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.796e-06/0.4049, allocations: 0 / 0.5726 GB, free: 7.809 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005841/0.4054, allocations: 144 kB / 0.5728 GB, free: 7.668 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004174/0.4059, allocations: 14.73 kB / 0.5728 GB, free: 7.656 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00701/0.4129, allocations: 2.775 MB / 0.5755 GB, free: 4.781 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000379/0.4132, allocations: 0.6924 MB / 0.5762 GB, free: 4.062 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002039/0.4135, allocations: 44.73 kB / 0.5762 GB, free: 4.02 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001766/0.4136, allocations: 39.39 kB / 0.5762 GB, free: 3.98 MB / 414.1 MB Notification: Performance of SimCode: time 5.41e-07/0.4136, allocations: 0 / 0.5762 GB, free: 3.98 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04186/0.4555, allocations: 10.1 MB / 0.5861 GB, free: 10 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.98/11.44, allocations: 3.938 kB / 0.5861 GB, free: 10 MB / 430.1 MB " [Timeout remaining time 648] (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.243972182041034]