Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001362/0.001362, allocations: 112.7 kB / 20.43 MB, free: 1.453 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001533/0.001533, allocations: 214 kB / 23.74 MB, free: 4.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.477/1.477, allocations: 230.5 MB / 257.4 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2377/0.2377, allocations: 46.92 MB / 360.8 MB, free: 4.188 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Fittings_TestPressureLossDerivatives",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Fittings_TestPressureLossDerivatives",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002618/0.002618, allocations: 83.86 kB / 0.4962 GB, free: 7.754 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3699/0.3725, allocations: 66.08 MB / 0.5607 GB, free: 4.285 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives): time 0.002634/0.3752, allocations: 1.471 MB / 0.5622 GB, free: 2.805 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002174/0.3773, allocations: 1.461 MB / 0.5636 GB, free: 1.336 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.635e-05/0.3774, allocations: 4 kB / 0.5636 GB, free: 1.332 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001714/0.3776, allocations: 31.58 kB / 0.5636 GB, free: 1.305 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000209/0.3778, allocations: 51.67 kB / 0.5637 GB, free: 1.254 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004764/0.3782, allocations: 227.1 kB / 0.5639 GB, free: 1.031 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001277/0.3784, allocations: 55.67 kB / 0.564 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.492e-05/0.3784, allocations: 7.984 kB / 0.564 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.449e-05/0.3785, allocations: 15.94 kB / 0.564 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.311e-05/0.3785, allocations: 31.8 kB / 0.564 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 9.959e-06/0.3785, allocations: 0 / 0.564 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006181/0.3792, allocations: 347.5 kB / 0.5643 GB, free: 0.582 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.523e-05/0.3792, allocations: 7.984 kB / 0.5643 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.003e-05/0.3792, allocations: 31.81 kB / 0.5644 GB, free: 0.543 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004513/0.3797, allocations: 277.2 kB / 0.5646 GB, free: 280 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.3797, allocations: 0 / 0.5646 GB, free: 280 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.3797, allocations: 0 / 0.5646 GB, free: 280 kB / 398.1 MB Notification: Performance of Transformations before backend: time 4.93e-06/0.3797, allocations: 0 / 0.5646 GB, free: 280 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.0005416/0.3802, allocations: 345.5 kB / 0.565 GB, free: 15.91 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.3803, allocations: 11.97 kB / 0.565 GB, free: 15.89 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.195e-05/0.3803, allocations: 34.75 kB / 0.565 GB, free: 15.85 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.975e-05/0.3803, allocations: 8.891 kB / 0.565 GB, free: 15.84 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000121/0.3805, allocations: 120.7 kB / 0.5651 GB, free: 15.7 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.948e-05/0.3805, allocations: 16.34 kB / 0.5652 GB, free: 15.69 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.863e-05/0.3805, allocations: 384 / 0.5652 GB, free: 15.69 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001425/0.3806, allocations: 69.62 kB / 0.5652 GB, free: 15.61 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.094e-05/0.3806, allocations: 0 / 0.5652 GB, free: 15.61 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.946e-06/0.3807, allocations: 0 / 0.5652 GB, free: 15.61 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.663e-06/0.3807, allocations: 4 kB / 0.5652 GB, free: 15.61 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.933e-05/0.3808, allocations: 59.95 kB / 0.5653 GB, free: 15.55 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002001/0.381, allocations: 160.6 kB / 0.5654 GB, free: 15.35 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.54e-05/0.3811, allocations: 58.5 kB / 0.5655 GB, free: 15.29 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.21e-05/0.3811, allocations: 40.84 kB / 0.5655 GB, free: 15.24 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.863e-05/0.3812, allocations: 19.92 kB / 0.5655 GB, free: 15.22 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.99e-05/0.3812, allocations: 38.56 kB / 0.5656 GB, free: 15.18 MB / 414.1 MB Notification: Performance of pre-optimization done (n=8): time 9.62e-07/0.3812, allocations: 0 / 0.5656 GB, free: 15.18 MB / 414.1 MB Notification: Performance of matching and sorting (n=12): time 0.01922/0.4004, allocations: 1.63 MB / 0.5672 GB, free: 13.52 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.606e-05/0.4005, allocations: 59.34 kB / 0.5672 GB, free: 13.45 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001425/0.4006, allocations: 134.1 kB / 0.5674 GB, free: 13.3 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.586e-05/0.4007, allocations: 25.7 kB / 0.5674 GB, free: 13.27 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.307e-05/0.4007, allocations: 88.14 kB / 0.5675 GB, free: 13.18 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.687e-05/0.4008, allocations: 47.58 kB / 0.5675 GB, free: 13.13 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001053/0.4009, allocations: 45.69 kB / 0.5676 GB, free: 13.08 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001509/0.401, allocations: 318.8 kB / 0.5679 GB, free: 12.76 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006234/0.4017, allocations: 215.8 kB / 0.5681 GB, free: 12.55 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006193/0.4023, allocations: 203.3 kB / 0.5683 GB, free: 12.36 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001227/0.4035, allocations: 388.7 kB / 0.5686 GB, free: 11.97 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.123e-06/0.4035, allocations: 0 / 0.5686 GB, free: 11.97 MB / 414.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.001339/0.4048, allocations: 461.4 kB / 0.5691 GB, free: 11.52 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.003e-05/0.4049, allocations: 4 kB / 0.5691 GB, free: 11.51 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.828e-06/0.4049, allocations: 0 / 0.5691 GB, free: 11.51 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.819e-05/0.4049, allocations: 4 kB / 0.5691 GB, free: 11.51 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005156/0.4054, allocations: 71.86 kB / 0.5692 GB, free: 11.44 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.081e-05/0.4054, allocations: 8.141 kB / 0.5692 GB, free: 11.43 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003891/0.4058, allocations: 39.97 kB / 0.5692 GB, free: 11.39 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.47e-05/0.4058, allocations: 7.984 kB / 0.5692 GB, free: 11.38 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.0001324/0.406, allocations: 119.1 kB / 0.5693 GB, free: 11.26 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.159e-05/0.406, allocations: 7.953 kB / 0.5693 GB, free: 11.25 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001371/0.4074, allocations: 377.9 kB / 0.5697 GB, free: 10.87 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.4074, allocations: 0 / 0.5697 GB, free: 10.87 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.4074, allocations: 4 kB / 0.5697 GB, free: 10.87 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.4074, allocations: 0 / 0.5697 GB, free: 10.87 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002779/0.4102, allocations: 0.7573 MB / 0.5704 GB, free: 10.05 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.478e-06/0.4102, allocations: 4 kB / 0.5704 GB, free: 10.05 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004485/0.4106, allocations: 68.03 kB / 0.5705 GB, free: 9.98 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.456e-06/0.4106, allocations: 0 / 0.5705 GB, free: 9.98 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.569e-05/0.4106, allocations: 7.984 kB / 0.5705 GB, free: 9.973 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.815e-06/0.4106, allocations: 7.938 kB / 0.5705 GB, free: 9.965 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-06/0.4107, allocations: 3.938 kB / 0.5705 GB, free: 9.961 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001244/0.4119, allocations: 417.8 kB / 0.5709 GB, free: 9.527 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.575e-05/0.412, allocations: 35.91 kB / 0.5709 GB, free: 9.492 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.183e-05/0.412, allocations: 8 kB / 0.571 GB, free: 9.484 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004104/0.4124, allocations: 39.89 kB / 0.571 GB, free: 9.445 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.983e-05/0.4125, allocations: 11.98 kB / 0.571 GB, free: 9.434 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.375e-05/0.4125, allocations: 11.94 kB / 0.571 GB, free: 9.422 MB / 414.1 MB Notification: Performance of sorting global known variables: time 8.732e-05/0.4126, allocations: 101.5 kB / 0.5711 GB, free: 9.324 MB / 414.1 MB Notification: Performance of sort global known variables: time 6.1e-08/0.4126, allocations: 0 / 0.5711 GB, free: 9.324 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006935/0.4133, allocations: 171.6 kB / 0.5713 GB, free: 9.156 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.002357/0.4156, allocations: 1.105 MB / 0.5724 GB, free: 8.016 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001363/0.417, allocations: 355.7 kB / 0.5727 GB, free: 7.668 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/0.417, allocations: 0 / 0.5727 GB, free: 7.668 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005573/0.4176, allocations: 144 kB / 0.5728 GB, free: 7.527 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004778/0.418, allocations: 27.05 kB / 0.5729 GB, free: 7.504 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00739/0.4254, allocations: 2.764 MB / 0.5756 GB, free: 4.637 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003556/0.4258, allocations: 0.6963 MB / 0.5762 GB, free: 3.914 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001904/0.426, allocations: 44.72 kB / 0.5763 GB, free: 3.871 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001757/0.4261, allocations: 39.41 kB / 0.5763 GB, free: 3.832 MB / 414.1 MB Notification: Performance of SimCode: time 1.282e-06/0.4261, allocations: 0 / 0.5763 GB, free: 3.832 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06039/0.4865, allocations: 10.11 MB / 0.5862 GB, free: 9.816 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.14/11.63, allocations: 3.375 kB / 0.5862 GB, free: 9.816 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Fittings_TestPressureLossDerivatives_fmu --startTime=0 --stopTime=3 --stepSize=0.00059976 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Fittings_TestPressureLossDerivatives.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_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_trunk_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.658306593075395]